Data Flow 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-07-01-preview.
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 = "aio-dataflowprofile",
ExtendedLocation = new AzureNative.IoTOperations.Inputs.ExtendedLocationArgs
{
Name = "ycsyubcxttlusbhfdqaynmkaatnbyv",
Type = AzureNative.IoTOperations.ExtendedLocationType.CustomLocation,
},
InstanceName = "aio-instance",
Properties = new AzureNative.IoTOperations.Inputs.DataFlowProfilePropertiesArgs
{
Diagnostics = new AzureNative.IoTOperations.Inputs.ProfileDiagnosticsArgs
{
Logs = new AzureNative.IoTOperations.Inputs.DiagnosticsLogsArgs
{
Level = "tpjixxzdjmkvfnctjbkycswmyrnskf",
OpentelemetryExportConfig = new AzureNative.IoTOperations.Inputs.OpenTelemetryLogExportConfigArgs
{
IntervalSeconds = 23,
Level = "tmcrcih",
OtlpGrpcEndpoint = "oyembrvhzogggkodr",
},
},
Metrics = new AzureNative.IoTOperations.Inputs.MetricsArgs
{
OpentelemetryExportConfig = new AzureNative.IoTOperations.Inputs.OpenTelemetryExportConfigArgs
{
IntervalSeconds = 207,
OtlpGrpcEndpoint = "dngpjdmfecwmrheyzc",
},
PrometheusPort = 87,
},
},
InstanceCount = 18,
},
ResourceGroupName = "rgiotoperations",
});
});
Content copied to clipboard
package main
import (
iotoperations "github.com/pulumi/pulumi-azure-native-sdk/iotoperations/v2"
"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("ycsyubcxttlusbhfdqaynmkaatnbyv"),
Type: pulumi.String(iotoperations.ExtendedLocationTypeCustomLocation),
},
InstanceName: pulumi.String("aio-instance"),
Properties: &iotoperations.DataFlowProfilePropertiesArgs{
Diagnostics: &iotoperations.ProfileDiagnosticsArgs{
Logs: &iotoperations.DiagnosticsLogsArgs{
Level: pulumi.String("tpjixxzdjmkvfnctjbkycswmyrnskf"),
OpentelemetryExportConfig: &iotoperations.OpenTelemetryLogExportConfigArgs{
IntervalSeconds: pulumi.Int(23),
Level: pulumi.String("tmcrcih"),
OtlpGrpcEndpoint: pulumi.String("oyembrvhzogggkodr"),
},
},
Metrics: &iotoperations.MetricsArgs{
OpentelemetryExportConfig: &iotoperations.OpenTelemetryExportConfigArgs{
IntervalSeconds: pulumi.Int(207),
OtlpGrpcEndpoint: pulumi.String("dngpjdmfecwmrheyzc"),
},
PrometheusPort: pulumi.Int(87),
},
},
InstanceCount: pulumi.Int(18),
},
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.OpenTelemetryLogExportConfigArgs;
import com.pulumi.azurenative.iotoperations.inputs.MetricsArgs;
import com.pulumi.azurenative.iotoperations.inputs.OpenTelemetryExportConfigArgs;
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("ycsyubcxttlusbhfdqaynmkaatnbyv")
.type("CustomLocation")
.build())
.instanceName("aio-instance")
.properties(DataFlowProfilePropertiesArgs.builder()
.diagnostics(ProfileDiagnosticsArgs.builder()
.logs(DiagnosticsLogsArgs.builder()
.level("tpjixxzdjmkvfnctjbkycswmyrnskf")
.opentelemetryExportConfig(OpenTelemetryLogExportConfigArgs.builder()
.intervalSeconds(23)
.level("tmcrcih")
.otlpGrpcEndpoint("oyembrvhzogggkodr")
.build())
.build())
.metrics(MetricsArgs.builder()
.opentelemetryExportConfig(OpenTelemetryExportConfigArgs.builder()
.intervalSeconds(207)
.otlpGrpcEndpoint("dngpjdmfecwmrheyzc")
.build())
.prometheusPort(87)
.build())
.build())
.instanceCount(18)
.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 qoettseeorbtnsqzdzkmj /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.