Skip to main content

dns_bind_permission

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

Overview

Namedns_bind_permission
TypeResource
Idgoogle.vmwareengine.dns_bind_permission

Fields

NameDatatypeDescription
namestringRequired. Output only. The name of the resource which stores the users/service accounts having the permission to bind to the corresponding intranet VPC of the consumer project. DnsBindPermission is a global resource and location can only be global. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/global/dnsBindPermission
principalsarrayOutput only. Users/Service accounts which have access for binding on the intranet VPC project corresponding to the consumer project.

Methods

NameAccessible byRequired ParamsDescription
get_dns_bind_permissionSELECTlocationsId, projectsIdGets all the principals having bind permission on the intranet VPC associated with the consumer project granted by the Grant API. DnsBindPermission is a global resource and location can only be global.
grantEXEClocationsId, projectsIdGrants the bind permission to the customer provided principal(user / service account) to bind their DNS zone with the intranet VPC associated with the project. DnsBindPermission is a global resource and location can only be global.
revokeEXEClocationsId, projectsIdRevokes the bind permission from the customer provided principal(user / service account) on the intranet VPC associated with the consumer project. DnsBindPermission is a global resource and location can only be global.

SELECT examples

Gets all the principals having bind permission on the intranet VPC associated with the consumer project granted by the Grant API. DnsBindPermission is a global resource and location can only be global.

SELECT
name,
principals
FROM google.vmwareengine.dns_bind_permission
WHERE locationsId = '{{ locationsId }}'
AND projectsId = '{{ projectsId }}';