Поделиться через


TextAuthoringSwapDeploymentsDetails Class

Definition

Represents the options for swapping two deployments together.

public class TextAuthoringSwapDeploymentsDetails : System.ClientModel.Primitives.IJsonModel<Azure.AI.Language.Text.Authoring.TextAuthoringSwapDeploymentsDetails>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.Language.Text.Authoring.TextAuthoringSwapDeploymentsDetails>
type TextAuthoringSwapDeploymentsDetails = class
    interface IJsonModel<TextAuthoringSwapDeploymentsDetails>
    interface IPersistableModel<TextAuthoringSwapDeploymentsDetails>
Public Class TextAuthoringSwapDeploymentsDetails
Implements IJsonModel(Of TextAuthoringSwapDeploymentsDetails), IPersistableModel(Of TextAuthoringSwapDeploymentsDetails)
Inheritance
TextAuthoringSwapDeploymentsDetails
Implements

Constructors

TextAuthoringSwapDeploymentsDetails(String, String)

Initializes a new instance of TextAuthoringSwapDeploymentsDetails.

Properties

FirstDeploymentName

Represents the first deployment name.

SecondDeploymentName

Represents the second deployment name.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<TextAuthoringSwapDeploymentsDetails>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<TextAuthoringSwapDeploymentsDetails>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<TextAuthoringSwapDeploymentsDetails>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<TextAuthoringSwapDeploymentsDetails>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<TextAuthoringSwapDeploymentsDetails>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to