Pipeline

class Pipeline : KotlinCustomResource

A Pipeline resource belonging to an Instance resource. Uses Azure REST API version 2023-10-04-preview.

Example Usage

Pipelines create or update - generated by MaximumSet rule

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var pipeline = new AzureNative.IoTOperationsDataProcessor.Pipeline("pipeline", new()
{
Description = "vayzklhg",
Enabled = true,
ExtendedLocation = new AzureNative.IoTOperationsDataProcessor.Inputs.ExtendedLocationArgs
{
Name = "/subscriptions/e0aaa3df-e9a4-456a-9824-3c3b5c438110/resourceGroups/IoTOperationsDataProcessor-rg/providers/Microsoft.ExtendedLocation/customLocations/dev-space",
Type = "CustomLocation",
},
Input = new AzureNative.IoTOperationsDataProcessor.Inputs.PipelineInputArgs
{
Next = new[]
{
"umnuwjk",
},
Type = "xrnubjkvzajxjzb",
},
InstanceName = "056k5pl8t7761-2--ej25u2l28ttb-22mh79-75-2ch-t8",
Location = "westus",
PipelineName = "j8-8--3",
ResourceGroupName = "rgopenapi",
Stages =
{
{ "stageId", new AzureNative.IoTOperationsDataProcessor.Inputs.PipelineStageArgs
{
Next = new[]
{
"gxqgqh",
},
Type = "cxqgblrzqniowabexbztempdpkuib",
} },
},
Tags = null,
});
});
package main
import (
iotoperationsdataprocessor "github.com/pulumi/pulumi-azure-native-sdk/iotoperationsdataprocessor/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := iotoperationsdataprocessor.NewPipeline(ctx, "pipeline", &iotoperationsdataprocessor.PipelineArgs{
Description: pulumi.String("vayzklhg"),
Enabled: pulumi.Bool(true),
ExtendedLocation: &iotoperationsdataprocessor.ExtendedLocationArgs{
Name: pulumi.String("/subscriptions/e0aaa3df-e9a4-456a-9824-3c3b5c438110/resourceGroups/IoTOperationsDataProcessor-rg/providers/Microsoft.ExtendedLocation/customLocations/dev-space"),
Type: pulumi.String("CustomLocation"),
},
Input: &iotoperationsdataprocessor.PipelineInputTypeArgs{
Next: pulumi.StringArray{
pulumi.String("umnuwjk"),
},
Type: pulumi.String("xrnubjkvzajxjzb"),
},
InstanceName: pulumi.String("056k5pl8t7761-2--ej25u2l28ttb-22mh79-75-2ch-t8"),
Location: pulumi.String("westus"),
PipelineName: pulumi.String("j8-8--3"),
ResourceGroupName: pulumi.String("rgopenapi"),
Stages: iotoperationsdataprocessor.PipelineStageMap{
"stageId": &iotoperationsdataprocessor.PipelineStageArgs{
Next: pulumi.StringArray{
pulumi.String("gxqgqh"),
},
Type: pulumi.String("cxqgblrzqniowabexbztempdpkuib"),
},
},
Tags: pulumi.StringMap{},
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.iotoperationsdataprocessor.Pipeline;
import com.pulumi.azurenative.iotoperationsdataprocessor.PipelineArgs;
import com.pulumi.azurenative.iotoperationsdataprocessor.inputs.ExtendedLocationArgs;
import com.pulumi.azurenative.iotoperationsdataprocessor.inputs.PipelineInputArgs;
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 pipeline = new Pipeline("pipeline", PipelineArgs.builder()
.description("vayzklhg")
.enabled(true)
.extendedLocation(ExtendedLocationArgs.builder()
.name("/subscriptions/e0aaa3df-e9a4-456a-9824-3c3b5c438110/resourceGroups/IoTOperationsDataProcessor-rg/providers/Microsoft.ExtendedLocation/customLocations/dev-space")
.type("CustomLocation")
.build())
.input(PipelineInputArgs.builder()
.next("umnuwjk")
.type("xrnubjkvzajxjzb")
.build())
.instanceName("056k5pl8t7761-2--ej25u2l28ttb-22mh79-75-2ch-t8")
.location("westus")
.pipelineName("j8-8--3")
.resourceGroupName("rgopenapi")
.stages(Map.of("stageId", Map.ofEntries(
Map.entry("next", "gxqgqh"),
Map.entry("type", "cxqgblrzqniowabexbztempdpkuib")
)))
.tags()
.build());
}
}

Import

An existing resource can be imported using its type token, name, and identifier, e.g.

$ pulumi import azure-native:iotoperationsdataprocessor:Pipeline IoTOperationsDataProcessor-pipeline-name /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperationsDataProcessor/instances/{instanceName}/pipelines/{pipelineName}

Properties

Link copied to clipboard
val description: Output<String>?

Detailed description of the Pipeline.

Link copied to clipboard
val enabled: Output<Boolean>

Flag indicating whether the pipeline should be running or not.

Link copied to clipboard

Edge location of the resource.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard

Information about where to pull input data from.

Link copied to clipboard
val location: Output<String>

The geo-location where the resource lives

Link copied to clipboard
val name: Output<String>

The name of the resource

Link copied to clipboard

The status of the last operation.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Map of stage ids to stage configurations for all pipeline processing and output stages.

Link copied to clipboard

Azure Resource Manager metadata containing createdBy and modifiedBy information.

Link copied to clipboard
val tags: Output<Map<String, String>>?

Resource tags.

Link copied to clipboard
val type: Output<String>

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Link copied to clipboard
val urn: Output<String>