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

The following fields are returned by SELECT queries:

Successful response

NameDatatypeDescription
namestringOutput only. Identifier. 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
createTimestring (google-datetime)Output only. Creation time of this resource.
forwardingRulesarrayRequired. List of domain mappings to configure
updateTimestring (google-datetime)Output only. Last update time of this resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_dns_forwardingselectprojectsId, locationsId, privateCloudsIdGets details of the DnsForwarding config.
update_dns_forwardingupdateprojectsId, locationsId, privateCloudsIdupdateMask, requestIdUpdates the parameters of the DnsForwarding config, like associated domains. Only fields specified in update_mask are applied.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
locationsIdstring
privateCloudsIdstring
projectsIdstring
requestIdstring
updateMaskstring (google-fieldmask)

SELECT examples

Gets details of the DnsForwarding config.

SELECT
name,
createTime,
forwardingRules,
updateTime
FROM google.vmwareengine.private_clouds_dns_forwarding
WHERE projectsId = '{{ projectsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
AND privateCloudsId = '{{ privateCloudsId }}' -- required;

UPDATE examples

Updates the parameters of the DnsForwarding config, like associated domains. Only fields specified in update_mask are applied.

UPDATE google.vmwareengine.private_clouds_dns_forwarding
SET
data__forwardingRules = '{{ forwardingRules }}'
WHERE
projectsId = '{{ projectsId }}' --required
AND locationsId = '{{ locationsId }}' --required
AND privateCloudsId = '{{ privateCloudsId }}' --required
AND updateMask = '{{ updateMask}}'
AND requestId = '{{ requestId}}'
RETURNING
name,
done,
error,
metadata,
response;