PreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesArgs

data class PreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesArgs(val commitmentPlan: Output<String>? = null, val cpuOvercommitRatio: Output<Double>? = null, val hostMaintenancePolicy: Output<String>? = null, val nodeTypes: Output<List<PreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesNodeTypeArgs>>? = null) : ConvertibleToJava<PreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesArgs>

Constructors

constructor(commitmentPlan: Output<String>? = null, cpuOvercommitRatio: Output<Double>? = null, hostMaintenancePolicy: Output<String>? = null, nodeTypes: Output<List<PreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesNodeTypeArgs>>? = null)

Properties

Link copied to clipboard
val commitmentPlan: Output<String>? = null

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

Link copied to clipboard
val cpuOvercommitRatio: Output<Double>? = null

CPU overcommit ratio. Acceptable values are between 1.0 and 2.0 inclusive.

Link copied to clipboard
val hostMaintenancePolicy: Output<String>? = null

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

Link copied to clipboard

A list of sole tenant node types. An empty list means that all possible node types will be considered. Structure is documented below.

Functions

Link copied to clipboard
open override fun toJava(): PreferenceSetVirtualMachinePreferencesSoleTenancyPreferencesArgs