private_clouds_dns_forwarding
Creates, updates, deletes, gets or lists a private_clouds_dns_forwarding
resource.
Overview
Name | private_clouds_dns_forwarding |
Type | Resource |
Id | google.vmwareengine.private_clouds_dns_forwarding |
Fields
Name | Datatype | Description |
---|---|---|
name | string | Output only. The resource name of this DNS profile. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud/dnsForwarding |
createTime | string | Output only. Creation time of this resource. |
forwardingRules | array | Required. List of domain mappings to configure |
updateTime | string | Output only. Last update time of this resource. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get_dns_forwarding | SELECT | locationsId, privateCloudsId, projectsId | Gets details of the DnsForwarding config. |
update_dns_forwarding | UPDATE | locationsId, privateCloudsId, projectsId | Updates the parameters of the DnsForwarding config, like associated domains. Only fields specified in update_mask are applied. |
SELECT
examples
Gets details of the DnsForwarding
config.
SELECT
name,
createTime,
forwardingRules,
updateTime
FROM google.vmwareengine.private_clouds_dns_forwarding
WHERE locationsId = '{{ locationsId }}'
AND privateCloudsId = '{{ privateCloudsId }}'
AND projectsId = '{{ projectsId }}';
UPDATE
example
Updates a private_clouds_dns_forwarding
resource.
/*+ update */
UPDATE google.vmwareengine.private_clouds_dns_forwarding
SET
forwardingRules = '{{ forwardingRules }}'
WHERE
locationsId = '{{ locationsId }}'
AND privateCloudsId = '{{ privateCloudsId }}'
AND projectsId = '{{ projectsId }}';