Cluster Director v1beta API - Class NewSpotInstancesConfig (1.0.0-beta02)

public sealed class NewSpotInstancesConfig : IMessage<NewSpotInstancesConfig>, IEquatable<NewSpotInstancesConfig>, IDeepCloneable<NewSpotInstancesConfig>, IBufferMessage, IMessage

Reference documentation and code samples for the Cluster Director v1beta API class NewSpotInstancesConfig.

When set in a [ComputeResourceConfig][google.cloud.hypercomputecluster.v1beta.ComputeResourceConfig], indicates that spot VM instances should be created.

Inheritance

object > NewSpotInstancesConfig

Namespace

Google.Cloud.HypercomputeCluster.V1Beta

Assembly

Google.Cloud.HypercomputeCluster.V1Beta.dll

Constructors

NewSpotInstancesConfig()

public NewSpotInstancesConfig()

NewSpotInstancesConfig(NewSpotInstancesConfig)

public NewSpotInstancesConfig(NewSpotInstancesConfig other)
Parameter
Name Description
other NewSpotInstancesConfig

Properties

MachineType

public string MachineType { get; set; }

Required. Immutable. Name of the Compute Engine machine type to use, e.g. n2-standard-2.

Property Value
Type Description
string

NetworkTags

public RepeatedField<string> NetworkTags { get; }

Optional. Immutable. A list of network tags to attach to the VM instances. A maximum of 64 network tags are allowed.

Property Value
Type Description
RepeatedFieldstring

TerminationAction

public NewSpotInstancesConfig.Types.TerminationAction TerminationAction { get; set; }

Optional. Termination action for the instance. If not specified, Compute Engine sets the termination action to DELETE.

Property Value
Type Description
NewSpotInstancesConfigTypesTerminationAction

Zone

public string Zone { get; set; }

Required. Immutable. Name of the zone in which VM instances should run, e.g., us-central1-a. Must be in the same region as the cluster, and must match the zone of any other resources specified in the cluster.

Property Value
Type Description
string