Partilhar via


ScaleRule Constructors

Definition

Overloads

ScaleRule()

Initializes a new instance of the ScaleRule class.

ScaleRule(ScaleRule)

Initializes a new instance of the ScaleRule class.

ScaleRule(MetricTrigger, ScaleAction)

Initializes a new instance of the ScaleRule class.

ScaleRule()

Initializes a new instance of the ScaleRule class.

public ScaleRule ();
Public Sub New ()

Applies to

ScaleRule(ScaleRule)

Initializes a new instance of the ScaleRule class.

public ScaleRule (Microsoft.Azure.Management.Monitor.Models.ScaleRule scaleRule);
new Microsoft.Azure.Management.Monitor.Management.Models.ScaleRule : Microsoft.Azure.Management.Monitor.Models.ScaleRule -> Microsoft.Azure.Management.Monitor.Management.Models.ScaleRule
Public Sub New (scaleRule As ScaleRule)

Parameters

scaleRule
ScaleRule

The scale rule

Applies to

ScaleRule(MetricTrigger, ScaleAction)

Initializes a new instance of the ScaleRule class.

public ScaleRule (Microsoft.Azure.Management.Monitor.Models.MetricTrigger metricTrigger, Microsoft.Azure.Management.Monitor.Models.ScaleAction scaleAction);
new Microsoft.Azure.Management.Monitor.Management.Models.ScaleRule : Microsoft.Azure.Management.Monitor.Models.MetricTrigger * Microsoft.Azure.Management.Monitor.Models.ScaleAction -> Microsoft.Azure.Management.Monitor.Management.Models.ScaleRule
Public Sub New (metricTrigger As MetricTrigger, scaleAction As ScaleAction)

Parameters

metricTrigger
MetricTrigger

The metric trigger object

scaleAction
ScaleAction

The scale action object

Applies to