PreferenceSetVirtualMachinePreferencesSoleTenancyPreferences class

Constructors

PreferenceSetVirtualMachinePreferencesSoleTenancyPreferences({Input<String?>? commitmentPlan, Input<double?>? cpuOvercommitRatio, Input<String?>? hostMaintenancePolicy, Input<List<PreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesNodeType>?>? nodeTypes})
Creates a new PreferenceSetVirtualMachinePreferencesSoleTenancyPreferences. 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. Possible values: COMMITMENT_PLAN_UNSPECIFIED, ON_DEMAND, COMMITMENT_1_YEAR, COMMITMENT_3_YEAR cpuOvercommitRatio CPU overcommit ratio. Acceptable values are between 1.0 and 2.0 inclusive. hostMaintenancePolicy Sole Tenancy nodes maintenance policy. Possible values: HOST_MAINTENANCE_POLICY_UNSPECIFIED, HOST_MAINTENANCE_POLICY_DEFAULT, HOST_MAINTENANCE_POLICY_RESTART_IN_PLACE, HOST_MAINTENANCE_POLICY_MIGRATE_WITHIN_NODE_GROUP nodeTypes A list of sole tenant node types. An empty list means that all possible node types will be considered.
const
PreferenceSetVirtualMachinePreferencesSoleTenancyPreferences.fromMap(Map<String, dynamic> map)
factory

Properties

commitmentPlan → Input<String?>?
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. Possible values: COMMITMENT_PLAN_UNSPECIFIED, ON_DEMAND, COMMITMENT_1_YEAR, COMMITMENT_3_YEAR
final
cpuOvercommitRatio → Input<double?>?
CPU overcommit ratio. Acceptable values are between 1.0 and 2.0 inclusive.
final
hashCode → int
The hash code for this object.
no setterinherited
hostMaintenancePolicy → Input<String?>?
Sole Tenancy nodes maintenance policy. Possible values: HOST_MAINTENANCE_POLICY_UNSPECIFIED, HOST_MAINTENANCE_POLICY_DEFAULT, HOST_MAINTENANCE_POLICY_RESTART_IN_PLACE, HOST_MAINTENANCE_POLICY_MIGRATE_WITHIN_NODE_GROUP
final
nodeTypes → Input<List<PreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesNodeType>?>?
A list of sole tenant node types. An empty list means that all possible node types will be considered. Structure is documented below.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited