Share via


ArmMobileNetworkModelFactory.AsyncOperationStatus Method

Definition

Initializes a new instance of AsyncOperationStatus.

public static Azure.ResourceManager.MobileNetwork.Models.AsyncOperationStatus AsyncOperationStatus (string id = default, string name = default, string status = default, string resourceId = default, DateTimeOffset? startOn = default, DateTimeOffset? endOn = default, double? percentComplete = default, BinaryData properties = default, Azure.ResponseError error = default);
static member AsyncOperationStatus : string * string * string * string * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<double> * BinaryData * Azure.ResponseError -> Azure.ResourceManager.MobileNetwork.Models.AsyncOperationStatus
Public Shared Function AsyncOperationStatus (Optional id As String = Nothing, Optional name As String = Nothing, Optional status As String = Nothing, Optional resourceId As String = Nothing, Optional startOn As Nullable(Of DateTimeOffset) = Nothing, Optional endOn As Nullable(Of DateTimeOffset) = Nothing, Optional percentComplete As Nullable(Of Double) = Nothing, Optional properties As BinaryData = Nothing, Optional error As ResponseError = Nothing) As AsyncOperationStatus

Parameters

id
String

Fully qualified ID for the async operation.

name
String

Name of the async operation.

status
String

The operation status.

resourceId
String

Fully qualified ID for the resource that this async operation status relates to.

startOn
Nullable<DateTimeOffset>

The start time of the operation.

endOn
Nullable<DateTimeOffset>

The end time of the operation.

percentComplete
Nullable<Double>

Percentage of the operation that is complete.

properties
BinaryData

Properties returned by the resource provider on a successful operation.

error
ResponseError

If present, details of the operation error.

Returns

A new AsyncOperationStatus instance for mocking.

Applies to