management_dns_zone_bindings
Creates, updates, deletes, gets or lists a management_dns_zone_bindings
resource.
Overview
Name | management_dns_zone_bindings |
Type | Resource |
Id | google.vmwareengine.management_dns_zone_bindings |
Fields
Name | Datatype | Description |
---|---|---|
name | string | Output 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 |
description | string | User-provided description for this resource. |
createTime | string | Output only. Creation time of this resource. |
state | string | Output only. The state of the resource. |
uid | string | Output only. System-generated unique identifier for the resource. |
updateTime | string | Output only. Last update time of this resource. |
vmwareEngineNetwork | string | Network 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. |
vpcNetwork | string | Network 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
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | locationsId, managementDnsZoneBindingsId, privateCloudsId, projectsId | Retrieves a 'ManagementDnsZoneBinding' resource by its resource name. |
list | SELECT | locationsId, privateCloudsId, projectsId | Lists Consumer VPCs bound to Management DNS Zone of a given private cloud. |
create | INSERT | locationsId, privateCloudsId, projectsId | 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. |
delete | DELETE | locationsId, managementDnsZoneBindingsId, privateCloudsId, projectsId | 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. |
patch | UPDATE | locationsId, managementDnsZoneBindingsId, privateCloudsId, projectsId | Updates a ManagementDnsZoneBinding resource. Only fields specified in update_mask are applied. |
repair | EXEC | locationsId, managementDnsZoneBindingsId, privateCloudsId, projectsId | Retries 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.
- All Properties
- Manifest
/*+ create */
INSERT INTO google.vmwareengine.management_dns_zone_bindings (
locationsId,
privateCloudsId,
projectsId,
description,
vpcNetwork,
vmwareEngineNetwork
)
SELECT
'{{ locationsId }}',
'{{ privateCloudsId }}',
'{{ projectsId }}',
'{{ description }}',
'{{ vpcNetwork }}',
'{{ vmwareEngineNetwork }}'
;
- name: your_resource_model_name
props:
- name: name
value: string
- name: createTime
value: string
- name: updateTime
value: string
- name: state
value: string
- name: description
value: string
- name: vpcNetwork
value: string
- name: vmwareEngineNetwork
value: string
- name: uid
value: string
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 }}';