gcloud alpha compute resource-policies create - create Compute Engine Resource Policies
gcloud alpha compute resource-policies create GROUP | COMMAND [GCLOUD_WIDE_FLAG ...]
(ALPHA) Create Compute Engine Resource Policies.
These flags are available to all commands: --help.
Run $ gcloud help for details.
GROUP is one of the following:
- vm-maintenance
(ALPHA) Create Compute Engine VM Maintenance Resource Policies.
COMMAND is one of the following:
- disk-consistency-group
(ALPHA) Create a Compute Engine Disk Consistency Group resource policy.
- group-placement
(ALPHA) Create a Compute Engine group placement resource policy.
- instance-schedule
(ALPHA) Create a Compute Engine instance schedule resource policy.
- snapshot-schedule
(ALPHA) Create a Compute Engine Snapshot Schedule Resource Policy.
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 compute resource-policies create
$ gcloud beta compute resource-policies create