gcloud alpha compute resource-policies create group-placement

NAME
gcloud alpha compute resource-policies create group-placement - create a Google Compute Engine Group Placement Resource Policy
SYNOPSIS
gcloud alpha compute resource-policies create group-placement NAME --vm-count=VM_COUNT [--availability-domain-count=AVAILABILITY_DOMAIN_COUNT] [--collocation=COLLOCATION] [--description=DESCRIPTION] [--region=REGION] [GCLOUD_WIDE_FLAG]
DESCRIPTION
(ALPHA) Create a Google Compute Engine Group Placement Resource Policy.
POSITIONAL ARGUMENTS
NAME
Name of the resource policy to operate on.
REQUIRED FLAGS
--vm-count=VM_COUNT
Number of instances targeted by the group placement policy.
OPTIONAL FLAGS
--availability-domain-count=AVAILABILITY_DOMAIN_COUNT
Number of availability domain in the group placement policy.
--collocation=COLLOCATION
Collocation specifies whether to place VMs inside the sameavailability domain on the same low-latency network. COLLOCATION must be one of:
collocated
Low network latency between VMs placed on the sameavailability domain.
unspecified-collocation
Unspecified network latency between VMs placed on the sameavailability domain. This is the default behavior.
--description=DESCRIPTION
An optional, textual description for the backend.
--region=REGION
Region of the resource policy to operate on. If not specified, you may be prompted to select a region.

To avoid prompting when this flag is omitted, you can set the compute/region property:

  $ gcloud config set compute/region REGION

A list of regions can be fetched by running:

  $ gcloud compute regions list

To unset the property, run:

  $ gcloud config unset compute/region

Alternatively, the region can be stored in the environment variable CLOUDSDK_COMPUTE_REGION.

GCLOUD WIDE FLAGS
These flags are available to all commands: --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.

EXAMPLES
To create a Google Compute Engine Group Placement Resource policy with 2 VMs and 2 availability domains, run:
  $ gcloud alpha compute resource-policies create group-placement \
      my-resource-policy --region=REGION --vm-count=2 \
      --availability-domain-count=2
NOTES
This command is currently in ALPHA and may change without notice. If this command fails with API permission errors despite specifying the right project, you may be trying to access an API with an invitation-only early access whitelist. This variant is also available:
  $ gcloud beta compute resource-policies create group-placement