Skip to main content

management_dns_zone_bindings

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

Overview

Namemanagement_dns_zone_bindings
TypeResource
Idgoogle.vmwareengine.management_dns_zone_bindings

Fields

The following fields are returned by SELECT queries:

Successful response

NameDatatypeDescription
namestringOutput only. The resource name of this binding. 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/managementDnsZoneBindings/my-management-dns-zone-binding
createTimestring (google-datetime)Output only. Creation time of this resource.
descriptionstringUser-provided description for this resource.
statestringOutput only. The state of the resource.
uidstringOutput only. System-generated unique identifier for the resource.
updateTimestring (google-datetime)Output only. Last update time of this resource.
vmwareEngineNetworkstringNetwork to bind is a VMware Engine network. Specify the name in the following form for VMware engine network: projects/{project}/locations/global/vmwareEngineNetworks/{vmware_engine_network_id}. {project} can either be a project number or a project ID.
vpcNetworkstringNetwork to bind is a standard consumer VPC. Specify the name in the following form for consumer VPC network: projects/{project}/global/networks/{network_id}. {project} can either be a project number or a project ID.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectprojectsId, locationsId, privateCloudsId, managementDnsZoneBindingsIdRetrieves a 'ManagementDnsZoneBinding' resource by its resource name.
listselectprojectsId, locationsId, privateCloudsIdpageSize, pageToken, filter, orderByLists Consumer VPCs bound to Management DNS Zone of a given private cloud.
createinsertprojectsId, locationsId, privateCloudsIdmanagementDnsZoneBindingId, requestIdCreates a new ManagementDnsZoneBinding resource in a private cloud. This RPC creates the DNS binding and the resource that represents the DNS binding of the consumer VPC network to the management DNS zone. A management DNS zone is the Cloud DNS cross-project binding zone that VMware Engine creates for each private cloud. It contains FQDNs and corresponding IP addresses for the private cloud's ESXi hosts and management VM appliances like vCenter and NSX Manager.
patchupdateprojectsId, locationsId, privateCloudsId, managementDnsZoneBindingsIdupdateMask, requestIdUpdates a ManagementDnsZoneBinding resource. Only fields specified in update_mask are applied.
deletedeleteprojectsId, locationsId, privateCloudsId, managementDnsZoneBindingsIdrequestIdDeletes a ManagementDnsZoneBinding resource. When a management DNS zone binding is deleted, the corresponding consumer VPC network is no longer bound to the management DNS zone.
repairexecprojectsId, locationsId, privateCloudsId, managementDnsZoneBindingsIdRetries to create a ManagementDnsZoneBinding resource that is in failed state.

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
managementDnsZoneBindingsIdstring
privateCloudsIdstring
projectsIdstring
filterstring
managementDnsZoneBindingIdstring
orderBystring
pageSizeinteger (int32)
pageTokenstring
requestIdstring
updateMaskstring (google-fieldmask)

SELECT examples

Retrieves a 'ManagementDnsZoneBinding' resource by its resource name.

SELECT
name,
createTime,
description,
state,
uid,
updateTime,
vmwareEngineNetwork,
vpcNetwork
FROM google.vmwareengine.management_dns_zone_bindings
WHERE projectsId = '{{ projectsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
AND privateCloudsId = '{{ privateCloudsId }}' -- required
AND managementDnsZoneBindingsId = '{{ managementDnsZoneBindingsId }}' -- required;

INSERT examples

Creates a new ManagementDnsZoneBinding resource in a private cloud. This RPC creates the DNS binding and the resource that represents the DNS binding of the consumer VPC network to the management DNS zone. A management DNS zone is the Cloud DNS cross-project binding zone that VMware Engine creates for each private cloud. It contains FQDNs and corresponding IP addresses for the private cloud's ESXi hosts and management VM appliances like vCenter and NSX Manager.

INSERT INTO google.vmwareengine.management_dns_zone_bindings (
data__description,
data__vpcNetwork,
data__vmwareEngineNetwork,
projectsId,
locationsId,
privateCloudsId,
managementDnsZoneBindingId,
requestId
)
SELECT
'{{ description }}',
'{{ vpcNetwork }}',
'{{ vmwareEngineNetwork }}',
'{{ projectsId }}',
'{{ locationsId }}',
'{{ privateCloudsId }}',
'{{ managementDnsZoneBindingId }}',
'{{ requestId }}'
RETURNING
name,
done,
error,
metadata,
response
;

UPDATE examples

Updates a ManagementDnsZoneBinding resource. Only fields specified in update_mask are applied.

UPDATE google.vmwareengine.management_dns_zone_bindings
SET
data__description = '{{ description }}',
data__vpcNetwork = '{{ vpcNetwork }}',
data__vmwareEngineNetwork = '{{ vmwareEngineNetwork }}'
WHERE
projectsId = '{{ projectsId }}' --required
AND locationsId = '{{ locationsId }}' --required
AND privateCloudsId = '{{ privateCloudsId }}' --required
AND managementDnsZoneBindingsId = '{{ managementDnsZoneBindingsId }}' --required
AND updateMask = '{{ updateMask}}'
AND requestId = '{{ requestId}}'
RETURNING
name,
done,
error,
metadata,
response;

DELETE examples

Deletes a ManagementDnsZoneBinding resource. When a management DNS zone binding is deleted, the corresponding consumer VPC network is no longer bound to the management DNS zone.

DELETE FROM google.vmwareengine.management_dns_zone_bindings
WHERE projectsId = '{{ projectsId }}' --required
AND locationsId = '{{ locationsId }}' --required
AND privateCloudsId = '{{ privateCloudsId }}' --required
AND managementDnsZoneBindingsId = '{{ managementDnsZoneBindingsId }}' --required
AND requestId = '{{ requestId }}';

Lifecycle Methods

Retries to create a ManagementDnsZoneBinding resource that is in failed state.

EXEC google.vmwareengine.management_dns_zone_bindings.repair 
@projectsId='{{ projectsId }}' --required,
@locationsId='{{ locationsId }}' --required,
@privateCloudsId='{{ privateCloudsId }}' --required,
@managementDnsZoneBindingsId='{{ managementDnsZoneBindingsId }}' --required
@@json=
'{
"requestId": "{{ requestId }}"
}';