ManagedServiceScalingPolicy Constructor
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.
Initializes a new instance of ManagedServiceScalingPolicy.
public ManagedServiceScalingPolicy (Azure.ResourceManager.ServiceFabricManagedClusters.Models.ManagedServiceScalingMechanism scalingMechanism, Azure.ResourceManager.ServiceFabricManagedClusters.Models.ManagedServiceScalingTrigger scalingTrigger);
new Azure.ResourceManager.ServiceFabricManagedClusters.Models.ManagedServiceScalingPolicy : Azure.ResourceManager.ServiceFabricManagedClusters.Models.ManagedServiceScalingMechanism * Azure.ResourceManager.ServiceFabricManagedClusters.Models.ManagedServiceScalingTrigger -> Azure.ResourceManager.ServiceFabricManagedClusters.Models.ManagedServiceScalingPolicy
Public Sub New (scalingMechanism As ManagedServiceScalingMechanism, scalingTrigger As ManagedServiceScalingTrigger)
Parameters
- scalingMechanism
- ManagedServiceScalingMechanism
Specifies the mechanism associated with this scaling policy Please note ManagedServiceScalingMechanism is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include NamedPartitionAddOrRemoveScalingMechanism and PartitionInstanceCountScalingMechanism.
- scalingTrigger
- ManagedServiceScalingTrigger
Specifies the trigger associated with this scaling policy. Please note ManagedServiceScalingTrigger is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include AveragePartitionLoadScalingTrigger and AverageServiceLoadScalingTrigger.
Exceptions
scalingMechanism
or scalingTrigger
is null.
Applies to
Azure SDK for .NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기