GetIntegrationAccount

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

Example Usage

using Pulumi;
using Azure = Pulumi.Azure;

class MyStack : Stack
{
    public MyStack()
    {
        var example = Output.Create(Azure.LogicApps.GetIntegrationAccount.InvokeAsync(new Azure.LogicApps.GetIntegrationAccountArgs
        {
            Name = "example-account",
            ResourceGroupName = "example-resource-group",
        }));
        this.Id = example.Apply(example => example.Id);
    }

    [Output("id")]
    public Output<string> Id { 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.LookupIntegrationAccount(ctx, &logicapps.LookupIntegrationAccountArgs{
            Name:              "example-account",
            ResourceGroupName: "example-resource-group",
        }, nil)
        if err != nil {
            return err
        }
        ctx.Export("id", example.Id)
        return nil
    })
}
import pulumi
import pulumi_azure as azure

example = azure.logicapps.get_integration_account(name="example-account",
    resource_group_name="example-resource-group")
pulumi.export("id", example.id)
import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";

const example = azure.logicapps.getIntegrationAccount({
    name: "example-account",
    resourceGroupName: "example-resource-group",
});
export const id = example.then(example => example.id);

Using GetIntegrationAccount

function getIntegrationAccount(args: GetIntegrationAccountArgs, opts?: InvokeOptions): Promise<GetIntegrationAccountResult>
function  get_integration_account(name=None, resource_group_name=None, opts=None)
func LookupIntegrationAccount(ctx *Context, args *LookupIntegrationAccountArgs, opts ...InvokeOption) (*LookupIntegrationAccountResult, error)

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

public static class GetIntegrationAccount {
    public static Task<GetIntegrationAccountResult> InvokeAsync(GetIntegrationAccountArgs args, InvokeOptions? opts = null)
}

The following arguments are supported:

Name string

The name of this Logic App Integration Account.

ResourceGroupName string

The name of the Resource Group where the Logic App Integration Account exists.

Name string

The name of this Logic App Integration Account.

ResourceGroupName string

The name of the Resource Group where the Logic App Integration Account exists.

name string

The name of this Logic App Integration Account.

resourceGroupName string

The name of the Resource Group where the Logic App Integration Account exists.

name str

The name of this Logic App Integration Account.

resource_group_name str

The name of the Resource Group where the Logic App Integration Account exists.

GetIntegrationAccount Result

The following output properties are available:

Id string

The provider-assigned unique ID for this managed resource.

Location string

The Azure Region where the Logic App Integration Account exists.

Name string
ResourceGroupName string
SkuName string

The sku name of the Logic App Integration Account.

Tags Dictionary<string, string>

A mapping of tags assigned to the Logic App Integration Account.

Id string

The provider-assigned unique ID for this managed resource.

Location string

The Azure Region where the Logic App Integration Account exists.

Name string
ResourceGroupName string
SkuName string

The sku name of the Logic App Integration Account.

Tags map[string]string

A mapping of tags assigned to the Logic App Integration Account.

id string

The provider-assigned unique ID for this managed resource.

location string

The Azure Region where the Logic App Integration Account exists.

name string
resourceGroupName string
skuName string

The sku name of the Logic App Integration Account.

tags {[key: string]: string}

A mapping of tags assigned to the Logic App Integration Account.

id str

The provider-assigned unique ID for this managed resource.

location str

The Azure Region where the Logic App Integration Account exists.

name str
resource_group_name str
sku_name str

The sku name of the Logic App Integration Account.

tags Dict[str, str]

A mapping of tags assigned to the Logic App Integration Account.

Package Details

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