Compartilhar via


CapacityModeChangeTransitionState Class

Definition

The transition state information related capacity mode change with update request.

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

Constructors

CapacityModeChangeTransitionState()

Initializes a new instance of CapacityModeChangeTransitionState.

Properties

CapacityModeLastSuccessfulTransitionEndTimestamp

End time in UTC of the last successful capacity mode change.

CapacityModeTransitionBeginTimestamp

Begin time in UTC of the capacity mode change.

CapacityModeTransitionEndTimestamp

End time in UTC of the capacity mode change.

CapacityModeTransitionStatus

The transition status of capacity mode.

CurrentCapacityMode

Indicates the current capacity mode of the account.

PreviousCapacityMode

Indicates the previous capacity mode of the account before successful transition.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<CapacityModeChangeTransitionState>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<CapacityModeChangeTransitionState>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<CapacityModeChangeTransitionState>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<CapacityModeChangeTransitionState>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<CapacityModeChangeTransitionState>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to