Class InstanceTemplateSchedulingArgs
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 InstanceTemplateSchedulingArgs : ResourceArgs
Constructors
View SourceInstanceTemplateSchedulingArgs()
Declaration
public InstanceTemplateSchedulingArgs()
Properties
View SourceAutomaticRestart
Specifies whether the instance should be automatically restarted if it is terminated by Compute Engine (not terminated by a user). This 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<InstanceTemplateSchedulingNodeAffinityArgs> NodeAffinities { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<InstanceTemplateSchedulingNodeAffinityArgs> |
OnHostMaintenance
Defines the maintenance behavior for this instance.
Declaration
public Input<string> OnHostMaintenance { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Preemptible
Allows instance to be preempted. This defaults to false. Read more on this here.
Declaration
public Input<bool> Preemptible { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |