Skip to main content

dataflows

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

Overview

Namedataflows
TypeResource
Idazure.iotoperations.dataflows

Fields

NameDatatypeDescription
dataflowNametextfield from the properties object
dataflowProfileNametextfield from the properties object
extended_locationtextfield from the properties object
instanceNametextfield from the properties object
modetextfield from the properties object
operationstextfield from the properties object
provisioning_statetextfield from the properties object
resourceGroupNametextfield from the properties object
subscriptionIdtextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTdataflowName, dataflowProfileName, instanceName, resourceGroupName, subscriptionIdGet a DataflowResource
list_by_profile_resourceSELECTdataflowProfileName, instanceName, resourceGroupName, subscriptionIdList DataflowResource resources by DataflowProfileResource
create_or_updateINSERTdataflowName, dataflowProfileName, instanceName, resourceGroupName, subscriptionId, data__extendedLocationCreate a DataflowResource
deleteDELETEdataflowName, dataflowProfileName, instanceName, resourceGroupName, subscriptionIdDelete a DataflowResource

SELECT examples

List DataflowResource resources by DataflowProfileResource

SELECT
dataflowName,
dataflowProfileName,
extended_location,
instanceName,
mode,
operations,
provisioning_state,
resourceGroupName,
subscriptionId
FROM azure.iotoperations.vw_dataflows
WHERE dataflowProfileName = '{{ dataflowProfileName }}'
AND instanceName = '{{ instanceName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

INSERT example

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

/*+ create */
INSERT INTO azure.iotoperations.dataflows (
dataflowName,
dataflowProfileName,
instanceName,
resourceGroupName,
subscriptionId,
data__extendedLocation,
properties,
extendedLocation
)
SELECT
'{{ dataflowName }}',
'{{ dataflowProfileName }}',
'{{ instanceName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ data__extendedLocation }}',
'{{ properties }}',
'{{ extendedLocation }}'
;

DELETE example

Deletes the specified dataflows resource.

/*+ delete */
DELETE FROM azure.iotoperations.dataflows
WHERE dataflowName = '{{ dataflowName }}'
AND dataflowProfileName = '{{ dataflowProfileName }}'
AND instanceName = '{{ instanceName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';