ArmMySqlFlexibleServersModelFactory.OperationStatusResult 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 OperationStatusResult.
public static Azure.ResourceManager.MySql.FlexibleServers.Models.OperationStatusResult OperationStatusResult (Azure.Core.ResourceIdentifier id = default, Azure.Core.ResourceIdentifier resourceId = default, string name = default, string status = default, float? percentComplete = default, DateTimeOffset? startOn = default, DateTimeOffset? endOn = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.MySql.FlexibleServers.Models.OperationStatusResult> operations = default, Azure.ResponseError error = default);
static member OperationStatusResult : Azure.Core.ResourceIdentifier * Azure.Core.ResourceIdentifier * string * string * Nullable<single> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * seq<Azure.ResourceManager.MySql.FlexibleServers.Models.OperationStatusResult> * Azure.ResponseError -> Azure.ResourceManager.MySql.FlexibleServers.Models.OperationStatusResult
Public Shared Function OperationStatusResult (Optional id As ResourceIdentifier = Nothing, Optional resourceId As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional status As String = Nothing, Optional percentComplete As Nullable(Of Single) = Nothing, Optional startOn As Nullable(Of DateTimeOffset) = Nothing, Optional endOn As Nullable(Of DateTimeOffset) = Nothing, Optional operations As IEnumerable(Of OperationStatusResult) = Nothing, Optional error As ResponseError = Nothing) As OperationStatusResult
Parameters
Fully qualified ID for the async operation.
- resourceId
- ResourceIdentifier
Fully qualified ID of the resource against which the original async operation was started.
- name
- String
Name of the async operation.
- status
- String
Operation status.
- startOn
- Nullable<DateTimeOffset>
The start time of the operation.
- endOn
- Nullable<DateTimeOffset>
The end time of the operation.
- operations
- IEnumerable<OperationStatusResult>
The operations list.
- error
- ResponseError
If present, details of the operation error.
Returns
A new OperationStatusResult instance for mocking.