gcloud monitoring alerts describe

NAME
gcloud monitoring alerts describe - describe an alert
SYNOPSIS
gcloud monitoring alerts describe ALERT [GCLOUD_WIDE_FLAG …]
DESCRIPTION
Describe an alert.
EXAMPLES
To describe an alert, run:
gcloud monitoring alerts describe MY-ALERT

To describe an alert in JSON, run:

gcloud monitoring alerts describe MY-ALERT --format=json

To describe an alert contained within a specific project, run:

gcloud monitoring alerts describe MY-ALERT --project=MY-PROJECT

To describe an alert with a fully qualified alert ID, run:

gcloud monitoring alerts describe projects/MY-PROJECT/alerts/MY-ALERT
POSITIONAL ARGUMENTS
Alert resource - The alert 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 alert 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.

ALERT
ID of the alert or fully qualified identifier for the alert.

To set the alert attribute:

  • provide the argument alert 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/v3 API. The full documentation for this API can be found at: https://cloud.google.com/monitoring/api/
NOTES
These variants are also available:
gcloud alpha monitoring alerts describe
gcloud beta monitoring alerts describe