Show / Hide Table of Contents

Class InstanceSchedulingArgs

Inheritance
System.Object
InputArgs
ResourceArgs
InstanceSchedulingArgs
Inherited Members
ResourceArgs.Empty
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 Source

InstanceSchedulingArgs()

Declaration
public InstanceSchedulingArgs()

Properties

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 Input<bool> AutomaticRestart { get; set; }
Property Value
Type Description
Input<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 InputList<InstanceSchedulingNodeAffinityArgs> NodeAffinities { get; set; }
Property Value
Type Description
InputList<InstanceSchedulingNodeAffinityArgs>
View Source

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>
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 Input<bool> Preemptible { get; set; }
Property Value
Type Description
Input<System.Boolean>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.