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.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003e\u003ccode\u003eSoleTenancyPreferences\u003c/code\u003e is a class in the Migration Center v1 API that allows users to configure settings for Sole Tenancy nodes and virtual machines.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements multiple interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and inherits from \u003ccode\u003eobject\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class offers properties such as \u003ccode\u003eCommitmentPlan\u003c/code\u003e, \u003ccode\u003eCpuOvercommitRatio\u003c/code\u003e, \u003ccode\u003eHostMaintenancePolicy\u003c/code\u003e, and \u003ccode\u003eNodeTypes\u003c/code\u003e, which allow configuring the commitment plan, CPU overcommit ratio, host maintenance policy, and specific node types, respectively.\u003c/p\u003e\n"],["\u003cp\u003eTwo constructors are available: one default and another that copies an existing \u003ccode\u003eSoleTenancyPreferences\u003c/code\u003e instance.\u003c/p\u003e\n"],["\u003cp\u003eThere is a listing of available versions of the document, ranging from 1.0.0 to the latest version, 1.4.0, that can be used to navigate through the different versions of this documentation.\u003c/p\u003e\n"]]],[],null,[]]