Workflow

Manages a Logic App Workflow.

Example Usage

using Pulumi;
using Azure = Pulumi.Azure;

class MyStack : Stack
{
    public MyStack()
    {
        var exampleResourceGroup = new Azure.Core.ResourceGroup("exampleResourceGroup", new Azure.Core.ResourceGroupArgs
        {
            Location = "East US",
        });
        var exampleWorkflow = new Azure.LogicApps.Workflow("exampleWorkflow", new Azure.LogicApps.WorkflowArgs
        {
            Location = exampleResourceGroup.Location,
            ResourceGroupName = exampleResourceGroup.Name,
        });
    }

}
package main

import (
    "github.com/pulumi/pulumi-azure/sdk/v3/go/azure/core"
    "github.com/pulumi/pulumi-azure/sdk/v3/go/azure/logicapps"
    "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)

func main() {
    pulumi.Run(func(ctx *pulumi.Context) error {
        exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
            Location: pulumi.String("East US"),
        })
        if err != nil {
            return err
        }
        _, err = logicapps.NewWorkflow(ctx, "exampleWorkflow", &logicapps.WorkflowArgs{
            Location:          exampleResourceGroup.Location,
            ResourceGroupName: exampleResourceGroup.Name,
        })
        if err != nil {
            return err
        }
        return nil
    })
}
import pulumi
import pulumi_azure as azure

example_resource_group = azure.core.ResourceGroup("exampleResourceGroup", location="East US")
example_workflow = azure.logicapps.Workflow("exampleWorkflow",
    location=example_resource_group.location,
    resource_group_name=example_resource_group.name)
import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";

const exampleResourceGroup = new azure.core.ResourceGroup("exampleResourceGroup", {location: "East US"});
const exampleWorkflow = new azure.logicapps.Workflow("exampleWorkflow", {
    location: exampleResourceGroup.location,
    resourceGroupName: exampleResourceGroup.name,
});

Create a Workflow Resource

def Workflow(resource_name, opts=None, location=None, logic_app_integration_account_id=None, name=None, parameters=None, resource_group_name=None, tags=None, workflow_schema=None, workflow_version=None, __props__=None);
func NewWorkflow(ctx *Context, name string, args WorkflowArgs, opts ...ResourceOption) (*Workflow, error)
public Workflow(string name, WorkflowArgs args, CustomResourceOptions? opts = null)
name string
The unique name of the resource.
args WorkflowArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
opts ResourceOptions
A bag of options that control this resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args WorkflowArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args WorkflowArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

Workflow Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.

Inputs

The Workflow resource accepts the following input properties:

ResourceGroupName string

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

Location string

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

LogicAppIntegrationAccountId string

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

Name string

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

Parameters Dictionary<string, string>

A map of Key-Value pairs.

Tags Dictionary<string, string>

A mapping of tags to assign to the resource.

WorkflowSchema 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.

WorkflowVersion 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.

ResourceGroupName string

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

Location string

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

LogicAppIntegrationAccountId string

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

Name string

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

Parameters map[string]string

A map of Key-Value pairs.

Tags map[string]string

A mapping of tags to assign to the resource.

WorkflowSchema 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.

WorkflowVersion 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.

resourceGroupName string

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

location string

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

logicAppIntegrationAccountId string

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

name string

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

parameters {[key: string]: string}

A map of Key-Value pairs.

tags {[key: string]: string}

A mapping of tags to assign to the resource.

workflowSchema 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.

workflowVersion 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.

resource_group_name str

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

location str

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

logic_app_integration_account_id str

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

name str

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

parameters Dict[str, str]

A map of Key-Value pairs.

tags Dict[str, str]

A mapping of tags to assign to the resource.

workflow_schema str

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.

workflow_version str

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.

Outputs

All input properties are implicitly available as output properties. Additionally, the Workflow resource produces the following output properties:

AccessEndpoint string

The Access Endpoint for the Logic App Workflow.

ConnectorEndpointIpAddresses List<string>

The list of access endpoint ip addresses of connector.

ConnectorOutboundIpAddresses List<string>

The list of outgoing ip addresses of connector.

Id string
The provider-assigned unique ID for this managed resource.
WorkflowEndpointIpAddresses List<string>

The list of access endpoint ip addresses of workflow.

WorkflowOutboundIpAddresses List<string>

The list of outgoing ip addresses of workflow.

AccessEndpoint string

The Access Endpoint for the Logic App Workflow.

ConnectorEndpointIpAddresses []string

The list of access endpoint ip addresses of connector.

ConnectorOutboundIpAddresses []string

The list of outgoing ip addresses of connector.

Id string
The provider-assigned unique ID for this managed resource.
WorkflowEndpointIpAddresses []string

The list of access endpoint ip addresses of workflow.

WorkflowOutboundIpAddresses []string

The list of outgoing ip addresses of workflow.

accessEndpoint string

The Access Endpoint for the Logic App Workflow.

connectorEndpointIpAddresses string[]

The list of access endpoint ip addresses of connector.

connectorOutboundIpAddresses string[]

The list of outgoing ip addresses of connector.

id string
The provider-assigned unique ID for this managed resource.
workflowEndpointIpAddresses string[]

The list of access endpoint ip addresses of workflow.

workflowOutboundIpAddresses string[]

The list of outgoing ip addresses of workflow.

access_endpoint str

The Access Endpoint for the Logic App Workflow.

connector_endpoint_ip_addresses List[str]

The list of access endpoint ip addresses of connector.

connector_outbound_ip_addresses List[str]

The list of outgoing ip addresses of connector.

id str
The provider-assigned unique ID for this managed resource.
workflow_endpoint_ip_addresses List[str]

The list of access endpoint ip addresses of workflow.

workflow_outbound_ip_addresses List[str]

The list of outgoing ip addresses of workflow.

Look up an Existing Workflow Resource

Get an existing Workflow resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: WorkflowState, opts?: CustomResourceOptions): Workflow
static get(resource_name, id, opts=None, access_endpoint=None, connector_endpoint_ip_addresses=None, connector_outbound_ip_addresses=None, location=None, logic_app_integration_account_id=None, name=None, parameters=None, resource_group_name=None, tags=None, workflow_endpoint_ip_addresses=None, workflow_outbound_ip_addresses=None, workflow_schema=None, workflow_version=None, __props__=None);
func GetWorkflow(ctx *Context, name string, id IDInput, state *WorkflowState, opts ...ResourceOption) (*Workflow, error)
public static Workflow Get(string name, Input<string> id, WorkflowState? state, CustomResourceOptions? opts = null)
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.

The following state arguments are supported:

AccessEndpoint string

The Access Endpoint for the Logic App Workflow.

ConnectorEndpointIpAddresses List<string>

The list of access endpoint ip addresses of connector.

ConnectorOutboundIpAddresses List<string>

The list of outgoing ip addresses of connector.

Location string

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

LogicAppIntegrationAccountId string

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

Name string

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

Parameters Dictionary<string, string>

A map of Key-Value pairs.

ResourceGroupName string

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

Tags Dictionary<string, string>

A mapping of tags to assign to the resource.

WorkflowEndpointIpAddresses List<string>

The list of access endpoint ip addresses of workflow.

WorkflowOutboundIpAddresses List<string>

The list of outgoing ip addresses of workflow.

WorkflowSchema 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.

WorkflowVersion 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.

AccessEndpoint string

The Access Endpoint for the Logic App Workflow.

ConnectorEndpointIpAddresses []string

The list of access endpoint ip addresses of connector.

ConnectorOutboundIpAddresses []string

The list of outgoing ip addresses of connector.

Location string

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

LogicAppIntegrationAccountId string

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

Name string

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

Parameters map[string]string

A map of Key-Value pairs.

ResourceGroupName string

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

Tags map[string]string

A mapping of tags to assign to the resource.

WorkflowEndpointIpAddresses []string

The list of access endpoint ip addresses of workflow.

WorkflowOutboundIpAddresses []string

The list of outgoing ip addresses of workflow.

WorkflowSchema 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.

WorkflowVersion 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.

accessEndpoint string

The Access Endpoint for the Logic App Workflow.

connectorEndpointIpAddresses string[]

The list of access endpoint ip addresses of connector.

connectorOutboundIpAddresses string[]

The list of outgoing ip addresses of connector.

location string

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

logicAppIntegrationAccountId string

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

name string

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

parameters {[key: string]: string}

A map of Key-Value pairs.

resourceGroupName string

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

tags {[key: string]: string}

A mapping of tags to assign to the resource.

workflowEndpointIpAddresses string[]

The list of access endpoint ip addresses of workflow.

workflowOutboundIpAddresses string[]

The list of outgoing ip addresses of workflow.

workflowSchema 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.

workflowVersion 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.

access_endpoint str

The Access Endpoint for the Logic App Workflow.

connector_endpoint_ip_addresses List[str]

The list of access endpoint ip addresses of connector.

connector_outbound_ip_addresses List[str]

The list of outgoing ip addresses of connector.

location str

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

logic_app_integration_account_id str

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

name str

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

parameters Dict[str, str]

A map of Key-Value pairs.

resource_group_name str

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

tags Dict[str, str]

A mapping of tags to assign to the resource.

workflow_endpoint_ip_addresses List[str]

The list of access endpoint ip addresses of workflow.

workflow_outbound_ip_addresses List[str]

The list of outgoing ip addresses of workflow.

workflow_schema str

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.

workflow_version str

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.

Package Details

Repository
https://github.com/pulumi/pulumi-azure
License
Apache-2.0
Notes
This Pulumi package is based on the azurerm Terraform Provider.