1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-21 06:27:15 +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,60 @@
NAME
gcloud alpha monitoring metrics-scopes describe - describe a Cloud
Monitoring metrics scope
SYNOPSIS
gcloud alpha monitoring metrics-scopes describe METRICS_SCOPE
[GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(ALPHA) Describe a Cloud Monitoring metrics scope along with the list of
projects it is monitoring.
More details can be found at
https://cloud.google.com/monitoring/api/ref_v3/rest/v1/locations.global.metricsScopes/get
EXAMPLES
To describe a metrics scope contained within a specific project, run:
$ gcloud alpha monitoring metrics-scopes describe \
MY-METRICS-SCOPE-PROJECT-ID
To describe a metrics scope in JSON, run:
$ gcloud alpha monitoring metrics-scopes describe \
MY-METRICS-SCOPE-PROJECT-ID --format=json
To describe a metrics scope with a fully qualified metrics scope ID, run:
$ gcloud alpha monitoring metrics-scopes describe \
locations/global/metricsScopes/MY-METRICS-SCOPE-PROJECT-ID
POSITIONAL ARGUMENTS
Metrics scope resource - The metrics scope to describe. This represents a
Cloud resource.
This must be specified.
METRICS_SCOPE
ID of the metrics_scope or fully qualified identifier for the
metrics_scope. To set the metrics_scope attribute:
▸ provide the argument metrics_scope 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.
API REFERENCE
This command uses the monitoring/v1 API. The full documentation for this
API can be found at: https://cloud.google.com/monitoring/api/
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.