Partilhar via


OrchestrationServiceStateContent Class

Definition

The input for OrchestrationServiceState.

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

Constructors

OrchestrationServiceStateContent(OrchestrationServiceName, OrchestrationServiceStateAction)

Initializes a new instance of OrchestrationServiceStateContent.

Properties

Action

The action to be performed.

ServiceName

The name of the service.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<OrchestrationServiceStateContent>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<OrchestrationServiceStateContent>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<OrchestrationServiceStateContent>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<OrchestrationServiceStateContent>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<OrchestrationServiceStateContent>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to