Share via


ArmDataMigrationModelFactory.MongoDBRestartCommand Method

Definition

Initializes a new instance of MongoDBRestartCommand.

public static Azure.ResourceManager.DataMigration.Models.MongoDBRestartCommand MongoDBRestartCommand (System.Collections.Generic.IEnumerable<Azure.ResourceManager.DataMigration.Models.ODataError> errors = default, Azure.ResourceManager.DataMigration.Models.CommandState? state = default, string inputObjectName = default);
static member MongoDBRestartCommand : seq<Azure.ResourceManager.DataMigration.Models.ODataError> * Nullable<Azure.ResourceManager.DataMigration.Models.CommandState> * string -> Azure.ResourceManager.DataMigration.Models.MongoDBRestartCommand
Public Shared Function MongoDBRestartCommand (Optional errors As IEnumerable(Of ODataError) = Nothing, Optional state As Nullable(Of CommandState) = Nothing, Optional inputObjectName As String = Nothing) As MongoDBRestartCommand

Parameters

errors
IEnumerable<ODataError>

Array of errors. This is ignored if submitted.

state
Nullable<CommandState>

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

inputObjectName
String

Command input.

Returns

A new MongoDBRestartCommand instance for mocking.

Applies to