mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-10 11:21:48 +00:00
71 lines
2.5 KiB
Text
71 lines
2.5 KiB
Text
NAME
|
|
gcloud vmware dns-bind-permission grant - grants a DNS Bind Permission
|
|
|
|
SYNOPSIS
|
|
gcloud vmware dns-bind-permission grant
|
|
(--service-account=SERVICE_ACCOUNT | --user=USER) [--async]
|
|
[GCLOUD_WIDE_FLAG ...]
|
|
|
|
DESCRIPTION
|
|
Grants the bind permission to the customer provided user/service account to
|
|
bind their DNS zone with the intranet VPC associated with the project.
|
|
|
|
EXAMPLES
|
|
To grant the bind permission to the customer provided user user@abc.com to
|
|
bind their DNS zone with the intranet VPC associated with project
|
|
my-project, run:
|
|
|
|
$ gcloud vmware dns-bind-permission grant --user=user@abc.com \
|
|
--project=my-project
|
|
|
|
Or:
|
|
|
|
$ gcloud vmware dns-bind-permission grant --user=user@abc.com
|
|
|
|
In the second example, the project is taken from gcloud properties
|
|
core/project.
|
|
|
|
To grant the bind permission to the customer provided service account
|
|
service-account@gserviceaccount.com to bind their DNS zone with the
|
|
intranet VPC associated with project my-project, run:
|
|
|
|
$ gcloud vmware dns-bind-permission grant \
|
|
--service-account=service-account@gserviceaccount.com \
|
|
--project=my-project
|
|
|
|
Or:
|
|
|
|
$ gcloud vmware dns-bind-permission grant \
|
|
--service-account=service-account@gserviceaccount.com
|
|
|
|
In the second example, the project is taken from gcloud properties
|
|
core/project.
|
|
|
|
REQUIRED FLAGS
|
|
Exactly one of these must be specified:
|
|
|
|
--service-account=SERVICE_ACCOUNT
|
|
The consumer provided service account which needs to be granted
|
|
permission to bind with the intranet VPC corresponding to the
|
|
consumer project. If this field is not provided then the user should
|
|
be provided.
|
|
|
|
--user=USER
|
|
The consumer provided user which needs to be granted permission to
|
|
bind with the intranet VPC corresponding to the consumer project. If
|
|
this field is not provided then the service-account should be
|
|
provided.
|
|
|
|
OPTIONAL FLAGS
|
|
--async
|
|
Return immediately, without waiting for the operation in progress to
|
|
complete. The default is True. Enabled by default, use --no-async to
|
|
disable.
|
|
|
|
GCLOUD WIDE FLAGS
|
|
These flags are available to all commands: --access-token-file, --account,
|
|
--billing-project, --configuration, --flags-file, --flatten, --format,
|
|
--help, --impersonate-service-account, --log-http, --project, --quiet,
|
|
--trace-token, --user-output-enabled, --verbosity.
|
|
|
|
Run $ gcloud help for details.
|