GoogleApi.VMMigration.V1.Model.ComputeScheduling (google_api_vm_migration v0.3.0) View Source
Scheduling information for VM on maintenance/restart behaviour and node allocation in sole tenant nodes.
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 toautomaticRestartfield 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.
Link to this section Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Link to this section Types
Specs
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
}
Link to this section Functions
Specs
Unwrap a decoded JSON object into its complex fields.