Share via


PSServiceMetric Constructors

Definition

Overloads

PSServiceMetric(ServiceLoadMetric)
PSServiceMetric(String, String, Int32)
PSServiceMetric(String, String, Int32, Int32)

PSServiceMetric(ServiceLoadMetric)

public PSServiceMetric (Microsoft.Azure.Management.ServiceFabricManagedClusters.Models.ServiceLoadMetric loadMetric);
new Microsoft.Azure.Commands.ServiceFabric.Models.PSServiceMetric : Microsoft.Azure.Management.ServiceFabricManagedClusters.Models.ServiceLoadMetric -> Microsoft.Azure.Commands.ServiceFabric.Models.PSServiceMetric
Public Sub New (loadMetric As ServiceLoadMetric)

Parameters

loadMetric
ServiceLoadMetric

Applies to

PSServiceMetric(String, String, Int32)

public PSServiceMetric (string name, string weight, int defaultLoad);
new Microsoft.Azure.Commands.ServiceFabric.Models.PSServiceMetric : string * string * int -> Microsoft.Azure.Commands.ServiceFabric.Models.PSServiceMetric
Public Sub New (name As String, weight As String, defaultLoad As Integer)

Parameters

name
String
weight
String
defaultLoad
Int32

Applies to

PSServiceMetric(String, String, Int32, Int32)

public PSServiceMetric (string name, string weight, int primaryDefaultLoad, int secondaryDefaultLoad);
new Microsoft.Azure.Commands.ServiceFabric.Models.PSServiceMetric : string * string * int * int -> Microsoft.Azure.Commands.ServiceFabric.Models.PSServiceMetric
Public Sub New (name As String, weight As String, primaryDefaultLoad As Integer, secondaryDefaultLoad As Integer)

Parameters

name
String
weight
String
primaryDefaultLoad
Int32
secondaryDefaultLoad
Int32

Applies to