Reference documentation and code samples for the Google Cloud Migration Center V1 Client class SoleTenancyPreferences.
Preferences concerning Sole Tenancy nodes and VMs.
Generated from protobuf message google.cloud.migrationcenter.v1.SoleTenancyPreferences
Namespace
Google \ Cloud \ MigrationCenter \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ cpu_overcommit_ratio
float
CPU overcommit ratio. Acceptable values are between 1.0 and 2.0 inclusive.
↳ host_maintenance_policy
int
Sole Tenancy nodes maintenance policy.
↳ commitment_plan
int
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
array< SoleTenantNodeType
>
A list of sole tenant node types. An empty list means that all possible node types will be considered.
getCpuOvercommitRatio
CPU overcommit ratio.
Acceptable values are between 1.0 and 2.0 inclusive.
float
setCpuOvercommitRatio
CPU overcommit ratio.
Acceptable values are between 1.0 and 2.0 inclusive.
var
float
$this
getHostMaintenancePolicy
Sole Tenancy nodes maintenance policy.
int
setHostMaintenancePolicy
Sole Tenancy nodes maintenance policy.
var
int
$this
getCommitmentPlan
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.
int
setCommitmentPlan
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.
var
int
$this
getNodeTypes
A list of sole tenant node types.
An empty list means that all possible node types will be considered.
setNodeTypes
A list of sole tenant node types.
An empty list means that all possible node types will be considered.
$this