GetWorkflow

Use this data source to access information about an existing Logic App Workflow.

Example Usage

using Pulumi;
using Azure = Pulumi.Azure;

class MyStack : Stack
{
    public MyStack()
    {
        var example = Output.Create(Azure.LogicApps.GetWorkflow.InvokeAsync(new Azure.LogicApps.GetWorkflowArgs
        {
            Name = "workflow1",
            ResourceGroupName = "my-resource-group",
        }));
        this.AccessEndpoint = example.Apply(example => example.AccessEndpoint);
    }

    [Output("accessEndpoint")]
    public Output<string> AccessEndpoint { get; set; }
}
package main

import (
    "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 {
        example, err := logicapps.LookupWorkflow(ctx, &logicapps.LookupWorkflowArgs{
            Name:              "workflow1",
            ResourceGroupName: "my-resource-group",
        }, nil)
        if err != nil {
            return err
        }
        ctx.Export("accessEndpoint", example.AccessEndpoint)
        return nil
    })
}
import pulumi
import pulumi_azure as azure

example = azure.logicapps.get_workflow(name="workflow1",
    resource_group_name="my-resource-group")
pulumi.export("accessEndpoint", example.access_endpoint)
import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";

const example = azure.logicapps.getWorkflow({
    name: "workflow1",
    resourceGroupName: "my-resource-group",
});
export const accessEndpoint = example.then(example => example.accessEndpoint);

Using GetWorkflow

function getWorkflow(args: GetWorkflowArgs, opts?: InvokeOptions): Promise<GetWorkflowResult>
function  get_workflow(name=None, resource_group_name=None, opts=None)
func LookupWorkflow(ctx *Context, args *LookupWorkflowArgs, opts ...InvokeOption) (*LookupWorkflowResult, error)

Note: This function is named LookupWorkflow in the Go SDK.

public static class GetWorkflow {
    public static Task<GetWorkflowResult> InvokeAsync(GetWorkflowArgs args, InvokeOptions? opts = null)
}

The following arguments are supported:

Name string

The name of the Logic App Workflow.

ResourceGroupName string

The name of the Resource Group in which the Logic App Workflow exists.

Name string

The name of the Logic App Workflow.

ResourceGroupName string

The name of the Resource Group in which the Logic App Workflow exists.

name string

The name of the Logic App Workflow.

resourceGroupName string

The name of the Resource Group in which the Logic App Workflow exists.

name str

The name of the Logic App Workflow.

resource_group_name str

The name of the Resource Group in which the Logic App Workflow exists.

GetWorkflow Result

The following output properties are available:

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.

Location string

The Azure location where the Logic App Workflow exists.

LogicAppIntegrationAccountId string

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

Name string
Parameters Dictionary<string, string>

A map of Key-Value pairs.

ResourceGroupName string
Tags Dictionary<string, string>

A mapping of tags assigned 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

The Schema used for this Logic App Workflow.

WorkflowVersion string

The version of the Schema used for this Logic App Workflow. Defaults to 1.0.0.0.

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.

Location string

The Azure location where the Logic App Workflow exists.

LogicAppIntegrationAccountId string

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

Name string
Parameters map[string]string

A map of Key-Value pairs.

ResourceGroupName string
Tags map[string]string

A mapping of tags assigned 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

The Schema used for this Logic App Workflow.

WorkflowVersion string

The version of the Schema used for this Logic App Workflow. Defaults to 1.0.0.0.

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.

location string

The Azure location where the Logic App Workflow exists.

logicAppIntegrationAccountId string

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

name string
parameters {[key: string]: string}

A map of Key-Value pairs.

resourceGroupName string
tags {[key: string]: string}

A mapping of tags assigned 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

The Schema used for this Logic App Workflow.

workflowVersion string

The version of the Schema used for this Logic App Workflow. Defaults to 1.0.0.0.

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.

location str

The Azure location where the Logic App Workflow exists.

logic_app_integration_account_id str

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

name str
parameters Dict[str, str]

A map of Key-Value pairs.

resource_group_name str
tags Dict[str, str]

A mapping of tags assigned 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

The Schema used for this Logic App Workflow.

workflow_version str

The version of the Schema used for this Logic App Workflow. Defaults to 1.0.0.0.

Package Details

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