NAME
    gcloud alpha bms snapshot-schedule-policies create - create a Bare Metal
        Solution snapshot schedule policy

SYNOPSIS
    gcloud alpha bms snapshot-schedule-policies create SNAPSHOT_SCHEDULE_POLICY
        --schedule=[CRONTAB_SPEC,RETENTION_COUNT,PREFIX,...]
        [--description=DESCRIPTION] [--labels=[KEY=VALUE,...]]
        [GCLOUD_WIDE_FLAG ...]

DESCRIPTION
    (ALPHA) Create a Bare Metal Solution snapshot schedule policy.

EXAMPLES
    To create a policy called my-policy in project my-project with description
    my-description a schedule that runs every 3 hours and labels 'key1=value1'
    and 'key2=value2', run:

        $ gcloud alpha bms snapshot-schedule-policies create my-policy \
            --project=my-project --description=my-description \
            --schedule="crontab_spec=0 */3 * * \
        *,retention_count=10,prefix=example" \
            --labels=key1=value1,key2=value2

POSITIONAL ARGUMENTS
     Snapshot schedule policy resource - snapshot_schedule_policy. 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 snapshot_schedule_policy on the command line
        with a fully specified name;
      ◆ set the property core/project;
      ◆ provide the argument --project on the command line. To set the region
        attribute:
      ◆ provide the argument snapshot_schedule_policy on the command line
        with a fully specified name;
      ◆ global is the only supported location.

     This must be specified.

       SNAPSHOT_SCHEDULE_POLICY
          ID of the snapshot_schedule_policy or fully qualified identifier for
          the snapshot_schedule_policy. To set the snapshot_schedule_policy
          attribute:
          ▸ provide the argument snapshot_schedule_policy on the command
            line.

REQUIRED FLAGS
     --schedule=[CRONTAB_SPEC,RETENTION_COUNT,PREFIX,...]
        Adds a schedule for taking snapshots of volumes under this policy. This
        flag may be repeated to specify up to 5 schedules.

         crontab_spec
            Specification of the times at which snapshots will be taken. This
            should be in Crontab format:
            http://en.wikipedia.org/wiki/Cron#Overview

         retention_count
            The maximum number of snapshots to retain in this schedule.

         prefix
            Value to append to the name of snapshots created by this schedule.

OPTIONAL FLAGS
     --description=DESCRIPTION
        Description of the policy.

     --labels=[KEY=VALUE,...]
        List of label KEY=VALUE pairs to add.

        Keys must start with a lowercase character and contain only hyphens
        (-), underscores (_), lowercase characters, and numbers. Values must
        contain only hyphens (-), underscores (_), lowercase characters, and
        numbers.

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 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.

