Skip to main content

data_flows

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

Overview

Namedata_flows
TypeResource
Idazure.data_factory.data_flows

Fields

NameDatatypeDescription
idtextThe resource identifier.
nametextThe resource name.
descriptiontextfield from the properties object
annotationstextfield from the properties object
dataFlowNametextfield from the properties object
etagtextEtag identifies change in the resource.
factoryNametextfield from the properties object
foldertextfield from the properties object
resourceGroupNametextfield from the properties object
subscriptionIdtextfield from the properties object
typetextThe resource type.

Methods

NameAccessible byRequired ParamsDescription
getSELECTdataFlowName, factoryName, resourceGroupName, subscriptionIdGets a data flow.
list_by_factorySELECTfactoryName, resourceGroupName, subscriptionIdLists data flows.
create_or_updateINSERTdataFlowName, factoryName, resourceGroupName, subscriptionId, data__propertiesCreates or updates a data flow.
deleteDELETEdataFlowName, factoryName, resourceGroupName, subscriptionIdDeletes a data flow.

SELECT examples

Lists data flows.

SELECT
id,
name,
description,
annotations,
dataFlowName,
etag,
factoryName,
folder,
resourceGroupName,
subscriptionId,
type
FROM azure.data_factory.vw_data_flows
WHERE factoryName = '{{ factoryName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

INSERT example

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

/*+ create */
INSERT INTO azure.data_factory.data_flows (
dataFlowName,
factoryName,
resourceGroupName,
subscriptionId,
data__properties,
properties
)
SELECT
'{{ dataFlowName }}',
'{{ factoryName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ data__properties }}',
'{{ properties }}'
;

DELETE example

Deletes the specified data_flows resource.

/*+ delete */
DELETE FROM azure.data_factory.data_flows
WHERE dataFlowName = '{{ dataFlowName }}'
AND factoryName = '{{ factoryName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';