We recommend using Azure Native.
Azure v6.10.0 published on Tuesday, Nov 19, 2024 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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure:logicapps/getWorkflow:getWorkflow
arguments:
# arguments dictionary
The following arguments are supported:
- Name string
- The name of the Logic App Workflow.
- Resource
Group stringName - The name of the Resource Group in which the Logic App Workflow exists.
- Name string
- The name of the Logic App Workflow.
- Resource
Group stringName - The name of the Resource Group in which the Logic App Workflow exists.
- name String
- The name of the Logic App Workflow.
- resource
Group StringName - The name of the Resource Group in which the Logic App Workflow exists.
- name string
- The name of the Logic App Workflow.
- resource
Group 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.
- resource
Group StringName - The name of the Resource Group in which the Logic App Workflow exists.
getWorkflow Result
The following output properties are available:
- 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.
- Identities
List<Get
Workflow Identity> - An
identity
block as defined below. - Location string
- The Azure location where the Logic App Workflow exists.
- Logic
App 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.
- Resource
Group stringName - Dictionary<string, string>
- A mapping of tags assigned 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 - The Schema used for this Logic App Workflow.
- Workflow
Version string - The version of the Schema used for this Logic App Workflow. Defaults to
1.0.0.0
.
- 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.
- Identities
[]Get
Workflow Identity - An
identity
block as defined below. - Location string
- The Azure location where the Logic App Workflow exists.
- Logic
App 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.
- Resource
Group stringName - map[string]string
- A mapping of tags assigned 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 - The Schema used for this Logic App Workflow.
- Workflow
Version string - The version of the Schema used for this Logic App Workflow. Defaults to
1.0.0.0
.
- 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.
- identities
List<Get
Workflow Identity> - An
identity
block as defined below. - location String
- The Azure location where the Logic App Workflow exists.
- logic
App 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.
- resource
Group StringName - Map<String,String>
- A mapping of tags assigned 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 - The Schema used for this Logic App Workflow.
- workflow
Version String - The version of the Schema used for this Logic App Workflow. Defaults to
1.0.0.0
.
- 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.
- identities
Get
Workflow Identity[] - An
identity
block as defined below. - location string
- The Azure location where the Logic App Workflow exists.
- logic
App 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.
- resource
Group stringName - {[key: string]: string}
- A mapping of tags assigned 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 - The Schema used for this Logic App Workflow.
- workflow
Version 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[Get
Workflow Identity] - An
identity
block 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
.
- 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.
- identities List<Property Map>
- An
identity
block as defined below. - location String
- The Azure location where the Logic App Workflow exists.
- logic
App 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.
- resource
Group StringName - Map<String>
- A mapping of tags assigned 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 - The Schema used for this Logic App Workflow.
- workflow
Version String - The version of the Schema used for this Logic App Workflow. Defaults to
1.0.0.0
.
Supporting Types
GetWorkflowIdentity
- Identity
Ids List<string> - The list of User Assigned Managed Identity IDs assigned to this Logic App Workflow.
- Principal
Id string - The Principal ID of the System Assigned Managed Service Identity that is configured on this Logic App Workflow.
- Tenant
Id 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 []string - The list of User Assigned Managed Identity IDs assigned to this Logic App Workflow.
- Principal
Id string - The Principal ID of the System Assigned Managed Service Identity that is configured on this Logic App Workflow.
- Tenant
Id 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 List<String> - The list of User Assigned Managed Identity IDs assigned to this Logic App Workflow.
- principal
Id String - The Principal ID of the System Assigned Managed Service Identity that is configured on this Logic App Workflow.
- tenant
Id 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 string[] - The list of User Assigned Managed Identity IDs assigned to this Logic App Workflow.
- principal
Id string - The Principal ID of the System Assigned Managed Service Identity that is configured on this Logic App Workflow.
- tenant
Id 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.
- identity
Ids List<String> - The list of User Assigned Managed Identity IDs assigned to this Logic App Workflow.
- principal
Id String - The Principal ID of the System Assigned Managed Service Identity that is configured on this Logic App Workflow.
- tenant
Id 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
azurerm
Terraform Provider.