ApplicationHealthPolicy.ServiceTypeHealthPolicyMap Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the map with ServiceTypeHealthPolicy per service type name.
public System.Collections.Generic.IDictionary<string,System.Fabric.Health.ServiceTypeHealthPolicy> ServiceTypeHealthPolicyMap { get; }
member this.ServiceTypeHealthPolicyMap : System.Collections.Generic.IDictionary<string, System.Fabric.Health.ServiceTypeHealthPolicy>
Public ReadOnly Property ServiceTypeHealthPolicyMap As IDictionary(Of String, ServiceTypeHealthPolicy)
Property Value
The map with service type health policy per service type name.
Remarks
The entries in the map replace the default service type health policy for each specified service type. For example, in an application that contains both a stateless gateway service type and a stateful engine service type, the health policies for the stateless and stateful services can be configured differently. With policy per service type, there's more granular control of the health of the service.
If no policy is specified for a service type name, the DefaultServiceTypeHealthPolicy is used for evaluation.
Applies to
Azure SDK for .NET