1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-11 15:39:42 +00:00
gcloud-help/gcloud/alpha/artifacts/vpcsc-config/describe
2023-02-15 10:13:15 +00:00

63 lines
2.5 KiB
Text

NAME
gcloud alpha artifacts vpcsc-config describe - describe the current
Artifact Registry configuration for VPC Service Controls
SYNOPSIS
gcloud alpha artifacts vpcsc-config describe [--location=LOCATION]
[GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(ALPHA) Describe the current Artifact Registry configuration for VPC
Service Controls.
This command can fail for the following reasons:
▪ Lack of permission - "accesscontextmanager.policies.get".
▪ The resource could be outside of the VPC SC perimeter.
▪ Lack of permission - "artifactregistry.vpcscconfigs.get"
EXAMPLES
The following command returns the current VPC Service Controls
configuration for the project my-project and region us-west1:
$ gcloud alpha artifacts vpcsc-config describe \
--project=my-project --location=us-west1
FLAGS
Location resource - The Artifact Registry VPC SC configs to describe. 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 --location on the command line with a fully
specified name;
◆ set the property artifacts/location with a fully specified name;
◆ set the property core/project;
◆ provide the argument --project on the command line.
--location=LOCATION
ID of the location or fully qualified identifier for the location. To
set the location attribute:
▸ provide the argument --location on the command line;
▸ set the property artifacts/location.
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.
API REFERENCE
This command uses the artifactregistry/v1 API. The full documentation for
this API can be found at: https://cloud.google.com/artifacts/docs/
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. These variants are also available:
$ gcloud artifacts vpcsc-config describe
$ gcloud beta artifacts vpcsc-config describe