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

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
descriptionstringUser-provided description for this resource.
createTimestringOutput only. Creation time of this resource.
statestringOutput only. The state of the resource.
uidstringOutput only. System-generated unique identifier for the resource.
updateTimestringOutput 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

NameAccessible byRequired ParamsDescription
getSELECTlocationsId, managementDnsZoneBindingsId, privateCloudsId, projectsIdRetrieves a 'ManagementDnsZoneBinding' resource by its resource name.
listSELECTlocationsId, privateCloudsId, projectsIdLists Consumer VPCs bound to Management DNS Zone of a given private cloud.
createINSERTlocationsId, privateCloudsId, projectsIdCreates 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.
deleteDELETElocationsId, managementDnsZoneBindingsId, privateCloudsId, projectsIdDeletes 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.
patchUPDATElocationsId, managementDnsZoneBindingsId, privateCloudsId, projectsIdUpdates a ManagementDnsZoneBinding resource. Only fields specified in update_mask are applied.
repairEXEClocationsId, managementDnsZoneBindingsId, privateCloudsId, projectsIdRetries to create a ManagementDnsZoneBinding resource that is in failed state.

SELECT examples

Lists Consumer VPCs bound to Management DNS Zone of a given private cloud.

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

INSERT example

Use the following StackQL query and manifest file to create a new management_dns_zone_bindings resource.

/*+ create */
INSERT INTO google.vmwareengine.management_dns_zone_bindings (
locationsId,
privateCloudsId,
projectsId,
description,
vpcNetwork,
vmwareEngineNetwork
)
SELECT
'{{ locationsId }}',
'{{ privateCloudsId }}',
'{{ projectsId }}',
'{{ description }}',
'{{ vpcNetwork }}',
'{{ vmwareEngineNetwork }}'
;

UPDATE example

Updates a management_dns_zone_bindings resource.

/*+ update */
UPDATE google.vmwareengine.management_dns_zone_bindings
SET
description = '{{ description }}',
vpcNetwork = '{{ vpcNetwork }}',
vmwareEngineNetwork = '{{ vmwareEngineNetwork }}'
WHERE
locationsId = '{{ locationsId }}'
AND managementDnsZoneBindingsId = '{{ managementDnsZoneBindingsId }}'
AND privateCloudsId = '{{ privateCloudsId }}'
AND projectsId = '{{ projectsId }}';

DELETE example

Deletes the specified management_dns_zone_bindings resource.

/*+ delete */
DELETE FROM google.vmwareengine.management_dns_zone_bindings
WHERE locationsId = '{{ locationsId }}'
AND managementDnsZoneBindingsId = '{{ managementDnsZoneBindingsId }}'
AND privateCloudsId = '{{ privateCloudsId }}'
AND projectsId = '{{ projectsId }}';