Skip to main content

flows

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

Overview

Nameflows
TypeResource
Idazure.data_transfer.flows

Fields

NameDatatypeDescription
connectiontextfield from the properties object
connectionNametextfield from the properties object
data_typetextfield from the properties object
flowNametextfield from the properties object
flow_idtextfield from the properties object
flow_typetextfield from the properties object
identitytextManaged service identity (system assigned and/or user assigned identities)
key_vault_uritextfield from the properties object
link_statustextfield from the properties object
linked_flow_idtextfield from the properties object
locationtextThe geo-location where the resource lives
messaging_optionstextfield from the properties object
plantextPlan for the resource.
policiestextfield from the properties object
provisioning_statetextfield from the properties object
resourceGroupNametextfield from the properties object
schematextfield from the properties object
service_bus_queue_idtextfield from the properties object
statustextfield from the properties object
storage_account_idtextfield from the properties object
storage_account_nametextfield from the properties object
storage_container_nametextfield from the properties object
subscriptionIdtextfield from the properties object
tagstextResource tags.

Methods

NameAccessible byRequired ParamsDescription
getSELECTconnectionName, flowName, resourceGroupName, subscriptionIdGets flow resource.
list_by_connectionSELECTconnectionName, resourceGroupName, subscriptionIdGets flows in a connection.
create_or_updateINSERTconnectionName, flowName, resourceGroupName, subscriptionId, data__locationCreates or updates the flow resource.
deleteDELETEconnectionName, flowName, resourceGroupName, subscriptionIdDeletes the flow resource.
updateUPDATEconnectionName, flowName, resourceGroupName, subscriptionIdUpdates the flow resource.
disableEXECconnectionName, flowName, resourceGroupName, subscriptionIdDisables the specified flow
enableEXECconnectionName, flowName, resourceGroupName, subscriptionIdEnables the specified flow.
linkEXECconnectionName, flowName, resourceGroupName, subscriptionId, data__idLinks the specified flow.

SELECT examples

Gets flows in a connection.

SELECT
connection,
connectionName,
data_type,
flowName,
flow_id,
flow_type,
identity,
key_vault_uri,
link_status,
linked_flow_id,
location,
messaging_options,
plan,
policies,
provisioning_state,
resourceGroupName,
schema,
service_bus_queue_id,
status,
storage_account_id,
storage_account_name,
storage_container_name,
subscriptionId,
tags
FROM azure.data_transfer.vw_flows
WHERE connectionName = '{{ connectionName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

INSERT example

Use the following StackQL query and manifest file to create a new flows resource.

/*+ create */
INSERT INTO azure.data_transfer.flows (
connectionName,
flowName,
resourceGroupName,
subscriptionId,
data__location,
properties,
plan,
identity,
tags,
location
)
SELECT
'{{ connectionName }}',
'{{ flowName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ data__location }}',
'{{ properties }}',
'{{ plan }}',
'{{ identity }}',
'{{ tags }}',
'{{ location }}'
;

UPDATE example

Updates a flows resource.

/*+ update */
UPDATE azure.data_transfer.flows
SET
identity = '{{ identity }}',
tags = '{{ tags }}'
WHERE
connectionName = '{{ connectionName }}'
AND flowName = '{{ flowName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

DELETE example

Deletes the specified flows resource.

/*+ delete */
DELETE FROM azure.data_transfer.flows
WHERE connectionName = '{{ connectionName }}'
AND flowName = '{{ flowName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';