Class InstanceFlexibilityPolicy (5.9.2)

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

Instance flexibility Policy allowing a mixture of VM shapes and provisioning models.

Attributes

NameDescription
instance_selection_list MutableSequence[google.cloud.dataproc_v1.types.InstanceFlexibilityPolicy.InstanceSelection]
Optional. List of instance selection options that the group will use when creating new VMs.
instance_selection_results MutableSequence[google.cloud.dataproc_v1.types.InstanceFlexibilityPolicy.InstanceSelectionResult]
Output only. A list of instance selection results in the group.

Classes

InstanceSelection

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

Defines machines types and a rank to which the machines types belong.

InstanceSelectionResult

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

Defines a mapping from machine types to the number of VMs that are created with each machine type.

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