dns_bind_permission
Creates, updates, deletes, gets or lists a dns_bind_permission
resource.
Overview
Name | dns_bind_permission |
Type | Resource |
Id | google.vmwareengine.dns_bind_permission |
Fields
Name | Datatype | Description |
---|---|---|
name | string | Required. 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 |
principals | array | Output only. Users/Service accounts which have access for binding on the intranet VPC project corresponding to the consumer project. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get_dns_bind_permission | SELECT | locationsId, projectsId | 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. |
grant | EXEC | locationsId, projectsId | Grants 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. |
revoke | EXEC | locationsId, projectsId | Revokes 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 }}';