Dataflow Profile Args
data class DataflowProfileArgs(val dataflowProfileName: Output<String>? = null, val extendedLocation: Output<ExtendedLocationArgs>? = null, val instanceName: Output<String>? = null, val properties: Output<DataflowProfilePropertiesArgs>? = null, val resourceGroupName: Output<String>? = null) : ConvertibleToJava<DataflowProfileArgs>
Instance dataflowProfile resource Uses Azure REST API version 2024-11-01. Other available API versions: 2024-08-15-preview, 2024-09-15-preview, 2025-04-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/#accessing-any-api-version-via-local-packages for details.
Example Usage
DataflowProfile_CreateOrUpdate
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var dataflowProfile = new AzureNative.IoTOperations.DataflowProfile("dataflowProfile", new()
{
DataflowProfileName = "resource-name123",
ExtendedLocation = new AzureNative.IoTOperations.Inputs.ExtendedLocationArgs
{
Name = "qmbrfwcpwwhggszhrdjv",
Type = AzureNative.IoTOperations.ExtendedLocationType.CustomLocation,
},
InstanceName = "resource-name123",
Properties = new AzureNative.IoTOperations.Inputs.DataflowProfilePropertiesArgs
{
Diagnostics = new AzureNative.IoTOperations.Inputs.ProfileDiagnosticsArgs
{
Logs = new AzureNative.IoTOperations.Inputs.DiagnosticsLogsArgs
{
Level = "rnmwokumdmebpmfxxxzvvjfdywotav",
},
Metrics = new AzureNative.IoTOperations.Inputs.MetricsArgs
{
PrometheusPort = 7581,
},
},
InstanceCount = 14,
},
ResourceGroupName = "rgiotoperations",
});
});
Content copied to clipboard
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.NewDataflowProfile(ctx, "dataflowProfile", &iotoperations.DataflowProfileArgs{
DataflowProfileName: pulumi.String("resource-name123"),
ExtendedLocation: &iotoperations.ExtendedLocationArgs{
Name: pulumi.String("qmbrfwcpwwhggszhrdjv"),
Type: pulumi.String(iotoperations.ExtendedLocationTypeCustomLocation),
},
InstanceName: pulumi.String("resource-name123"),
Properties: &iotoperations.DataflowProfilePropertiesArgs{
Diagnostics: &iotoperations.ProfileDiagnosticsArgs{
Logs: &iotoperations.DiagnosticsLogsArgs{
Level: pulumi.String("rnmwokumdmebpmfxxxzvvjfdywotav"),
},
Metrics: &iotoperations.MetricsArgs{
PrometheusPort: pulumi.Int(7581),
},
},
InstanceCount: pulumi.Int(14),
},
ResourceGroupName: pulumi.String("rgiotoperations"),
})
if err != nil {
return err
}
return nil
})
}
Content copied to clipboard
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.iotoperations.DataflowProfile;
import com.pulumi.azurenative.iotoperations.DataflowProfileArgs;
import com.pulumi.azurenative.iotoperations.inputs.ExtendedLocationArgs;
import com.pulumi.azurenative.iotoperations.inputs.DataflowProfilePropertiesArgs;
import com.pulumi.azurenative.iotoperations.inputs.ProfileDiagnosticsArgs;
import com.pulumi.azurenative.iotoperations.inputs.DiagnosticsLogsArgs;
import com.pulumi.azurenative.iotoperations.inputs.MetricsArgs;
import java.util.List;
import java.util.ArrayList;
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 dataflowProfile = new DataflowProfile("dataflowProfile", DataflowProfileArgs.builder()
.dataflowProfileName("resource-name123")
.extendedLocation(ExtendedLocationArgs.builder()
.name("qmbrfwcpwwhggszhrdjv")
.type("CustomLocation")
.build())
.instanceName("resource-name123")
.properties(DataflowProfilePropertiesArgs.builder()
.diagnostics(ProfileDiagnosticsArgs.builder()
.logs(DiagnosticsLogsArgs.builder()
.level("rnmwokumdmebpmfxxxzvvjfdywotav")
.build())
.metrics(MetricsArgs.builder()
.prometheusPort(7581)
.build())
.build())
.instanceCount(14)
.build())
.resourceGroupName("rgiotoperations")
.build());
}
}
Content copied to clipboard
DataflowProfile_CreateOrUpdate_Minimal
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var dataflowProfile = new AzureNative.IoTOperations.DataflowProfile("dataflowProfile", new()
{
DataflowProfileName = "aio-dataflowprofile",
ExtendedLocation = new AzureNative.IoTOperations.Inputs.ExtendedLocationArgs
{
Name = "qmbrfwcpwwhggszhrdjv",
Type = AzureNative.IoTOperations.ExtendedLocationType.CustomLocation,
},
InstanceName = "resource-name123",
Properties = new AzureNative.IoTOperations.Inputs.DataflowProfilePropertiesArgs
{
InstanceCount = 1,
},
ResourceGroupName = "rgiotoperations",
});
});
Content copied to clipboard
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.NewDataflowProfile(ctx, "dataflowProfile", &iotoperations.DataflowProfileArgs{
DataflowProfileName: pulumi.String("aio-dataflowprofile"),
ExtendedLocation: &iotoperations.ExtendedLocationArgs{
Name: pulumi.String("qmbrfwcpwwhggszhrdjv"),
Type: pulumi.String(iotoperations.ExtendedLocationTypeCustomLocation),
},
InstanceName: pulumi.String("resource-name123"),
Properties: &iotoperations.DataflowProfilePropertiesArgs{
InstanceCount: pulumi.Int(1),
},
ResourceGroupName: pulumi.String("rgiotoperations"),
})
if err != nil {
return err
}
return nil
})
}
Content copied to clipboard
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.iotoperations.DataflowProfile;
import com.pulumi.azurenative.iotoperations.DataflowProfileArgs;
import com.pulumi.azurenative.iotoperations.inputs.ExtendedLocationArgs;
import com.pulumi.azurenative.iotoperations.inputs.DataflowProfilePropertiesArgs;
import java.util.List;
import java.util.ArrayList;
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 dataflowProfile = new DataflowProfile("dataflowProfile", DataflowProfileArgs.builder()
.dataflowProfileName("aio-dataflowprofile")
.extendedLocation(ExtendedLocationArgs.builder()
.name("qmbrfwcpwwhggszhrdjv")
.type("CustomLocation")
.build())
.instanceName("resource-name123")
.properties(DataflowProfilePropertiesArgs.builder()
.instanceCount(1)
.build())
.resourceGroupName("rgiotoperations")
.build());
}
}
Content copied to clipboard
DataflowProfile_CreateOrUpdate_Multi
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var dataflowProfile = new AzureNative.IoTOperations.DataflowProfile("dataflowProfile", new()
{
DataflowProfileName = "aio-dataflowprofile",
ExtendedLocation = new AzureNative.IoTOperations.Inputs.ExtendedLocationArgs
{
Name = "qmbrfwcpwwhggszhrdjv",
Type = AzureNative.IoTOperations.ExtendedLocationType.CustomLocation,
},
InstanceName = "resource-name123",
Properties = new AzureNative.IoTOperations.Inputs.DataflowProfilePropertiesArgs
{
InstanceCount = 3,
},
ResourceGroupName = "rgiotoperations",
});
});
Content copied to clipboard
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.NewDataflowProfile(ctx, "dataflowProfile", &iotoperations.DataflowProfileArgs{
DataflowProfileName: pulumi.String("aio-dataflowprofile"),
ExtendedLocation: &iotoperations.ExtendedLocationArgs{
Name: pulumi.String("qmbrfwcpwwhggszhrdjv"),
Type: pulumi.String(iotoperations.ExtendedLocationTypeCustomLocation),
},
InstanceName: pulumi.String("resource-name123"),
Properties: &iotoperations.DataflowProfilePropertiesArgs{
InstanceCount: pulumi.Int(3),
},
ResourceGroupName: pulumi.String("rgiotoperations"),
})
if err != nil {
return err
}
return nil
})
}
Content copied to clipboard
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.iotoperations.DataflowProfile;
import com.pulumi.azurenative.iotoperations.DataflowProfileArgs;
import com.pulumi.azurenative.iotoperations.inputs.ExtendedLocationArgs;
import com.pulumi.azurenative.iotoperations.inputs.DataflowProfilePropertiesArgs;
import java.util.List;
import java.util.ArrayList;
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 dataflowProfile = new DataflowProfile("dataflowProfile", DataflowProfileArgs.builder()
.dataflowProfileName("aio-dataflowprofile")
.extendedLocation(ExtendedLocationArgs.builder()
.name("qmbrfwcpwwhggszhrdjv")
.type("CustomLocation")
.build())
.instanceName("resource-name123")
.properties(DataflowProfilePropertiesArgs.builder()
.instanceCount(3)
.build())
.resourceGroupName("rgiotoperations")
.build());
}
}
Content copied to clipboard
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:iotoperations:DataflowProfile bwhcjsnnfnrmbixamyxjau /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperations/instances/{instanceName}/dataflowProfiles/{dataflowProfileName}
Content copied to clipboard
Constructors
Link copied to clipboard
constructor(dataflowProfileName: Output<String>? = null, extendedLocation: Output<ExtendedLocationArgs>? = null, instanceName: Output<String>? = null, properties: Output<DataflowProfilePropertiesArgs>? = null, resourceGroupName: Output<String>? = null)
Properties
Link copied to clipboard
Name of Instance dataflowProfile resource
Link copied to clipboard
Edge location of the resource.
Link copied to clipboard
Name of instance.
Link copied to clipboard
The resource-specific properties for this resource.
Link copied to clipboard
The name of the resource group. The name is case insensitive.