TaskResource interface

Task details

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

provisioningState

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

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

id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} NOTE: This property will not be serialized. It can only be populated by the server.

name

The name of the resource NOTE: This property will not be serialized. It can only be populated by the server.

systemData

Azure Resource Manager metadata containing createdBy and modifiedBy information. NOTE: This property will not be serialized. It can only be populated by the server.

type

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" 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

provisioningState

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

provisioningState?: 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

id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} NOTE: This property will not be serialized. It can only be populated by the server.

id?: string

Property Value

string

Inherited From ProxyResource.id

name

The name of the resource NOTE: This property will not be serialized. It can only be populated by the server.

name?: string

Property Value

string

Inherited From ProxyResource.name

systemData

Azure Resource Manager metadata containing createdBy and modifiedBy information. NOTE: This property will not be serialized. It can only be populated by the server.

systemData?: SystemData

Property Value

Inherited From ProxyResource.systemData

type

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" NOTE: This property will not be serialized. It can only be populated by the server.

type?: string

Property Value

string

Inherited From ProxyResource.type