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


MongoDBCommandInput Class

Definition

Describes the input to the 'cancel' and 'restart' MongoDB migration commands.

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

Constructors

MongoDBCommandInput()

Initializes a new instance of MongoDBCommandInput.

Properties

ObjectName

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

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<MongoDBCommandInput>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<MongoDBCommandInput>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<MongoDBCommandInput>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<MongoDBCommandInput>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<MongoDBCommandInput>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to