Class AllocationAffinity (0.1.7)

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

Specifies the reservations that this instance can consume from.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes

Name Description
consume_allocation_type google.cloud.backupdr_v1.types.AllocationAffinity.Type
Optional. Specifies the type of reservation from which this instance can consume This field is a member of oneof_ _consume_allocation_type.
key str
Optional. Corresponds to the label key of a reservation resource. This field is a member of oneof_ _key.
values MutableSequence[str]
Optional. Corresponds to the label values of a reservation resource.

Classes

Type

Type(value)

Indicates whether to consume from a reservation or not.