共用方式為


AsyncOperationStatus interface

The current status of an async operation.

Properties

endTime

The end time of the operation.

error

If present, details of the operation error.

id

Fully qualified ID for the async operation.

name

Name of the async operation.

percentComplete

Percentage of the operation that is complete.

properties

Properties returned by the resource provider on a successful operation

resourceId

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

startTime

The start time of the operation.

status

The operation status.

Property Details

endTime

The end time of the operation.

endTime?: Date

Property Value

Date

error

If present, details of the operation error.

error?: ErrorDetail

Property Value

id

Fully qualified ID for the async operation.

id?: string

Property Value

string

name

Name of the async operation.

name?: string

Property Value

string

percentComplete

Percentage of the operation that is complete.

percentComplete?: number

Property Value

number

properties

Properties returned by the resource provider on a successful operation

properties?: Record<string, unknown>

Property Value

Record<string, unknown>

resourceId

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

resourceId?: string

Property Value

string

startTime

The start time of the operation.

startTime?: Date

Property Value

Date

status

The operation status.

status: string

Property Value

string