ComputeScheduling(mapping=None, *, ignore_unknown_fields=False, **kwargs)
Scheduling information for VM on maintenance/restart behaviour and node allocation in sole tenant nodes.
Attributes | |
---|---|
Name | Description |
on_host_maintenance |
google.cloud.vmmigration_v1.types.ComputeScheduling.OnHostMaintenance
How the instance should behave when the host machine undergoes maintenance that may temporarily impact instance performance. |
restart_type |
google.cloud.vmmigration_v1.types.ComputeScheduling.RestartType
Whether the Instance should be automatically restarted whenever it is terminated by Compute Engine (not terminated by user). This configuration is identical to automaticRestart 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.
|
node_affinities |
Sequence[google.cloud.vmmigration_v1.types.SchedulingNodeAffinity]
A set of node affinity and anti-affinity configurations for sole tenant nodes. |
min_node_cpus |
int
The minimum number of virtual CPUs this instance will consume when running on a sole-tenant node. Ignored if no node_affinites are configured. |
Classes
OnHostMaintenance
OnHostMaintenance(value)
API documentation for vmmigration_v1.types.ComputeScheduling.OnHostMaintenance
class.
RestartType
RestartType(value)
Defines whether the Instance should be automatically restarted whenever it is terminated by Compute Engine (not terminated by user).