次の方法で共有


ServiceLoadMetric コンストラクター

定義

オーバーロード

ServiceLoadMetric()

ServiceLoadMetric クラスの新しいインスタンスを初期化します。

ServiceLoadMetric(String, String, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>)

ServiceLoadMetric クラスの新しいインスタンスを初期化します。

ServiceLoadMetric()

ServiceLoadMetric クラスの新しいインスタンスを初期化します。

public ServiceLoadMetric();
Public Sub New ()

適用対象

ServiceLoadMetric(String, String, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>)

ServiceLoadMetric クラスの新しいインスタンスを初期化します。

public ServiceLoadMetric(string name, string weight = default, int? primaryDefaultLoad = default, int? secondaryDefaultLoad = default, int? defaultLoad = default);
new Microsoft.Azure.Management.ServiceFabricManagedClusters.Models.ServiceLoadMetric : string * string * Nullable<int> * Nullable<int> * Nullable<int> -> Microsoft.Azure.Management.ServiceFabricManagedClusters.Models.ServiceLoadMetric
Public Sub New (name As String, Optional weight As String = Nothing, Optional primaryDefaultLoad As Nullable(Of Integer) = Nothing, Optional secondaryDefaultLoad As Nullable(Of Integer) = Nothing, Optional defaultLoad As Nullable(Of Integer) = Nothing)

パラメーター

name
String

メトリックの名前。 実行時にサービスが負荷を報告することを選択した場合、読み込みメトリック名は[名前] で指定された名前と正確に一致する必要があります。 メトリック名は大文字と小文字が区別されることに注意してください。

weight
String

サービスの負荷メトリックの相対的な重みで、このサービス用に構成されたその他のメトリックと比較し、数値で表します。 指定できる値は、'Zero'、'Low'、'Medium'、'High' です。

primaryDefaultLoad
Nullable<Int32>

ステートフル サービスにのみ使用されます。 サービスがプライマリ レプリカである場合、このサービスがメトリックのために作成する既定の負荷量で、数値で表されます。

secondaryDefaultLoad
Nullable<Int32>

ステートフル サービスにのみ使用されます。 サービスがセカンダリ レプリカである場合、このサービスがメトリックのために作成する既定の負荷量で、数値で表されます。

defaultLoad
Nullable<Int32>

ステートレス サービスにのみ使用されます。 このメトリックに対してこのサービスによって作成される既定の負荷量 (数値)。

適用対象