Class InstanceTemplateScheduling
Inheritance
System.Object
InstanceTemplateScheduling
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.Outputs
Assembly: Pulumi.Gcp.dll
Syntax
public sealed class InstanceTemplateScheduling
Fields
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 readonly bool? AutomaticRestart
Field Value
| Type | Description |
|---|---|
| System.Nullable<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 readonly ImmutableArray<InstanceTemplateSchedulingNodeAffinity> NodeAffinities
Field Value
| Type | Description |
|---|---|
| System.Collections.Immutable.ImmutableArray<InstanceTemplateSchedulingNodeAffinity> |
OnHostMaintenance
Defines the maintenance behavior for this instance.
Declaration
public readonly string OnHostMaintenance
Field Value
| Type | Description |
|---|---|
| System.String |
Preemptible
Allows instance to be preempted. This defaults to false. Read more on this here.
Declaration
public readonly bool? Preemptible
Field Value
| Type | Description |
|---|---|
| System.Nullable<System.Boolean> |