public sealed class SoleTenancyPreferences : IMessage<SoleTenancyPreferences>, IEquatable<SoleTenancyPreferences>, IDeepCloneable<SoleTenancyPreferences>, IBufferMessage, IMessage
Reference documentation and code samples for the Migration Center v1 API class SoleTenancyPreferences.
Preferences concerning Sole Tenancy nodes and VMs.
Implements
IMessageSoleTenancyPreferences, IEquatableSoleTenancyPreferences, IDeepCloneableSoleTenancyPreferences, IBufferMessage, IMessageNamespace
Google.Cloud.MigrationCenter.V1Assembly
Google.Cloud.MigrationCenter.V1.dll
Constructors
SoleTenancyPreferences()
public SoleTenancyPreferences()
SoleTenancyPreferences(SoleTenancyPreferences)
public SoleTenancyPreferences(SoleTenancyPreferences other)
Parameter | |
---|---|
Name | Description |
other | SoleTenancyPreferences |
Properties
CommitmentPlan
public SoleTenancyPreferences.Types.CommitmentPlan CommitmentPlan { get; set; }
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.
Property Value | |
---|---|
Type | Description |
SoleTenancyPreferencesTypesCommitmentPlan |
CpuOvercommitRatio
public double CpuOvercommitRatio { get; set; }
CPU overcommit ratio. Acceptable values are between 1.0 and 2.0 inclusive.
Property Value | |
---|---|
Type | Description |
double |
HostMaintenancePolicy
public SoleTenancyPreferences.Types.HostMaintenancePolicy HostMaintenancePolicy { get; set; }
Sole Tenancy nodes maintenance policy.
Property Value | |
---|---|
Type | Description |
SoleTenancyPreferencesTypesHostMaintenancePolicy |
NodeTypes
public RepeatedField<SoleTenantNodeType> NodeTypes { get; }
A list of sole tenant node types. An empty list means that all possible node types will be considered.
Property Value | |
---|---|
Type | Description |
RepeatedFieldSoleTenantNodeType |