Flow

class Flow : KotlinCustomResource

The flow resource definition. Uses Azure REST API version 2023-10-11-preview. Other available API versions: 2024-01-25, 2024-05-07, 2024-09-11, 2024-09-27, 2025-03-01-preview.

Example Usage

Creates or updates the flow resource

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var flow = new AzureNative.AzureDataTransfer.Flow("flow", new()
{
ConnectionName = "testConnection",
FlowName = "testFlow",
Location = "East US",
Properties = new AzureNative.AzureDataTransfer.Inputs.FlowPropertiesArgs
{
Connection = new AzureNative.AzureDataTransfer.Inputs.SelectedResourceArgs
{
Id = "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testRG/providers/Microsoft.AzureDataTransfer/connections/testConnection",
},
FlowType = "Blob",
StorageAccountName = "testsa",
StorageContainerName = "testcontainer",
},
ResourceGroupName = "testRG",
});
});
package main
import (
azuredatatransfer "github.com/pulumi/pulumi-azure-native-sdk/azuredatatransfer/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := azuredatatransfer.NewFlow(ctx, "flow", &azuredatatransfer.FlowArgs{
ConnectionName: pulumi.String("testConnection"),
FlowName: pulumi.String("testFlow"),
Location: pulumi.String("East US"),
Properties: &azuredatatransfer.FlowPropertiesArgs{
Connection: &azuredatatransfer.SelectedResourceArgs{
Id: pulumi.String("/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testRG/providers/Microsoft.AzureDataTransfer/connections/testConnection"),
},
FlowType: pulumi.String("Blob"),
StorageAccountName: pulumi.String("testsa"),
StorageContainerName: pulumi.String("testcontainer"),
},
ResourceGroupName: pulumi.String("testRG"),
})
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.azuredatatransfer.Flow;
import com.pulumi.azurenative.azuredatatransfer.FlowArgs;
import com.pulumi.azurenative.azuredatatransfer.inputs.FlowPropertiesArgs;
import com.pulumi.azurenative.azuredatatransfer.inputs.SelectedResourceArgs;
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 flow = new Flow("flow", FlowArgs.builder()
.connectionName("testConnection")
.flowName("testFlow")
.location("East US")
.properties(FlowPropertiesArgs.builder()
.connection(SelectedResourceArgs.builder()
.id("/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testRG/providers/Microsoft.AzureDataTransfer/connections/testConnection")
.build())
.flowType("Blob")
.storageAccountName("testsa")
.storageContainerName("testcontainer")
.build())
.resourceGroupName("testRG")
.build());
}
}

Import

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

$ pulumi import azure-native:azuredatatransfer:Flow myresource1 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureDataTransfer/connections/{connectionName}/flows/{flowName}

Properties

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

The managed identity of the flow resource, if configured.

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
val plan: Output<PlanResponse>?

Plan for the resource.

Link copied to clipboard

Properties of flow

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
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>