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.
- scalingTrigger
- ManagedServiceScalingTrigger
Specifies the trigger associated with this scaling policy.
Exceptions
scalingMechanism or scalingTrigger is null.