Skip to main content

workflows

Creates, updates, deletes, gets or lists a workflows resource.

Overview

Nameworkflows
TypeResource
Idazure.storage_sync.workflows

Fields

The following fields are returned by SELECT queries:

Workflow object

NameDatatypeDescription
propertiesobjectWorkflow properties.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectsubscriptionId, resourceGroupName, storageSyncServiceName, workflowIdGet Workflows resource
list_by_storage_sync_serviceselectsubscriptionId, resourceGroupName, storageSyncServiceNameGet a Workflow List
abortexecsubscriptionId, resourceGroupName, storageSyncServiceName, workflowIdAbort the given workflow.

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
resourceGroupNamestringThe name of the resource group. The name is case insensitive.
storageSyncServiceNamestringName of Storage Sync Service resource.
subscriptionIdstring (uuid)The ID of the target subscription. The value must be an UUID.
workflowIdstringworkflow Id

SELECT examples

Get Workflows resource

SELECT
properties
FROM azure.storage_sync.workflows
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND storageSyncServiceName = '{{ storageSyncServiceName }}' -- required
AND workflowId = '{{ workflowId }}' -- required
;

Lifecycle Methods

Abort the given workflow.

EXEC azure.storage_sync.workflows.abort 
@subscriptionId='{{ subscriptionId }}' --required,
@resourceGroupName='{{ resourceGroupName }}' --required,
@storageSyncServiceName='{{ storageSyncServiceName }}' --required,
@workflowId='{{ workflowId }}' --required
;