Skip to main content

private_clouds_dns_forwarding

Creates, updates, deletes, gets or lists a private_clouds_dns_forwarding resource.

Overview

Nameprivate_clouds_dns_forwarding
TypeResource
Idgoogle.vmwareengine.private_clouds_dns_forwarding

Fields

NameDatatypeDescription
namestringOutput 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
createTimestringOutput only. Creation time of this resource.
forwardingRulesarrayRequired. List of domain mappings to configure
updateTimestringOutput only. Last update time of this resource.

Methods

NameAccessible byRequired ParamsDescription
get_dns_forwardingSELECTlocationsId, privateCloudsId, projectsIdGets details of the DnsForwarding config.
update_dns_forwardingUPDATElocationsId, privateCloudsId, projectsIdUpdates 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 }}';