Share via


ServicePlacementRequiredDomainPolicy Class

Definition

Describes the policy to be used for placement of a Service Fabric service where the instances or replicas of that service must be placed in a particular domain.

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

Constructors

ServicePlacementRequiredDomainPolicy(String)

Initializes a new instance of ServicePlacementRequiredDomainPolicy.

Properties

DomainName

The name of the domain that should used for placement as per this policy.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from ManagedServicePlacementPolicy)

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<ServicePlacementRequiredDomainPolicy>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ServicePlacementRequiredDomainPolicy>.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<ServicePlacementRequiredDomainPolicy>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ServicePlacementRequiredDomainPolicy>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ServicePlacementRequiredDomainPolicy>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to