GoogleApi.VMMigration.V1.Model.ComputeScheduling (google_api_vm_migration v0.11.0)
View SourceScheduling information for VM on maintenance/restart behaviour and node allocation in sole tenant nodes. Options for instance behavior when the host machine undergoes maintenance that may temporarily impact instance performance.
Attributes
-
minNodeCpus
(type:integer()
, default:nil
) - The minimum number of virtual CPUs this instance will consume when running on a sole-tenant node. Ignored if no node_affinites are configured. -
nodeAffinities
(type:list(GoogleApi.VMMigration.V1.Model.SchedulingNodeAffinity.t)
, default:nil
) - A set of node affinity and anti-affinity configurations for sole tenant nodes. -
onHostMaintenance
(type:String.t
, default:nil
) - How the instance should behave when the host machine undergoes maintenance that may temporarily impact instance performance. -
restartType
(type:String.t
, default:nil
) - Whether the Instance should be automatically restarted whenever it is terminated by Compute Engine (not terminated by user). This configuration is identical toautomaticRestart
field in Compute Engine create instance under scheduling. It was changed to an enum (instead of a boolean) to match the default value in Compute Engine which is automatic restart.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.VMMigration.V1.Model.ComputeScheduling{ minNodeCpus: integer() | nil, nodeAffinities: [GoogleApi.VMMigration.V1.Model.SchedulingNodeAffinity.t()] | nil, onHostMaintenance: String.t() | nil, restartType: String.t() | nil }