Share via


ServicePlacementPolicyDescription Class

Definition

Describes the policy to be used for placement of a Service Fabric service.

public abstract class ServicePlacementPolicyDescription
[System.ClientModel.Primitives.PersistableModelProxy(typeof(Azure.ResourceManager.ServiceFabric.Models.UnknownServicePlacementPolicyDescription))]
public abstract class ServicePlacementPolicyDescription : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.ServiceFabric.Models.ServicePlacementPolicyDescription>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.ServiceFabric.Models.ServicePlacementPolicyDescription>
type ServicePlacementPolicyDescription = class
[<System.ClientModel.Primitives.PersistableModelProxy(typeof(Azure.ResourceManager.ServiceFabric.Models.UnknownServicePlacementPolicyDescription))>]
type ServicePlacementPolicyDescription = class
    interface IJsonModel<ServicePlacementPolicyDescription>
    interface IPersistableModel<ServicePlacementPolicyDescription>
Public MustInherit Class ServicePlacementPolicyDescription
Public MustInherit Class ServicePlacementPolicyDescription
Implements IJsonModel(Of ServicePlacementPolicyDescription), IPersistableModel(Of ServicePlacementPolicyDescription)
Inheritance
ServicePlacementPolicyDescription
Attributes
Implements

Constructors

ServicePlacementPolicyDescription()

Initializes a new instance of ServicePlacementPolicyDescription.

Explicit Interface Implementations

IJsonModel<ServicePlacementPolicyDescription>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ServicePlacementPolicyDescription>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ServicePlacementPolicyDescription>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ServicePlacementPolicyDescription>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ServicePlacementPolicyDescription>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to