Instance dataflowProfile dataflow resource
Uses Azure REST API version 2024-11-01.
Other available API versions: 2024-08-15-preview, 2024-09-15-preview, 2025-04-01, 2025-07-01-preview, 2025-10-01, 2026-03-01, 2026-07-01. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native iotoperations [ApiVersion]. See the version guide for details.
Example Usage
Dataflow_CreateOrUpdate
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var dataflow = new AzureNative.IoTOperations.Dataflow("dataflow", new()
{
DataflowName = "resource-name123",
DataflowProfileName = "resource-name123",
ExtendedLocation = new AzureNative.IoTOperations.Inputs.ExtendedLocationArgs
{
Name = "qmbrfwcpwwhggszhrdjv",
Type = AzureNative.IoTOperations.ExtendedLocationType.CustomLocation,
},
InstanceName = "resource-name123",
Properties = new AzureNative.IoTOperations.Inputs.DataflowPropertiesArgs
{
Mode = AzureNative.IoTOperations.OperationalMode.Enabled,
Operations = new[]
{
new AzureNative.IoTOperations.Inputs.DataflowOperationArgs
{
BuiltInTransformationSettings = new AzureNative.IoTOperations.Inputs.DataflowBuiltInTransformationSettingsArgs
{
Datasets = new[]
{
new AzureNative.IoTOperations.Inputs.DataflowBuiltInTransformationDatasetArgs
{
Description = "Lorem ipsum odor amet, consectetuer adipiscing elit.",
Expression = "aatbwomvflemsxialv",
Inputs = new[]
{
"mosffpsslifkq",
},
Key = "qsfqcgxaxnhfumrsdsokwyv",
SchemaRef = "n",
},
},
Filter = new[]
{
new AzureNative.IoTOperations.Inputs.DataflowBuiltInTransformationFilterArgs
{
Description = "Lorem ipsum odor amet, consectetuer adipiscing elit.",
Expression = "n",
Inputs = new[]
{
"sxmjkbntgb",
},
Type = AzureNative.IoTOperations.FilterType.Filter,
},
},
Map = new[]
{
new AzureNative.IoTOperations.Inputs.DataflowBuiltInTransformationMapArgs
{
Description = "Lorem ipsum odor amet, consectetuer adipiscing elit.",
Expression = "txoiltogsarwkzalsphvlmt",
Inputs = new[]
{
"xsbxuk",
},
Output = "nvgtmkfl",
Type = AzureNative.IoTOperations.DataflowMappingType.NewProperties,
},
},
SchemaRef = "mcdc",
SerializationFormat = AzureNative.IoTOperations.TransformationSerializationFormat.Delta,
},
DestinationSettings = new AzureNative.IoTOperations.Inputs.DataflowDestinationOperationSettingsArgs
{
DataDestination = "cbrh",
EndpointRef = "kybkchnzimerguekuvqlqiqdvvrt",
},
Name = "knnafvkwoeakm",
OperationType = AzureNative.IoTOperations.OperationType.Source,
SourceSettings = new AzureNative.IoTOperations.Inputs.DataflowSourceOperationSettingsArgs
{
AssetRef = "zayyykwmckaocywdkohmu",
DataSources = new[]
{
"chkkpymxhp",
},
EndpointRef = "iixotodhvhkkfcfyrkoveslqig",
SchemaRef = "pknmdzqll",
SerializationFormat = AzureNative.IoTOperations.SourceSerializationFormat.Json,
},
},
},
},
ResourceGroupName = "rgiotoperations",
});
});
package main
import (
iotoperations "github.com/pulumi/pulumi-azure-native-sdk/iotoperations/v3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := iotoperations.NewDataflow(ctx, "dataflow", &iotoperations.DataflowArgs{
DataflowName: pulumi.String("resource-name123"),
DataflowProfileName: pulumi.String("resource-name123"),
ExtendedLocation: &iotoperations.ExtendedLocationArgs{
Name: pulumi.String("qmbrfwcpwwhggszhrdjv"),
Type: pulumi.String(iotoperations.ExtendedLocationTypeCustomLocation),
},
InstanceName: pulumi.String("resource-name123"),
Properties: &iotoperations.DataflowPropertiesArgs{
Mode: pulumi.String(iotoperations.OperationalModeEnabled),
Operations: iotoperations.DataflowOperationArray{
&iotoperations.DataflowOperationArgs{
BuiltInTransformationSettings: &iotoperations.DataflowBuiltInTransformationSettingsArgs{
Datasets: iotoperations.DataflowBuiltInTransformationDatasetArray{
&iotoperations.DataflowBuiltInTransformationDatasetArgs{
Description: pulumi.String("Lorem ipsum odor amet, consectetuer adipiscing elit."),
Expression: pulumi.String("aatbwomvflemsxialv"),
Inputs: pulumi.StringArray{
pulumi.String("mosffpsslifkq"),
},
Key: pulumi.String("qsfqcgxaxnhfumrsdsokwyv"),
SchemaRef: pulumi.String("n"),
},
},
Filter: iotoperations.DataflowBuiltInTransformationFilterArray{
&iotoperations.DataflowBuiltInTransformationFilterArgs{
Description: pulumi.String("Lorem ipsum odor amet, consectetuer adipiscing elit."),
Expression: pulumi.String("n"),
Inputs: pulumi.StringArray{
pulumi.String("sxmjkbntgb"),
},
Type: pulumi.String(iotoperations.FilterTypeFilter),
},
},
Map: iotoperations.DataflowBuiltInTransformationMapArray{
&iotoperations.DataflowBuiltInTransformationMapArgs{
Description: pulumi.String("Lorem ipsum odor amet, consectetuer adipiscing elit."),
Expression: pulumi.String("txoiltogsarwkzalsphvlmt"),
Inputs: pulumi.StringArray{
pulumi.String("xsbxuk"),
},
Output: pulumi.String("nvgtmkfl"),
Type: pulumi.String(iotoperations.DataflowMappingTypeNewProperties),
},
},
SchemaRef: pulumi.String("mcdc"),
SerializationFormat: pulumi.String(iotoperations.TransformationSerializationFormatDelta),
},
DestinationSettings: &iotoperations.DataflowDestinationOperationSettingsArgs{
DataDestination: pulumi.String("cbrh"),
EndpointRef: pulumi.String("kybkchnzimerguekuvqlqiqdvvrt"),
},
Name: pulumi.String("knnafvkwoeakm"),
OperationType: pulumi.String(iotoperations.OperationTypeSource),
SourceSettings: &iotoperations.DataflowSourceOperationSettingsArgs{
AssetRef: pulumi.String("zayyykwmckaocywdkohmu"),
DataSources: pulumi.StringArray{
pulumi.String("chkkpymxhp"),
},
EndpointRef: pulumi.String("iixotodhvhkkfcfyrkoveslqig"),
SchemaRef: pulumi.String("pknmdzqll"),
SerializationFormat: pulumi.String(iotoperations.SourceSerializationFormatJson),
},
},
},
},
ResourceGroupName: pulumi.String("rgiotoperations"),
})
if err != nil {
return err
}
return nil
})
}
terraform {
required_providers {
azure-native = {
source = "pulumi/azure-native"
}
}
}
resource "azure-native_iotoperations_dataflow" "dataflow" {
lifecycle {
create_before_destroy = true
}
dataflow_name = "resource-name123"
dataflow_profile_name = "resource-name123"
extended_location = {
name = "qmbrfwcpwwhggszhrdjv"
type = "CustomLocation"
}
instance_name = "resource-name123"
properties = {
mode = "Enabled"
operations = [{
built_in_transformation_settings = {
datasets = [{
description = "Lorem ipsum odor amet, consectetuer adipiscing elit."
expression = "aatbwomvflemsxialv"
inputs = ["mosffpsslifkq"]
key = "qsfqcgxaxnhfumrsdsokwyv"
schema_ref = "n"
}]
filter = [{
description = "Lorem ipsum odor amet, consectetuer adipiscing elit."
expression = "n"
inputs = ["sxmjkbntgb"]
type = "Filter"
}]
map = [{
description = "Lorem ipsum odor amet, consectetuer adipiscing elit."
expression = "txoiltogsarwkzalsphvlmt"
inputs = ["xsbxuk"]
output = "nvgtmkfl"
type = "NewProperties"
}]
schema_ref = "mcdc"
serialization_format = "Delta"
}
destination_settings = {
data_destination = "cbrh"
endpoint_ref = "kybkchnzimerguekuvqlqiqdvvrt"
}
name = "knnafvkwoeakm"
operation_type = "Source"
source_settings = {
asset_ref = "zayyykwmckaocywdkohmu"
data_sources = ["chkkpymxhp"]
endpoint_ref = "iixotodhvhkkfcfyrkoveslqig"
schema_ref = "pknmdzqll"
serialization_format = "Json"
}
}]
}
resource_group_name = "rgiotoperations"
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.iotoperations.Dataflow;
import com.pulumi.azurenative.iotoperations.DataflowArgs;
import com.pulumi.azurenative.iotoperations.inputs.ExtendedLocationArgs;
import com.pulumi.azurenative.iotoperations.inputs.DataflowPropertiesArgs;
import com.pulumi.azurenative.iotoperations.inputs.DataflowOperationArgs;
import com.pulumi.azurenative.iotoperations.inputs.DataflowBuiltInTransformationSettingsArgs;
import com.pulumi.azurenative.iotoperations.inputs.DataflowBuiltInTransformationDatasetArgs;
import com.pulumi.azurenative.iotoperations.inputs.DataflowBuiltInTransformationFilterArgs;
import com.pulumi.azurenative.iotoperations.inputs.DataflowBuiltInTransformationMapArgs;
import com.pulumi.azurenative.iotoperations.inputs.DataflowDestinationOperationSettingsArgs;
import com.pulumi.azurenative.iotoperations.inputs.DataflowSourceOperationSettingsArgs;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var dataflow = new Dataflow("dataflow", DataflowArgs.builder()
.dataflowName("resource-name123")
.dataflowProfileName("resource-name123")
.extendedLocation(ExtendedLocationArgs.builder()
.name("qmbrfwcpwwhggszhrdjv")
.type("CustomLocation")
.build())
.instanceName("resource-name123")
.properties(DataflowPropertiesArgs.builder()
.mode("Enabled")
.operations(DataflowOperationArgs.builder()
.builtInTransformationSettings(DataflowBuiltInTransformationSettingsArgs.builder()
.datasets(DataflowBuiltInTransformationDatasetArgs.builder()
.description("Lorem ipsum odor amet, consectetuer adipiscing elit.")
.expression("aatbwomvflemsxialv")
.inputs("mosffpsslifkq")
.key("qsfqcgxaxnhfumrsdsokwyv")
.schemaRef("n")
.build())
.filter(DataflowBuiltInTransformationFilterArgs.builder()
.description("Lorem ipsum odor amet, consectetuer adipiscing elit.")
.expression("n")
.inputs("sxmjkbntgb")
.type("Filter")
.build())
.map(DataflowBuiltInTransformationMapArgs.builder()
.description("Lorem ipsum odor amet, consectetuer adipiscing elit.")
.expression("txoiltogsarwkzalsphvlmt")
.inputs("xsbxuk")
.output("nvgtmkfl")
.type("NewProperties")
.build())
.schemaRef("mcdc")
.serializationFormat("Delta")
.build())
.destinationSettings(DataflowDestinationOperationSettingsArgs.builder()
.dataDestination("cbrh")
.endpointRef("kybkchnzimerguekuvqlqiqdvvrt")
.build())
.name("knnafvkwoeakm")
.operationType("Source")
.sourceSettings(DataflowSourceOperationSettingsArgs.builder()
.assetRef("zayyykwmckaocywdkohmu")
.dataSources("chkkpymxhp")
.endpointRef("iixotodhvhkkfcfyrkoveslqig")
.schemaRef("pknmdzqll")
.serializationFormat("Json")
.build())
.build())
.build())
.resourceGroupName("rgiotoperations")
.build());
}
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const dataflow = new azure_native.iotoperations.Dataflow("dataflow", {
dataflowName: "resource-name123",
dataflowProfileName: "resource-name123",
extendedLocation: {
name: "qmbrfwcpwwhggszhrdjv",
type: azure_native.iotoperations.ExtendedLocationType.CustomLocation,
},
instanceName: "resource-name123",
properties: {
mode: azure_native.iotoperations.OperationalMode.Enabled,
operations: [{
builtInTransformationSettings: {
datasets: [{
description: "Lorem ipsum odor amet, consectetuer adipiscing elit.",
expression: "aatbwomvflemsxialv",
inputs: ["mosffpsslifkq"],
key: "qsfqcgxaxnhfumrsdsokwyv",
schemaRef: "n",
}],
filter: [{
description: "Lorem ipsum odor amet, consectetuer adipiscing elit.",
expression: "n",
inputs: ["sxmjkbntgb"],
type: azure_native.iotoperations.FilterType.Filter,
}],
map: [{
description: "Lorem ipsum odor amet, consectetuer adipiscing elit.",
expression: "txoiltogsarwkzalsphvlmt",
inputs: ["xsbxuk"],
output: "nvgtmkfl",
type: azure_native.iotoperations.DataflowMappingType.NewProperties,
}],
schemaRef: "mcdc",
serializationFormat: azure_native.iotoperations.TransformationSerializationFormat.Delta,
},
destinationSettings: {
dataDestination: "cbrh",
endpointRef: "kybkchnzimerguekuvqlqiqdvvrt",
},
name: "knnafvkwoeakm",
operationType: azure_native.iotoperations.OperationType.Source,
sourceSettings: {
assetRef: "zayyykwmckaocywdkohmu",
dataSources: ["chkkpymxhp"],
endpointRef: "iixotodhvhkkfcfyrkoveslqig",
schemaRef: "pknmdzqll",
serializationFormat: azure_native.iotoperations.SourceSerializationFormat.Json,
},
}],
},
resourceGroupName: "rgiotoperations",
});
import pulumi
import pulumi_azure_native as azure_native
dataflow = azure_native.iotoperations.Dataflow("dataflow",
dataflow_name="resource-name123",
dataflow_profile_name="resource-name123",
extended_location={
"name": "qmbrfwcpwwhggszhrdjv",
"type": azure_native.iotoperations.ExtendedLocationType.CUSTOM_LOCATION,
},
instance_name="resource-name123",
properties={
"mode": azure_native.iotoperations.OperationalMode.ENABLED,
"operations": [{
"built_in_transformation_settings": {
"datasets": [{
"description": "Lorem ipsum odor amet, consectetuer adipiscing elit.",
"expression": "aatbwomvflemsxialv",
"inputs": ["mosffpsslifkq"],
"key": "qsfqcgxaxnhfumrsdsokwyv",
"schema_ref": "n",
}],
"filter": [{
"description": "Lorem ipsum odor amet, consectetuer adipiscing elit.",
"expression": "n",
"inputs": ["sxmjkbntgb"],
"type": azure_native.iotoperations.FilterType.FILTER,
}],
"map": [{
"description": "Lorem ipsum odor amet, consectetuer adipiscing elit.",
"expression": "txoiltogsarwkzalsphvlmt",
"inputs": ["xsbxuk"],
"output": "nvgtmkfl",
"type": azure_native.iotoperations.DataflowMappingType.NEW_PROPERTIES,
}],
"schema_ref": "mcdc",
"serialization_format": azure_native.iotoperations.TransformationSerializationFormat.DELTA,
},
"destination_settings": {
"data_destination": "cbrh",
"endpoint_ref": "kybkchnzimerguekuvqlqiqdvvrt",
},
"name": "knnafvkwoeakm",
"operation_type": azure_native.iotoperations.OperationType.SOURCE,
"source_settings": {
"asset_ref": "zayyykwmckaocywdkohmu",
"data_sources": ["chkkpymxhp"],
"endpoint_ref": "iixotodhvhkkfcfyrkoveslqig",
"schema_ref": "pknmdzqll",
"serialization_format": azure_native.iotoperations.SourceSerializationFormat.JSON,
},
}],
},
resource_group_name="rgiotoperations")
resources:
dataflow:
type: azure-native:iotoperations:Dataflow
properties:
dataflowName: resource-name123
dataflowProfileName: resource-name123
extendedLocation:
name: qmbrfwcpwwhggszhrdjv
type: CustomLocation
instanceName: resource-name123
properties:
mode: Enabled
operations:
- builtInTransformationSettings:
datasets:
- description: Lorem ipsum odor amet, consectetuer adipiscing elit.
expression: aatbwomvflemsxialv
inputs:
- mosffpsslifkq
key: qsfqcgxaxnhfumrsdsokwyv
schemaRef: n
filter:
- description: Lorem ipsum odor amet, consectetuer adipiscing elit.
expression: n
inputs:
- sxmjkbntgb
type: Filter
map:
- description: Lorem ipsum odor amet, consectetuer adipiscing elit.
expression: txoiltogsarwkzalsphvlmt
inputs:
- xsbxuk
output: nvgtmkfl
type: NewProperties
schemaRef: mcdc
serializationFormat: Delta
destinationSettings:
dataDestination: cbrh
endpointRef: kybkchnzimerguekuvqlqiqdvvrt
name: knnafvkwoeakm
operationType: Source
sourceSettings:
assetRef: zayyykwmckaocywdkohmu
dataSources:
- chkkpymxhp
endpointRef: iixotodhvhkkfcfyrkoveslqig
schemaRef: pknmdzqll
serializationFormat: Json
resourceGroupName: rgiotoperations
Dataflow_CreateOrUpdate_ComplexContextualization
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var dataflow = new AzureNative.IoTOperations.Dataflow("dataflow", new()
{
DataflowName = "aio-to-adx-contexualized",
DataflowProfileName = "resource-name123",
ExtendedLocation = new AzureNative.IoTOperations.Inputs.ExtendedLocationArgs
{
Name = "qmbrfwcpwwhggszhrdjv",
Type = AzureNative.IoTOperations.ExtendedLocationType.CustomLocation,
},
InstanceName = "resource-name123",
Properties = new AzureNative.IoTOperations.Inputs.DataflowPropertiesArgs
{
Mode = AzureNative.IoTOperations.OperationalMode.Enabled,
Operations = new[]
{
new AzureNative.IoTOperations.Inputs.DataflowOperationArgs
{
Name = "source1",
OperationType = AzureNative.IoTOperations.OperationType.Source,
SourceSettings = new AzureNative.IoTOperations.Inputs.DataflowSourceOperationSettingsArgs
{
DataSources = new[]
{
"azure-iot-operations/data/thermostat",
},
EndpointRef = "aio-builtin-broker-endpoint",
},
},
new AzureNative.IoTOperations.Inputs.DataflowOperationArgs
{
BuiltInTransformationSettings = new AzureNative.IoTOperations.Inputs.DataflowBuiltInTransformationSettingsArgs
{
Datasets = new[]
{
new AzureNative.IoTOperations.Inputs.DataflowBuiltInTransformationDatasetArgs
{
Expression = "$1 == $2",
Inputs = new[]
{
"$source.country",
"$context.country",
},
Key = "quality",
},
},
Map = new[]
{
new AzureNative.IoTOperations.Inputs.DataflowBuiltInTransformationMapArgs
{
Inputs = new[]
{
"*",
},
Output = "*",
},
new AzureNative.IoTOperations.Inputs.DataflowBuiltInTransformationMapArgs
{
Inputs = new[]
{
"$context(quality).*",
},
Output = "enriched.*",
},
},
},
Name = "transformation1",
OperationType = AzureNative.IoTOperations.OperationType.BuiltInTransformation,
},
new AzureNative.IoTOperations.Inputs.DataflowOperationArgs
{
DestinationSettings = new AzureNative.IoTOperations.Inputs.DataflowDestinationOperationSettingsArgs
{
DataDestination = "mytable",
EndpointRef = "adx-endpoint",
},
Name = "destination1",
OperationType = AzureNative.IoTOperations.OperationType.Destination,
},
},
},
ResourceGroupName = "rgiotoperations",
});
});
package main
import (
iotoperations "github.com/pulumi/pulumi-azure-native-sdk/iotoperations/v3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := iotoperations.NewDataflow(ctx, "dataflow", &iotoperations.DataflowArgs{
DataflowName: pulumi.String("aio-to-adx-contexualized"),
DataflowProfileName: pulumi.String("resource-name123"),
ExtendedLocation: &iotoperations.ExtendedLocationArgs{
Name: pulumi.String("qmbrfwcpwwhggszhrdjv"),
Type: pulumi.String(iotoperations.ExtendedLocationTypeCustomLocation),
},
InstanceName: pulumi.String("resource-name123"),
Properties: &iotoperations.DataflowPropertiesArgs{
Mode: pulumi.String(iotoperations.OperationalModeEnabled),
Operations: iotoperations.DataflowOperationArray{
&iotoperations.DataflowOperationArgs{
Name: pulumi.String("source1"),
OperationType: pulumi.String(iotoperations.OperationTypeSource),
SourceSettings: &iotoperations.DataflowSourceOperationSettingsArgs{
DataSources: pulumi.StringArray{
pulumi.String("azure-iot-operations/data/thermostat"),
},
EndpointRef: pulumi.String("aio-builtin-broker-endpoint"),
},
},
&iotoperations.DataflowOperationArgs{
BuiltInTransformationSettings: &iotoperations.DataflowBuiltInTransformationSettingsArgs{
Datasets: iotoperations.DataflowBuiltInTransformationDatasetArray{
&iotoperations.DataflowBuiltInTransformationDatasetArgs{
Expression: pulumi.String("$1 == $2"),
Inputs: pulumi.StringArray{
pulumi.String("$source.country"),
pulumi.String("$context.country"),
},
Key: pulumi.String("quality"),
},
},
Map: iotoperations.DataflowBuiltInTransformationMapArray{
&iotoperations.DataflowBuiltInTransformationMapArgs{
Inputs: pulumi.StringArray{
pulumi.String("*"),
},
Output: pulumi.String("*"),
},
&iotoperations.DataflowBuiltInTransformationMapArgs{
Inputs: pulumi.StringArray{
pulumi.String("$context(quality).*"),
},
Output: pulumi.String("enriched.*"),
},
},
},
Name: pulumi.String("transformation1"),
OperationType: pulumi.String(iotoperations.OperationTypeBuiltInTransformation),
},
&iotoperations.DataflowOperationArgs{
DestinationSettings: &iotoperations.DataflowDestinationOperationSettingsArgs{
DataDestination: pulumi.String("mytable"),
EndpointRef: pulumi.String("adx-endpoint"),
},
Name: pulumi.String("destination1"),
OperationType: pulumi.String(iotoperations.OperationTypeDestination),
},
},
},
ResourceGroupName: pulumi.String("rgiotoperations"),
})
if err != nil {
return err
}
return nil
})
}
terraform {
required_providers {
azure-native = {
source = "pulumi/azure-native"
}
}
}
resource "azure-native_iotoperations_dataflow" "dataflow" {
lifecycle {
create_before_destroy = true
}
dataflow_name = "aio-to-adx-contexualized"
dataflow_profile_name = "resource-name123"
extended_location = {
name = "qmbrfwcpwwhggszhrdjv"
type = "CustomLocation"
}
instance_name = "resource-name123"
properties = {
mode = "Enabled"
operations = [{
name = "source1"
operation_type = "Source"
source_settings = {
data_sources = ["azure-iot-operations/data/thermostat"]
endpoint_ref = "aio-builtin-broker-endpoint"
}
}, {
built_in_transformation_settings = {
datasets = [{
expression = "$1 == $2"
inputs = ["$source.country", "$context.country"]
key = "quality"
}]
map = [{
inputs = ["*"]
output = "*"
}, {
inputs = ["$context(quality).*"]
output = "enriched.*"
}]
}
name = "transformation1"
operation_type = "BuiltInTransformation"
}, {
destination_settings = {
data_destination = "mytable"
endpoint_ref = "adx-endpoint"
}
name = "destination1"
operation_type = "Destination"
}]
}
resource_group_name = "rgiotoperations"
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.iotoperations.Dataflow;
import com.pulumi.azurenative.iotoperations.DataflowArgs;
import com.pulumi.azurenative.iotoperations.inputs.ExtendedLocationArgs;
import com.pulumi.azurenative.iotoperations.inputs.DataflowPropertiesArgs;
import com.pulumi.azurenative.iotoperations.inputs.DataflowOperationArgs;
import com.pulumi.azurenative.iotoperations.inputs.DataflowSourceOperationSettingsArgs;
import com.pulumi.azurenative.iotoperations.inputs.DataflowBuiltInTransformationSettingsArgs;
import com.pulumi.azurenative.iotoperations.inputs.DataflowBuiltInTransformationDatasetArgs;
import com.pulumi.azurenative.iotoperations.inputs.DataflowBuiltInTransformationMapArgs;
import com.pulumi.azurenative.iotoperations.inputs.DataflowDestinationOperationSettingsArgs;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var dataflow = new Dataflow("dataflow", DataflowArgs.builder()
.dataflowName("aio-to-adx-contexualized")
.dataflowProfileName("resource-name123")
.extendedLocation(ExtendedLocationArgs.builder()
.name("qmbrfwcpwwhggszhrdjv")
.type("CustomLocation")
.build())
.instanceName("resource-name123")
.properties(DataflowPropertiesArgs.builder()
.mode("Enabled")
.operations(
DataflowOperationArgs.builder()
.name("source1")
.operationType("Source")
.sourceSettings(DataflowSourceOperationSettingsArgs.builder()
.dataSources("azure-iot-operations/data/thermostat")
.endpointRef("aio-builtin-broker-endpoint")
.build())
.build(),
DataflowOperationArgs.builder()
.builtInTransformationSettings(DataflowBuiltInTransformationSettingsArgs.builder()
.datasets(DataflowBuiltInTransformationDatasetArgs.builder()
.expression("$1 == $2")
.inputs(
"$source.country",
"$context.country")
.key("quality")
.build())
.map(
DataflowBuiltInTransformationMapArgs.builder()
.inputs("*")
.output("*")
.build(),
DataflowBuiltInTransformationMapArgs.builder()
.inputs("$context(quality).*")
.output("enriched.*")
.build())
.build())
.name("transformation1")
.operationType("BuiltInTransformation")
.build(),
DataflowOperationArgs.builder()
.destinationSettings(DataflowDestinationOperationSettingsArgs.builder()
.dataDestination("mytable")
.endpointRef("adx-endpoint")
.build())
.name("destination1")
.operationType("Destination")
.build())
.build())
.resourceGroupName("rgiotoperations")
.build());
}
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const dataflow = new azure_native.iotoperations.Dataflow("dataflow", {
dataflowName: "aio-to-adx-contexualized",
dataflowProfileName: "resource-name123",
extendedLocation: {
name: "qmbrfwcpwwhggszhrdjv",
type: azure_native.iotoperations.ExtendedLocationType.CustomLocation,
},
instanceName: "resource-name123",
properties: {
mode: azure_native.iotoperations.OperationalMode.Enabled,
operations: [
{
name: "source1",
operationType: azure_native.iotoperations.OperationType.Source,
sourceSettings: {
dataSources: ["azure-iot-operations/data/thermostat"],
endpointRef: "aio-builtin-broker-endpoint",
},
},
{
builtInTransformationSettings: {
datasets: [{
expression: "$1 == $2",
inputs: [
"$source.country",
"$context.country",
],
key: "quality",
}],
map: [
{
inputs: ["*"],
output: "*",
},
{
inputs: ["$context(quality).*"],
output: "enriched.*",
},
],
},
name: "transformation1",
operationType: azure_native.iotoperations.OperationType.BuiltInTransformation,
},
{
destinationSettings: {
dataDestination: "mytable",
endpointRef: "adx-endpoint",
},
name: "destination1",
operationType: azure_native.iotoperations.OperationType.Destination,
},
],
},
resourceGroupName: "rgiotoperations",
});
import pulumi
import pulumi_azure_native as azure_native
dataflow = azure_native.iotoperations.Dataflow("dataflow",
dataflow_name="aio-to-adx-contexualized",
dataflow_profile_name="resource-name123",
extended_location={
"name": "qmbrfwcpwwhggszhrdjv",
"type": azure_native.iotoperations.ExtendedLocationType.CUSTOM_LOCATION,
},
instance_name="resource-name123",
properties={
"mode": azure_native.iotoperations.OperationalMode.ENABLED,
"operations": [
{
"name": "source1",
"operation_type": azure_native.iotoperations.OperationType.SOURCE,
"source_settings": {
"data_sources": ["azure-iot-operations/data/thermostat"],
"endpoint_ref": "aio-builtin-broker-endpoint",
},
},
{
"built_in_transformation_settings": {
"datasets": [{
"expression": "$1 == $2",
"inputs": [
"$source.country",
"$context.country",
],
"key": "quality",
}],
"map": [
{
"inputs": ["*"],
"output": "*",
},
{
"inputs": ["$context(quality).*"],
"output": "enriched.*",
},
],
},
"name": "transformation1",
"operation_type": azure_native.iotoperations.OperationType.BUILT_IN_TRANSFORMATION,
},
{
"destination_settings": {
"data_destination": "mytable",
"endpoint_ref": "adx-endpoint",
},
"name": "destination1",
"operation_type": azure_native.iotoperations.OperationType.DESTINATION,
},
],
},
resource_group_name="rgiotoperations")
resources:
dataflow:
type: azure-native:iotoperations:Dataflow
properties:
dataflowName: aio-to-adx-contexualized
dataflowProfileName: resource-name123
extendedLocation:
name: qmbrfwcpwwhggszhrdjv
type: CustomLocation
instanceName: resource-name123
properties:
mode: Enabled
operations:
- name: source1
operationType: Source
sourceSettings:
dataSources:
- azure-iot-operations/data/thermostat
endpointRef: aio-builtin-broker-endpoint
- builtInTransformationSettings:
datasets:
- expression: $1 == $2
inputs:
- $source.country
- $context.country
key: quality
map:
- inputs:
- '*'
output: '*'
- inputs:
- $context(quality).*
output: enriched.*
name: transformation1
operationType: BuiltInTransformation
- destinationSettings:
dataDestination: mytable
endpointRef: adx-endpoint
name: destination1
operationType: Destination
resourceGroupName: rgiotoperations
Dataflow_CreateOrUpdate_ComplexEventHub
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var dataflow = new AzureNative.IoTOperations.Dataflow("dataflow", new()
{
DataflowName = "aio-to-event-hub-transformed",
DataflowProfileName = "resource-name123",
ExtendedLocation = new AzureNative.IoTOperations.Inputs.ExtendedLocationArgs
{
Name = "qmbrfwcpwwhggszhrdjv",
Type = AzureNative.IoTOperations.ExtendedLocationType.CustomLocation,
},
InstanceName = "resource-name123",
Properties = new AzureNative.IoTOperations.Inputs.DataflowPropertiesArgs
{
Mode = AzureNative.IoTOperations.OperationalMode.Enabled,
Operations = new[]
{
new AzureNative.IoTOperations.Inputs.DataflowOperationArgs
{
Name = "source1",
OperationType = AzureNative.IoTOperations.OperationType.Source,
SourceSettings = new AzureNative.IoTOperations.Inputs.DataflowSourceOperationSettingsArgs
{
DataSources = new[]
{
"azure-iot-operations/data/thermostat",
},
EndpointRef = "aio-builtin-broker-endpoint",
},
},
new AzureNative.IoTOperations.Inputs.DataflowOperationArgs
{
BuiltInTransformationSettings = new AzureNative.IoTOperations.Inputs.DataflowBuiltInTransformationSettingsArgs
{
Filter = new[]
{
new AzureNative.IoTOperations.Inputs.DataflowBuiltInTransformationFilterArgs
{
Expression = "$1 > 9000 && $2 >= 8000",
Inputs = new[]
{
"temperature.Value",
"\"Tag 10\".Value",
},
},
},
Map = new[]
{
new AzureNative.IoTOperations.Inputs.DataflowBuiltInTransformationMapArgs
{
Inputs = new[]
{
"*",
},
Output = "*",
},
new AzureNative.IoTOperations.Inputs.DataflowBuiltInTransformationMapArgs
{
Expression = "($1+$2)/2",
Inputs = new[]
{
"temperature.Value",
"\"Tag 10\".Value",
},
Output = "AvgTemp.Value",
},
new AzureNative.IoTOperations.Inputs.DataflowBuiltInTransformationMapArgs
{
Expression = "true",
Inputs = new() { },
Output = "dataflow-processed",
},
new AzureNative.IoTOperations.Inputs.DataflowBuiltInTransformationMapArgs
{
Expression = "",
Inputs = new[]
{
"temperature.SourceTimestamp",
},
Output = "",
},
new AzureNative.IoTOperations.Inputs.DataflowBuiltInTransformationMapArgs
{
Expression = "",
Inputs = new[]
{
"\"Tag 10\"",
},
Output = "pressure",
},
new AzureNative.IoTOperations.Inputs.DataflowBuiltInTransformationMapArgs
{
Expression = "cToF($1)",
Inputs = new[]
{
"temperature.Value",
},
Output = "temperatureF.Value",
},
new AzureNative.IoTOperations.Inputs.DataflowBuiltInTransformationMapArgs
{
Expression = "scale ($1,0,10,0,100)",
Inputs = new[]
{
"\"Tag 10\".Value",
},
Output = "\"Scale Tag 10\".Value",
},
},
},
OperationType = AzureNative.IoTOperations.OperationType.BuiltInTransformation,
},
new AzureNative.IoTOperations.Inputs.DataflowOperationArgs
{
DestinationSettings = new AzureNative.IoTOperations.Inputs.DataflowDestinationOperationSettingsArgs
{
DataDestination = "myuniqueeventhub",
EndpointRef = "event-hub-endpoint",
},
Name = "destination1",
OperationType = AzureNative.IoTOperations.OperationType.Destination,
},
},
},
ResourceGroupName = "rgiotoperations",
});
});
package main
import (
iotoperations "github.com/pulumi/pulumi-azure-native-sdk/iotoperations/v3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := iotoperations.NewDataflow(ctx, "dataflow", &iotoperations.DataflowArgs{
DataflowName: pulumi.String("aio-to-event-hub-transformed"),
DataflowProfileName: pulumi.String("resource-name123"),
ExtendedLocation: &iotoperations.ExtendedLocationArgs{
Name: pulumi.String("qmbrfwcpwwhggszhrdjv"),
Type: pulumi.String(iotoperations.ExtendedLocationTypeCustomLocation),
},
InstanceName: pulumi.String("resource-name123"),
Properties: &iotoperations.DataflowPropertiesArgs{
Mode: pulumi.String(iotoperations.OperationalModeEnabled),
Operations: iotoperations.DataflowOperationArray{
&iotoperations.DataflowOperationArgs{
Name: pulumi.String("source1"),
OperationType: pulumi.String(iotoperations.OperationTypeSource),
SourceSettings: &iotoperations.DataflowSourceOperationSettingsArgs{
DataSources: pulumi.StringArray{
pulumi.String("azure-iot-operations/data/thermostat"),
},
EndpointRef: pulumi.String("aio-builtin-broker-endpoint"),
},
},
&iotoperations.DataflowOperationArgs{
BuiltInTransformationSettings: &iotoperations.DataflowBuiltInTransformationSettingsArgs{
Filter: iotoperations.DataflowBuiltInTransformationFilterArray{
&iotoperations.DataflowBuiltInTransformationFilterArgs{
Expression: pulumi.String("$1 > 9000 && $2 >= 8000"),
Inputs: pulumi.StringArray{
pulumi.String("temperature.Value"),
pulumi.String("\"Tag 10\".Value"),
},
},
},
Map: iotoperations.DataflowBuiltInTransformationMapArray{
&iotoperations.DataflowBuiltInTransformationMapArgs{
Inputs: pulumi.StringArray{
pulumi.String("*"),
},
Output: pulumi.String("*"),
},
&iotoperations.DataflowBuiltInTransformationMapArgs{
Expression: pulumi.String("($1+$2)/2"),
Inputs: pulumi.StringArray{
pulumi.String("temperature.Value"),
pulumi.String("\"Tag 10\".Value"),
},
Output: pulumi.String("AvgTemp.Value"),
},
&iotoperations.DataflowBuiltInTransformationMapArgs{
Expression: pulumi.String("true"),
Inputs: pulumi.StringArray{},
Output: pulumi.String("dataflow-processed"),
},
&iotoperations.DataflowBuiltInTransformationMapArgs{
Expression: pulumi.String(""),
Inputs: pulumi.StringArray{
pulumi.String("temperature.SourceTimestamp"),
},
Output: pulumi.String(""),
},
&iotoperations.DataflowBuiltInTransformationMapArgs{
Expression: pulumi.String(""),
Inputs: pulumi.StringArray{
pulumi.String("\"Tag 10\""),
},
Output: pulumi.String("pressure"),
},
&iotoperations.DataflowBuiltInTransformationMapArgs{
Expression: pulumi.String("cToF($1)"),
Inputs: pulumi.StringArray{
pulumi.String("temperature.Value"),
},
Output: pulumi.String("temperatureF.Value"),
},
&iotoperations.DataflowBuiltInTransformationMapArgs{
Expression: pulumi.String("scale ($1,0,10,0,100)"),
Inputs: pulumi.StringArray{
pulumi.String("\"Tag 10\".Value"),
},
Output: pulumi.String("\"Scale Tag 10\".Value"),
},
},
},
OperationType: pulumi.String(iotoperations.OperationTypeBuiltInTransformation),
},
&iotoperations.DataflowOperationArgs{
DestinationSettings: &iotoperations.DataflowDestinationOperationSettingsArgs{
DataDestination: pulumi.String("myuniqueeventhub"),
EndpointRef: pulumi.String("event-hub-endpoint"),
},
Name: pulumi.String("destination1"),
OperationType: pulumi.String(iotoperations.OperationTypeDestination),
},
},
},
ResourceGroupName: pulumi.String("rgiotoperations"),
})
if err != nil {
return err
}
return nil
})
}
terraform {
required_providers {
azure-native = {
source = "pulumi/azure-native"
}
}
}
resource "azure-native_iotoperations_dataflow" "dataflow" {
lifecycle {
create_before_destroy = true
}
dataflow_name = "aio-to-event-hub-transformed"
dataflow_profile_name = "resource-name123"
extended_location = {
name = "qmbrfwcpwwhggszhrdjv"
type = "CustomLocation"
}
instance_name = "resource-name123"
properties = {
mode = "Enabled"
operations = [{
name = "source1"
operation_type = "Source"
source_settings = {
data_sources = ["azure-iot-operations/data/thermostat"]
endpoint_ref = "aio-builtin-broker-endpoint"
}
}, {
built_in_transformation_settings = {
filter = [{
expression = "$1 > 9000 && $2 >= 8000"
inputs = ["temperature.Value", "\"Tag 10\".Value"]
}]
map = [{
inputs = ["*"]
output = "*"
}, {
expression = "($1+$2)/2"
inputs = ["temperature.Value", "\"Tag 10\".Value"]
output = "AvgTemp.Value"
}, {
expression = "true"
inputs = []
output = "dataflow-processed"
}, {
expression = ""
inputs = ["temperature.SourceTimestamp"]
output = ""
}, {
expression = ""
inputs = ["\"Tag 10\""]
output = "pressure"
}, {
expression = "cToF($1)"
inputs = ["temperature.Value"]
output = "temperatureF.Value"
}, {
expression = "scale ($1,0,10,0,100)"
inputs = ["\"Tag 10\".Value"]
output = "\"Scale Tag 10\".Value"
}]
}
operation_type = "BuiltInTransformation"
}, {
destination_settings = {
data_destination = "myuniqueeventhub"
endpoint_ref = "event-hub-endpoint"
}
name = "destination1"
operation_type = "Destination"
}]
}
resource_group_name = "rgiotoperations"
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.iotoperations.Dataflow;
import com.pulumi.azurenative.iotoperations.DataflowArgs;
import com.pulumi.azurenative.iotoperations.inputs.ExtendedLocationArgs;
import com.pulumi.azurenative.iotoperations.inputs.DataflowPropertiesArgs;
import com.pulumi.azurenative.iotoperations.inputs.DataflowOperationArgs;
import com.pulumi.azurenative.iotoperations.inputs.DataflowSourceOperationSettingsArgs;
import com.pulumi.azurenative.iotoperations.inputs.DataflowBuiltInTransformationSettingsArgs;
import com.pulumi.azurenative.iotoperations.inputs.DataflowBuiltInTransformationFilterArgs;
import com.pulumi.azurenative.iotoperations.inputs.DataflowBuiltInTransformationMapArgs;
import com.pulumi.azurenative.iotoperations.inputs.DataflowDestinationOperationSettingsArgs;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var dataflow = new Dataflow("dataflow", DataflowArgs.builder()
.dataflowName("aio-to-event-hub-transformed")
.dataflowProfileName("resource-name123")
.extendedLocation(ExtendedLocationArgs.builder()
.name("qmbrfwcpwwhggszhrdjv")
.type("CustomLocation")
.build())
.instanceName("resource-name123")
.properties(DataflowPropertiesArgs.builder()
.mode("Enabled")
.operations(
DataflowOperationArgs.builder()
.name("source1")
.operationType("Source")
.sourceSettings(DataflowSourceOperationSettingsArgs.builder()
.dataSources("azure-iot-operations/data/thermostat")
.endpointRef("aio-builtin-broker-endpoint")
.build())
.build(),
DataflowOperationArgs.builder()
.builtInTransformationSettings(DataflowBuiltInTransformationSettingsArgs.builder()
.filter(DataflowBuiltInTransformationFilterArgs.builder()
.expression("$1 > 9000 && $2 >= 8000")
.inputs(
"temperature.Value",
"\"Tag 10\".Value")
.build())
.map(
DataflowBuiltInTransformationMapArgs.builder()
.inputs("*")
.output("*")
.build(),
DataflowBuiltInTransformationMapArgs.builder()
.expression("($1+$2)/2")
.inputs(
"temperature.Value",
"\"Tag 10\".Value")
.output("AvgTemp.Value")
.build(),
DataflowBuiltInTransformationMapArgs.builder()
.expression("true")
.inputs()
.output("dataflow-processed")
.build(),
DataflowBuiltInTransformationMapArgs.builder()
.expression("")
.inputs("temperature.SourceTimestamp")
.output("")
.build(),
DataflowBuiltInTransformationMapArgs.builder()
.expression("")
.inputs("\"Tag 10\"")
.output("pressure")
.build(),
DataflowBuiltInTransformationMapArgs.builder()
.expression("cToF($1)")
.inputs("temperature.Value")
.output("temperatureF.Value")
.build(),
DataflowBuiltInTransformationMapArgs.builder()
.expression("scale ($1,0,10,0,100)")
.inputs("\"Tag 10\".Value")
.output("\"Scale Tag 10\".Value")
.build())
.build())
.operationType("BuiltInTransformation")
.build(),
DataflowOperationArgs.builder()
.destinationSettings(DataflowDestinationOperationSettingsArgs.builder()
.dataDestination("myuniqueeventhub")
.endpointRef("event-hub-endpoint")
.build())
.name("destination1")
.operationType("Destination")
.build())
.build())
.resourceGroupName("rgiotoperations")
.build());
}
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const dataflow = new azure_native.iotoperations.Dataflow("dataflow", {
dataflowName: "aio-to-event-hub-transformed",
dataflowProfileName: "resource-name123",
extendedLocation: {
name: "qmbrfwcpwwhggszhrdjv",
type: azure_native.iotoperations.ExtendedLocationType.CustomLocation,
},
instanceName: "resource-name123",
properties: {
mode: azure_native.iotoperations.OperationalMode.Enabled,
operations: [
{
name: "source1",
operationType: azure_native.iotoperations.OperationType.Source,
sourceSettings: {
dataSources: ["azure-iot-operations/data/thermostat"],
endpointRef: "aio-builtin-broker-endpoint",
},
},
{
builtInTransformationSettings: {
filter: [{
expression: "$1 > 9000 && $2 >= 8000",
inputs: [
"temperature.Value",
"\"Tag 10\".Value",
],
}],
map: [
{
inputs: ["*"],
output: "*",
},
{
expression: "($1+$2)/2",
inputs: [
"temperature.Value",
"\"Tag 10\".Value",
],
output: "AvgTemp.Value",
},
{
expression: "true",
inputs: [],
output: "dataflow-processed",
},
{
expression: "",
inputs: ["temperature.SourceTimestamp"],
output: "",
},
{
expression: "",
inputs: ["\"Tag 10\""],
output: "pressure",
},
{
expression: "cToF($1)",
inputs: ["temperature.Value"],
output: "temperatureF.Value",
},
{
expression: "scale ($1,0,10,0,100)",
inputs: ["\"Tag 10\".Value"],
output: "\"Scale Tag 10\".Value",
},
],
},
operationType: azure_native.iotoperations.OperationType.BuiltInTransformation,
},
{
destinationSettings: {
dataDestination: "myuniqueeventhub",
endpointRef: "event-hub-endpoint",
},
name: "destination1",
operationType: azure_native.iotoperations.OperationType.Destination,
},
],
},
resourceGroupName: "rgiotoperations",
});
import pulumi
import pulumi_azure_native as azure_native
dataflow = azure_native.iotoperations.Dataflow("dataflow",
dataflow_name="aio-to-event-hub-transformed",
dataflow_profile_name="resource-name123",
extended_location={
"name": "qmbrfwcpwwhggszhrdjv",
"type": azure_native.iotoperations.ExtendedLocationType.CUSTOM_LOCATION,
},
instance_name="resource-name123",
properties={
"mode": azure_native.iotoperations.OperationalMode.ENABLED,
"operations": [
{
"name": "source1",
"operation_type": azure_native.iotoperations.OperationType.SOURCE,
"source_settings": {
"data_sources": ["azure-iot-operations/data/thermostat"],
"endpoint_ref": "aio-builtin-broker-endpoint",
},
},
{
"built_in_transformation_settings": {
"filter": [{
"expression": "$1 > 9000 && $2 >= 8000",
"inputs": [
"temperature.Value",
"\"Tag 10\".Value",
],
}],
"map": [
{
"inputs": ["*"],
"output": "*",
},
{
"expression": "($1+$2)/2",
"inputs": [
"temperature.Value",
"\"Tag 10\".Value",
],
"output": "AvgTemp.Value",
},
{
"expression": "true",
"inputs": [],
"output": "dataflow-processed",
},
{
"expression": "",
"inputs": ["temperature.SourceTimestamp"],
"output": "",
},
{
"expression": "",
"inputs": ["\"Tag 10\""],
"output": "pressure",
},
{
"expression": "cToF($1)",
"inputs": ["temperature.Value"],
"output": "temperatureF.Value",
},
{
"expression": "scale ($1,0,10,0,100)",
"inputs": ["\"Tag 10\".Value"],
"output": "\"Scale Tag 10\".Value",
},
],
},
"operation_type": azure_native.iotoperations.OperationType.BUILT_IN_TRANSFORMATION,
},
{
"destination_settings": {
"data_destination": "myuniqueeventhub",
"endpoint_ref": "event-hub-endpoint",
},
"name": "destination1",
"operation_type": azure_native.iotoperations.OperationType.DESTINATION,
},
],
},
resource_group_name="rgiotoperations")
resources:
dataflow:
type: azure-native:iotoperations:Dataflow
properties:
dataflowName: aio-to-event-hub-transformed
dataflowProfileName: resource-name123
extendedLocation:
name: qmbrfwcpwwhggszhrdjv
type: CustomLocation
instanceName: resource-name123
properties:
mode: Enabled
operations:
- name: source1
operationType: Source
sourceSettings:
dataSources:
- azure-iot-operations/data/thermostat
endpointRef: aio-builtin-broker-endpoint
- builtInTransformationSettings:
filter:
- expression: $1 > 9000 && $2 >= 8000
inputs:
- temperature.Value
- '"Tag 10".Value'
map:
- inputs:
- '*'
output: '*'
- expression: ($1+$2)/2
inputs:
- temperature.Value
- '"Tag 10".Value'
output: AvgTemp.Value
- expression: 'true'
inputs: []
output: dataflow-processed
- expression: ""
inputs:
- temperature.SourceTimestamp
output: ""
- expression: ""
inputs:
- '"Tag 10"'
output: pressure
- expression: cToF($1)
inputs:
- temperature.Value
output: temperatureF.Value
- expression: scale ($1,0,10,0,100)
inputs:
- '"Tag 10".Value'
output: '"Scale Tag 10".Value'
operationType: BuiltInTransformation
- destinationSettings:
dataDestination: myuniqueeventhub
endpointRef: event-hub-endpoint
name: destination1
operationType: Destination
resourceGroupName: rgiotoperations
Dataflow_CreateOrUpdate_FilterToTopic
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var dataflow = new AzureNative.IoTOperations.Dataflow("dataflow", new()
{
DataflowName = "mqtt-filter-to-topic",
DataflowProfileName = "resource-name123",
ExtendedLocation = new AzureNative.IoTOperations.Inputs.ExtendedLocationArgs
{
Name = "qmbrfwcpwwhggszhrdjv",
Type = AzureNative.IoTOperations.ExtendedLocationType.CustomLocation,
},
InstanceName = "resource-name123",
Properties = new AzureNative.IoTOperations.Inputs.DataflowPropertiesArgs
{
Mode = AzureNative.IoTOperations.OperationalMode.Enabled,
Operations = new[]
{
new AzureNative.IoTOperations.Inputs.DataflowOperationArgs
{
Name = "source1",
OperationType = AzureNative.IoTOperations.OperationType.Source,
SourceSettings = new AzureNative.IoTOperations.Inputs.DataflowSourceOperationSettingsArgs
{
DataSources = new[]
{
"azure-iot-operations/data/thermostat",
},
EndpointRef = "aio-builtin-broker-endpoint",
},
},
new AzureNative.IoTOperations.Inputs.DataflowOperationArgs
{
BuiltInTransformationSettings = new AzureNative.IoTOperations.Inputs.DataflowBuiltInTransformationSettingsArgs
{
Filter = new[]
{
new AzureNative.IoTOperations.Inputs.DataflowBuiltInTransformationFilterArgs
{
Description = "filter-datapoint",
Expression = "$1 > 9000 && $2 >= 8000",
Inputs = new[]
{
"temperature.Value",
"\"Tag 10\".Value",
},
Type = AzureNative.IoTOperations.FilterType.Filter,
},
},
Map = new[]
{
new AzureNative.IoTOperations.Inputs.DataflowBuiltInTransformationMapArgs
{
Inputs = new[]
{
"*",
},
Output = "*",
Type = AzureNative.IoTOperations.DataflowMappingType.PassThrough,
},
},
},
Name = "transformation1",
OperationType = AzureNative.IoTOperations.OperationType.BuiltInTransformation,
},
new AzureNative.IoTOperations.Inputs.DataflowOperationArgs
{
DestinationSettings = new AzureNative.IoTOperations.Inputs.DataflowDestinationOperationSettingsArgs
{
DataDestination = "data/filtered/thermostat",
EndpointRef = "aio-builtin-broker-endpoint",
},
Name = "destination1",
OperationType = AzureNative.IoTOperations.OperationType.Destination,
},
},
},
ResourceGroupName = "rgiotoperations",
});
});
package main
import (
iotoperations "github.com/pulumi/pulumi-azure-native-sdk/iotoperations/v3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := iotoperations.NewDataflow(ctx, "dataflow", &iotoperations.DataflowArgs{
DataflowName: pulumi.String("mqtt-filter-to-topic"),
DataflowProfileName: pulumi.String("resource-name123"),
ExtendedLocation: &iotoperations.ExtendedLocationArgs{
Name: pulumi.String("qmbrfwcpwwhggszhrdjv"),
Type: pulumi.String(iotoperations.ExtendedLocationTypeCustomLocation),
},
InstanceName: pulumi.String("resource-name123"),
Properties: &iotoperations.DataflowPropertiesArgs{
Mode: pulumi.String(iotoperations.OperationalModeEnabled),
Operations: iotoperations.DataflowOperationArray{
&iotoperations.DataflowOperationArgs{
Name: pulumi.String("source1"),
OperationType: pulumi.String(iotoperations.OperationTypeSource),
SourceSettings: &iotoperations.DataflowSourceOperationSettingsArgs{
DataSources: pulumi.StringArray{
pulumi.String("azure-iot-operations/data/thermostat"),
},
EndpointRef: pulumi.String("aio-builtin-broker-endpoint"),
},
},
&iotoperations.DataflowOperationArgs{
BuiltInTransformationSettings: &iotoperations.DataflowBuiltInTransformationSettingsArgs{
Filter: iotoperations.DataflowBuiltInTransformationFilterArray{
&iotoperations.DataflowBuiltInTransformationFilterArgs{
Description: pulumi.String("filter-datapoint"),
Expression: pulumi.String("$1 > 9000 && $2 >= 8000"),
Inputs: pulumi.StringArray{
pulumi.String("temperature.Value"),
pulumi.String("\"Tag 10\".Value"),
},
Type: pulumi.String(iotoperations.FilterTypeFilter),
},
},
Map: iotoperations.DataflowBuiltInTransformationMapArray{
&iotoperations.DataflowBuiltInTransformationMapArgs{
Inputs: pulumi.StringArray{
pulumi.String("*"),
},
Output: pulumi.String("*"),
Type: pulumi.String(iotoperations.DataflowMappingTypePassThrough),
},
},
},
Name: pulumi.String("transformation1"),
OperationType: pulumi.String(iotoperations.OperationTypeBuiltInTransformation),
},
&iotoperations.DataflowOperationArgs{
DestinationSettings: &iotoperations.DataflowDestinationOperationSettingsArgs{
DataDestination: pulumi.String("data/filtered/thermostat"),
EndpointRef: pulumi.String("aio-builtin-broker-endpoint"),
},
Name: pulumi.String("destination1"),
OperationType: pulumi.String(iotoperations.OperationTypeDestination),
},
},
},
ResourceGroupName: pulumi.String("rgiotoperations"),
})
if err != nil {
return err
}
return nil
})
}
terraform {
required_providers {
azure-native = {
source = "pulumi/azure-native"
}
}
}
resource "azure-native_iotoperations_dataflow" "dataflow" {
lifecycle {
create_before_destroy = true
}
dataflow_name = "mqtt-filter-to-topic"
dataflow_profile_name = "resource-name123"
extended_location = {
name = "qmbrfwcpwwhggszhrdjv"
type = "CustomLocation"
}
instance_name = "resource-name123"
properties = {
mode = "Enabled"
operations = [{
name = "source1"
operation_type = "Source"
source_settings = {
data_sources = ["azure-iot-operations/data/thermostat"]
endpoint_ref = "aio-builtin-broker-endpoint"
}
}, {
built_in_transformation_settings = {
filter = [{
description = "filter-datapoint"
expression = "$1 > 9000 && $2 >= 8000"
inputs = ["temperature.Value", "\"Tag 10\".Value"]
type = "Filter"
}]
map = [{
inputs = ["*"]
output = "*"
type = "PassThrough"
}]
}
name = "transformation1"
operation_type = "BuiltInTransformation"
}, {
destination_settings = {
data_destination = "data/filtered/thermostat"
endpoint_ref = "aio-builtin-broker-endpoint"
}
name = "destination1"
operation_type = "Destination"
}]
}
resource_group_name = "rgiotoperations"
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.iotoperations.Dataflow;
import com.pulumi.azurenative.iotoperations.DataflowArgs;
import com.pulumi.azurenative.iotoperations.inputs.ExtendedLocationArgs;
import com.pulumi.azurenative.iotoperations.inputs.DataflowPropertiesArgs;
import com.pulumi.azurenative.iotoperations.inputs.DataflowOperationArgs;
import com.pulumi.azurenative.iotoperations.inputs.DataflowSourceOperationSettingsArgs;
import com.pulumi.azurenative.iotoperations.inputs.DataflowBuiltInTransformationSettingsArgs;
import com.pulumi.azurenative.iotoperations.inputs.DataflowBuiltInTransformationFilterArgs;
import com.pulumi.azurenative.iotoperations.inputs.DataflowBuiltInTransformationMapArgs;
import com.pulumi.azurenative.iotoperations.inputs.DataflowDestinationOperationSettingsArgs;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var dataflow = new Dataflow("dataflow", DataflowArgs.builder()
.dataflowName("mqtt-filter-to-topic")
.dataflowProfileName("resource-name123")
.extendedLocation(ExtendedLocationArgs.builder()
.name("qmbrfwcpwwhggszhrdjv")
.type("CustomLocation")
.build())
.instanceName("resource-name123")
.properties(DataflowPropertiesArgs.builder()
.mode("Enabled")
.operations(
DataflowOperationArgs.builder()
.name("source1")
.operationType("Source")
.sourceSettings(DataflowSourceOperationSettingsArgs.builder()
.dataSources("azure-iot-operations/data/thermostat")
.endpointRef("aio-builtin-broker-endpoint")
.build())
.build(),
DataflowOperationArgs.builder()
.builtInTransformationSettings(DataflowBuiltInTransformationSettingsArgs.builder()
.filter(DataflowBuiltInTransformationFilterArgs.builder()
.description("filter-datapoint")
.expression("$1 > 9000 && $2 >= 8000")
.inputs(
"temperature.Value",
"\"Tag 10\".Value")
.type("Filter")
.build())
.map(DataflowBuiltInTransformationMapArgs.builder()
.inputs("*")
.output("*")
.type("PassThrough")
.build())
.build())
.name("transformation1")
.operationType("BuiltInTransformation")
.build(),
DataflowOperationArgs.builder()
.destinationSettings(DataflowDestinationOperationSettingsArgs.builder()
.dataDestination("data/filtered/thermostat")
.endpointRef("aio-builtin-broker-endpoint")
.build())
.name("destination1")
.operationType("Destination")
.build())
.build())
.resourceGroupName("rgiotoperations")
.build());
}
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const dataflow = new azure_native.iotoperations.Dataflow("dataflow", {
dataflowName: "mqtt-filter-to-topic",
dataflowProfileName: "resource-name123",
extendedLocation: {
name: "qmbrfwcpwwhggszhrdjv",
type: azure_native.iotoperations.ExtendedLocationType.CustomLocation,
},
instanceName: "resource-name123",
properties: {
mode: azure_native.iotoperations.OperationalMode.Enabled,
operations: [
{
name: "source1",
operationType: azure_native.iotoperations.OperationType.Source,
sourceSettings: {
dataSources: ["azure-iot-operations/data/thermostat"],
endpointRef: "aio-builtin-broker-endpoint",
},
},
{
builtInTransformationSettings: {
filter: [{
description: "filter-datapoint",
expression: "$1 > 9000 && $2 >= 8000",
inputs: [
"temperature.Value",
"\"Tag 10\".Value",
],
type: azure_native.iotoperations.FilterType.Filter,
}],
map: [{
inputs: ["*"],
output: "*",
type: azure_native.iotoperations.DataflowMappingType.PassThrough,
}],
},
name: "transformation1",
operationType: azure_native.iotoperations.OperationType.BuiltInTransformation,
},
{
destinationSettings: {
dataDestination: "data/filtered/thermostat",
endpointRef: "aio-builtin-broker-endpoint",
},
name: "destination1",
operationType: azure_native.iotoperations.OperationType.Destination,
},
],
},
resourceGroupName: "rgiotoperations",
});
import pulumi
import pulumi_azure_native as azure_native
dataflow = azure_native.iotoperations.Dataflow("dataflow",
dataflow_name="mqtt-filter-to-topic",
dataflow_profile_name="resource-name123",
extended_location={
"name": "qmbrfwcpwwhggszhrdjv",
"type": azure_native.iotoperations.ExtendedLocationType.CUSTOM_LOCATION,
},
instance_name="resource-name123",
properties={
"mode": azure_native.iotoperations.OperationalMode.ENABLED,
"operations": [
{
"name": "source1",
"operation_type": azure_native.iotoperations.OperationType.SOURCE,
"source_settings": {
"data_sources": ["azure-iot-operations/data/thermostat"],
"endpoint_ref": "aio-builtin-broker-endpoint",
},
},
{
"built_in_transformation_settings": {
"filter": [{
"description": "filter-datapoint",
"expression": "$1 > 9000 && $2 >= 8000",
"inputs": [
"temperature.Value",
"\"Tag 10\".Value",
],
"type": azure_native.iotoperations.FilterType.FILTER,
}],
"map": [{
"inputs": ["*"],
"output": "*",
"type": azure_native.iotoperations.DataflowMappingType.PASS_THROUGH,
}],
},
"name": "transformation1",
"operation_type": azure_native.iotoperations.OperationType.BUILT_IN_TRANSFORMATION,
},
{
"destination_settings": {
"data_destination": "data/filtered/thermostat",
"endpoint_ref": "aio-builtin-broker-endpoint",
},
"name": "destination1",
"operation_type": azure_native.iotoperations.OperationType.DESTINATION,
},
],
},
resource_group_name="rgiotoperations")
resources:
dataflow:
type: azure-native:iotoperations:Dataflow
properties:
dataflowName: mqtt-filter-to-topic
dataflowProfileName: resource-name123
extendedLocation:
name: qmbrfwcpwwhggszhrdjv
type: CustomLocation
instanceName: resource-name123
properties:
mode: Enabled
operations:
- name: source1
operationType: Source
sourceSettings:
dataSources:
- azure-iot-operations/data/thermostat
endpointRef: aio-builtin-broker-endpoint
- builtInTransformationSettings:
filter:
- description: filter-datapoint
expression: $1 > 9000 && $2 >= 8000
inputs:
- temperature.Value
- '"Tag 10".Value'
type: Filter
map:
- inputs:
- '*'
output: '*'
type: PassThrough
name: transformation1
operationType: BuiltInTransformation
- destinationSettings:
dataDestination: data/filtered/thermostat
endpointRef: aio-builtin-broker-endpoint
name: destination1
operationType: Destination
resourceGroupName: rgiotoperations
Dataflow_CreateOrUpdate_SimpleEventGrid
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var dataflow = new AzureNative.IoTOperations.Dataflow("dataflow", new()
{
DataflowName = "aio-to-event-grid",
DataflowProfileName = "resource-name123",
ExtendedLocation = new AzureNative.IoTOperations.Inputs.ExtendedLocationArgs
{
Name = "qmbrfwcpwwhggszhrdjv",
Type = AzureNative.IoTOperations.ExtendedLocationType.CustomLocation,
},
InstanceName = "resource-name123",
Properties = new AzureNative.IoTOperations.Inputs.DataflowPropertiesArgs
{
Mode = AzureNative.IoTOperations.OperationalMode.Enabled,
Operations = new[]
{
new AzureNative.IoTOperations.Inputs.DataflowOperationArgs
{
Name = "source1",
OperationType = AzureNative.IoTOperations.OperationType.Source,
SourceSettings = new AzureNative.IoTOperations.Inputs.DataflowSourceOperationSettingsArgs
{
DataSources = new[]
{
"thermostats/+/telemetry/temperature/#",
},
EndpointRef = "aio-builtin-broker-endpoint",
},
},
new AzureNative.IoTOperations.Inputs.DataflowOperationArgs
{
DestinationSettings = new AzureNative.IoTOperations.Inputs.DataflowDestinationOperationSettingsArgs
{
DataDestination = "factory/telemetry",
EndpointRef = "event-grid-endpoint",
},
Name = "destination1",
OperationType = AzureNative.IoTOperations.OperationType.Destination,
},
},
},
ResourceGroupName = "rgiotoperations",
});
});
package main
import (
iotoperations "github.com/pulumi/pulumi-azure-native-sdk/iotoperations/v3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := iotoperations.NewDataflow(ctx, "dataflow", &iotoperations.DataflowArgs{
DataflowName: pulumi.String("aio-to-event-grid"),
DataflowProfileName: pulumi.String("resource-name123"),
ExtendedLocation: &iotoperations.ExtendedLocationArgs{
Name: pulumi.String("qmbrfwcpwwhggszhrdjv"),
Type: pulumi.String(iotoperations.ExtendedLocationTypeCustomLocation),
},
InstanceName: pulumi.String("resource-name123"),
Properties: &iotoperations.DataflowPropertiesArgs{
Mode: pulumi.String(iotoperations.OperationalModeEnabled),
Operations: iotoperations.DataflowOperationArray{
&iotoperations.DataflowOperationArgs{
Name: pulumi.String("source1"),
OperationType: pulumi.String(iotoperations.OperationTypeSource),
SourceSettings: &iotoperations.DataflowSourceOperationSettingsArgs{
DataSources: pulumi.StringArray{
pulumi.String("thermostats/+/telemetry/temperature/#"),
},
EndpointRef: pulumi.String("aio-builtin-broker-endpoint"),
},
},
&iotoperations.DataflowOperationArgs{
DestinationSettings: &iotoperations.DataflowDestinationOperationSettingsArgs{
DataDestination: pulumi.String("factory/telemetry"),
EndpointRef: pulumi.String("event-grid-endpoint"),
},
Name: pulumi.String("destination1"),
OperationType: pulumi.String(iotoperations.OperationTypeDestination),
},
},
},
ResourceGroupName: pulumi.String("rgiotoperations"),
})
if err != nil {
return err
}
return nil
})
}
terraform {
required_providers {
azure-native = {
source = "pulumi/azure-native"
}
}
}
resource "azure-native_iotoperations_dataflow" "dataflow" {
lifecycle {
create_before_destroy = true
}
dataflow_name = "aio-to-event-grid"
dataflow_profile_name = "resource-name123"
extended_location = {
name = "qmbrfwcpwwhggszhrdjv"
type = "CustomLocation"
}
instance_name = "resource-name123"
properties = {
mode = "Enabled"
operations = [{
name = "source1"
operation_type = "Source"
source_settings = {
data_sources = ["thermostats/+/telemetry/temperature/#"]
endpoint_ref = "aio-builtin-broker-endpoint"
}
}, {
destination_settings = {
data_destination = "factory/telemetry"
endpoint_ref = "event-grid-endpoint"
}
name = "destination1"
operation_type = "Destination"
}]
}
resource_group_name = "rgiotoperations"
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.iotoperations.Dataflow;
import com.pulumi.azurenative.iotoperations.DataflowArgs;
import com.pulumi.azurenative.iotoperations.inputs.ExtendedLocationArgs;
import com.pulumi.azurenative.iotoperations.inputs.DataflowPropertiesArgs;
import com.pulumi.azurenative.iotoperations.inputs.DataflowOperationArgs;
import com.pulumi.azurenative.iotoperations.inputs.DataflowSourceOperationSettingsArgs;
import com.pulumi.azurenative.iotoperations.inputs.DataflowDestinationOperationSettingsArgs;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var dataflow = new Dataflow("dataflow", DataflowArgs.builder()
.dataflowName("aio-to-event-grid")
.dataflowProfileName("resource-name123")
.extendedLocation(ExtendedLocationArgs.builder()
.name("qmbrfwcpwwhggszhrdjv")
.type("CustomLocation")
.build())
.instanceName("resource-name123")
.properties(DataflowPropertiesArgs.builder()
.mode("Enabled")
.operations(
DataflowOperationArgs.builder()
.name("source1")
.operationType("Source")
.sourceSettings(DataflowSourceOperationSettingsArgs.builder()
.dataSources("thermostats/+/telemetry/temperature/#")
.endpointRef("aio-builtin-broker-endpoint")
.build())
.build(),
DataflowOperationArgs.builder()
.destinationSettings(DataflowDestinationOperationSettingsArgs.builder()
.dataDestination("factory/telemetry")
.endpointRef("event-grid-endpoint")
.build())
.name("destination1")
.operationType("Destination")
.build())
.build())
.resourceGroupName("rgiotoperations")
.build());
}
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const dataflow = new azure_native.iotoperations.Dataflow("dataflow", {
dataflowName: "aio-to-event-grid",
dataflowProfileName: "resource-name123",
extendedLocation: {
name: "qmbrfwcpwwhggszhrdjv",
type: azure_native.iotoperations.ExtendedLocationType.CustomLocation,
},
instanceName: "resource-name123",
properties: {
mode: azure_native.iotoperations.OperationalMode.Enabled,
operations: [
{
name: "source1",
operationType: azure_native.iotoperations.OperationType.Source,
sourceSettings: {
dataSources: ["thermostats/+/telemetry/temperature/#"],
endpointRef: "aio-builtin-broker-endpoint",
},
},
{
destinationSettings: {
dataDestination: "factory/telemetry",
endpointRef: "event-grid-endpoint",
},
name: "destination1",
operationType: azure_native.iotoperations.OperationType.Destination,
},
],
},
resourceGroupName: "rgiotoperations",
});
import pulumi
import pulumi_azure_native as azure_native
dataflow = azure_native.iotoperations.Dataflow("dataflow",
dataflow_name="aio-to-event-grid",
dataflow_profile_name="resource-name123",
extended_location={
"name": "qmbrfwcpwwhggszhrdjv",
"type": azure_native.iotoperations.ExtendedLocationType.CUSTOM_LOCATION,
},
instance_name="resource-name123",
properties={
"mode": azure_native.iotoperations.OperationalMode.ENABLED,
"operations": [
{
"name": "source1",
"operation_type": azure_native.iotoperations.OperationType.SOURCE,
"source_settings": {
"data_sources": ["thermostats/+/telemetry/temperature/#"],
"endpoint_ref": "aio-builtin-broker-endpoint",
},
},
{
"destination_settings": {
"data_destination": "factory/telemetry",
"endpoint_ref": "event-grid-endpoint",
},
"name": "destination1",
"operation_type": azure_native.iotoperations.OperationType.DESTINATION,
},
],
},
resource_group_name="rgiotoperations")
resources:
dataflow:
type: azure-native:iotoperations:Dataflow
properties:
dataflowName: aio-to-event-grid
dataflowProfileName: resource-name123
extendedLocation:
name: qmbrfwcpwwhggszhrdjv
type: CustomLocation
instanceName: resource-name123
properties:
mode: Enabled
operations:
- name: source1
operationType: Source
sourceSettings:
dataSources:
- thermostats/+/telemetry/temperature/#
endpointRef: aio-builtin-broker-endpoint
- destinationSettings:
dataDestination: factory/telemetry
endpointRef: event-grid-endpoint
name: destination1
operationType: Destination
resourceGroupName: rgiotoperations
Dataflow_CreateOrUpdate_SimpleFabric
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var dataflow = new AzureNative.IoTOperations.Dataflow("dataflow", new()
{
DataflowName = "aio-to-fabric",
DataflowProfileName = "resource-name123",
ExtendedLocation = new AzureNative.IoTOperations.Inputs.ExtendedLocationArgs
{
Name = "qmbrfwcpwwhggszhrdjv",
Type = AzureNative.IoTOperations.ExtendedLocationType.CustomLocation,
},
InstanceName = "resource-name123",
Properties = new AzureNative.IoTOperations.Inputs.DataflowPropertiesArgs
{
Mode = AzureNative.IoTOperations.OperationalMode.Enabled,
Operations = new[]
{
new AzureNative.IoTOperations.Inputs.DataflowOperationArgs
{
Name = "source1",
OperationType = AzureNative.IoTOperations.OperationType.Source,
SourceSettings = new AzureNative.IoTOperations.Inputs.DataflowSourceOperationSettingsArgs
{
DataSources = new[]
{
"azure-iot-operations/data/thermostat",
},
EndpointRef = "aio-builtin-broker-endpoint",
},
},
new AzureNative.IoTOperations.Inputs.DataflowOperationArgs
{
BuiltInTransformationSettings = new AzureNative.IoTOperations.Inputs.DataflowBuiltInTransformationSettingsArgs
{
SchemaRef = "aio-sr://exampleNamespace/exmapleParquetSchema:1.0.0",
SerializationFormat = AzureNative.IoTOperations.TransformationSerializationFormat.Parquet,
},
OperationType = AzureNative.IoTOperations.OperationType.BuiltInTransformation,
},
new AzureNative.IoTOperations.Inputs.DataflowOperationArgs
{
DestinationSettings = new AzureNative.IoTOperations.Inputs.DataflowDestinationOperationSettingsArgs
{
DataDestination = "telemetryTable",
EndpointRef = "fabric-endpoint",
},
Name = "destination1",
OperationType = AzureNative.IoTOperations.OperationType.Destination,
},
},
},
ResourceGroupName = "rgiotoperations",
});
});
package main
import (
iotoperations "github.com/pulumi/pulumi-azure-native-sdk/iotoperations/v3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := iotoperations.NewDataflow(ctx, "dataflow", &iotoperations.DataflowArgs{
DataflowName: pulumi.String("aio-to-fabric"),
DataflowProfileName: pulumi.String("resource-name123"),
ExtendedLocation: &iotoperations.ExtendedLocationArgs{
Name: pulumi.String("qmbrfwcpwwhggszhrdjv"),
Type: pulumi.String(iotoperations.ExtendedLocationTypeCustomLocation),
},
InstanceName: pulumi.String("resource-name123"),
Properties: &iotoperations.DataflowPropertiesArgs{
Mode: pulumi.String(iotoperations.OperationalModeEnabled),
Operations: iotoperations.DataflowOperationArray{
&iotoperations.DataflowOperationArgs{
Name: pulumi.String("source1"),
OperationType: pulumi.String(iotoperations.OperationTypeSource),
SourceSettings: &iotoperations.DataflowSourceOperationSettingsArgs{
DataSources: pulumi.StringArray{
pulumi.String("azure-iot-operations/data/thermostat"),
},
EndpointRef: pulumi.String("aio-builtin-broker-endpoint"),
},
},
&iotoperations.DataflowOperationArgs{
BuiltInTransformationSettings: &iotoperations.DataflowBuiltInTransformationSettingsArgs{
SchemaRef: pulumi.String("aio-sr://exampleNamespace/exmapleParquetSchema:1.0.0"),
SerializationFormat: pulumi.String(iotoperations.TransformationSerializationFormatParquet),
},
OperationType: pulumi.String(iotoperations.OperationTypeBuiltInTransformation),
},
&iotoperations.DataflowOperationArgs{
DestinationSettings: &iotoperations.DataflowDestinationOperationSettingsArgs{
DataDestination: pulumi.String("telemetryTable"),
EndpointRef: pulumi.String("fabric-endpoint"),
},
Name: pulumi.String("destination1"),
OperationType: pulumi.String(iotoperations.OperationTypeDestination),
},
},
},
ResourceGroupName: pulumi.String("rgiotoperations"),
})
if err != nil {
return err
}
return nil
})
}
terraform {
required_providers {
azure-native = {
source = "pulumi/azure-native"
}
}
}
resource "azure-native_iotoperations_dataflow" "dataflow" {
lifecycle {
create_before_destroy = true
}
dataflow_name = "aio-to-fabric"
dataflow_profile_name = "resource-name123"
extended_location = {
name = "qmbrfwcpwwhggszhrdjv"
type = "CustomLocation"
}
instance_name = "resource-name123"
properties = {
mode = "Enabled"
operations = [{
name = "source1"
operation_type = "Source"
source_settings = {
data_sources = ["azure-iot-operations/data/thermostat"]
endpoint_ref = "aio-builtin-broker-endpoint"
}
}, {
built_in_transformation_settings = {
schema_ref = "aio-sr://exampleNamespace/exmapleParquetSchema:1.0.0"
serialization_format = "Parquet"
}
operation_type = "BuiltInTransformation"
}, {
destination_settings = {
data_destination = "telemetryTable"
endpoint_ref = "fabric-endpoint"
}
name = "destination1"
operation_type = "Destination"
}]
}
resource_group_name = "rgiotoperations"
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.iotoperations.Dataflow;
import com.pulumi.azurenative.iotoperations.DataflowArgs;
import com.pulumi.azurenative.iotoperations.inputs.ExtendedLocationArgs;
import com.pulumi.azurenative.iotoperations.inputs.DataflowPropertiesArgs;
import com.pulumi.azurenative.iotoperations.inputs.DataflowOperationArgs;
import com.pulumi.azurenative.iotoperations.inputs.DataflowSourceOperationSettingsArgs;
import com.pulumi.azurenative.iotoperations.inputs.DataflowBuiltInTransformationSettingsArgs;
import com.pulumi.azurenative.iotoperations.inputs.DataflowDestinationOperationSettingsArgs;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var dataflow = new Dataflow("dataflow", DataflowArgs.builder()
.dataflowName("aio-to-fabric")
.dataflowProfileName("resource-name123")
.extendedLocation(ExtendedLocationArgs.builder()
.name("qmbrfwcpwwhggszhrdjv")
.type("CustomLocation")
.build())
.instanceName("resource-name123")
.properties(DataflowPropertiesArgs.builder()
.mode("Enabled")
.operations(
DataflowOperationArgs.builder()
.name("source1")
.operationType("Source")
.sourceSettings(DataflowSourceOperationSettingsArgs.builder()
.dataSources("azure-iot-operations/data/thermostat")
.endpointRef("aio-builtin-broker-endpoint")
.build())
.build(),
DataflowOperationArgs.builder()
.builtInTransformationSettings(DataflowBuiltInTransformationSettingsArgs.builder()
.schemaRef("aio-sr://exampleNamespace/exmapleParquetSchema:1.0.0")
.serializationFormat("Parquet")
.build())
.operationType("BuiltInTransformation")
.build(),
DataflowOperationArgs.builder()
.destinationSettings(DataflowDestinationOperationSettingsArgs.builder()
.dataDestination("telemetryTable")
.endpointRef("fabric-endpoint")
.build())
.name("destination1")
.operationType("Destination")
.build())
.build())
.resourceGroupName("rgiotoperations")
.build());
}
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const dataflow = new azure_native.iotoperations.Dataflow("dataflow", {
dataflowName: "aio-to-fabric",
dataflowProfileName: "resource-name123",
extendedLocation: {
name: "qmbrfwcpwwhggszhrdjv",
type: azure_native.iotoperations.ExtendedLocationType.CustomLocation,
},
instanceName: "resource-name123",
properties: {
mode: azure_native.iotoperations.OperationalMode.Enabled,
operations: [
{
name: "source1",
operationType: azure_native.iotoperations.OperationType.Source,
sourceSettings: {
dataSources: ["azure-iot-operations/data/thermostat"],
endpointRef: "aio-builtin-broker-endpoint",
},
},
{
builtInTransformationSettings: {
schemaRef: "aio-sr://exampleNamespace/exmapleParquetSchema:1.0.0",
serializationFormat: azure_native.iotoperations.TransformationSerializationFormat.Parquet,
},
operationType: azure_native.iotoperations.OperationType.BuiltInTransformation,
},
{
destinationSettings: {
dataDestination: "telemetryTable",
endpointRef: "fabric-endpoint",
},
name: "destination1",
operationType: azure_native.iotoperations.OperationType.Destination,
},
],
},
resourceGroupName: "rgiotoperations",
});
import pulumi
import pulumi_azure_native as azure_native
dataflow = azure_native.iotoperations.Dataflow("dataflow",
dataflow_name="aio-to-fabric",
dataflow_profile_name="resource-name123",
extended_location={
"name": "qmbrfwcpwwhggszhrdjv",
"type": azure_native.iotoperations.ExtendedLocationType.CUSTOM_LOCATION,
},
instance_name="resource-name123",
properties={
"mode": azure_native.iotoperations.OperationalMode.ENABLED,
"operations": [
{
"name": "source1",
"operation_type": azure_native.iotoperations.OperationType.SOURCE,
"source_settings": {
"data_sources": ["azure-iot-operations/data/thermostat"],
"endpoint_ref": "aio-builtin-broker-endpoint",
},
},
{
"built_in_transformation_settings": {
"schema_ref": "aio-sr://exampleNamespace/exmapleParquetSchema:1.0.0",
"serialization_format": azure_native.iotoperations.TransformationSerializationFormat.PARQUET,
},
"operation_type": azure_native.iotoperations.OperationType.BUILT_IN_TRANSFORMATION,
},
{
"destination_settings": {
"data_destination": "telemetryTable",
"endpoint_ref": "fabric-endpoint",
},
"name": "destination1",
"operation_type": azure_native.iotoperations.OperationType.DESTINATION,
},
],
},
resource_group_name="rgiotoperations")
resources:
dataflow:
type: azure-native:iotoperations:Dataflow
properties:
dataflowName: aio-to-fabric
dataflowProfileName: resource-name123
extendedLocation:
name: qmbrfwcpwwhggszhrdjv
type: CustomLocation
instanceName: resource-name123
properties:
mode: Enabled
operations:
- name: source1
operationType: Source
sourceSettings:
dataSources:
- azure-iot-operations/data/thermostat
endpointRef: aio-builtin-broker-endpoint
- builtInTransformationSettings:
schemaRef: aio-sr://exampleNamespace/exmapleParquetSchema:1.0.0
serializationFormat: Parquet
operationType: BuiltInTransformation
- destinationSettings:
dataDestination: telemetryTable
endpointRef: fabric-endpoint
name: destination1
operationType: Destination
resourceGroupName: rgiotoperations
Create Dataflow Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
@overload
def Dataflow(resource_name: str,
args: DataflowArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Dataflow(resource_name: str,
opts: Optional[ResourceOptions] = None,
dataflow_profile_name: Optional[str] = None,
extended_location: Optional[ExtendedLocationArgs] = None,
instance_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
dataflow_name: Optional[str] = None,
properties: Optional[DataflowPropertiesArgs] = None)
public Dataflow(String name, DataflowArgs args)
public Dataflow(String name, DataflowArgs args, CustomResourceOptions options)
type: azure-native:iotoperations:Dataflow
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "azure-native_iotoperations_dataflow" "name" {
# resource properties
}
Parameters
- name
string
- The unique name of the resource.
- args
DataflowArgs
- The arguments to resource properties.
- opts
CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name
str
- The unique name of the resource.
- args
DataflowArgs
- The arguments to resource properties.
- opts
ResourceOptions
- Bag of options to control resource's behavior.
- ctx
Context
- Context object for the current deployment.
- name
string
- The unique name of the resource.
- args
DataflowArgs
- The arguments to resource properties.
- opts
ResourceOption
- Bag of options to control resource's behavior.
- name
string
- The unique name of the resource.
- args
DataflowArgs
- The arguments to resource properties.
- opts
CustomResourceOptions
- Bag of options to control resource's behavior.
- name
String
- The unique name of the resource.
- args
DataflowArgs
- The arguments to resource properties.
- options
CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var dataflowResource = new AzureNative.IoTOperations.Dataflow("dataflowResource", new()
{
DataflowProfileName = "string",
ExtendedLocation = new AzureNative.IoTOperations.Inputs.ExtendedLocationArgs
{
Name = "string",
Type = "string",
},
InstanceName = "string",
ResourceGroupName = "string",
DataflowName = "string",
Properties = new AzureNative.IoTOperations.Inputs.DataflowPropertiesArgs
{
Operations = new[]
{
new AzureNative.IoTOperations.Inputs.DataflowOperationArgs
{
OperationType = "string",
BuiltInTransformationSettings = new AzureNative.IoTOperations.Inputs.DataflowBuiltInTransformationSettingsArgs
{
Datasets = new[]
{
new AzureNative.IoTOperations.Inputs.DataflowBuiltInTransformationDatasetArgs
{
Inputs = new[]
{
"string",
},
Key = "string",
Description = "string",
Expression = "string",
SchemaRef = "string",
},
},
Filter = new[]
{
new AzureNative.IoTOperations.Inputs.DataflowBuiltInTransformationFilterArgs
{
Expression = "string",
Inputs = new[]
{
"string",
},
Description = "string",
Type = "string",
},
},
Map = new[]
{
new AzureNative.IoTOperations.Inputs.DataflowBuiltInTransformationMapArgs
{
Inputs = new[]
{
"string",
},
Output = "string",
Description = "string",
Expression = "string",
Type = "string",
},
},
SchemaRef = "string",
SerializationFormat = "string",
},
DestinationSettings = new AzureNative.IoTOperations.Inputs.DataflowDestinationOperationSettingsArgs
{
DataDestination = "string",
EndpointRef = "string",
},
Name = "string",
SourceSettings = new AzureNative.IoTOperations.Inputs.DataflowSourceOperationSettingsArgs
{
DataSources = new[]
{
"string",
},
EndpointRef = "string",
AssetRef = "string",
SchemaRef = "string",
SerializationFormat = "string",
},
},
},
Mode = "string",
},
});
example, err := iotoperations.NewDataflow(ctx, "dataflowResource", &iotoperations.DataflowArgs{
DataflowProfileName: pulumi.String("string"),
ExtendedLocation: &iotoperations.ExtendedLocationArgs{
Name: pulumi.String("string"),
Type: pulumi.String("string"),
},
InstanceName: pulumi.String("string"),
ResourceGroupName: pulumi.String("string"),
DataflowName: pulumi.String("string"),
Properties: &iotoperations.DataflowPropertiesArgs{
Operations: iotoperations.DataflowOperationArray{
&iotoperations.DataflowOperationArgs{
OperationType: pulumi.String("string"),
BuiltInTransformationSettings: &iotoperations.DataflowBuiltInTransformationSettingsArgs{
Datasets: iotoperations.DataflowBuiltInTransformationDatasetArray{
&iotoperations.DataflowBuiltInTransformationDatasetArgs{
Inputs: pulumi.StringArray{
pulumi.String("string"),
},
Key: pulumi.String("string"),
Description: pulumi.String("string"),
Expression: pulumi.String("string"),
SchemaRef: pulumi.String("string"),
},
},
Filter: iotoperations.DataflowBuiltInTransformationFilterArray{
&iotoperations.DataflowBuiltInTransformationFilterArgs{
Expression: pulumi.String("string"),
Inputs: pulumi.StringArray{
pulumi.String("string"),
},
Description: pulumi.String("string"),
Type: pulumi.String("string"),
},
},
Map: iotoperations.DataflowBuiltInTransformationMapArray{
&iotoperations.DataflowBuiltInTransformationMapArgs{
Inputs: pulumi.StringArray{
pulumi.String("string"),
},
Output: pulumi.String("string"),
Description: pulumi.String("string"),
Expression: pulumi.String("string"),
Type: pulumi.String("string"),
},
},
SchemaRef: pulumi.String("string"),
SerializationFormat: pulumi.String("string"),
},
DestinationSettings: &iotoperations.DataflowDestinationOperationSettingsArgs{
DataDestination: pulumi.String("string"),
EndpointRef: pulumi.String("string"),
},
Name: pulumi.String("string"),
SourceSettings: &iotoperations.DataflowSourceOperationSettingsArgs{
DataSources: pulumi.StringArray{
pulumi.String("string"),
},
EndpointRef: pulumi.String("string"),
AssetRef: pulumi.String("string"),
SchemaRef: pulumi.String("string"),
SerializationFormat: pulumi.String("string"),
},
},
},
Mode: pulumi.String("string"),
},
})
resource "azure-native_iotoperations_dataflow" "dataflowResource" {
lifecycle {
create_before_destroy = true
}
dataflow_profile_name = "string"
extended_location = {
name = "string"
type = "string"
}
instance_name = "string"
resource_group_name = "string"
dataflow_name = "string"
properties = {
operations = [{
operation_type = "string"
built_in_transformation_settings = {
datasets = [{
inputs = ["string"]
key = "string"
description = "string"
expression = "string"
schema_ref = "string"
}]
filter = [{
expression = "string"
inputs = ["string"]
description = "string"
type = "string"
}]
map = [{
inputs = ["string"]
output = "string"
description = "string"
expression = "string"
type = "string"
}]
schema_ref = "string"
serialization_format = "string"
}
destination_settings = {
data_destination = "string"
endpoint_ref = "string"
}
name = "string"
source_settings = {
data_sources = ["string"]
endpoint_ref = "string"
asset_ref = "string"
schema_ref = "string"
serialization_format = "string"
}
}]
mode = "string"
}
}
var dataflowResource = new Dataflow("dataflowResource", DataflowArgs.builder()
.dataflowProfileName("string")
.extendedLocation(com.pulumi.azurenative.iotoperations.inputs.ExtendedLocationArgs.builder()
.name("string")
.type("string")
.build())
.instanceName("string")
.resourceGroupName("string")
.dataflowName("string")
.properties(DataflowPropertiesArgs.builder()
.operations(DataflowOperationArgs.builder()
.operationType("string")
.builtInTransformationSettings(DataflowBuiltInTransformationSettingsArgs.builder()
.datasets(DataflowBuiltInTransformationDatasetArgs.builder()
.inputs("string")
.key("string")
.description("string")
.expression("string")
.schemaRef("string")
.build())
.filter(DataflowBuiltInTransformationFilterArgs.builder()
.expression("string")
.inputs("string")
.description("string")
.type("string")
.build())
.map(DataflowBuiltInTransformationMapArgs.builder()
.inputs("string")
.output("string")
.description("string")
.expression("string")
.type("string")
.build())
.schemaRef("string")
.serializationFormat("string")
.build())
.destinationSettings(DataflowDestinationOperationSettingsArgs.builder()
.dataDestination("string")
.endpointRef("string")
.build())
.name("string")
.sourceSettings(DataflowSourceOperationSettingsArgs.builder()
.dataSources("string")
.endpointRef("string")
.assetRef("string")
.schemaRef("string")
.serializationFormat("string")
.build())
.build())
.mode("string")
.build())
.build());
dataflow_resource = azure_native.iotoperations.Dataflow("dataflowResource",
dataflow_profile_name="string",
extended_location={
"name": "string",
"type": "string",
},
instance_name="string",
resource_group_name="string",
dataflow_name="string",
properties={
"operations": [{
"operation_type": "string",
"built_in_transformation_settings": {
"datasets": [{
"inputs": ["string"],
"key": "string",
"description": "string",
"expression": "string",
"schema_ref": "string",
}],
"filter": [{
"expression": "string",
"inputs": ["string"],
"description": "string",
"type": "string",
}],
"map": [{
"inputs": ["string"],
"output": "string",
"description": "string",
"expression": "string",
"type": "string",
}],
"schema_ref": "string",
"serialization_format": "string",
},
"destination_settings": {
"data_destination": "string",
"endpoint_ref": "string",
},
"name": "string",
"source_settings": {
"data_sources": ["string"],
"endpoint_ref": "string",
"asset_ref": "string",
"schema_ref": "string",
"serialization_format": "string",
},
}],
"mode": "string",
})
const dataflowResource = new azure_native.iotoperations.Dataflow("dataflowResource", {
dataflowProfileName: "string",
extendedLocation: {
name: "string",
type: "string",
},
instanceName: "string",
resourceGroupName: "string",
dataflowName: "string",
properties: {
operations: [{
operationType: "string",
builtInTransformationSettings: {
datasets: [{
inputs: ["string"],
key: "string",
description: "string",
expression: "string",
schemaRef: "string",
}],
filter: [{
expression: "string",
inputs: ["string"],
description: "string",
type: "string",
}],
map: [{
inputs: ["string"],
output: "string",
description: "string",
expression: "string",
type: "string",
}],
schemaRef: "string",
serializationFormat: "string",
},
destinationSettings: {
dataDestination: "string",
endpointRef: "string",
},
name: "string",
sourceSettings: {
dataSources: ["string"],
endpointRef: "string",
assetRef: "string",
schemaRef: "string",
serializationFormat: "string",
},
}],
mode: "string",
},
});
type: azure-native:iotoperations:Dataflow
properties:
dataflowName: string
dataflowProfileName: string
extendedLocation:
name: string
type: string
instanceName: string
properties:
mode: string
operations:
- builtInTransformationSettings:
datasets:
- description: string
expression: string
inputs:
- string
key: string
schemaRef: string
filter:
- description: string
expression: string
inputs:
- string
type: string
map:
- description: string
expression: string
inputs:
- string
output: string
type: string
schemaRef: string
serializationFormat: string
destinationSettings:
dataDestination: string
endpointRef: string
name: string
operationType: string
sourceSettings:
assetRef: string
dataSources:
- string
endpointRef: string
schemaRef: string
serializationFormat: string
resourceGroupName: string
Dataflow Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Dataflow resource accepts the following input properties:
Outputs
All input properties are implicitly available as output properties. Additionally, the Dataflow resource produces the following output properties:
- AzureApiVersion
string
- The Azure API version of the resource.
- Id
string
- The provider-assigned unique ID for this managed resource.
- Name
string
- The name of the resource
- SystemData
SystemDataResponse
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type
string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- azure_api_version
string
- The Azure API version of the resource.
- id
string
- The provider-assigned unique ID for this managed resource.
- name
string
- The name of the resource
- system_data
object
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type
string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- azureApiVersion
String
- The Azure API version of the resource.
- id
String
- The provider-assigned unique ID for this managed resource.
- name
String
- The name of the resource
- systemData
SystemDataResponse
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type
String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- azureApiVersion
string
- The Azure API version of the resource.
- id
string
- The provider-assigned unique ID for this managed resource.
- name
string
- The name of the resource
- systemData
SystemDataResponse
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type
string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- azure_api_version
str
- The Azure API version of the resource.
- id
str
- The provider-assigned unique ID for this managed resource.
- name
str
- The name of the resource
- system_data
SystemDataResponse
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type
str
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- azureApiVersion
String
- The Azure API version of the resource.
- id
String
- The provider-assigned unique ID for this managed resource.
- name
String
- The name of the resource
- systemData
Property Map
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type
String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
Look up Existing Dataflow Resource
Get an existing Dataflow resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static Dataflow get(String name, Output<String> id, CustomResourceOptions options)
resources: existingDataflow: type: azure-native:iotoperations:Dataflow get: id: ${id}
import {
to = azure-native_iotoperations_dataflow.example
id = "${id}"
}
- name
string
- The unique name of the resulting resource.
- id
Input<ID>
- The unique provider ID of the resource to look up.
- opts
CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name
str
- The unique name of the resulting resource.
- id
str
- The unique provider ID of the resource to look up.
- opts
ResourceOptions
- Bag of options to control resource's behavior.
- ctx
Context
- Context object for the current deployment.
- name
string
- The unique name of the resulting resource.
- id
IDInput
- The unique provider ID of the resource to look up.
- state
DataflowState
- Pass nil. This resource has no state arguments.
- opts
ResourceOption
- Bag of options to control resource's behavior.
- name
string
- The unique name of the resulting resource.
- id
Input<string>
- The unique provider ID of the resource to look up.
- opts
CustomResourceOptions
- Bag of options to control resource's behavior.
- name
String
- The unique name of the resulting resource.
- id
Output<String>
- The unique provider ID of the resource to look up.
- options
CustomResourceOptions
- Bag of options to control resource's behavior.
Supporting Types
Dataflow BuiltIn Transformation dataset properties
- Inputs
List<string>
- List of fields for enriching from the Broker State Store.
- Key
string
- The key of the dataset.
- Description
string
- A user provided optional description of the dataset.
- Expression
string
- Condition to enrich data from Broker State Store. Example: $1 < 0 || $1 > $2 (Assuming inputs section $1 and $2 are provided)
- SchemaRef
string
- The reference to the schema that describes the dataset. Allowed: JSON Schema/draft-7.
- Inputs
[]string
- List of fields for enriching from the Broker State Store.
- Key
string
- The key of the dataset.
- Description
string
- A user provided optional description of the dataset.
- Expression
string
- Condition to enrich data from Broker State Store. Example: $1 < 0 || $1 > $2 (Assuming inputs section $1 and $2 are provided)
- SchemaRef
string
- The reference to the schema that describes the dataset. Allowed: JSON Schema/draft-7.
- inputs
list(string)
- List of fields for enriching from the Broker State Store.
- key
string
- The key of the dataset.
- description
string
- A user provided optional description of the dataset.
- expression
string
- Condition to enrich data from Broker State Store. Example: $1 < 0 || $1 > $2 (Assuming inputs section $1 and $2 are provided)
- schema_ref
string
- The reference to the schema that describes the dataset. Allowed: JSON Schema/draft-7.
- inputs
List<String>
- List of fields for enriching from the Broker State Store.
- key
String
- The key of the dataset.
- description
String
- A user provided optional description of the dataset.
- expression
String
- Condition to enrich data from Broker State Store. Example: $1 < 0 || $1 > $2 (Assuming inputs section $1 and $2 are provided)
- schemaRef
String
- The reference to the schema that describes the dataset. Allowed: JSON Schema/draft-7.
- inputs
string[]
- List of fields for enriching from the Broker State Store.
- key
string
- The key of the dataset.
- description
string
- A user provided optional description of the dataset.
- expression
string
- Condition to enrich data from Broker State Store. Example: $1 < 0 || $1 > $2 (Assuming inputs section $1 and $2 are provided)
- schemaRef
string
- The reference to the schema that describes the dataset. Allowed: JSON Schema/draft-7.
- inputs
Sequence[str]
- List of fields for enriching from the Broker State Store.
- key
str
- The key of the dataset.
- description
str
- A user provided optional description of the dataset.
- expression
str
- Condition to enrich data from Broker State Store. Example: $1 < 0 || $1 > $2 (Assuming inputs section $1 and $2 are provided)
- schema_ref
str
- The reference to the schema that describes the dataset. Allowed: JSON Schema/draft-7.
- inputs
List<String>
- List of fields for enriching from the Broker State Store.
- key
String
- The key of the dataset.
- description
String
- A user provided optional description of the dataset.
- expression
String
- Condition to enrich data from Broker State Store. Example: $1 < 0 || $1 > $2 (Assuming inputs section $1 and $2 are provided)
- schemaRef
String
- The reference to the schema that describes the dataset. Allowed: JSON Schema/draft-7.
Dataflow BuiltIn Transformation dataset properties
- Inputs
List<string>
- List of fields for enriching from the Broker State Store.
- Key
string
- The key of the dataset.
- Description
string
- A user provided optional description of the dataset.
- Expression
string
- Condition to enrich data from Broker State Store. Example: $1 < 0 || $1 > $2 (Assuming inputs section $1 and $2 are provided)
- SchemaRef
string
- The reference to the schema that describes the dataset. Allowed: JSON Schema/draft-7.
- Inputs
[]string
- List of fields for enriching from the Broker State Store.
- Key
string
- The key of the dataset.
- Description
string
- A user provided optional description of the dataset.
- Expression
string
- Condition to enrich data from Broker State Store. Example: $1 < 0 || $1 > $2 (Assuming inputs section $1 and $2 are provided)
- SchemaRef
string
- The reference to the schema that describes the dataset. Allowed: JSON Schema/draft-7.
- inputs
list(string)
- List of fields for enriching from the Broker State Store.
- key
string
- The key of the dataset.
- description
string
- A user provided optional description of the dataset.
- expression
string
- Condition to enrich data from Broker State Store. Example: $1 < 0 || $1 > $2 (Assuming inputs section $1 and $2 are provided)
- schema_ref
string
- The reference to the schema that describes the dataset. Allowed: JSON Schema/draft-7.
- inputs
List<String>
- List of fields for enriching from the Broker State Store.
- key
String
- The key of the dataset.
- description
String
- A user provided optional description of the dataset.
- expression
String
- Condition to enrich data from Broker State Store. Example: $1 < 0 || $1 > $2 (Assuming inputs section $1 and $2 are provided)
- schemaRef
String
- The reference to the schema that describes the dataset. Allowed: JSON Schema/draft-7.
- inputs
string[]
- List of fields for enriching from the Broker State Store.
- key
string
- The key of the dataset.
- description
string
- A user provided optional description of the dataset.
- expression
string
- Condition to enrich data from Broker State Store. Example: $1 < 0 || $1 > $2 (Assuming inputs section $1 and $2 are provided)
- schemaRef
string
- The reference to the schema that describes the dataset. Allowed: JSON Schema/draft-7.
- inputs
Sequence[str]
- List of fields for enriching from the Broker State Store.
- key
str
- The key of the dataset.
- description
str
- A user provided optional description of the dataset.
- expression
str
- Condition to enrich data from Broker State Store. Example: $1 < 0 || $1 > $2 (Assuming inputs section $1 and $2 are provided)
- schema_ref
str
- The reference to the schema that describes the dataset. Allowed: JSON Schema/draft-7.
- inputs
List<String>
- List of fields for enriching from the Broker State Store.
- key
String
- The key of the dataset.
- description
String
- A user provided optional description of the dataset.
- expression
String
- Condition to enrich data from Broker State Store. Example: $1 < 0 || $1 > $2 (Assuming inputs section $1 and $2 are provided)
- schemaRef
String
- The reference to the schema that describes the dataset. Allowed: JSON Schema/draft-7.
Dataflow BuiltIn Transformation filter properties
- Expression
string
- Condition to filter data. Can reference input fields with {n} where n is the index of the input field starting from 1. Example: $1 < 0 || $1 > $2 (Assuming inputs section $1 and $2 are provided)
- Inputs
List<string>
- List of fields for filtering in JSON path expression.
- Description
string
- A user provided optional description of the filter.
- Type
string | Pulumi.AzureNative.IoTOperations.FilterType
- The type of dataflow operation.
- Expression
string
- Condition to filter data. Can reference input fields with {n} where n is the index of the input field starting from 1. Example: $1 < 0 || $1 > $2 (Assuming inputs section $1 and $2 are provided)
- Inputs
[]string
- List of fields for filtering in JSON path expression.
- Description
string
- A user provided optional description of the filter.
- Type
string | FilterType
- The type of dataflow operation.
- expression
string
- Condition to filter data. Can reference input fields with {n} where n is the index of the input field starting from 1. Example: $1 < 0 || $1 > $2 (Assuming inputs section $1 and $2 are provided)
- inputs
list(string)
- List of fields for filtering in JSON path expression.
- description
string
- A user provided optional description of the filter.
- type
string | "Filter"
- The type of dataflow operation.
- expression
String
- Condition to filter data. Can reference input fields with {n} where n is the index of the input field starting from 1. Example: $1 < 0 || $1 > $2 (Assuming inputs section $1 and $2 are provided)
- inputs
List<String>
- List of fields for filtering in JSON path expression.
- description
String
- A user provided optional description of the filter.
- type
String | FilterType
- The type of dataflow operation.
- expression
string
- Condition to filter data. Can reference input fields with {n} where n is the index of the input field starting from 1. Example: $1 < 0 || $1 > $2 (Assuming inputs section $1 and $2 are provided)
- inputs
string[]
- List of fields for filtering in JSON path expression.
- description
string
- A user provided optional description of the filter.
- type
string | FilterType
- The type of dataflow operation.
- expression
str
- Condition to filter data. Can reference input fields with {n} where n is the index of the input field starting from 1. Example: $1 < 0 || $1 > $2 (Assuming inputs section $1 and $2 are provided)
- inputs
Sequence[str]
- List of fields for filtering in JSON path expression.
- description
str
- A user provided optional description of the filter.
- type
str | FilterType
- The type of dataflow operation.
- expression
String
- Condition to filter data. Can reference input fields with {n} where n is the index of the input field starting from 1. Example: $1 < 0 || $1 > $2 (Assuming inputs section $1 and $2 are provided)
- inputs
List<String>
- List of fields for filtering in JSON path expression.
- description
String
- A user provided optional description of the filter.
- type
String | "Filter"
- The type of dataflow operation.
Dataflow BuiltIn Transformation filter properties
- Expression
string
- Condition to filter data. Can reference input fields with {n} where n is the index of the input field starting from 1. Example: $1 < 0 || $1 > $2 (Assuming inputs section $1 and $2 are provided)
- Inputs
List<string>
- List of fields for filtering in JSON path expression.
- Description
string
- A user provided optional description of the filter.
- Type
string
- The type of dataflow operation.
- Expression
string
- Condition to filter data. Can reference input fields with {n} where n is the index of the input field starting from 1. Example: $1 < 0 || $1 > $2 (Assuming inputs section $1 and $2 are provided)
- Inputs
[]string
- List of fields for filtering in JSON path expression.
- Description
string
- A user provided optional description of the filter.
- Type
string
- The type of dataflow operation.
- expression
string
- Condition to filter data. Can reference input fields with {n} where n is the index of the input field starting from 1. Example: $1 < 0 || $1 > $2 (Assuming inputs section $1 and $2 are provided)
- inputs
list(string)
- List of fields for filtering in JSON path expression.
- description
string
- A user provided optional description of the filter.
- type
string
- The type of dataflow operation.
- expression
String
- Condition to filter data. Can reference input fields with {n} where n is the index of the input field starting from 1. Example: $1 < 0 || $1 > $2 (Assuming inputs section $1 and $2 are provided)
- inputs
List<String>
- List of fields for filtering in JSON path expression.
- description
String
- A user provided optional description of the filter.
- type
String
- The type of dataflow operation.
- expression
string
- Condition to filter data. Can reference input fields with {n} where n is the index of the input field starting from 1. Example: $1 < 0 || $1 > $2 (Assuming inputs section $1 and $2 are provided)
- inputs
string[]
- List of fields for filtering in JSON path expression.
- description
string
- A user provided optional description of the filter.
- type
string
- The type of dataflow operation.
- expression
str
- Condition to filter data. Can reference input fields with {n} where n is the index of the input field starting from 1. Example: $1 < 0 || $1 > $2 (Assuming inputs section $1 and $2 are provided)
- inputs
Sequence[str]
- List of fields for filtering in JSON path expression.
- description
str
- A user provided optional description of the filter.
- type
str
- The type of dataflow operation.
- expression
String
- Condition to filter data. Can reference input fields with {n} where n is the index of the input field starting from 1. Example: $1 < 0 || $1 > $2 (Assuming inputs section $1 and $2 are provided)
- inputs
List<String>
- List of fields for filtering in JSON path expression.
- description
String
- A user provided optional description of the filter.
- type
String
- The type of dataflow operation.
Dataflow BuiltIn Transformation map properties
- Inputs
List<string>
- List of fields for mapping in JSON path expression.
- Output
string
- Where and how the input fields to be organized in the output record.
- Description
string
- A user provided optional description of the mapping function.
- Expression
string
- Modify the inputs field(s) to the final output field. Example: $1 * 2.2 (Assuming inputs section $1 is provided)
- Type
string | Pulumi.AzureNative.IoTOperations.DataflowMappingType
- Type of transformation.
- Inputs
[]string
- List of fields for mapping in JSON path expression.
- Output
string
- Where and how the input fields to be organized in the output record.
- Description
string
- A user provided optional description of the mapping function.
- Expression
string
- Modify the inputs field(s) to the final output field. Example: $1 * 2.2 (Assuming inputs section $1 is provided)
- Type
string | DataflowMappingType
- Type of transformation.
- inputs
List<String>
- List of fields for mapping in JSON path expression.
- output
String
- Where and how the input fields to be organized in the output record.
- description
String
- A user provided optional description of the mapping function.
- expression
String
- Modify the inputs field(s) to the final output field. Example: $1 * 2.2 (Assuming inputs section $1 is provided)
- type
String | DataflowMappingType
- Type of transformation.
- inputs
string[]
- List of fields for mapping in JSON path expression.
- output
string
- Where and how the input fields to be organized in the output record.
- description
string
- A user provided optional description of the mapping function.
- expression
string
- Modify the inputs field(s) to the final output field. Example: $1 * 2.2 (Assuming inputs section $1 is provided)
- type
string | DataflowMappingType
- Type of transformation.
- inputs
Sequence[str]
- List of fields for mapping in JSON path expression.
- output
str
- Where and how the input fields to be organized in the output record.
- description
str
- A user provided optional description of the mapping function.
- expression
str
- Modify the inputs field(s) to the final output field. Example: $1 * 2.2 (Assuming inputs section $1 is provided)
- type
str | DataflowMappingType
- Type of transformation.
Dataflow BuiltIn Transformation map properties
- Inputs
List<string>
- List of fields for mapping in JSON path expression.
- Output
string
- Where and how the input fields to be organized in the output record.
- Description
string
- A user provided optional description of the mapping function.
- Expression
string
- Modify the inputs field(s) to the final output field. Example: $1 * 2.2 (Assuming inputs section $1 is provided)
- Type
string
- Type of transformation.
- Inputs
[]string
- List of fields for mapping in JSON path expression.
- Output
string
- Where and how the input fields to be organized in the output record.
- Description
string
- A user provided optional description of the mapping function.
- Expression
string
- Modify the inputs field(s) to the final output field. Example: $1 * 2.2 (Assuming inputs section $1 is provided)
- Type
string
- Type of transformation.
- inputs
list(string)
- List of fields for mapping in JSON path expression.
- output
string
- Where and how the input fields to be organized in the output record.
- description
string
- A user provided optional description of the mapping function.
- expression
string
- Modify the inputs field(s) to the final output field. Example: $1 * 2.2 (Assuming inputs section $1 is provided)
- type
string
- Type of transformation.
- inputs
List<String>
- List of fields for mapping in JSON path expression.
- output
String
- Where and how the input fields to be organized in the output record.
- description
String
- A user provided optional description of the mapping function.
- expression
String
- Modify the inputs field(s) to the final output field. Example: $1 * 2.2 (Assuming inputs section $1 is provided)
- type
String
- Type of transformation.
- inputs
string[]
- List of fields for mapping in JSON path expression.
- output
string
- Where and how the input fields to be organized in the output record.
- description
string
- A user provided optional description of the mapping function.
- expression
string
- Modify the inputs field(s) to the final output field. Example: $1 * 2.2 (Assuming inputs section $1 is provided)
- type
string
- Type of transformation.
- inputs
Sequence[str]
- List of fields for mapping in JSON path expression.
- output
str
- Where and how the input fields to be organized in the output record.
- description
str
- A user provided optional description of the mapping function.
- expression
str
- Modify the inputs field(s) to the final output field. Example: $1 * 2.2 (Assuming inputs section $1 is provided)
- type
str
- Type of transformation.
- inputs
List<String>
- List of fields for mapping in JSON path expression.
- output
String
- Where and how the input fields to be organized in the output record.
- description
String
- A user provided optional description of the mapping function.
- expression
String
- Modify the inputs field(s) to the final output field. Example: $1 * 2.2 (Assuming inputs section $1 is provided)
- type
String
- Type of transformation.
Dataflow BuiltIn Transformation properties
Dataflow BuiltIn Transformation properties
- datasets
list(object)
- Enrich data from Broker State Store. Dataset references a key in Broker State Store.
- filter
list(object)
- Filters input record or datapoints based on condition.
- map
list(object)
- Maps input to output message.
- schema_ref
string
- Reference to the schema that describes the output of the transformation.
- serialization_format
string
- Serialization format. Optional; defaults to JSON. Allowed value JSON Schema/draft-7, Parquet. Default: Json
DataflowDestinationOperationSettings, DataflowDestinationOperationSettingsArgs
Dataflow Destination Operation properties
- DataDestination
string
- Destination location, can be a topic or table name. Supports dynamic values with $topic, $systemProperties, $userProperties, $payload, $context, and $subscription.
- EndpointRef
string
- Reference to the Endpoint CR. Can be of Broker, Kafka, Fabric, ADLS, ADX type.
- DataDestination
string
- Destination location, can be a topic or table name. Supports dynamic values with $topic, $systemProperties, $userProperties, $payload, $context, and $subscription.
- EndpointRef
string
- Reference to the Endpoint CR. Can be of Broker, Kafka, Fabric, ADLS, ADX type.
- data_destination
string
- Destination location, can be a topic or table name. Supports dynamic values with $topic, $systemProperties, $userProperties, $payload, $context, and $subscription.
- endpoint_ref
string
- Reference to the Endpoint CR. Can be of Broker, Kafka, Fabric, ADLS, ADX type.
- dataDestination
String
- Destination location, can be a topic or table name. Supports dynamic values with $topic, $systemProperties, $userProperties, $payload, $context, and $subscription.
- endpointRef
String
- Reference to the Endpoint CR. Can be of Broker, Kafka, Fabric, ADLS, ADX type.
- dataDestination
string
- Destination location, can be a topic or table name. Supports dynamic values with $topic, $systemProperties, $userProperties, $payload, $context, and $subscription.
- endpointRef
string
- Reference to the Endpoint CR. Can be of Broker, Kafka, Fabric, ADLS, ADX type.
- data_destination
str
- Destination location, can be a topic or table name. Supports dynamic values with $topic, $systemProperties, $userProperties, $payload, $context, and $subscription.
- endpoint_ref
str
- Reference to the Endpoint CR. Can be of Broker, Kafka, Fabric, ADLS, ADX type.
- dataDestination
String
- Destination location, can be a topic or table name. Supports dynamic values with $topic, $systemProperties, $userProperties, $payload, $context, and $subscription.
- endpointRef
String
- Reference to the Endpoint CR. Can be of Broker, Kafka, Fabric, ADLS, ADX type.
DataflowDestinationOperationSettingsResponse
Dataflow Destination Operation properties
- DataDestination
string
- Destination location, can be a topic or table name. Supports dynamic values with $topic, $systemProperties, $userProperties, $payload, $context, and $subscription.
- EndpointRef
string
- Reference to the Endpoint CR. Can be of Broker, Kafka, Fabric, ADLS, ADX type.
- DataDestination
string
- Destination location, can be a topic or table name. Supports dynamic values with $topic, $systemProperties, $userProperties, $payload, $context, and $subscription.
- EndpointRef
string
- Reference to the Endpoint CR. Can be of Broker, Kafka, Fabric, ADLS, ADX type.
- data_destination
string
- Destination location, can be a topic or table name. Supports dynamic values with $topic, $systemProperties, $userProperties, $payload, $context, and $subscription.
- endpoint_ref
string
- Reference to the Endpoint CR. Can be of Broker, Kafka, Fabric, ADLS, ADX type.
- dataDestination
String
- Destination location, can be a topic or table name. Supports dynamic values with $topic, $systemProperties, $userProperties, $payload, $context, and $subscription.
- endpointRef
String
- Reference to the Endpoint CR. Can be of Broker, Kafka, Fabric, ADLS, ADX type.
- dataDestination
string
- Destination location, can be a topic or table name. Supports dynamic values with $topic, $systemProperties, $userProperties, $payload, $context, and $subscription.
- endpointRef
string
- Reference to the Endpoint CR. Can be of Broker, Kafka, Fabric, ADLS, ADX type.
- data_destination
str
- Destination location, can be a topic or table name. Supports dynamic values with $topic, $systemProperties, $userProperties, $payload, $context, and $subscription.
- endpoint_ref
str
- Reference to the Endpoint CR. Can be of Broker, Kafka, Fabric, ADLS, ADX type.
- dataDestination
String
- Destination location, can be a topic or table name. Supports dynamic values with $topic, $systemProperties, $userProperties, $payload, $context, and $subscription.
- endpointRef
String
- Reference to the Endpoint CR. Can be of Broker, Kafka, Fabric, ADLS, ADX type.
DataflowMappingType
Type of transformation.
| Name | Value | Description |
|---|
| NewProperties | NewProperties | New Properties type |
| Rename | Rename | Rename type |
| Compute | Compute | Compute type |
| PassThrough | PassThrough | Pass-through type |
| BuiltInFunction | BuiltInFunction | Built in function type |
| Name | Value | Description |
|---|
| DataflowMappingTypeNewProperties | NewProperties | New Properties type |
| DataflowMappingTypeRename | Rename | Rename type |
| DataflowMappingTypeCompute | Compute | Compute type |
| DataflowMappingTypePassThrough | PassThrough | Pass-through type |
| DataflowMappingTypeBuiltInFunction | BuiltInFunction | Built in function type |
| Value | Description |
|---|
NewProperties | New Properties type |
Rename | Rename type |
Compute | Compute type |
PassThrough | Pass-through type |
BuiltInFunction | Built in function type |
| Name | Value | Description |
|---|
| NewProperties | NewProperties | New Properties type |
| Rename | Rename | Rename type |
| Compute | Compute | Compute type |
| PassThrough | PassThrough | Pass-through type |
| BuiltInFunction | BuiltInFunction | Built in function type |
| Name | Value | Description |
|---|
| NewProperties | NewProperties | New Properties type |
| Rename | Rename | Rename type |
| Compute | Compute | Compute type |
| PassThrough | PassThrough | Pass-through type |
| BuiltInFunction | BuiltInFunction | Built in function type |
| Name | Value | Description |
|---|
| NEW_PROPERTIES | NewProperties | New Properties type |
| RENAME | Rename | Rename type |
| COMPUTE | Compute | Compute type |
| PASS_THROUGH | PassThrough | Pass-through type |
| BUILT_IN_FUNCTION | BuiltInFunction | Built in function type |
| Value | Description |
|---|
NewProperties | New Properties type |
Rename | Rename type |
Compute | Compute type |
PassThrough | Pass-through type |
BuiltInFunction | Built in function type |
DataflowOperation, DataflowOperationArgs
Dataflow Operation properties. NOTE - One only method is allowed to be used for one entry.
DataflowOperationResponse
Dataflow Operation properties. NOTE - One only method is allowed to be used for one entry.
DataflowProperties, DataflowPropertiesArgs
Dataflow Resource properties
DataflowPropertiesResponse
Dataflow Resource properties
- operations
list(object)
- List of operations including source and destination references as well as transformation.
- provisioning_state
string
- The status of the last operation.
- mode
string
- Mode for Dataflow. Optional; defaults to Enabled.
DataflowSourceOperationSettings, DataflowSourceOperationSettingsArgs
Dataflow Source Operation properties
- DataSources
List<string>
- List of source locations. Can be Broker or Kafka topics. Supports wildcards # and +.
- EndpointRef
string
- Reference to the Dataflow Endpoint resource. Can only be of Broker and Kafka type.
- AssetRef
string
- Reference to the resource in Azure Device Registry where the data in the endpoint originates from.
- SchemaRef
string
- Schema CR reference. Data will be deserialized according to the schema, and dropped if it doesn't match.
- SerializationFormat
string | Pulumi.AzureNative.IoTOperations.SourceSerializationFormat
- Content is a JSON Schema. Allowed: JSON Schema/draft-7.
- DataSources
[]string
- List of source locations. Can be Broker or Kafka topics. Supports wildcards # and +.
- EndpointRef
string
- Reference to the Dataflow Endpoint resource. Can only be of Broker and Kafka type.
- AssetRef
string
- Reference to the resource in Azure Device Registry where the data in the endpoint originates from.
- SchemaRef
string
- Schema CR reference. Data will be deserialized according to the schema, and dropped if it doesn't match.
- SerializationFormat
string | SourceSerializationFormat
- Content is a JSON Schema. Allowed: JSON Schema/draft-7.
- data_sources
list(string)
- List of source locations. Can be Broker or Kafka topics. Supports wildcards # and +.
- endpoint_ref
string
- Reference to the Dataflow Endpoint resource. Can only be of Broker and Kafka type.
- asset_ref
string
- Reference to the resource in Azure Device Registry where the data in the endpoint originates from.
- schema_ref
string
- Schema CR reference. Data will be deserialized according to the schema, and dropped if it doesn't match.
- serialization_format
string | "Json"
- Content is a JSON Schema. Allowed: JSON Schema/draft-7.
- dataSources
List<String>
- List of source locations. Can be Broker or Kafka topics. Supports wildcards # and +.
- endpointRef
String
- Reference to the Dataflow Endpoint resource. Can only be of Broker and Kafka type.
- assetRef
String
- Reference to the resource in Azure Device Registry where the data in the endpoint originates from.
- schemaRef
String
- Schema CR reference. Data will be deserialized according to the schema, and dropped if it doesn't match.
- serializationFormat
String | SourceSerializationFormat
- Content is a JSON Schema. Allowed: JSON Schema/draft-7.
- dataSources
string[]
- List of source locations. Can be Broker or Kafka topics. Supports wildcards # and +.
- endpointRef
string
- Reference to the Dataflow Endpoint resource. Can only be of Broker and Kafka type.
- assetRef
string
- Reference to the resource in Azure Device Registry where the data in the endpoint originates from.
- schemaRef
string
- Schema CR reference. Data will be deserialized according to the schema, and dropped if it doesn't match.
- serializationFormat
string | SourceSerializationFormat
- Content is a JSON Schema. Allowed: JSON Schema/draft-7.
- data_sources
Sequence[str]
- List of source locations. Can be Broker or Kafka topics. Supports wildcards # and +.
- endpoint_ref
str
- Reference to the Dataflow Endpoint resource. Can only be of Broker and Kafka type.
- asset_ref
str
- Reference to the resource in Azure Device Registry where the data in the endpoint originates from.
- schema_ref
str
- Schema CR reference. Data will be deserialized according to the schema, and dropped if it doesn't match.
- serialization_format
str | SourceSerializationFormat
- Content is a JSON Schema. Allowed: JSON Schema/draft-7.
- dataSources
List<String>
- List of source locations. Can be Broker or Kafka topics. Supports wildcards # and +.
- endpointRef
String
- Reference to the Dataflow Endpoint resource. Can only be of Broker and Kafka type.
- assetRef
String
- Reference to the resource in Azure Device Registry where the data in the endpoint originates from.
- schemaRef
String
- Schema CR reference. Data will be deserialized according to the schema, and dropped if it doesn't match.
- serializationFormat
String | "Json"
- Content is a JSON Schema. Allowed: JSON Schema/draft-7.
DataflowSourceOperationSettingsResponse
Dataflow Source Operation properties
- DataSources
List<string>
- List of source locations. Can be Broker or Kafka topics. Supports wildcards # and +.
- EndpointRef
string
- Reference to the Dataflow Endpoint resource. Can only be of Broker and Kafka type.
- AssetRef
string
- Reference to the resource in Azure Device Registry where the data in the endpoint originates from.
- SchemaRef
string
- Schema CR reference. Data will be deserialized according to the schema, and dropped if it doesn't match.
- SerializationFormat
string
- Content is a JSON Schema. Allowed: JSON Schema/draft-7.
- DataSources
[]string
- List of source locations. Can be Broker or Kafka topics. Supports wildcards # and +.
- EndpointRef
string
- Reference to the Dataflow Endpoint resource. Can only be of Broker and Kafka type.
- AssetRef
string
- Reference to the resource in Azure Device Registry where the data in the endpoint originates from.
- SchemaRef
string
- Schema CR reference. Data will be deserialized according to the schema, and dropped if it doesn't match.
- SerializationFormat
string
- Content is a JSON Schema. Allowed: JSON Schema/draft-7.
- data_sources
list(string)
- List of source locations. Can be Broker or Kafka topics. Supports wildcards # and +.
- endpoint_ref
string
- Reference to the Dataflow Endpoint resource. Can only be of Broker and Kafka type.
- asset_ref
string
- Reference to the resource in Azure Device Registry where the data in the endpoint originates from.
- schema_ref
string
- Schema CR reference. Data will be deserialized according to the schema, and dropped if it doesn't match.
- serialization_format
string
- Content is a JSON Schema. Allowed: JSON Schema/draft-7.
- dataSources
List<String>
- List of source locations. Can be Broker or Kafka topics. Supports wildcards # and +.
- endpointRef
String
- Reference to the Dataflow Endpoint resource. Can only be of Broker and Kafka type.
- assetRef
String
- Reference to the resource in Azure Device Registry where the data in the endpoint originates from.
- schemaRef
String
- Schema CR reference. Data will be deserialized according to the schema, and dropped if it doesn't match.
- serializationFormat
String
- Content is a JSON Schema. Allowed: JSON Schema/draft-7.
- dataSources
string[]
- List of source locations. Can be Broker or Kafka topics. Supports wildcards # and +.
- endpointRef
string
- Reference to the Dataflow Endpoint resource. Can only be of Broker and Kafka type.
- assetRef
string
- Reference to the resource in Azure Device Registry where the data in the endpoint originates from.
- schemaRef
string
- Schema CR reference. Data will be deserialized according to the schema, and dropped if it doesn't match.
- serializationFormat
string
- Content is a JSON Schema. Allowed: JSON Schema/draft-7.
- data_sources
Sequence[str]
- List of source locations. Can be Broker or Kafka topics. Supports wildcards # and +.
- endpoint_ref
str
- Reference to the Dataflow Endpoint resource. Can only be of Broker and Kafka type.
- asset_ref
str
- Reference to the resource in Azure Device Registry where the data in the endpoint originates from.
- schema_ref
str
- Schema CR reference. Data will be deserialized according to the schema, and dropped if it doesn't match.
- serialization_format
str
- Content is a JSON Schema. Allowed: JSON Schema/draft-7.
- dataSources
List<String>
- List of source locations. Can be Broker or Kafka topics. Supports wildcards # and +.
- endpointRef
String
- Reference to the Dataflow Endpoint resource. Can only be of Broker and Kafka type.
- assetRef
String
- Reference to the resource in Azure Device Registry where the data in the endpoint originates from.
- schemaRef
String
- Schema CR reference. Data will be deserialized according to the schema, and dropped if it doesn't match.
- serializationFormat
String
- Content is a JSON Schema. Allowed: JSON Schema/draft-7.
ExtendedLocation, ExtendedLocationArgs
Extended location is an extension of Azure locations. They provide a way to use their Azure ARC enabled Kubernetes clusters as target locations for deploying Azure services instances.
ExtendedLocationResponse
Extended location is an extension of Azure locations. They provide a way to use their Azure ARC enabled Kubernetes clusters as target locations for deploying Azure services instances.
- Name
string
- The name of the extended location.
- Type
string
- Type of ExtendedLocation.
- Name
string
- The name of the extended location.
- Type
string
- Type of ExtendedLocation.
- name
string
- The name of the extended location.
- type
string
- Type of ExtendedLocation.
- name
String
- The name of the extended location.
- type
String
- Type of ExtendedLocation.
- name
string
- The name of the extended location.
- type
string
- Type of ExtendedLocation.
- name
str
- The name of the extended location.
- type
str
- Type of ExtendedLocation.
- name
String
- The name of the extended location.
- type
String
- Type of ExtendedLocation.
ExtendedLocationType
Type of ExtendedLocation.
| Name | Value | Description |
|---|
| CustomLocation | CustomLocation | CustomLocation type |
| Name | Value | Description |
|---|
| ExtendedLocationTypeCustomLocation | CustomLocation | CustomLocation type |
| Value | Description |
|---|
CustomLocation | CustomLocation type |
| Name | Value | Description |
|---|
| CustomLocation | CustomLocation | CustomLocation type |
| Name | Value | Description |
|---|
| CustomLocation | CustomLocation | CustomLocation type |
| Name | Value | Description |
|---|
| CUSTOM_LOCATION | CustomLocation | CustomLocation type |
| Value | Description |
|---|
CustomLocation | CustomLocation type |
FilterType
The type of dataflow operation.
| Name | Value | Description |
|---|
| Filter | Filter | Filter type |
| Name | Value | Description |
|---|
| FilterTypeFilter | Filter | Filter type |
| Value | Description |
|---|
Filter | Filter type |
| Name | Value | Description |
|---|
| Filter | Filter | Filter type |
| Name | Value | Description |
|---|
| Filter | Filter | Filter type |
| Name | Value | Description |
|---|
| FILTER | Filter | Filter type |
| Value | Description |
|---|
Filter | Filter type |
OperationType
Type of operation.
| Name | Value | Description |
|---|
| Source | Source | Dataflow Source Operation |
| Destination | Destination | Dataflow Destination Operation |
| BuiltInTransformation | BuiltInTransformation | Dataflow BuiltIn Transformation Operation |
| Name | Value | Description |
|---|
| OperationTypeSource | Source | Dataflow Source Operation |
| OperationTypeDestination | Destination | Dataflow Destination Operation |
| OperationTypeBuiltInTransformation | BuiltInTransformation | Dataflow BuiltIn Transformation Operation |
| Value | Description |
|---|
Source | Dataflow Source Operation |
Destination | Dataflow Destination Operation |
BuiltInTransformation | Dataflow BuiltIn Transformation Operation |
| Name | Value | Description |
|---|
| Source | Source | Dataflow Source Operation |
| Destination | Destination | Dataflow Destination Operation |
| BuiltInTransformation | BuiltInTransformation | Dataflow BuiltIn Transformation Operation |
| Name | Value | Description |
|---|
| Source | Source | Dataflow Source Operation |
| Destination | Destination | Dataflow Destination Operation |
| BuiltInTransformation | BuiltInTransformation | Dataflow BuiltIn Transformation Operation |
| Name | Value | Description |
|---|
| SOURCE | Source | Dataflow Source Operation |
| DESTINATION | Destination | Dataflow Destination Operation |
| BUILT_IN_TRANSFORMATION | BuiltInTransformation | Dataflow BuiltIn Transformation Operation |
| Value | Description |
|---|
Source | Dataflow Source Operation |
Destination | Dataflow Destination Operation |
BuiltInTransformation | Dataflow BuiltIn Transformation Operation |
OperationalMode
Disk persistence mode.
| Name | Value | Description |
|---|
| Enabled | Enabled | Enabled is equivalent to True |
| Disabled | Disabled | Disabled is equivalent to False. |
| Name | Value | Description |
|---|
| OperationalModeEnabled | Enabled | Enabled is equivalent to True |
| OperationalModeDisabled | Disabled | Disabled is equivalent to False. |
| Value | Description |
|---|
Enabled | Enabled is equivalent to True |
Disabled | Disabled is equivalent to False. |
| Name | Value | Description |
|---|
| Enabled | Enabled | Enabled is equivalent to True |
| Disabled | Disabled | Disabled is equivalent to False. |
| Name | Value | Description |
|---|
| Enabled | Enabled | Enabled is equivalent to True |
| Disabled | Disabled | Disabled is equivalent to False. |
| Name | Value | Description |
|---|
| ENABLED | Enabled | Enabled is equivalent to True |
| DISABLED | Disabled | Disabled is equivalent to False. |
| Value | Description |
|---|
Enabled | Enabled is equivalent to True |
Disabled | Disabled is equivalent to False. |
Content is a JSON Schema. Allowed: JSON Schema/draft-7.
| Name | Value | Description |
|---|
| Json | Json | JSON Format |
| Name | Value | Description |
|---|
| SourceSerializationFormatJson | Json | JSON Format |
| Value | Description |
|---|
Json | JSON Format |
| Name | Value | Description |
|---|
| Json | Json | JSON Format |
| Name | Value | Description |
|---|
| Json | Json | JSON Format |
| Name | Value | Description |
|---|
| JSON | Json | JSON Format |
| Value | Description |
|---|
Json | JSON Format |
SystemDataResponse
Metadata pertaining to creation and last modification of the resource.
- CreatedAt
string
- The timestamp of resource creation (UTC).
- CreatedBy
string
- The identity that created the resource.
- CreatedByType
string
- The type of identity that created the resource.
- LastModifiedAt
string
- The timestamp of resource last modification (UTC)
- LastModifiedBy
string
- The identity that last modified the resource.
- LastModifiedByType
string
- The type of identity that last modified the resource.
- CreatedAt
string
- The timestamp of resource creation (UTC).
- CreatedBy
string
- The identity that created the resource.
- CreatedByType
string
- The type of identity that created the resource.
- LastModifiedAt
string
- The timestamp of resource last modification (UTC)
- LastModifiedBy
string
- The identity that last modified the resource.
- LastModifiedByType
string
- The type of identity that last modified the resource.
- createdAt
String
- The timestamp of resource creation (UTC).
- createdBy
String
- The identity that created the resource.
- createdByType
String
- The type of identity that created the resource.
- lastModifiedAt
String
- The timestamp of resource last modification (UTC)
- lastModifiedBy
String
- The identity that last modified the resource.
- lastModifiedByType
String
- The type of identity that last modified the resource.
- createdAt
string
- The timestamp of resource creation (UTC).
- createdBy
string
- The identity that created the resource.
- createdByType
string
- The type of identity that created the resource.
- lastModifiedAt
string
- The timestamp of resource last modification (UTC)
- lastModifiedBy
string
- The identity that last modified the resource.
- lastModifiedByType
string
- The type of identity that last modified the resource.
- createdAt
String
- The timestamp of resource creation (UTC).
- createdBy
String
- The identity that created the resource.
- createdByType
String
- The type of identity that created the resource.
- lastModifiedAt
String
- The timestamp of resource last modification (UTC)
- lastModifiedBy
String
- The identity that last modified the resource.
- lastModifiedByType
String
- The type of identity that last modified the resource.
Serialization format. Optional; defaults to JSON. Allowed value JSON Schema/draft-7, Parquet. Default: Json
| Name | Value | Description |
|---|
| Delta | Delta | Delta Format |
| Json | Json | JSON Format |
| Parquet | Parquet | Parquet Format |
| Name | Value | Description |
|---|
| TransformationSerializationFormatDelta | Delta | Delta Format |
| TransformationSerializationFormatJson | Json | JSON Format |
| TransformationSerializationFormatParquet | Parquet | Parquet Format |
| Value | Description |
|---|
Delta | Delta Format |
Json | JSON Format |
Parquet | Parquet Format |
| Name | Value | Description |
|---|
| Delta | Delta | Delta Format |
| Json | Json | JSON Format |
| Parquet | Parquet | Parquet Format |
| Name | Value | Description |
|---|
| Delta | Delta | Delta Format |
| Json | Json | JSON Format |
| Parquet | Parquet | Parquet Format |
| Name | Value | Description |
|---|
| DELTA | Delta | Delta Format |
| JSON | Json | JSON Format |
| PARQUET | Parquet | Parquet Format |
| Value | Description |
|---|
Delta | Delta Format |
Json | JSON Format |
Parquet | Parquet Format |
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:iotoperations:Dataflow jxhcpwgfkxqasbexkookvxk /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperations/instances/{instanceName}/dataflowProfiles/{dataflowProfileName}/dataflows/{dataflowName}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0