Freigeben über


ClusterHealthPolicy Konstruktoren

Definition

Überlädt

ClusterHealthPolicy()

Initialisiert eine neue instance der ClusterHealthPolicy-Klasse.

ClusterHealthPolicy(Nullable<Int32>, Nullable<Int32>, IDictionary<String,ApplicationHealthPolicy>)

Initialisiert eine neue instance der ClusterHealthPolicy-Klasse.

ClusterHealthPolicy()

Initialisiert eine neue instance der ClusterHealthPolicy-Klasse.

public ClusterHealthPolicy ();
Public Sub New ()

Gilt für:

ClusterHealthPolicy(Nullable<Int32>, Nullable<Int32>, IDictionary<String,ApplicationHealthPolicy>)

Initialisiert eine neue instance der ClusterHealthPolicy-Klasse.

public ClusterHealthPolicy (int? maxPercentUnhealthyNodes = default, int? maxPercentUnhealthyApplications = default, System.Collections.Generic.IDictionary<string,Microsoft.Azure.Management.ServiceFabric.Models.ApplicationHealthPolicy> applicationHealthPolicies = default);
new Microsoft.Azure.Management.ServiceFabric.Models.ClusterHealthPolicy : Nullable<int> * Nullable<int> * System.Collections.Generic.IDictionary<string, Microsoft.Azure.Management.ServiceFabric.Models.ApplicationHealthPolicy> -> Microsoft.Azure.Management.ServiceFabric.Models.ClusterHealthPolicy
Public Sub New (Optional maxPercentUnhealthyNodes As Nullable(Of Integer) = Nothing, Optional maxPercentUnhealthyApplications As Nullable(Of Integer) = Nothing, Optional applicationHealthPolicies As IDictionary(Of String, ApplicationHealthPolicy) = Nothing)

Parameter

maxPercentUnhealthyNodes
Nullable<Int32>

Der maximal zulässige Prozentsatz fehlerhafter Knoten, bevor ein Fehler gemeldet wird. Soll es z. B.zulässig sein, dass 10 % der Knoten fehlerhaft sind, muss dieser Wert gleich „10“ sein.

         The percentage represents the maximum tolerated percentage of nodes
         that can be unhealthy before the cluster is considered in error.
         If the percentage is respected but there is at least one unhealthy
         node, the health is evaluated as Warning.
         The percentage is calculated by dividing the number of unhealthy
         nodes over the total number of nodes in the cluster.
         The computation rounds up to tolerate one failure on small numbers
         of nodes. Default percentage is zero.

         In large clusters, some nodes will always be down or out for
         repairs, so this percentage should be configured to tolerate that.
maxPercentUnhealthyApplications
Nullable<Int32>

Der maximal zulässige Prozentsatz fehlerhafter Anwendungen, bevor ein Fehler gemeldet wird. Soll es z. B.zulässig sein, dass 10 % der Anwendungen fehlerhaft sind, muss dieser Wert gleich „10“ sein.

         The percentage represents the maximum tolerated percentage of
         applications that can be unhealthy before the cluster is considered
         in error.
         If the percentage is respected but there is at least one unhealthy
         application, the health is evaluated as Warning.
         This is calculated by dividing the number of unhealthy applications
         over the total number of application instances in the cluster,
         excluding applications of application types that are included in
         the ApplicationTypeHealthPolicyMap.
         The computation rounds up to tolerate one failure on small numbers
         of applications. Default percentage is zero.
applicationHealthPolicies
IDictionary<String,ApplicationHealthPolicy>

Definiert die Anwendungsintegritätsrichtlinienzuordnung, die verwendet wird, um die Integrität einer Anwendung oder einer ihrer untergeordneten Entitäten auszuwerten.

Gilt für: