PSServiceMetric Constructors
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.
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