Share via


DataMigrationMongoDBRestartCommand Class

Definition

Properties for the command that restarts a migration in whole or in part.

public class DataMigrationMongoDBRestartCommand : Azure.ResourceManager.DataMigration.Models.DataMigrationCommandProperties, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.DataMigration.Models.DataMigrationMongoDBRestartCommand>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.DataMigration.Models.DataMigrationMongoDBRestartCommand>
type DataMigrationMongoDBRestartCommand = class
    inherit DataMigrationCommandProperties
    interface IJsonModel<DataMigrationMongoDBRestartCommand>
    interface IPersistableModel<DataMigrationMongoDBRestartCommand>
Public Class DataMigrationMongoDBRestartCommand
Inherits DataMigrationCommandProperties
Implements IJsonModel(Of DataMigrationMongoDBRestartCommand), IPersistableModel(Of DataMigrationMongoDBRestartCommand)
Inheritance
DataMigrationMongoDBRestartCommand
Implements

Constructors

DataMigrationMongoDBRestartCommand()

Initializes a new instance of DataMigrationMongoDBRestartCommand.

Properties

Errors

Array of errors. This is ignored if submitted.

(Inherited from DataMigrationCommandProperties)
InputObjectName

The qualified name of a database or collection to act upon, or null to act upon the entire migration.

State

The state of the command. This is ignored if submitted.

(Inherited from DataMigrationCommandProperties)

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<DataMigrationCommandProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

(Inherited from DataMigrationCommandProperties)
IJsonModel<DataMigrationCommandProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from DataMigrationCommandProperties)
IJsonModel<DataMigrationMongoDBRestartCommand>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<DataMigrationMongoDBRestartCommand>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<DataMigrationCommandProperties>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from DataMigrationCommandProperties)
IPersistableModel<DataMigrationCommandProperties>.GetFormatFromOptions(ModelReaderWriterOptions)

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

(Inherited from DataMigrationCommandProperties)
IPersistableModel<DataMigrationCommandProperties>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from DataMigrationCommandProperties)
IPersistableModel<DataMigrationMongoDBRestartCommand>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DataMigrationMongoDBRestartCommand>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<DataMigrationMongoDBRestartCommand>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to