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


MongoDBRestartCommand Class

Definition

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

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

Constructors

MongoDBRestartCommand()

Initializes a new instance of MongoDBRestartCommand.

Properties

Errors

Array of errors. This is ignored if submitted.

(Inherited from CommandProperties)
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 CommandProperties)

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<CommandProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

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

Writes the model to the provided Utf8JsonWriter.

(Inherited from CommandProperties)
IJsonModel<MongoDBRestartCommand>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<MongoDBRestartCommand>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<CommandProperties>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

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

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

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

Writes the model into a BinaryData.

(Inherited from CommandProperties)
IPersistableModel<MongoDBRestartCommand>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<MongoDBRestartCommand>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<MongoDBRestartCommand>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to