xpn_hosts
Creates, updates, deletes, gets or lists a xpn_hosts
resource.
Overview
Name | xpn_hosts |
Type | Resource |
Id | google.compute.xpn_hosts |
Fields
Name | Datatype | Description |
---|---|---|
id | string | [Output Only] The unique identifier for the resource. This identifier is defined by the server. This is not the project ID, and is just a unique ID used by Compute Engine to identify resources. |
name | string | The project ID. For example: my-example-project. Use the project ID to make requests to Compute Engine. |
description | string | An optional textual description of the resource. |
cloudArmorTier | string | [Output Only] The Cloud Armor tier for this project. It can be one of the following values: CA_STANDARD, CA_ENTERPRISE_PAYGO. If this field is not specified, it is assumed to be CA_STANDARD. |
commonInstanceMetadata | object | A metadata key/value entry. |
creationTimestamp | string | [Output Only] Creation timestamp in RFC3339 text format. |
defaultNetworkTier | string | This signifies the default network tier used for configuring resources of the project and can only take the following values: PREMIUM, STANDARD. Initially the default network tier is PREMIUM. |
defaultServiceAccount | string | [Output Only] Default service account used by VMs running in this project. |
enabledFeatures | array | Restricted features enabled for use on this project. |
kind | string | [Output Only] Type of the resource. Always compute#project for projects. |
quotas | array | [Output Only] Quotas assigned to this project. |
selfLink | string | [Output Only] Server-defined URL for the resource. |
usageExportLocation | object | The location in Cloud Storage and naming method of the daily usage report. Contains bucket_name and report_name prefix. |
vmDnsSetting | string | [Output Only] Default internal DNS setting used by VMs running in this project. |
xpnProjectStatus | string | [Output Only] The role this project has in a shared VPC configuration. Currently, only projects with the host role, which is specified by the value HOST, are differentiated. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
list_xpn_hosts | SELECT | project | Lists all shared VPC host projects visible to the user in an organization. |
SELECT
examples
Lists all shared VPC host projects visible to the user in an organization.
SELECT
id,
name,
description,
cloudArmorTier,
commonInstanceMetadata,
creationTimestamp,
defaultNetworkTier,
defaultServiceAccount,
enabledFeatures,
kind,
quotas,
selfLink,
usageExportLocation,
vmDnsSetting,
xpnProjectStatus
FROM google.compute.xpn_hosts
WHERE project = '{{ project }}';