Class InstanceSchedulingArgs
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Gcp.Compute.Inputs
Assembly: Pulumi.Gcp.dll
Syntax
public sealed class InstanceSchedulingArgs : ResourceArgs
Constructors
View SourceInstanceSchedulingArgs()
Declaration
public InstanceSchedulingArgs()
Properties
View SourceAutomaticRestart
Specifies if the instance should be restarted if it was terminated by Compute Engine (not a user). Defaults to true.
Declaration
public Input<bool> AutomaticRestart { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
NodeAffinities
Specifies node affinities or anti-affinities to determine which sole-tenant nodes your instances and managed instance groups will use as host systems. Read more on sole-tenant node creation here. Structure documented below.
Declaration
public InputList<InstanceSchedulingNodeAffinityArgs> NodeAffinities { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<InstanceSchedulingNodeAffinityArgs> |
OnHostMaintenance
Describes maintenance behavior for the instance. Can be MIGRATE or TERMINATE, for more info, read here.
Declaration
public Input<string> OnHostMaintenance { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Preemptible
Specifies if the instance is preemptible.
If this field is set to true, then automatic_restart must be
set to false. Defaults to false.
Declaration
public Input<bool> Preemptible { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |