Partager via


MongoDbRestartCommand Constructors

Definition

Overloads

MongoDbRestartCommand()

Initializes a new instance of the MongoDbRestartCommand class.

MongoDbRestartCommand(IList<ODataError>, String, MongoDbCommandInput)

Initializes a new instance of the MongoDbRestartCommand class.

MongoDbRestartCommand()

Initializes a new instance of the MongoDbRestartCommand class.

public MongoDbRestartCommand ();
Public Sub New ()

Applies to

MongoDbRestartCommand(IList<ODataError>, String, MongoDbCommandInput)

Initializes a new instance of the MongoDbRestartCommand class.

public MongoDbRestartCommand (System.Collections.Generic.IList<Microsoft.Azure.Management.DataMigration.Models.ODataError> errors = default, string state = default, Microsoft.Azure.Management.DataMigration.Models.MongoDbCommandInput input = default);
new Microsoft.Azure.Management.DataMigration.Models.MongoDbRestartCommand : System.Collections.Generic.IList<Microsoft.Azure.Management.DataMigration.Models.ODataError> * string * Microsoft.Azure.Management.DataMigration.Models.MongoDbCommandInput -> Microsoft.Azure.Management.DataMigration.Models.MongoDbRestartCommand
Public Sub New (Optional errors As IList(Of ODataError) = Nothing, Optional state As String = Nothing, Optional input As MongoDbCommandInput = Nothing)

Parameters

errors
IList<ODataError>

Array of errors. This is ignored if submitted.

state
String

The state of the command. This is ignored if submitted. Possible values include: 'Unknown', 'Accepted', 'Running', 'Succeeded', 'Failed'

input
MongoDbCommandInput

Command input

Applies to