Sdílet prostřednictvím


ServicePlacementInvalidDomainPolicy Class

Definition

Describes the policy to be used for placement of a Service Fabric service where a particular fault or upgrade domain should not be used for placement of the instances or replicas of that service.

public class ServicePlacementInvalidDomainPolicy : Azure.ResourceManager.ServiceFabricManagedClusters.Models.ManagedServicePlacementPolicy, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.ServiceFabricManagedClusters.Models.ServicePlacementInvalidDomainPolicy>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.ServiceFabricManagedClusters.Models.ServicePlacementInvalidDomainPolicy>
type ServicePlacementInvalidDomainPolicy = class
    inherit ManagedServicePlacementPolicy
    interface IJsonModel<ServicePlacementInvalidDomainPolicy>
    interface IPersistableModel<ServicePlacementInvalidDomainPolicy>
Public Class ServicePlacementInvalidDomainPolicy
Inherits ManagedServicePlacementPolicy
Implements IJsonModel(Of ServicePlacementInvalidDomainPolicy), IPersistableModel(Of ServicePlacementInvalidDomainPolicy)
Inheritance
ServicePlacementInvalidDomainPolicy
Implements

Constructors

ServicePlacementInvalidDomainPolicy(String)

Initializes a new instance of ServicePlacementInvalidDomainPolicy.

Properties

DomainName

The name of the domain that should not be used for placement.

Explicit Interface Implementations

IJsonModel<ManagedServicePlacementPolicy>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

(Inherited from ManagedServicePlacementPolicy)
IJsonModel<ManagedServicePlacementPolicy>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from ManagedServicePlacementPolicy)
IJsonModel<ServicePlacementInvalidDomainPolicy>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ServicePlacementInvalidDomainPolicy>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ManagedServicePlacementPolicy>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from ManagedServicePlacementPolicy)
IPersistableModel<ManagedServicePlacementPolicy>.GetFormatFromOptions(ModelReaderWriterOptions)

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

(Inherited from ManagedServicePlacementPolicy)
IPersistableModel<ManagedServicePlacementPolicy>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from ManagedServicePlacementPolicy)
IPersistableModel<ServicePlacementInvalidDomainPolicy>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ServicePlacementInvalidDomainPolicy>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ServicePlacementInvalidDomainPolicy>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to