Reference documentation and code samples for the Google Cloud Dataproc V1 Client class InstanceFlexibilityPolicy.
Instance flexibility Policy allowing a mixture of VM shapes and provisioning models.
Generated from protobuf message google.cloud.dataproc.v1.InstanceFlexibilityPolicy
Namespace
Google \ Cloud \ Dataproc \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ provisioning_model_mix |
InstanceFlexibilityPolicy\ProvisioningModelMix
Optional. Defines how the Group selects the provisioning model to ensure required reliability. |
↳ instance_selection_list |
array<InstanceFlexibilityPolicy\InstanceSelection>
Optional. List of instance selection options that the group will use when creating new VMs. |
↳ instance_selection_results |
array<InstanceFlexibilityPolicy\InstanceSelectionResult>
Output only. A list of instance selection results in the group. |
getProvisioningModelMix
Optional. Defines how the Group selects the provisioning model to ensure required reliability.
Returns | |
---|---|
Type | Description |
InstanceFlexibilityPolicy\ProvisioningModelMix|null |
hasProvisioningModelMix
clearProvisioningModelMix
setProvisioningModelMix
Optional. Defines how the Group selects the provisioning model to ensure required reliability.
Parameter | |
---|---|
Name | Description |
var |
InstanceFlexibilityPolicy\ProvisioningModelMix
|
Returns | |
---|---|
Type | Description |
$this |
getInstanceSelectionList
Optional. List of instance selection options that the group will use when creating new VMs.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setInstanceSelectionList
Optional. List of instance selection options that the group will use when creating new VMs.
Parameter | |
---|---|
Name | Description |
var |
array<InstanceFlexibilityPolicy\InstanceSelection>
|
Returns | |
---|---|
Type | Description |
$this |
getInstanceSelectionResults
Output only. A list of instance selection results in the group.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setInstanceSelectionResults
Output only. A list of instance selection results in the group.
Parameter | |
---|---|
Name | Description |
var |
array<InstanceFlexibilityPolicy\InstanceSelectionResult>
|
Returns | |
---|---|
Type | Description |
$this |