1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-08 18:45:13 +00:00
gcloud-help/gcloud/alpha/monitoring/dashboards/delete
2022-03-01 04:29:52 +00:00

63 lines
2.2 KiB
Text

NAME
gcloud alpha monitoring dashboards delete - delete a Cloud Monitoring
dashboard
SYNOPSIS
gcloud alpha monitoring dashboards delete DASHBOARD [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(ALPHA) Delete a Monitoring dashboard.
EXAMPLES
To delete a dashboard, run:
$ gcloud alpha monitoring dashboards delete MY-DASHBOARD
To delete a dashboard contained within a specific project, run:
$ gcloud alpha monitoring dashboards delete MY-DASHBOARD \
--project=MY-PROJECT
To delete a dashboard with a fully qualified dashboard ID, run:
$ gcloud alpha monitoring dashboards delete \
projects/MY-PROJECT/dashboards/MY-DASHBOARD
POSITIONAL ARGUMENTS
Dashboard resource - The dashboard to delete. 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 dashboard on the command line with a fully
specified name;
◆ provide the argument --project on the command line;
◆ set the property core/project.
This must be specified.
DASHBOARD
ID of the dashboard or fully qualified identifier for the dashboard.
To set the dashboard attribute:
▸ provide the argument dashboard 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. These variants are also available:
$ gcloud monitoring dashboards delete
$ gcloud beta monitoring dashboards delete