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

The following fields are returned by SELECT queries:

OK.

NameDatatypeDescription
idstringThe resource identifier.
namestringThe resource name.
etagstringEtag identifies change in the resource.
propertiesobjectData flow properties.
typestringThe resource type.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectsubscriptionId, resourceGroupName, factoryName, dataFlowNameapi-version, If-None-MatchGets a data flow.
list_by_factoryselectsubscriptionId, resourceGroupName, factoryNameapi-versionLists data flows.
create_or_updateinsertsubscriptionId, resourceGroupName, factoryName, dataFlowName, data__propertiesapi-version, If-MatchCreates or updates a data flow.
deletedeletesubscriptionId, resourceGroupName, factoryName, dataFlowNameapi-versionDeletes a data flow.

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
dataFlowNamestringThe data flow name.
factoryNamestringThe factory name.
resourceGroupNamestringThe resource group name.
subscriptionIdstringThe subscription identifier.
If-MatchstringETag of the data flow entity. Should only be specified for update, for which it should match existing entity or can be * for unconditional update.
If-None-MatchstringETag of the data flow entity. Should only be specified for get. If the ETag matches the existing entity tag, or if * was provided, then no content will be returned.
api-versionstringThe API version.

SELECT examples

Gets a data flow.

SELECT
id,
name,
etag,
properties,
type
FROM azure.data_factory.data_flows
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND factoryName = '{{ factoryName }}' -- required
AND dataFlowName = '{{ dataFlowName }}' -- required
AND api-version = '{{ api-version }}'
AND If-None-Match = '{{ If-None-Match }}'
;

INSERT examples

Creates or updates a data flow.

INSERT INTO azure.data_factory.data_flows (
data__properties,
subscriptionId,
resourceGroupName,
factoryName,
dataFlowName,
api-version,
If-Match
)
SELECT
'{{ properties }}' /* required */,
'{{ subscriptionId }}',
'{{ resourceGroupName }}',
'{{ factoryName }}',
'{{ dataFlowName }}',
'{{ api-version }}',
'{{ If-Match }}'
RETURNING
id,
name,
etag,
properties,
type
;

DELETE examples

Deletes a data flow.

DELETE FROM azure.data_factory.data_flows
WHERE subscriptionId = '{{ subscriptionId }}' --required
AND resourceGroupName = '{{ resourceGroupName }}' --required
AND factoryName = '{{ factoryName }}' --required
AND dataFlowName = '{{ dataFlowName }}' --required
AND api-version = '{{ api-version }}'
;