View Source GoogleApi.BackupDR.V1.Model.Scheduling (google_api_backup_dr v0.12.0)

Sets the scheduling options for an Instance.

Attributes

  • automaticRestart (type: boolean(), default: nil) - Optional. Specifies whether the instance should be automatically restarted if it is terminated by Compute Engine (not terminated by a user).
  • instanceTerminationAction (type: String.t, default: nil) - Optional. Specifies the termination action for the instance.
  • localSsdRecoveryTimeout (type: GoogleApi.BackupDR.V1.Model.SchedulingDuration.t, default: nil) - 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.
  • minNodeCpus (type: integer(), default: nil) - Optional. The minimum number of virtual CPUs this instance will consume when running on a sole-tenant node.
  • nodeAffinities (type: list(GoogleApi.BackupDR.V1.Model.NodeAffinity.t), default: nil) - Optional. A set of node affinity and anti-affinity configurations. Overrides reservationAffinity.
  • onHostMaintenance (type: String.t, default: nil) - Optional. Defines the maintenance behavior for this instance.
  • preemptible (type: boolean(), default: nil) - Optional. Defines whether the instance is preemptible.
  • provisioningModel (type: String.t, default: nil) - Optional. Specifies the provisioning model of the instance.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.BackupDR.V1.Model.Scheduling{
  automaticRestart: boolean() | nil,
  instanceTerminationAction: String.t() | nil,
  localSsdRecoveryTimeout:
    GoogleApi.BackupDR.V1.Model.SchedulingDuration.t() | nil,
  minNodeCpus: integer() | nil,
  nodeAffinities: [GoogleApi.BackupDR.V1.Model.NodeAffinity.t()] | nil,
  onHostMaintenance: String.t() | nil,
  preemptible: boolean() | nil,
  provisioningModel: String.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.