1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-19 07:15:23 +00:00

gcloud: Wed Mar 30 09:07:09 UTC 2022

This commit is contained in:
Automated 2022-03-30 09:07:09 +00:00
parent cd34e797ae
commit 9bf28f1efe
90 changed files with 1554 additions and 258 deletions

View file

@ -0,0 +1,51 @@
NAME
gcloud alpha monitoring metrics-scopes delete - delete a monitored project
in a metrics scope
SYNOPSIS
gcloud alpha monitoring metrics-scopes delete
MONITORED_PROJECT_ID_OR_NUMBER [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(ALPHA) This command can fail for the following reasons:
▪ The projects specified do not exist.
▪ The active account does not have permission to access one of the
given project.
More details can be found at
https://cloud.google.com/monitoring/api/ref_v3/rest/v1/locations.global.metricsScopes.projects/delete
EXAMPLES
The following command adds a monitored project with the ID
monitored-project-1 to a metrics scope with project id metrics-scope-1
assuming the metrics-scope-1 is the default project:
$ gcloud alpha monitoring metrics-scopes delete monitored-project-1
The following command adds a monitored project with the ID
monitored-project-1 to a metrics scope with project id metrics-scope-1:
$ gcloud alpha monitoring metrics-scopes delete \
monitored-project-1 --project=metrics-scope-1
$ gcloud alpha monitoring metrics-scopes delete \
locations/global/metricsScopes/metrics-scope-1/projects/\
monitored-project-1
POSITIONAL ARGUMENTS
MONITORED_PROJECT_ID_OR_NUMBER
Monitored project ID or number for the project you want to delete.
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.