Skip to main content

async_operations

Creates, updates, deletes, gets or lists an async_operations resource.

Overview

Nameasync_operations
TypeResource
Idazure_stack.storage_admin.async_operations

Fields

The following fields are returned by SELECT queries:

OK -- The async operation has been returned.

NameDatatypeDescription
idstringThe operation id.
contextobjectOperation context.
httpStatusstringHttp status for the async operation.
locationHeaderstringLocation header for async operation.
operationobjectAsync operation content.
operationEndTimestringOperation end time.
operationStartTimestringOperation start time.
responsestringResponse for the async operation.
subscriptionIdstringSubscription id for async operation.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectsubscriptionId, location, asyncOperationIdReturns the async operation specified by asyncOperationId.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
asyncOperationIdstringAsync Operation Id.
locationstringResource location.
subscriptionIdstringSubscription Id.

SELECT examples

Returns the async operation specified by asyncOperationId.

SELECT
id,
context,
httpStatus,
locationHeader,
operation,
operationEndTime,
operationStartTime,
response,
subscriptionId
FROM azure_stack.storage_admin.async_operations
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND location = '{{ location }}' -- required
AND asyncOperationId = '{{ asyncOperationId }}' -- required
;