WorkflowArgs

data class WorkflowArgs(val accessControl: Output<WorkflowAccessControlArgs>? = null, val enabled: Output<Boolean>? = null, val identity: Output<WorkflowIdentityArgs>? = null, val integrationServiceEnvironmentId: Output<String>? = null, val location: Output<String>? = null, val logicAppIntegrationAccountId: Output<String>? = null, val name: Output<String>? = null, val parameters: Output<Map<String, String>>? = null, val resourceGroupName: Output<String>? = null, val tags: Output<Map<String, String>>? = null, val workflowParameters: Output<Map<String, String>>? = null, val workflowSchema: Output<String>? = null, val workflowVersion: Output<String>? = null) : ConvertibleToJava<WorkflowArgs>

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

Constructors

Link copied to clipboard
constructor(accessControl: Output<WorkflowAccessControlArgs>? = null, enabled: Output<Boolean>? = null, identity: Output<WorkflowIdentityArgs>? = null, integrationServiceEnvironmentId: Output<String>? = null, location: Output<String>? = null, logicAppIntegrationAccountId: Output<String>? = null, name: Output<String>? = null, parameters: Output<Map<String, String>>? = null, resourceGroupName: Output<String>? = null, tags: Output<Map<String, String>>? = null, workflowParameters: Output<Map<String, String>>? = null, workflowSchema: Output<String>? = null, workflowVersion: Output<String>? = null)

Properties

Link copied to clipboard

A access_control block as defined below.

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

Is the Logic App Workflow enabled? Defaults to true.

Link copied to clipboard
val identity: Output<WorkflowIdentityArgs>? = null

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>? = null

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>? = null

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>>? = null

A map of Key-Value pairs.

Link copied to clipboard
val resourceGroupName: Output<String>? = null

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>>? = null

A mapping of tags to assign to the resource.

Link copied to clipboard
val workflowParameters: Output<Map<String, String>>? = null

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>? = null

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>? = null

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.

Functions

Link copied to clipboard
open override fun toJava(): WorkflowArgs