0.10.4 (latest) 0.10.3 0.9.0 0.8.0 0.7.0 0.6.0 0.5.0 0.4.0 0.3.0 0.2.5 0.1.7

    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` | `https://docs.cloud.google.com/python/docs/reference/backupdr/latest/google.cloud.backupdr_v1beta.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[https://docs.cloud.google.com/python/docs/reference/backupdr/latest/google.cloud.backupdr_v1beta.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` | `https://docs.cloud.google.com/python/docs/reference/backupdr/latest/google.cloud.backupdr_v1beta.types.Scheduling.ProvisioningModel` Optional. Specifies the provisioning model of the instance. This field is a member of `oneof`_ `_provisioning_model`. |
| `instance_termination_action` | `https://docs.cloud.google.com/python/docs/reference/backupdr/latest/google.cloud.backupdr_v1beta.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` | `https://docs.cloud.google.com/python/docs/reference/backupdr/latest/google.cloud.backupdr_v1beta.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.