Show / Hide Table of Contents

Class InstanceScheduling

Inheritance
System.Object
InstanceScheduling
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 InstanceScheduling

Fields

View Source

AutomaticRestart

Specifies if the instance should be restarted if it was terminated by Compute Engine (not a user). Defaults to true.

Declaration
public readonly bool? AutomaticRestart
Field Value
Type Description
System.Nullable<System.Boolean>
View Source

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<InstanceSchedulingNodeAffinity> NodeAffinities
Field Value
Type Description
System.Collections.Immutable.ImmutableArray<InstanceSchedulingNodeAffinity>
View Source

OnHostMaintenance

Describes maintenance behavior for the instance. Can be MIGRATE or TERMINATE, for more info, read here.

Declaration
public readonly string OnHostMaintenance
Field Value
Type Description
System.String
View Source

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 readonly bool? Preemptible
Field Value
Type Description
System.Nullable<System.Boolean>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.