Skip to main content

dataflow_graph

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

Overview

Namedataflow_graph
TypeResource
Idazure.iot_operations.dataflow_graph

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringFully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
namestringThe name of the resource.
extendedLocationobjectEdge location of the resource.
healthStatestringThe health state of the resource. Known values are: "Available", "Degraded", "Unavailable", and "Unknown". (Available, Degraded, Unavailable, Unknown)
modestringThe mode of the dataflow graph. Known values are: "Enabled" and "Disabled". (Enabled, Disabled)
nodeConnectionsarrayList of connections between nodes in the dataflow graph. Required.
nodesarrayList of nodes in the dataflow graph. Required.
provisioningStatestringThe provisioning state of the dataflow graph. Known values are: "Succeeded", "Failed", "Canceled", "Provisioning", "Updating", "Deleting", and "Accepted". (Succeeded, Failed, Canceled, Provisioning, Updating, Deleting, Accepted)
requestDiskPersistencestringDisk persistence mode. Known values are: "Enabled" and "Disabled". (Enabled, Disabled)
statusobjectThe status for the dataflow graph.
systemDataobjectAzure Resource Manager metadata containing createdBy and modifiedBy information.
typestringThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectresource_group_name, instance_name, dataflow_profile_name, dataflow_graph_name, subscription_idGet a DataflowGraphResource.
list_by_dataflow_profileselectresource_group_name, instance_name, dataflow_profile_name, subscription_idList DataflowGraphResource resources by DataflowProfileResource.
create_or_updateinsertresource_group_name, instance_name, dataflow_profile_name, dataflow_graph_name, subscription_idCreate a DataflowGraphResource.
create_or_updatereplaceresource_group_name, instance_name, dataflow_profile_name, dataflow_graph_name, subscription_idCreate a DataflowGraphResource.
deletedeleteresource_group_name, instance_name, dataflow_profile_name, dataflow_graph_name, subscription_idDelete a DataflowGraphResource.

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
dataflow_graph_namestringName of Instance dataflowEndpoint resource. Required.
dataflow_profile_namestringName of Instance dataflowProfile resource. Required.
instance_namestringName of instance. Required.
resource_group_namestringThe name of the resource group. The name is case insensitive. Required.
subscription_idstring

SELECT examples

Get a DataflowGraphResource.

SELECT
id,
name,
extendedLocation,
healthState,
mode,
nodeConnections,
nodes,
provisioningState,
requestDiskPersistence,
status,
systemData,
type
FROM azure.iot_operations.dataflow_graph
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND instance_name = '{{ instance_name }}' -- required
AND dataflow_profile_name = '{{ dataflow_profile_name }}' -- required
AND dataflow_graph_name = '{{ dataflow_graph_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;

INSERT examples

Create a DataflowGraphResource.

INSERT INTO azure.iot_operations.dataflow_graph (
properties,
extendedLocation,
resource_group_name,
instance_name,
dataflow_profile_name,
dataflow_graph_name,
subscription_id
)
SELECT
'{{ properties }}',
'{{ extendedLocation }}',
'{{ resource_group_name }}',
'{{ instance_name }}',
'{{ dataflow_profile_name }}',
'{{ dataflow_graph_name }}',
'{{ subscription_id }}'
RETURNING
id,
name,
extendedLocation,
properties,
systemData,
type
;

REPLACE examples

Create a DataflowGraphResource.

REPLACE azure.iot_operations.dataflow_graph
SET
properties = '{{ properties }}',
extendedLocation = '{{ extendedLocation }}'
WHERE
resource_group_name = '{{ resource_group_name }}' --required
AND instance_name = '{{ instance_name }}' --required
AND dataflow_profile_name = '{{ dataflow_profile_name }}' --required
AND dataflow_graph_name = '{{ dataflow_graph_name }}' --required
AND subscription_id = '{{ subscription_id }}' --required
RETURNING
id,
name,
extendedLocation,
properties,
systemData,
type;

DELETE examples

Delete a DataflowGraphResource.

DELETE FROM azure.iot_operations.dataflow_graph
WHERE resource_group_name = '{{ resource_group_name }}' --required
AND instance_name = '{{ instance_name }}' --required
AND dataflow_profile_name = '{{ dataflow_profile_name }}' --required
AND dataflow_graph_name = '{{ dataflow_graph_name }}' --required
AND subscription_id = '{{ subscription_id }}' --required
;