Backup and DR Service v1 API - Class Scheduling (1.2.0)

public sealed class Scheduling : IMessage<Scheduling>, IEquatable<Scheduling>, IDeepCloneable<Scheduling>, IBufferMessage, IMessage

Reference documentation and code samples for the Backup and DR Service v1 API class Scheduling.

Sets the scheduling options for an Instance.

Inheritance

object > Scheduling

Namespace

Google.Cloud.BackupDR.V1

Assembly

Google.Cloud.BackupDR.V1.dll

Constructors

Scheduling()

public Scheduling()

Scheduling(Scheduling)

public Scheduling(Scheduling other)
Parameter
Name Description
other Scheduling

Properties

AutomaticRestart

public bool AutomaticRestart { get; set; }

Optional. Specifies whether the instance should be automatically restarted if it is terminated by Compute Engine (not terminated by a user).

Property Value
Type Description
bool

HasAutomaticRestart

public bool HasAutomaticRestart { get; }

Gets whether the "automatic_restart" field is set

Property Value
Type Description
bool

HasInstanceTerminationAction

public bool HasInstanceTerminationAction { get; }

Gets whether the "instance_termination_action" field is set

Property Value
Type Description
bool

HasMinNodeCpus

public bool HasMinNodeCpus { get; }

Gets whether the "min_node_cpus" field is set

Property Value
Type Description
bool

HasOnHostMaintenance

public bool HasOnHostMaintenance { get; }

Gets whether the "on_host_maintenance" field is set

Property Value
Type Description
bool

HasPreemptible

public bool HasPreemptible { get; }

Gets whether the "preemptible" field is set

Property Value
Type Description
bool

HasProvisioningModel

public bool HasProvisioningModel { get; }

Gets whether the "provisioning_model" field is set

Property Value
Type Description
bool

InstanceTerminationAction

public Scheduling.Types.InstanceTerminationAction InstanceTerminationAction { get; set; }

Optional. Specifies the termination action for the instance.

Property Value
Type Description
SchedulingTypesInstanceTerminationAction

LocalSsdRecoveryTimeout

public SchedulingDuration LocalSsdRecoveryTimeout { get; set; }

Optional. Specifies the maximum amount of time a Local Ssd Vm should wait while recovery of the Local Ssd state is attempted. Its value should be in between 0 and 168 hours with hour granularity and the default value being 1 hour.

Property Value
Type Description
SchedulingDuration

MinNodeCpus

public int MinNodeCpus { get; set; }

Optional. The minimum number of virtual CPUs this instance will consume when running on a sole-tenant node.

Property Value
Type Description
int

NodeAffinities

public RepeatedField<Scheduling.Types.NodeAffinity> NodeAffinities { get; }

Optional. A set of node affinity and anti-affinity configurations. Overrides reservationAffinity.

Property Value
Type Description
RepeatedFieldSchedulingTypesNodeAffinity

OnHostMaintenance

public Scheduling.Types.OnHostMaintenance OnHostMaintenance { get; set; }

Optional. Defines the maintenance behavior for this instance.

Property Value
Type Description
SchedulingTypesOnHostMaintenance

Preemptible

public bool Preemptible { get; set; }

Optional. Defines whether the instance is preemptible.

Property Value
Type Description
bool

ProvisioningModel

public Scheduling.Types.ProvisioningModel ProvisioningModel { get; set; }

Optional. Specifies the provisioning model of the instance.

Property Value
Type Description
SchedulingTypesProvisioningModel