Condividi tramite


ManagedServiceLoadMetricWeight 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 ManagedServiceLoadMetricWeight : IEquatable<Azure.ResourceManager.ServiceFabricManagedClusters.Models.ManagedServiceLoadMetricWeight>
type ManagedServiceLoadMetricWeight = struct
Public Structure ManagedServiceLoadMetricWeight
Implements IEquatable(Of ManagedServiceLoadMetricWeight)
Inheritance
ManagedServiceLoadMetricWeight
Implements

Constructors

ManagedServiceLoadMetricWeight(String)

Initializes a new instance of ManagedServiceLoadMetricWeight.

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(ManagedServiceLoadMetricWeight)

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(ManagedServiceLoadMetricWeight, ManagedServiceLoadMetricWeight)

Determines if two ManagedServiceLoadMetricWeight values are the same.

Implicit(String to ManagedServiceLoadMetricWeight)

Converts a string to a ManagedServiceLoadMetricWeight.

Inequality(ManagedServiceLoadMetricWeight, ManagedServiceLoadMetricWeight)

Determines if two ManagedServiceLoadMetricWeight values are not the same.

Applies to