Share via


DataMigrationMongoDBCancelCommand Class

Definition

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

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

Constructors

DataMigrationMongoDBCancelCommand()

Initializes a new instance of DataMigrationMongoDBCancelCommand.

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<DataMigrationMongoDBCancelCommand>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<DataMigrationMongoDBCancelCommand>.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<DataMigrationMongoDBCancelCommand>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DataMigrationMongoDBCancelCommand>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<DataMigrationMongoDBCancelCommand>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to