Workflow

class Workflow : KotlinCustomResource

Manages a Logic App Workflow.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";
const example = new azure.core.ResourceGroup("example", {
name: "workflow-resources",
location: "West Europe",
});
const exampleWorkflow = new azure.logicapps.Workflow("example", {
name: "workflow1",
location: example.location,
resourceGroupName: example.name,
});
import pulumi
import pulumi_azure as azure
example = azure.core.ResourceGroup("example",
name="workflow-resources",
location="West Europe")
example_workflow = azure.logicapps.Workflow("example",
name="workflow1",
location=example.location,
resource_group_name=example.name)
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Azure = Pulumi.Azure;
return await Deployment.RunAsync(() =>
{
var example = new Azure.Core.ResourceGroup("example", new()
{
Name = "workflow-resources",
Location = "West Europe",
});
var exampleWorkflow = new Azure.LogicApps.Workflow("example", new()
{
Name = "workflow1",
Location = example.Location,
ResourceGroupName = example.Name,
});
});
package main
import (
"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/logicapps"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
Name: pulumi.String("workflow-resources"),
Location: pulumi.String("West Europe"),
})
if err != nil {
return err
}
_, err = logicapps.NewWorkflow(ctx, "example", &logicapps.WorkflowArgs{
Name: pulumi.String("workflow1"),
Location: example.Location,
ResourceGroupName: example.Name,
})
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.azure.core.ResourceGroup;
import com.pulumi.azure.core.ResourceGroupArgs;
import com.pulumi.azure.logicapps.Workflow;
import com.pulumi.azure.logicapps.WorkflowArgs;
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 example = new ResourceGroup("example", ResourceGroupArgs.builder()
.name("workflow-resources")
.location("West Europe")
.build());
var exampleWorkflow = new Workflow("exampleWorkflow", WorkflowArgs.builder()
.name("workflow1")
.location(example.location())
.resourceGroupName(example.name())
.build());
}
}
resources:
example:
type: azure:core:ResourceGroup
properties:
name: workflow-resources
location: West Europe
exampleWorkflow:
type: azure:logicapps:Workflow
name: example
properties:
name: workflow1
location: ${example.location}
resourceGroupName: ${example.name}

Import

Logic App Workflows can be imported using the resource id, e.g.

$ pulumi import azure:logicapps/workflow:Workflow workflow1 /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.Logic/workflows/workflow1

Properties

Link copied to clipboard

A access_control block as defined below.

Link copied to clipboard
val accessEndpoint: Output<String>

The Access Endpoint for the Logic App Workflow.

Link copied to clipboard

The list of access endpoint IP addresses of connector.

Link copied to clipboard

The list of outgoing IP addresses of connector.

Link copied to clipboard
val enabled: Output<Boolean>?

Is the Logic App Workflow enabled? Defaults to true.

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

An identity block as defined below.

Link copied to clipboard

The ID of the Integration Service Environment to which this Logic App Workflow belongs. Changing this forces a new Logic App Workflow to be created.

Link copied to clipboard
val location: Output<String>

Specifies the supported Azure location where the Logic App Workflow exists. Changing this forces a new resource to be created.

Link copied to clipboard

The ID of the integration account linked by this Logic App Workflow.

Link copied to clipboard
val name: Output<String>

Specifies the name of the Logic App Workflow. Changing this forces a new resource to be created.

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

A map of Key-Value pairs.

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

The name of the Resource Group in which the Logic App Workflow should be created. Changing this forces a new resource to be created.

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

A mapping of tags to assign to the resource.

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

The list of access endpoint IP addresses of workflow.

Link copied to clipboard

The list of outgoing IP addresses of workflow.

Link copied to clipboard

Specifies a map of Key-Value pairs of the Parameter Definitions to use for this Logic App Workflow. The key is the parameter name, and the value is a JSON encoded string of the parameter definition (see: https://docs.microsoft.com/azure/logic-apps/logic-apps-workflow-definition-language#parameters).

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

Specifies the Schema to use for this Logic App Workflow. Defaults to https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#. Changing this forces a new resource to be created.

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

Specifies the version of the Schema used for this Logic App Workflow. Defaults to 1.0.0.0. Changing this forces a new resource to be created.