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
The following fields are returned by SELECT queries:
- get_dns_forwarding
| Name | Datatype | Description |
|---|---|---|
name | string | Output 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 |
createTime | string (google-datetime) | Output only. Creation time of this resource. |
forwardingRules | array | Required. List of domain mappings to configure |
updateTime | string (google-datetime) | Output only. Last update time of this resource. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_dns_forwarding | select | projectsId, locationsId, privateCloudsId | Gets details of the DnsForwarding config. | |
update_dns_forwarding | update | projectsId, locationsId, privateCloudsId | updateMask, requestId | Updates 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.
| Name | Datatype | Description |
|---|---|---|
locationsId | string | |
privateCloudsId | string | |
projectsId | string | |
requestId | string | |
updateMask | string (google-fieldmask) |
SELECT examples
- get_dns_forwarding
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
- update_dns_forwarding
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;