NAME
    gcloud beta monitoring policies migrate - migrate a Prometheus
        configuration file to Cloud Monitoring

SYNOPSIS
    gcloud beta monitoring policies migrate
        [--channels-from-prometheus-alertmanager-yaml=PROMETHEUS_ALERT_MANAGER_FILE_PATH --policies-from-prometheus-alert-rules-yaml=[PROMETHEUS_ALERT_RULE_FILE_PATHS,
          ...]] [GCLOUD_WIDE_FLAG ...]

DESCRIPTION
    (BETA) Creates new alerting policies and/or notification channels based on
    provided Prometheus files. The rules YAML file, which holds the alert
    rules, must be specified as a file through the
    --policies-from-prometheus-alert-rules-yaml flag.

FLAGS
     --channels-from-prometheus-alertmanager-yaml=PROMETHEUS_ALERT_MANAGER_FILE_PATH
        Prometheus alert manager YAML file to be converted to Cloud Monitoring
        notification channels. Specifying this flag with the
        --policies-from-prometheus-alert-rules-yaml flag puts the newly created
        notification channels into the translated Alert Policies' definition.
        Use a full or relative path to a local file containing the value of
        channels_from_prometheus_alertmanager_yaml.

     --policies-from-prometheus-alert-rules-yaml=[PROMETHEUS_ALERT_RULE_FILE_PATHS,...]
        One or more Prometheus alert rule YAML files (separated by commas if
        multiple) to be converted to Cloud Alerting Policies. Example:
        --policies-from-prometheus-alert-rules-yaml=rules_1.yaml,rules_2.yaml

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 beta and might change without notice. These
    variants are also available:

        $ gcloud monitoring policies migrate

        $ gcloud alpha monitoring policies migrate

