ClusterHealthPolicy Constructeurs
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Surcharges
ClusterHealthPolicy() |
Initialise une nouvelle instance de la classe ClusterHealthPolicy. |
ClusterHealthPolicy(Nullable<Int32>, Nullable<Int32>, IDictionary<String,ApplicationHealthPolicy>) |
Initialise une nouvelle instance de la classe ClusterHealthPolicy. |
ClusterHealthPolicy()
Initialise une nouvelle instance de la classe ClusterHealthPolicy.
public ClusterHealthPolicy ();
Public Sub New ()
S’applique à
ClusterHealthPolicy(Nullable<Int32>, Nullable<Int32>, IDictionary<String,ApplicationHealthPolicy>)
Initialise une nouvelle instance de la classe ClusterHealthPolicy.
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)
Paramètres
Pourcentage maximal autorisé de nœuds non sains avant signalement d’une erreur. Par exemple, pour autoriser 10 % de nœuds défectueux, cette valeur serait de 10.
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.
Pourcentage maximal autorisé d’applications non saines avant signalement d’une erreur. Par exemple, pour autoriser 10 % des applications pouvant être défectueuses, cette valeur serait de 10.
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>
Définit le mappage de stratégie d’intégrité de l’application utilisé pour évaluer l’intégrité d’une application ou de l’une de ses entités enfants.
S’applique à
Azure SDK for .NET