PreferenceSetVirtualMachinePreferencesSoleTenancyPreferences constructor
- Input<
String?> ? commitmentPlan, - Input<
double?> ? cpuOvercommitRatio, - Input<
String?> ? hostMaintenancePolicy, - Input<
List< ? nodeTypes,PreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesNodeType> ?>
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.
Implementation
const PreferenceSetVirtualMachinePreferencesSoleTenancyPreferences({
this.commitmentPlan,
this.cpuOvercommitRatio,
this.hostMaintenancePolicy,
this.nodeTypes,
});