ArmDataMigrationModelFactory.CommandProperties Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET