PreferenceSetVirtualMachinePreferencesSoleTenancyPreferences constructor

const PreferenceSetVirtualMachinePreferencesSoleTenancyPreferences({
  1. Input<String?>? commitmentPlan,
  2. Input<double?>? cpuOvercommitRatio,
  3. Input<String?>? hostMaintenancePolicy,
  4. 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.

Implementation

const PreferenceSetVirtualMachinePreferencesSoleTenancyPreferences({
  this.commitmentPlan,
  this.cpuOvercommitRatio,
  this.hostMaintenancePolicy,
  this.nodeTypes,
});