mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-18 14:56:05 +00:00
gcloud: Wed Sep 13 10:32:10 UTC 2023
This commit is contained in:
parent
6c8d2eb024
commit
39a8a4f491
111 changed files with 1798 additions and 302 deletions
|
|
@ -4,7 +4,7 @@ NAME
|
|||
|
||||
SYNOPSIS
|
||||
gcloud alpha monitoring metrics-scopes create
|
||||
MONITORED_PROJECT_ID_OR_NUMBER [GCLOUD_WIDE_FLAG ...]
|
||||
MONITORED_RESOURCE_CONTAINER_NAME [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(ALPHA) This command can fail for the following reasons:
|
||||
|
|
@ -21,20 +21,22 @@ EXAMPLES
|
|||
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 create monitored-project-1
|
||||
$ gcloud alpha monitoring metrics-scopes create \
|
||||
projects/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 create \
|
||||
monitored-project-1 --project=metrics-scope-1
|
||||
projects/monitored-project-1 --project=metrics-scope-1
|
||||
$ gcloud alpha monitoring metrics-scopes create \
|
||||
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 create.
|
||||
MONITORED_RESOURCE_CONTAINER_NAME
|
||||
Monitored resource container (example - projects/PROJECT_ID) project
|
||||
you want to create.
|
||||
|
||||
GCLOUD WIDE FLAGS
|
||||
These flags are available to all commands: --access-token-file, --account,
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ NAME
|
|||
|
||||
SYNOPSIS
|
||||
gcloud alpha monitoring metrics-scopes delete
|
||||
MONITORED_PROJECT_ID_OR_NUMBER [GCLOUD_WIDE_FLAG ...]
|
||||
MONITORED_RESOURCE_CONTAINER_NAME [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(ALPHA) This command can fail for the following reasons:
|
||||
|
|
@ -20,20 +20,22 @@ EXAMPLES
|
|||
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
|
||||
$ gcloud alpha monitoring metrics-scopes delete \
|
||||
projects/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
|
||||
projects/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.
|
||||
MONITORED_RESOURCE_CONTAINER_NAME
|
||||
Monitored resource container (example - projects/PROJECT_ID) project
|
||||
you want to delete.
|
||||
|
||||
GCLOUD WIDE FLAGS
|
||||
These flags are available to all commands: --access-token-file, --account,
|
||||
|
|
|
|||
|
|
@ -30,7 +30,8 @@ COMMANDS
|
|||
(ALPHA) Describe a Cloud Monitoring metrics scope.
|
||||
|
||||
list
|
||||
(ALPHA) List the metrics scopes monitoring the specified project.
|
||||
(ALPHA) List the metrics scopes monitoring the specified monitored
|
||||
resource container.
|
||||
|
||||
NOTES
|
||||
This command is currently in alpha and might change without notice. If this
|
||||
|
|
|
|||
|
|
@ -1,11 +1,12 @@
|
|||
NAME
|
||||
gcloud alpha monitoring metrics-scopes list - list the metrics scopes
|
||||
monitoring the specified project
|
||||
monitoring the specified monitored resource container
|
||||
|
||||
SYNOPSIS
|
||||
gcloud alpha monitoring metrics-scopes list PROJECT_ID_OR_NUMBER
|
||||
[--filter=EXPRESSION] [--limit=LIMIT] [--page-size=PAGE_SIZE]
|
||||
[--sort-by=[FIELD,...]] [--uri] [GCLOUD_WIDE_FLAG ...]
|
||||
gcloud alpha monitoring metrics-scopes list
|
||||
MONITORED_RESOURCE_CONTAINER_NAME [--filter=EXPRESSION] [--limit=LIMIT]
|
||||
[--page-size=PAGE_SIZE] [--sort-by=[FIELD,...]] [--uri]
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(ALPHA) This command can fail for the following reasons:
|
||||
|
|
@ -19,11 +20,12 @@ DESCRIPTION
|
|||
EXAMPLES
|
||||
To list the metrics scopes monitoring MY-PROJECT-ID
|
||||
|
||||
$ gcloud alpha monitoring metrics-scopes list MY-PROJECT-ID
|
||||
$ gcloud alpha monitoring metrics-scopes list projects/MY-PROJECT-ID
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
PROJECT_ID_OR_NUMBER
|
||||
ID or number for the project you want to list.
|
||||
MONITORED_RESOURCE_CONTAINER_NAME
|
||||
Monitored resource container (example - projects/PROJECT_ID) project
|
||||
you want to list.
|
||||
|
||||
LIST COMMAND FLAGS
|
||||
--filter=EXPRESSION
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue