Class InstanceFlexibilityPolicy (5.15.0)

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

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

Attributes

Name Description
provisioning_model_mix google.cloud.dataproc_v1.types.InstanceFlexibilityPolicy.ProvisioningModelMix
Optional. Defines how the Group selects the provisioning model to ensure required reliability.
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

ProvisioningModelMix

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

Defines how Dataproc should create VMs with a mixture of provisioning models.

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