public sealed class InstanceFlexibilityPolicy.Types.InstanceSelectionResult : IMessage<InstanceFlexibilityPolicy.Types.InstanceSelectionResult>, IEquatable<InstanceFlexibilityPolicy.Types.InstanceSelectionResult>, IDeepCloneable<InstanceFlexibilityPolicy.Types.InstanceSelectionResult>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Dataproc v1 API class InstanceFlexibilityPolicy.Types.InstanceSelectionResult.
Defines a mapping from machine types to the number of VMs that are created with each machine type.
Implements
IMessageInstanceFlexibilityPolicyTypesInstanceSelectionResult, IEquatableInstanceFlexibilityPolicyTypesInstanceSelectionResult, IDeepCloneableInstanceFlexibilityPolicyTypesInstanceSelectionResult, IBufferMessage, IMessageNamespace
Google.Cloud.Dataproc.V1Assembly
Google.Cloud.Dataproc.V1.dll
Constructors
InstanceSelectionResult()
public InstanceSelectionResult()
InstanceSelectionResult(InstanceSelectionResult)
public InstanceSelectionResult(InstanceFlexibilityPolicy.Types.InstanceSelectionResult other)
Parameter | |
---|---|
Name | Description |
other | InstanceFlexibilityPolicyTypesInstanceSelectionResult |
Properties
HasMachineType
public bool HasMachineType { get; }
Gets whether the "machine_type" field is set
Property Value | |
---|---|
Type | Description |
bool |
HasVmCount
public bool HasVmCount { get; }
Gets whether the "vm_count" field is set
Property Value | |
---|---|
Type | Description |
bool |
MachineType
public string MachineType { get; set; }
Output only. Full machine-type names, e.g. "n1-standard-16".
Property Value | |
---|---|
Type | Description |
string |
VmCount
public int VmCount { get; set; }
Output only. Number of VM provisioned with the machine_type.
Property Value | |
---|---|
Type | Description |
int |