Class ResourcePolicyGroupPlacementPolicy (1.6.0)

ResourcePolicyGroupPlacementPolicy(
    mapping=None, *, ignore_unknown_fields=False, **kwargs
)

A GroupPlacementPolicy specifies resource placement configuration. It specifies the failure bucket separation as well as network locality

Attributes

NameDescription
availability_domain_count int
The number of availability domains to spread instances across. If two instances are in different availability domain, they are not in the same low latency network. This field is a member of `oneof`_ ``_availability_domain_count``.
collocation str
Specifies network collocation Check the Collocation enum for the list of possible values. This field is a member of `oneof`_ ``_collocation``.
vm_count int
Number of VMs in this placement group. Google does not recommend that you use this field unless you use a compact policy and you want your policy to work only if it contains this exact number of VMs. This field is a member of `oneof`_ ``_vm_count``.

Inheritance

builtins.object > proto.message.Message > ResourcePolicyGroupPlacementPolicy

Classes

Collocation

Collocation(value)

Specifies network collocation