1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-12 16:08:31 +00:00

gcloud: Thu Apr 6 10:23:36 UTC 2023

This commit is contained in:
Automated 2023-04-06 10:23:36 +00:00
parent 5fabf24be7
commit 32e56b8b99
209 changed files with 5396 additions and 561 deletions

View file

@ -48,6 +48,10 @@ GROUPS
tags
(BETA) Manage Artifact Registry container image tags.
upgrade
(BETA) Commands to support Container Registry to Artifact Registry
upgrade.
NOTES
This command is currently in beta and might change without notice. These
variants are also available:

View file

@ -0,0 +1,29 @@
NAME
gcloud beta artifacts docker upgrade - commands to support Container
Registry to Artifact Registry upgrade
SYNOPSIS
gcloud beta artifacts docker upgrade COMMAND [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(BETA) To print an equivalant Artifact Registry IAM policy for
'gcr.io/my-project' within scope projects/my-project:
$ gcloud beta artifacts docker upgrade print-iam-policy gcr.io \
--project=my-project
GCLOUD WIDE FLAGS
These flags are available to all commands: --help.
Run $ gcloud help for details.
COMMANDS
COMMAND is one of the following:
print-iam-policy
(BETA) Print an Artifact Registry IAM policy for Container Registry to
Artifact Registry upgrade.
NOTES
This command is currently in beta and might change without notice.

View file

@ -0,0 +1,64 @@
NAME
gcloud beta artifacts docker upgrade print-iam-policy - print an Artifact
Registry IAM policy for Container Registry to Artifact Registry upgrade
SYNOPSIS
gcloud beta artifacts docker upgrade print-iam-policy DOMAIN
[--folder=FOLDER_ID | --organization=ORGANIZATION_ID]
[GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(BETA) Print an Artifact Registry IAM policy that is equivalent to the IAM
policy applied to the storage bucket for the specified Container Registry
hostname. Apply the returned policy to the Artifact Registry repository
that will replace the specified host. By default, this command only
considers IAM policies within the project-level scope, so policies that are
at the folder or organization level will not be included in the generated
policy. To change the scope, use the --organization or --folder flags.
EXAMPLES
To print an equivalant Artifact Registry IAM policy for 'gcr.io/my-project'
within scope projects/my-project:
$ gcloud beta artifacts docker upgrade print-iam-policy upgrade \
print-iam-policy gcr.io --project=my-project
To print an equivalant Artifact Registry IAM policy for 'gcr.io/my-project'
within scope folders/123:
$ gcloud beta artifacts docker upgrade print-iam-policy upgrade \
print-iam-policy gcr.io --project=my-project --folder=123
To print an equivalant Artifact Registry IAM policy for 'gcr.io/my-project'
within scope organizations/123:
$ gcloud beta artifacts docker upgrade print-iam-policy upgrade \
print-iam-policy gcr.io --project=my-project --organization=123
POSITIONAL ARGUMENTS
DOMAIN
A Container Registry domain. Valid values are: [gcr.io, asia.gcr.io,
eu.gcr.io, us.gcr.io]
FLAGS
At most one of these can be specified:
--folder=FOLDER_ID
Folder ID on which to scope IAM analysis. Only policies defined at or
below this folder will be included in the analysis.
--organization=ORGANIZATION_ID
Organization ID on which to scope IAM analysis. Only policies defined
at or below this organization will be included in the analysis.
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 beta and might change without notice.