Skip to main content

operations

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

Overview

Nameoperations
TypeResource
Idazure.storage_sync.operations

Fields

The following fields are returned by SELECT queries:

Array of operations resources in the Resource Provider

NameDatatypeDescription
namestringOperation name: {provider}/{resource}/{operation}.
displayobjectThe operation supported by storage sync.
originstringThe origin.
propertiesobjectProperties of the operations resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectLists all of the available Storage Sync Rest API operations.
location_operation_statusexecsubscriptionId, locationName, operationIdGet Operation status

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
locationNamestringThe desired region to obtain information from.
operationIdstringoperation Id
subscriptionIdstring (uuid)The ID of the target subscription. The value must be an UUID.

SELECT examples

Lists all of the available Storage Sync Rest API operations.

SELECT
name,
display,
origin,
properties
FROM azure.storage_sync.operations
;

Lifecycle Methods

Get Operation status

EXEC azure.storage_sync.operations.location_operation_status 
@subscriptionId='{{ subscriptionId }}' --required,
@locationName='{{ locationName }}' --required,
@operationId='{{ operationId }}' --required
;