Class NewReservedInstancesConfig (0.4.3)

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

When set in a ComputeResourceConfig, indicates that VM instances should be created from a reservation <https://cloud.google.com/compute/docs/instances/reservations-overview>__.

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

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

Attributes

Name Description
reservation str
Optional. Immutable. Name of the reservation from which VM instances should be created, in the format projects/{project}/zones/{zone}/reservations/{reservation}. This field is a member of oneof_ source.
reservation_block str
Optional. Immutable. Name of the reservation block from which VM instances should be created, in the format projects/{project}/zones/{zone}/reservations/{reservation}/reservationBlocks/{reservation_block}. This field is a member of oneof_ source.
reservation_sub_block str
Optional. Immutable. Name of the reservation sub block from which VM instances should be created, in the format projects/{project}/zones/{zone}/reservations/{reservation}/reservationBlocks/{reservation_block}/reservationSubBlocks/{reservation_sub_block}. This field is a member of oneof_ source.
network_tags MutableSequence[str]
Optional. Immutable. A list of network tags to attach to the VM instances. A maximum of 64 network tags are allowed.