Sdílet prostřednictvím


ArmServiceTypeHealthPolicy Class

Definition

Represents the health policy used to evaluate the health of services belonging to a service type.

public class ArmServiceTypeHealthPolicy
public class ArmServiceTypeHealthPolicy : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.ServiceFabric.Models.ArmServiceTypeHealthPolicy>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.ServiceFabric.Models.ArmServiceTypeHealthPolicy>
type ArmServiceTypeHealthPolicy = class
type ArmServiceTypeHealthPolicy = class
    interface IJsonModel<ArmServiceTypeHealthPolicy>
    interface IPersistableModel<ArmServiceTypeHealthPolicy>
Public Class ArmServiceTypeHealthPolicy
Public Class ArmServiceTypeHealthPolicy
Implements IJsonModel(Of ArmServiceTypeHealthPolicy), IPersistableModel(Of ArmServiceTypeHealthPolicy)
Inheritance
ArmServiceTypeHealthPolicy
Implements

Constructors

ArmServiceTypeHealthPolicy()

Initializes a new instance of ArmServiceTypeHealthPolicy.

Properties

MaxPercentUnhealthyPartitionsPerService

The maximum percentage of partitions per service allowed to be unhealthy before your application is considered in error.

MaxPercentUnhealthyReplicasPerPartition

The maximum percentage of replicas per partition allowed to be unhealthy before your application is considered in error.

MaxPercentUnhealthyServices

The maximum percentage of services allowed to be unhealthy before your application is considered in error.

Explicit Interface Implementations

IJsonModel<ArmServiceTypeHealthPolicy>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<ArmServiceTypeHealthPolicy>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ArmServiceTypeHealthPolicy>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ArmServiceTypeHealthPolicy>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<ArmServiceTypeHealthPolicy>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to