Class SoleTenancyPreferences (0.1.4)

SoleTenancyPreferences(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Preferences concerning Sole Tenancy nodes and VMs.

Attributes

NameDescription
cpu_overcommit_ratio float
CPU overcommit ratio. Acceptable values are between 1.0 and 2.0 inclusive.
host_maintenance_policy google.cloud.migrationcenter_v1.types.SoleTenancyPreferences.HostMaintenancePolicy
Sole Tenancy nodes maintenance policy.
commitment_plan google.cloud.migrationcenter_v1.types.SoleTenancyPreferences.CommitmentPlan
Commitment plan to consider when calculating costs for virtual machine insights and recommendations. If you are unsure which value to set, a 3 year commitment plan is often a good value to start with.
node_types MutableSequence[google.cloud.migrationcenter_v1.types.SoleTenantNodeType]
A list of sole tenant node types. An empty list means that all possible node types will be considered.

Classes

CommitmentPlan

CommitmentPlan(value)

Type of committed use discount.

Values: COMMITMENT_PLAN_UNSPECIFIED (0): Unspecified commitment plan. ON_DEMAND (1): No commitment plan (on-demand usage). COMMITMENT_1_YEAR (2): 1 year commitment. COMMITMENT_3_YEAR (3): 3 years commitment.

HostMaintenancePolicy

HostMaintenancePolicy(value)

Sole Tenancy nodes maintenance policy.

Values: HOST_MAINTENANCE_POLICY_UNSPECIFIED (0): Unspecified host maintenance policy. HOST_MAINTENANCE_POLICY_DEFAULT (1): Default host maintenance policy. HOST_MAINTENANCE_POLICY_RESTART_IN_PLACE (2): Restart in place host maintenance policy. HOST_MAINTENANCE_POLICY_MIGRATE_WITHIN_NODE_GROUP (3): Migrate within node group host maintenance policy.