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
new Workflow(name: string, args: WorkflowArgs, opts?: CustomResourceOptions);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:
- Resource
Group stringName 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.
- Logic
App stringIntegration Account Id 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.
- Dictionary<string, string>
A mapping of tags to assign to the resource.
- Workflow
Schema 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.- Workflow
Version 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 stringName 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.
- Logic
App stringIntegration Account Id 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.
- map[string]string
A mapping of tags to assign to the resource.
- Workflow
Schema 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.- Workflow
Version 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 stringName 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.
- logic
App stringIntegration Account Id 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.
- {[key: string]: string}
A mapping of tags to assign to the resource.
- workflow
Schema 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.- workflow
Version 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_ strname 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_ strintegration_ account_ id 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.
- 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:
- Access
Endpoint string The Access Endpoint for the Logic App Workflow.
- Connector
Endpoint List<string>Ip Addresses The list of access endpoint ip addresses of connector.
- Connector
Outbound List<string>Ip Addresses The list of outgoing ip addresses of connector.
- Id string
- The provider-assigned unique ID for this managed resource.
- Workflow
Endpoint List<string>Ip Addresses The list of access endpoint ip addresses of workflow.
- Workflow
Outbound List<string>Ip Addresses The list of outgoing ip addresses of workflow.
- Access
Endpoint string The Access Endpoint for the Logic App Workflow.
- Connector
Endpoint []stringIp Addresses The list of access endpoint ip addresses of connector.
- Connector
Outbound []stringIp Addresses The list of outgoing ip addresses of connector.
- Id string
- The provider-assigned unique ID for this managed resource.
- Workflow
Endpoint []stringIp Addresses The list of access endpoint ip addresses of workflow.
- Workflow
Outbound []stringIp Addresses The list of outgoing ip addresses of workflow.
- access
Endpoint string The Access Endpoint for the Logic App Workflow.
- connector
Endpoint string[]Ip Addresses The list of access endpoint ip addresses of connector.
- connector
Outbound string[]Ip Addresses The list of outgoing ip addresses of connector.
- id string
- The provider-assigned unique ID for this managed resource.
- workflow
Endpoint string[]Ip Addresses The list of access endpoint ip addresses of workflow.
- workflow
Outbound string[]Ip Addresses The list of outgoing ip addresses of workflow.
- access_
endpoint str The Access Endpoint for the Logic App Workflow.
- connector_
endpoint_ List[str]ip_ addresses The list of access endpoint ip addresses of connector.
- connector_
outbound_ List[str]ip_ addresses The list of outgoing ip addresses of connector.
- id str
- The provider-assigned unique ID for this managed resource.
- workflow_
endpoint_ List[str]ip_ addresses The list of access endpoint ip addresses of workflow.
- workflow_
outbound_ List[str]ip_ addresses 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): Workflowstatic 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:
- Access
Endpoint string The Access Endpoint for the Logic App Workflow.
- Connector
Endpoint List<string>Ip Addresses The list of access endpoint ip addresses of connector.
- Connector
Outbound List<string>Ip Addresses 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.
- Logic
App stringIntegration Account Id 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.
- Resource
Group stringName The name of the Resource Group in which the Logic App Workflow should be created. Changing this forces a new resource to be created.
- Dictionary<string, string>
A mapping of tags to assign to the resource.
- Workflow
Endpoint List<string>Ip Addresses The list of access endpoint ip addresses of workflow.
- Workflow
Outbound List<string>Ip Addresses The list of outgoing ip addresses of workflow.
- Workflow
Schema 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.- Workflow
Version 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 string The Access Endpoint for the Logic App Workflow.
- Connector
Endpoint []stringIp Addresses The list of access endpoint ip addresses of connector.
- Connector
Outbound []stringIp Addresses 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.
- Logic
App stringIntegration Account Id 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.
- Resource
Group stringName The name of the Resource Group in which the Logic App Workflow should be created. Changing this forces a new resource to be created.
- map[string]string
A mapping of tags to assign to the resource.
- Workflow
Endpoint []stringIp Addresses The list of access endpoint ip addresses of workflow.
- Workflow
Outbound []stringIp Addresses The list of outgoing ip addresses of workflow.
- Workflow
Schema 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.- Workflow
Version 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 string The Access Endpoint for the Logic App Workflow.
- connector
Endpoint string[]Ip Addresses The list of access endpoint ip addresses of connector.
- connector
Outbound string[]Ip Addresses 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.
- logic
App stringIntegration Account Id 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.
- resource
Group stringName The name of the Resource Group in which the Logic App Workflow should be created. Changing this forces a new resource to be created.
- {[key: string]: string}
A mapping of tags to assign to the resource.
- workflow
Endpoint string[]Ip Addresses The list of access endpoint ip addresses of workflow.
- workflow
Outbound string[]Ip Addresses The list of outgoing ip addresses of workflow.
- workflow
Schema 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.- workflow
Version 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_ List[str]ip_ addresses The list of access endpoint ip addresses of connector.
- connector_
outbound_ List[str]ip_ addresses 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_ strintegration_ account_ id 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_ strname The name of the Resource Group in which the Logic App Workflow should be created. Changing this forces a new resource to be created.
- Dict[str, str]
A mapping of tags to assign to the resource.
- workflow_
endpoint_ List[str]ip_ addresses The list of access endpoint ip addresses of workflow.
- workflow_
outbound_ List[str]ip_ addresses 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
azurermTerraform Provider.