Dela via


ServiceLoadMetricWeight Struct

Definition

Determines the metric weight relative to the other metrics that are configured for this service. During runtime, if two metrics end up in conflict, the Cluster Resource Manager prefers the metric with the higher weight.

public readonly struct ServiceLoadMetricWeight : IEquatable<Azure.ResourceManager.ServiceFabric.Models.ServiceLoadMetricWeight>
type ServiceLoadMetricWeight = struct
Public Structure ServiceLoadMetricWeight
Implements IEquatable(Of ServiceLoadMetricWeight)
Inheritance
ServiceLoadMetricWeight
Implements

Constructors

ServiceLoadMetricWeight(String)

Initializes a new instance of ServiceLoadMetricWeight.

Properties

High

Specifies the metric weight of the service load as High. The value is 3.

Low

Specifies the metric weight of the service load as Low. The value is 1.

Medium

Specifies the metric weight of the service load as Medium. The value is 2.

Zero

Disables resource balancing for this metric. This value is zero.

Methods

Equals(ServiceLoadMetricWeight)

Indicates whether the current object is equal to another object of the same type.

ToString()

Returns the fully qualified type name of this instance.

Operators

Equality(ServiceLoadMetricWeight, ServiceLoadMetricWeight)

Determines if two ServiceLoadMetricWeight values are the same.

Implicit(String to ServiceLoadMetricWeight)

Converts a string to a ServiceLoadMetricWeight.

Inequality(ServiceLoadMetricWeight, ServiceLoadMetricWeight)

Determines if two ServiceLoadMetricWeight values are not the same.

Applies to