Scheduling(mapping=None, *, ignore_unknown_fields=False, **kwargs)Sets the scheduling options for an Instance.
.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
Attributes |
|
|---|---|
| Name | Description |
on_host_maintenance |
google.cloud.backupdr_v1.types.Scheduling.OnHostMaintenance
Optional. Defines the maintenance behavior for this instance. This field is a member of oneof_ _on_host_maintenance.
|
automatic_restart |
bool
Optional. Specifies whether the instance should be automatically restarted if it is terminated by Compute Engine (not terminated by a user). This field is a member of oneof_ _automatic_restart.
|
preemptible |
bool
Optional. Defines whether the instance is preemptible. This field is a member of oneof_ _preemptible.
|
node_affinities |
MutableSequence[google.cloud.backupdr_v1.types.Scheduling.NodeAffinity]
Optional. A set of node affinity and anti-affinity configurations. Overrides reservationAffinity. |
min_node_cpus |
int
Optional. The minimum number of virtual CPUs this instance will consume when running on a sole-tenant node. This field is a member of oneof_ _min_node_cpus.
|
provisioning_model |
google.cloud.backupdr_v1.types.Scheduling.ProvisioningModel
Optional. Specifies the provisioning model of the instance. This field is a member of oneof_ _provisioning_model.
|
instance_termination_action |
google.cloud.backupdr_v1.types.Scheduling.InstanceTerminationAction
Optional. Specifies the termination action for the instance. This field is a member of oneof_ _instance_termination_action.
|
local_ssd_recovery_timeout |
google.cloud.backupdr_v1.types.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. This field is a member of oneof_ _local_ssd_recovery_timeout.
|
Classes
InstanceTerminationAction
InstanceTerminationAction(value)Defines the supported termination actions for an instance.
NodeAffinity
NodeAffinity(mapping=None, *, ignore_unknown_fields=False, **kwargs)Node Affinity: the configuration of desired nodes onto which this Instance could be scheduled.
.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
OnHostMaintenance
OnHostMaintenance(value)Defines the maintenance behavior for this instance=
ProvisioningModel
ProvisioningModel(value)Defines the provisioning model for an instance.