Backup and DR Service V1 API - Class Google::Cloud::BackupDR::V1::Scheduling (v0.4.0)

Reference documentation and code samples for the Backup and DR Service V1 API class Google::Cloud::BackupDR::V1::Scheduling.

Sets the scheduling options for an Instance.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#automatic_restart

def automatic_restart() -> ::Boolean
Returns
  • (::Boolean) — Optional. Specifies whether the instance should be automatically restarted if it is terminated by Compute Engine (not terminated by a user).

#automatic_restart=

def automatic_restart=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Optional. Specifies whether the instance should be automatically restarted if it is terminated by Compute Engine (not terminated by a user).
Returns
  • (::Boolean) — Optional. Specifies whether the instance should be automatically restarted if it is terminated by Compute Engine (not terminated by a user).

#instance_termination_action

def instance_termination_action() -> ::Google::Cloud::BackupDR::V1::Scheduling::InstanceTerminationAction
Returns

#instance_termination_action=

def instance_termination_action=(value) -> ::Google::Cloud::BackupDR::V1::Scheduling::InstanceTerminationAction
Parameter
Returns

#local_ssd_recovery_timeout

def local_ssd_recovery_timeout() -> ::Google::Cloud::BackupDR::V1::SchedulingDuration
Returns
  • (::Google::Cloud::BackupDR::V1::SchedulingDuration) — 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.

#local_ssd_recovery_timeout=

def local_ssd_recovery_timeout=(value) -> ::Google::Cloud::BackupDR::V1::SchedulingDuration
Parameter
  • value (::Google::Cloud::BackupDR::V1::SchedulingDuration) — 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.
Returns
  • (::Google::Cloud::BackupDR::V1::SchedulingDuration) — 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.

#min_node_cpus

def min_node_cpus() -> ::Integer
Returns
  • (::Integer) — Optional. The minimum number of virtual CPUs this instance will consume when running on a sole-tenant node.

#min_node_cpus=

def min_node_cpus=(value) -> ::Integer
Parameter
  • value (::Integer) — Optional. The minimum number of virtual CPUs this instance will consume when running on a sole-tenant node.
Returns
  • (::Integer) — Optional. The minimum number of virtual CPUs this instance will consume when running on a sole-tenant node.

#node_affinities

def node_affinities() -> ::Array<::Google::Cloud::BackupDR::V1::Scheduling::NodeAffinity>
Returns

#node_affinities=

def node_affinities=(value) -> ::Array<::Google::Cloud::BackupDR::V1::Scheduling::NodeAffinity>
Parameter
Returns

#on_host_maintenance

def on_host_maintenance() -> ::Google::Cloud::BackupDR::V1::Scheduling::OnHostMaintenance
Returns

#on_host_maintenance=

def on_host_maintenance=(value) -> ::Google::Cloud::BackupDR::V1::Scheduling::OnHostMaintenance
Parameter
Returns

#preemptible

def preemptible() -> ::Boolean
Returns
  • (::Boolean) — Optional. Defines whether the instance is preemptible.

#preemptible=

def preemptible=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Optional. Defines whether the instance is preemptible.
Returns
  • (::Boolean) — Optional. Defines whether the instance is preemptible.

#provisioning_model

def provisioning_model() -> ::Google::Cloud::BackupDR::V1::Scheduling::ProvisioningModel
Returns

#provisioning_model=

def provisioning_model=(value) -> ::Google::Cloud::BackupDR::V1::Scheduling::ProvisioningModel
Parameter
Returns