ArmSqlModelFactory.ManagedInstanceOperationData 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 ManagedInstanceOperationData.
public static Azure.ResourceManager.Sql.ManagedInstanceOperationData ManagedInstanceOperationData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string managedInstanceName = default, string operation = default, string operationFriendlyName = default, int? percentComplete = default, DateTimeOffset? startOn = default, Azure.ResourceManager.Sql.Models.ManagementOperationState? state = default, int? errorCode = default, string errorDescription = default, int? errorSeverity = default, bool? isUserError = default, DateTimeOffset? estimatedCompleteOn = default, string description = default, bool? isCancellable = default, Azure.ResourceManager.Sql.Models.ManagedInstanceOperationParametersPair operationParameters = default, Azure.ResourceManager.Sql.Models.ManagedInstanceOperationSteps operationSteps = default);
static member ManagedInstanceOperationData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * string * string * Nullable<int> * Nullable<DateTimeOffset> * Nullable<Azure.ResourceManager.Sql.Models.ManagementOperationState> * Nullable<int> * string * Nullable<int> * Nullable<bool> * Nullable<DateTimeOffset> * string * Nullable<bool> * Azure.ResourceManager.Sql.Models.ManagedInstanceOperationParametersPair * Azure.ResourceManager.Sql.Models.ManagedInstanceOperationSteps -> Azure.ResourceManager.Sql.ManagedInstanceOperationData
Public Shared Function ManagedInstanceOperationData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional managedInstanceName As String = Nothing, Optional operation As String = Nothing, Optional operationFriendlyName As String = Nothing, Optional percentComplete As Nullable(Of Integer) = Nothing, Optional startOn As Nullable(Of DateTimeOffset) = Nothing, Optional state As Nullable(Of ManagementOperationState) = Nothing, Optional errorCode As Nullable(Of Integer) = Nothing, Optional errorDescription As String = Nothing, Optional errorSeverity As Nullable(Of Integer) = Nothing, Optional isUserError As Nullable(Of Boolean) = Nothing, Optional estimatedCompleteOn As Nullable(Of DateTimeOffset) = Nothing, Optional description As String = Nothing, Optional isCancellable As Nullable(Of Boolean) = Nothing, Optional operationParameters As ManagedInstanceOperationParametersPair = Nothing, Optional operationSteps As ManagedInstanceOperationSteps = Nothing) As ManagedInstanceOperationData
Parameters
The id.
- name
- String
The name.
- resourceType
- ResourceType
The resourceType.
- systemData
- SystemData
The systemData.
- managedInstanceName
- String
The name of the managed instance the operation is being performed on.
- operation
- String
The name of operation.
- operationFriendlyName
- String
The friendly name of operation.
- startOn
- Nullable<DateTimeOffset>
The operation start time.
- state
- Nullable<ManagementOperationState>
The operation state.
- errorDescription
- String
The operation error description.
- estimatedCompleteOn
- Nullable<DateTimeOffset>
The estimated completion time of the operation.
- description
- String
The operation description.
- operationParameters
- ManagedInstanceOperationParametersPair
The operation parameters.
- operationSteps
- ManagedInstanceOperationSteps
The operation steps.
Returns
A new ManagedInstanceOperationData instance for mocking.