StatelessServiceDescription.MinInstancePercentage Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the minimum instance percentage.
public int MinInstancePercentage { get; set; }
member this.MinInstancePercentage : int with get, set
Public Property MinInstancePercentage As Integer
Property Value
The minimum instance percentage. Defaults to 0 if not provided. Note that the MinInstanceCount parameter must always be greater than 0, so defaulting to 0 guarantees MinInstancePercentage has no effect because MinInstanceCount will have precedence.
Remarks
The MinInstancePercentage property is the minimum percentage of InstanceCount that must be up to meet the EnsureAvailability safety check during operations like upgrade or deactivate node. The actual number that is used is max( MinInstanceCount, ceil( MinInstancePercentage/100.0 * InstanceCount) ).
Note, if InstanceCount is set to -1, during MinInstancePercentage computation, -1 is first converted into the number of nodes on which the instances are allowed to be placed according to the placement constraints on the service.
Applies to
Azure SDK for .NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기