Skip to main content

asc_operations

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

Overview

Nameasc_operations
TypeResource
Idazure.storage_cache.asc_operations

Fields

The following fields are returned by SELECT queries:

The asynchronous operation was returned.

NameDatatypeDescription
idstringThe operation Id.
namestringThe operation name.
endTimestringThe end time of the operation.
errorobjectThe error detail of the operation if any.
propertiesobjectAdditional operation-specific properties
startTimestringThe start time of the operation.
statusstringThe status of the operation.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectsubscriptionId, location, operationIdGets the status of an asynchronous operation for the Azure HPC Cache

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
locationstringThe name of the Azure region.
operationIdstringThe ID of an ongoing async operation.
subscriptionIdstring (uuid)The ID of the target subscription. The value must be an UUID.

SELECT examples

Gets the status of an asynchronous operation for the Azure HPC Cache

SELECT
id,
name,
endTime,
error,
properties,
startTime,
status
FROM azure.storage_cache.asc_operations
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND location = '{{ location }}' -- required
AND operationId = '{{ operationId }}' -- required
;