TaskResourceProperties interface

Task properties.

Extends

Properties

completedAt

The time the task completed

lastPolledAt

The last time the task was polled

metadata

The reason the task was moved into its current state, if the task wasn't completed.

phase

the phase the task is in

reason

The reason the task was moved into its current state, if the task wasn't completed.

startedAt

The time the task started

state

the state the task is in

Inherited Properties

provisioningState

Resource provisioning state. NOTE: This property will not be serialized. It can only be populated by the server.

Property Details

completedAt

The time the task completed

completedAt?: string

Property Value

string

lastPolledAt

The last time the task was polled

lastPolledAt?: string

Property Value

string

metadata

The reason the task was moved into its current state, if the task wasn't completed.

metadata?: Record<string, unknown>

Property Value

Record<string, unknown>

phase

the phase the task is in

phase?: string

Property Value

string

reason

The reason the task was moved into its current state, if the task wasn't completed.

reason?: string

Property Value

string

startedAt

The time the task started

startedAt?: string

Property Value

string

state

the state the task is in

state?: string

Property Value

string

Inherited Property Details

provisioningState

Resource provisioning state. NOTE: This property will not be serialized. It can only be populated by the server.

provisioningState?: string

Property Value

string

Inherited From ResourceBaseProperties.provisioningState