다음을 통해 공유


ApplicationHealthPolicy Constructors

Definition

Overloads

ApplicationHealthPolicy()

Initializes a new instance of the ApplicationHealthPolicy class.

ApplicationHealthPolicy(ServiceTypeHealthPolicy, IDictionary<String,ServiceTypeHealthPolicy>)

Initializes a new instance of the ApplicationHealthPolicy class.

ApplicationHealthPolicy()

Initializes a new instance of the ApplicationHealthPolicy class.

public ApplicationHealthPolicy ();
Public Sub New ()

Applies to

ApplicationHealthPolicy(ServiceTypeHealthPolicy, IDictionary<String,ServiceTypeHealthPolicy>)

Initializes a new instance of the ApplicationHealthPolicy class.

public ApplicationHealthPolicy (Microsoft.Azure.Management.ServiceFabric.Models.ServiceTypeHealthPolicy defaultServiceTypeHealthPolicy = default, System.Collections.Generic.IDictionary<string,Microsoft.Azure.Management.ServiceFabric.Models.ServiceTypeHealthPolicy> serviceTypeHealthPolicies = default);
new Microsoft.Azure.Management.ServiceFabric.Models.ApplicationHealthPolicy : Microsoft.Azure.Management.ServiceFabric.Models.ServiceTypeHealthPolicy * System.Collections.Generic.IDictionary<string, Microsoft.Azure.Management.ServiceFabric.Models.ServiceTypeHealthPolicy> -> Microsoft.Azure.Management.ServiceFabric.Models.ApplicationHealthPolicy
Public Sub New (Optional defaultServiceTypeHealthPolicy As ServiceTypeHealthPolicy = Nothing, Optional serviceTypeHealthPolicies As IDictionary(Of String, ServiceTypeHealthPolicy) = Nothing)

Parameters

defaultServiceTypeHealthPolicy
ServiceTypeHealthPolicy

The health policy used by default to evaluate the health of a service type.

serviceTypeHealthPolicies
IDictionary<String,ServiceTypeHealthPolicy>

The map with service type health policy per service type name. The map is empty by default.

Applies to