BackupPolicyMigrationState Class

Definition

The object representing the state of the migration between the backup policies.

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

Constructors

BackupPolicyMigrationState()

Initializes a new instance of BackupPolicyMigrationState.

Properties

StartOn

Time at which the backup policy migration started (ISO-8601 format).

Status

Describes the status of migration between backup policy types.

TargetType

Describes the target backup policy type of the backup policy migration.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<BackupPolicyMigrationState>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<BackupPolicyMigrationState>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<BackupPolicyMigrationState>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<BackupPolicyMigrationState>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<BackupPolicyMigrationState>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to