다음을 통해 공유


PSServiceMetric Class

Definition

public class PSServiceMetric : Microsoft.Azure.Management.ServiceFabricManagedClusters.Models.ServiceLoadMetric
type PSServiceMetric = class
    inherit ServiceLoadMetric
Public Class PSServiceMetric
Inherits ServiceLoadMetric
Inheritance
PSServiceMetric

Constructors

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

Properties

DefaultLoad

Gets or sets used only for Stateless services. The default amount of load, as a number, that this service creates for this metric.

(Inherited from ServiceLoadMetric)
Name

Gets or sets the name of the metric. If the service chooses to report load during runtime, the load metric name should match the name that is specified in Name exactly. Note that metric names are case sensitive.

(Inherited from ServiceLoadMetric)
PrimaryDefaultLoad

Gets or sets used only for Stateful services. The default amount of load, as a number, that this service creates for this metric when it is a Primary replica.

(Inherited from ServiceLoadMetric)
SecondaryDefaultLoad

Gets or sets used only for Stateful services. The default amount of load, as a number, that this service creates for this metric when it is a Secondary replica.

(Inherited from ServiceLoadMetric)
Weight

Gets or sets the service load metric relative weight, compared to other metrics configured for this service, as a number. Possible values include: 'Zero', 'Low', 'Medium', 'High'

(Inherited from ServiceLoadMetric)

Methods

Validate()

Validate the object.

(Inherited from ServiceLoadMetric)

Applies to