mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-18 23:08:48 +00:00
gcloud: Wed Mar 16 08:47:18 UTC 2022
This commit is contained in:
parent
7d82d0fc32
commit
971306823a
187 changed files with 3248 additions and 630 deletions
46
gcloud/alpha/dns/managed-zones/get-iam-policy
Normal file
46
gcloud/alpha/dns/managed-zones/get-iam-policy
Normal file
|
|
@ -0,0 +1,46 @@
|
|||
NAME
|
||||
gcloud alpha dns managed-zones get-iam-policy - get the IAM policy for a
|
||||
Cloud DNS managed-zone
|
||||
|
||||
SYNOPSIS
|
||||
gcloud alpha dns managed-zones get-iam-policy ZONE [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(ALPHA) This command displays the IAM Policy of the specified managed-zone.
|
||||
|
||||
EXAMPLES
|
||||
To display the details of your managed-zone IAM Policy , run:
|
||||
|
||||
$ gcloud alpha dns managed-zones get-iam-policy my-zone
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
Zone resource - The name of the managed-zone to get IAM policy. This
|
||||
represents a Cloud resource. (NOTE) Some attributes are not given
|
||||
arguments in this group but can be set in other ways. To set the project
|
||||
attribute:
|
||||
◆ provide the argument zone on the command line with a fully specified
|
||||
name;
|
||||
◆ provide the argument --project on the command line;
|
||||
◆ set the property core/project.
|
||||
|
||||
This must be specified.
|
||||
|
||||
ZONE
|
||||
ID of the zone or fully qualified identifier for the zone. To set the
|
||||
zone attribute:
|
||||
▸ provide the argument zone on the command line.
|
||||
|
||||
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.
|
||||
|
||||
NOTES
|
||||
This command is currently in alpha and might change without notice. If this
|
||||
command fails with API permission errors despite specifying the correct
|
||||
project, you might be trying to access an API with an invitation-only early
|
||||
access allowlist.
|
||||
|
||||
|
|
@ -49,9 +49,15 @@ COMMANDS
|
|||
describe
|
||||
(ALPHA) View the details of a Cloud DNS managed-zone.
|
||||
|
||||
get-iam-policy
|
||||
(ALPHA) Get the IAM policy for a Cloud DNS managed-zone.
|
||||
|
||||
list
|
||||
(ALPHA) View the list of all your managed-zones.
|
||||
|
||||
set-iam-policy
|
||||
(ALPHA) Set the IAM policy for a Cloud DNS managed-zone.
|
||||
|
||||
update
|
||||
(ALPHA) Update an existing Cloud DNS managed-zone.
|
||||
|
||||
|
|
|
|||
52
gcloud/alpha/dns/managed-zones/set-iam-policy
Normal file
52
gcloud/alpha/dns/managed-zones/set-iam-policy
Normal file
|
|
@ -0,0 +1,52 @@
|
|||
NAME
|
||||
gcloud alpha dns managed-zones set-iam-policy - set the IAM policy for a
|
||||
Cloud DNS managed-zone
|
||||
|
||||
SYNOPSIS
|
||||
gcloud alpha dns managed-zones set-iam-policy ZONE
|
||||
--policy-file=POLICY_FILE [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(ALPHA) This command sets the IAM Policy of the specified managed-zone.
|
||||
|
||||
EXAMPLES
|
||||
To set the IAM policy of your managed-zone , run:
|
||||
|
||||
$ gcloud alpha dns managed-zones set-iam-policy my-zone \
|
||||
--policy-file=policy.json
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
Zone resource - The name of the managed-zone to set IAM policy. This
|
||||
represents a Cloud resource. (NOTE) Some attributes are not given
|
||||
arguments in this group but can be set in other ways. To set the project
|
||||
attribute:
|
||||
◆ provide the argument zone on the command line with a fully specified
|
||||
name;
|
||||
◆ provide the argument --project on the command line;
|
||||
◆ set the property core/project.
|
||||
|
||||
This must be specified.
|
||||
|
||||
ZONE
|
||||
ID of the zone or fully qualified identifier for the zone. To set the
|
||||
zone attribute:
|
||||
▸ provide the argument zone on the command line.
|
||||
|
||||
REQUIRED FLAGS
|
||||
--policy-file=POLICY_FILE
|
||||
JSON or YAML file with the IAM policy
|
||||
|
||||
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.
|
||||
|
||||
NOTES
|
||||
This command is currently in alpha and might change without notice. If this
|
||||
command fails with API permission errors despite specifying the correct
|
||||
project, you might be trying to access an API with an invitation-only early
|
||||
access allowlist.
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue