Reference documentation and code samples for the Cloud Dataproc V1 API class Google::Cloud::Dataproc::V1::InstanceFlexibilityPolicy.
Instance flexibility Policy allowing a mixture of VM shapes and provisioning models.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#instance_selection_list
def instance_selection_list() -> ::Array<::Google::Cloud::Dataproc::V1::InstanceFlexibilityPolicy::InstanceSelection>
Returns
- (::Array<::Google::Cloud::Dataproc::V1::InstanceFlexibilityPolicy::InstanceSelection>) — Optional. List of instance selection options that the group will use when creating new VMs.
#instance_selection_list=
def instance_selection_list=(value) -> ::Array<::Google::Cloud::Dataproc::V1::InstanceFlexibilityPolicy::InstanceSelection>
Parameter
- value (::Array<::Google::Cloud::Dataproc::V1::InstanceFlexibilityPolicy::InstanceSelection>) — Optional. List of instance selection options that the group will use when creating new VMs.
Returns
- (::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
def instance_selection_results() -> ::Array<::Google::Cloud::Dataproc::V1::InstanceFlexibilityPolicy::InstanceSelectionResult>
Returns
- (::Array<::Google::Cloud::Dataproc::V1::InstanceFlexibilityPolicy::InstanceSelectionResult>) — Output only. A list of instance selection results in the group.