Delen via


ArmDataMigrationModelFactory.CommandProperties Method

Definition

Initializes a new instance of CommandProperties.

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

Parameters

commandType
String

Command type.

errors
IEnumerable<ODataError>

Array of errors. This is ignored if submitted.

state
Nullable<CommandState>

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

Returns

A new CommandProperties instance for mocking.

Applies to