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
LookupWorkflowin 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.
- 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.
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.
- 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.
- 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 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.
- 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_ 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.
- 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 Dict[str, str]
A map of Key-Value pairs.
- resource_
group_ strname - Dict[str, str]
A mapping of tags assigned 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 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
azurermTerraform Provider.