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 |
Google\Cloud\Dataproc\V1\InstanceFlexibilityPolicy\ProvisioningModelMix
Optional. Defines how the Group selects the provisioning model to ensure required reliability. |
↳ instance_selection_list |
array<Google\Cloud\Dataproc\V1\InstanceFlexibilityPolicy\InstanceSelection>
Optional. List of instance selection options that the group will use when creating new VMs. |
↳ instance_selection_results |
array<Google\Cloud\Dataproc\V1\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 |
Google\Cloud\Dataproc\V1\InstanceFlexibilityPolicy\ProvisioningModelMix|null |
hasProvisioningModelMix
clearProvisioningModelMix
setProvisioningModelMix
Optional. Defines how the Group selects the provisioning model to ensure required reliability.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\Dataproc\V1\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<Google\Cloud\Dataproc\V1\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<Google\Cloud\Dataproc\V1\InstanceFlexibilityPolicy\InstanceSelectionResult>
|
Returns | |
---|---|
Type | Description |
$this |