We recommend using Azure Native.
Azure v6.21.0 published on Friday, Mar 7, 2025 by Pulumi
azure.logicapps.getWorkflow
Explore with Pulumi AI
Use this data source to access information about an existing Logic App Workflow.
Example Usage
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);
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)
package main
import (
	"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 := logicapps.LookupWorkflow(ctx, &logicapps.LookupWorkflowArgs{
			Name:              "workflow1",
			ResourceGroupName: "my-resource-group",
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("accessEndpoint", example.AccessEndpoint)
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Azure = Pulumi.Azure;
return await Deployment.RunAsync(() => 
{
    var example = Azure.LogicApps.GetWorkflow.Invoke(new()
    {
        Name = "workflow1",
        ResourceGroupName = "my-resource-group",
    });
    return new Dictionary<string, object?>
    {
        ["accessEndpoint"] = example.Apply(getWorkflowResult => getWorkflowResult.AccessEndpoint),
    };
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azure.logicapps.LogicappsFunctions;
import com.pulumi.azure.logicapps.inputs.GetWorkflowArgs;
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) {
        final var example = LogicappsFunctions.getWorkflow(GetWorkflowArgs.builder()
            .name("workflow1")
            .resourceGroupName("my-resource-group")
            .build());
        ctx.export("accessEndpoint", example.applyValue(getWorkflowResult -> getWorkflowResult.accessEndpoint()));
    }
}
variables:
  example:
    fn::invoke:
      function: azure:logicapps:getWorkflow
      arguments:
        name: workflow1
        resourceGroupName: my-resource-group
outputs:
  accessEndpoint: ${example.accessEndpoint}
Using getWorkflow
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getWorkflow(args: GetWorkflowArgs, opts?: InvokeOptions): Promise<GetWorkflowResult>
function getWorkflowOutput(args: GetWorkflowOutputArgs, opts?: InvokeOptions): Output<GetWorkflowResult>def get_workflow(name: Optional[str] = None,
                 resource_group_name: Optional[str] = None,
                 opts: Optional[InvokeOptions] = None) -> GetWorkflowResult
def get_workflow_output(name: Optional[pulumi.Input[str]] = None,
                 resource_group_name: Optional[pulumi.Input[str]] = None,
                 opts: Optional[InvokeOptions] = None) -> Output[GetWorkflowResult]func LookupWorkflow(ctx *Context, args *LookupWorkflowArgs, opts ...InvokeOption) (*LookupWorkflowResult, error)
func LookupWorkflowOutput(ctx *Context, args *LookupWorkflowOutputArgs, opts ...InvokeOption) LookupWorkflowResultOutput> Note: This function is named LookupWorkflow in the Go SDK.
public static class GetWorkflow 
{
    public static Task<GetWorkflowResult> InvokeAsync(GetWorkflowArgs args, InvokeOptions? opts = null)
    public static Output<GetWorkflowResult> Invoke(GetWorkflowInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetWorkflowResult> getWorkflow(GetWorkflowArgs args, InvokeOptions options)
public static Output<GetWorkflowResult> getWorkflow(GetWorkflowArgs args, InvokeOptions options)
fn::invoke:
  function: azure:logicapps/getWorkflow:getWorkflow
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Name string
- The name of the Logic App Workflow.
- ResourceGroup stringName 
- The name of the Resource Group in which the Logic App Workflow exists.
- Name string
- The name of the Logic App Workflow.
- ResourceGroup stringName 
- The name of the Resource Group in which the Logic App Workflow exists.
- name String
- The name of the Logic App Workflow.
- resourceGroup StringName 
- The name of the Resource Group in which the Logic App Workflow exists.
- name string
- The name of the Logic App Workflow.
- resourceGroup stringName 
- The name of the Resource Group in which the Logic App Workflow exists.
- name str
- The name of the Logic App Workflow.
- resource_group_ strname 
- The name of the Resource Group in which the Logic App Workflow exists.
- name String
- The name of the Logic App Workflow.
- resourceGroup StringName 
- 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
- ConnectorEndpoint List<string>Ip Addresses 
- The list of access endpoint IP addresses of connector.
- ConnectorOutbound List<string>Ip Addresses 
- The list of outgoing IP addresses of connector.
- Id string
- The provider-assigned unique ID for this managed resource.
- Identities
List<GetWorkflow Identity> 
- An identityblock as defined below.
- Location string
- The Azure location where the Logic App Workflow exists.
- LogicApp stringIntegration Account Id 
- The ID of the integration account linked by this Logic App Workflow.
- Name string
- Parameters Dictionary<string, string>
- A map of Key-Value pairs.
- ResourceGroup stringName 
- Dictionary<string, string>
- A mapping of tags assigned to the resource.
- WorkflowEndpoint List<string>Ip Addresses 
- The list of access endpoint IP addresses of workflow.
- WorkflowOutbound List<string>Ip Addresses 
- 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
- ConnectorEndpoint []stringIp Addresses 
- The list of access endpoint IP addresses of connector.
- ConnectorOutbound []stringIp Addresses 
- The list of outgoing IP addresses of connector.
- Id string
- The provider-assigned unique ID for this managed resource.
- Identities
[]GetWorkflow Identity 
- An identityblock as defined below.
- Location string
- The Azure location where the Logic App Workflow exists.
- LogicApp stringIntegration Account Id 
- The ID of the integration account linked by this Logic App Workflow.
- Name string
- Parameters map[string]string
- A map of Key-Value pairs.
- ResourceGroup stringName 
- map[string]string
- A mapping of tags assigned to the resource.
- WorkflowEndpoint []stringIp Addresses 
- The list of access endpoint IP addresses of workflow.
- WorkflowOutbound []stringIp Addresses 
- 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
- connectorEndpoint List<String>Ip Addresses 
- The list of access endpoint IP addresses of connector.
- connectorOutbound List<String>Ip Addresses 
- The list of outgoing IP addresses of connector.
- id String
- The provider-assigned unique ID for this managed resource.
- identities
List<GetWorkflow Identity> 
- An identityblock as defined below.
- location String
- The Azure location where the Logic App Workflow exists.
- logicApp StringIntegration Account Id 
- The ID of the integration account linked by this Logic App Workflow.
- name String
- parameters Map<String,String>
- A map of Key-Value pairs.
- resourceGroup StringName 
- Map<String,String>
- A mapping of tags assigned to the resource.
- workflowEndpoint List<String>Ip Addresses 
- The list of access endpoint IP addresses of workflow.
- workflowOutbound List<String>Ip Addresses 
- 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
- connectorEndpoint string[]Ip Addresses 
- The list of access endpoint IP addresses of connector.
- connectorOutbound string[]Ip Addresses 
- The list of outgoing IP addresses of connector.
- id string
- The provider-assigned unique ID for this managed resource.
- identities
GetWorkflow Identity[] 
- An identityblock as defined below.
- location string
- The Azure location where the Logic App Workflow exists.
- logicApp stringIntegration Account Id 
- The ID of the integration account linked by this Logic App Workflow.
- name string
- parameters {[key: string]: string}
- A map of Key-Value pairs.
- resourceGroup stringName 
- {[key: string]: string}
- A mapping of tags assigned to the resource.
- workflowEndpoint string[]Ip Addresses 
- The list of access endpoint IP addresses of workflow.
- workflowOutbound string[]Ip Addresses 
- 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_ Sequence[str]ip_ addresses 
- The list of access endpoint IP addresses of connector.
- connector_outbound_ Sequence[str]ip_ addresses 
- The list of outgoing IP addresses of connector.
- id str
- The provider-assigned unique ID for this managed resource.
- identities
Sequence[GetWorkflow Identity] 
- An identityblock as defined below.
- location str
- The Azure location where the Logic App Workflow exists.
- logic_app_ strintegration_ account_ id 
- The ID of the integration account linked by this Logic App Workflow.
- name str
- parameters Mapping[str, str]
- A map of Key-Value pairs.
- resource_group_ strname 
- Mapping[str, str]
- A mapping of tags assigned to the resource.
- workflow_endpoint_ Sequence[str]ip_ addresses 
- The list of access endpoint IP addresses of workflow.
- workflow_outbound_ Sequence[str]ip_ addresses 
- 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.
- accessEndpoint String
- The Access Endpoint for the Logic App Workflow
- connectorEndpoint List<String>Ip Addresses 
- The list of access endpoint IP addresses of connector.
- connectorOutbound List<String>Ip Addresses 
- The list of outgoing IP addresses of connector.
- id String
- The provider-assigned unique ID for this managed resource.
- identities List<Property Map>
- An identityblock as defined below.
- location String
- The Azure location where the Logic App Workflow exists.
- logicApp StringIntegration Account Id 
- The ID of the integration account linked by this Logic App Workflow.
- name String
- parameters Map<String>
- A map of Key-Value pairs.
- resourceGroup StringName 
- Map<String>
- A mapping of tags assigned to the resource.
- workflowEndpoint List<String>Ip Addresses 
- The list of access endpoint IP addresses of workflow.
- workflowOutbound List<String>Ip Addresses 
- 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.
Supporting Types
GetWorkflowIdentity  
- IdentityIds List<string>
- The list of User Assigned Managed Identity IDs assigned to this Logic App Workflow.
- PrincipalId string
- The Principal ID of the System Assigned Managed Service Identity that is configured on this Logic App Workflow.
- TenantId string
- The Tenant ID of the System Assigned Managed Service Identity that is configured on this Logic App Workflow.
- Type string
- The type of Managed Service Identity that is configured on this Logic App Workflow.
- IdentityIds []string
- The list of User Assigned Managed Identity IDs assigned to this Logic App Workflow.
- PrincipalId string
- The Principal ID of the System Assigned Managed Service Identity that is configured on this Logic App Workflow.
- TenantId string
- The Tenant ID of the System Assigned Managed Service Identity that is configured on this Logic App Workflow.
- Type string
- The type of Managed Service Identity that is configured on this Logic App Workflow.
- identityIds List<String>
- The list of User Assigned Managed Identity IDs assigned to this Logic App Workflow.
- principalId String
- The Principal ID of the System Assigned Managed Service Identity that is configured on this Logic App Workflow.
- tenantId String
- The Tenant ID of the System Assigned Managed Service Identity that is configured on this Logic App Workflow.
- type String
- The type of Managed Service Identity that is configured on this Logic App Workflow.
- identityIds string[]
- The list of User Assigned Managed Identity IDs assigned to this Logic App Workflow.
- principalId string
- The Principal ID of the System Assigned Managed Service Identity that is configured on this Logic App Workflow.
- tenantId string
- The Tenant ID of the System Assigned Managed Service Identity that is configured on this Logic App Workflow.
- type string
- The type of Managed Service Identity that is configured on this Logic App Workflow.
- identity_ids Sequence[str]
- The list of User Assigned Managed Identity IDs assigned to this Logic App Workflow.
- principal_id str
- The Principal ID of the System Assigned Managed Service Identity that is configured on this Logic App Workflow.
- tenant_id str
- The Tenant ID of the System Assigned Managed Service Identity that is configured on this Logic App Workflow.
- type str
- The type of Managed Service Identity that is configured on this Logic App Workflow.
- identityIds List<String>
- The list of User Assigned Managed Identity IDs assigned to this Logic App Workflow.
- principalId String
- The Principal ID of the System Assigned Managed Service Identity that is configured on this Logic App Workflow.
- tenantId String
- The Tenant ID of the System Assigned Managed Service Identity that is configured on this Logic App Workflow.
- type String
- The type of Managed Service Identity that is configured on this Logic App Workflow.
Package Details
- Repository
- Azure Classic pulumi/pulumi-azure
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the azurermTerraform Provider.