Sdílet prostřednictvím


ArmDevCenterModelFactory.DevCenterOperationStatus Method

Definition

Initializes a new instance of DevCenterOperationStatus.

public static Azure.ResourceManager.DevCenter.Models.DevCenterOperationStatus DevCenterOperationStatus (Azure.Core.ResourceIdentifier id = default, string name = default, string status = default, float? percentComplete = default, DateTimeOffset? startOn = default, DateTimeOffset? endOn = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Models.OperationStatusResult> operations = default, Azure.ResponseError error = default, Azure.Core.ResourceIdentifier resourceId = default, BinaryData properties = default);
static member DevCenterOperationStatus : Azure.Core.ResourceIdentifier * string * string * Nullable<single> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * seq<Azure.ResourceManager.Models.OperationStatusResult> * Azure.ResponseError * Azure.Core.ResourceIdentifier * BinaryData -> Azure.ResourceManager.DevCenter.Models.DevCenterOperationStatus
Public Shared Function DevCenterOperationStatus (Optional id 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, Optional resourceId As ResourceIdentifier = Nothing, Optional properties As BinaryData = Nothing) As DevCenterOperationStatus

Parameters

id
ResourceIdentifier

Fully qualified ID for the async operation.

name
String

Name of the async operation.

status
String

Operation status.

percentComplete
Nullable<Single>

Percent of the operation that is complete.

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.

resourceId
ResourceIdentifier

The id of the resource.

properties
BinaryData

Custom operation properties, populated only for a successful operation.

Returns

A new DevCenterOperationStatus instance for mocking.

Applies to