1. Packages
  2. Azure Classic
  3. API Docs
  4. logicapps
  5. getIntegrationAccount

We recommend using Azure Native.

Azure Classic v6.2.0 published on Friday, Sep 27, 2024 by Pulumi

azure.logicapps.getIntegrationAccount

Explore with Pulumi AI

azure logo

We recommend using Azure Native.

Azure Classic v6.2.0 published on Friday, Sep 27, 2024 by Pulumi

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

    Example Usage

    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);
    
    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)
    
    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.LookupIntegrationAccount(ctx, &logicapps.LookupIntegrationAccountArgs{
    			Name:              "example-account",
    			ResourceGroupName: "example-resource-group",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		ctx.Export("id", example.Id)
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Azure = Pulumi.Azure;
    
    return await Deployment.RunAsync(() => 
    {
        var example = Azure.LogicApps.GetIntegrationAccount.Invoke(new()
        {
            Name = "example-account",
            ResourceGroupName = "example-resource-group",
        });
    
        return new Dictionary<string, object?>
        {
            ["id"] = example.Apply(getIntegrationAccountResult => getIntegrationAccountResult.Id),
        };
    });
    
    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.GetIntegrationAccountArgs;
    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.getIntegrationAccount(GetIntegrationAccountArgs.builder()
                .name("example-account")
                .resourceGroupName("example-resource-group")
                .build());
    
            ctx.export("id", example.applyValue(getIntegrationAccountResult -> getIntegrationAccountResult.id()));
        }
    }
    
    variables:
      example:
        fn::invoke:
          Function: azure:logicapps:getIntegrationAccount
          Arguments:
            name: example-account
            resourceGroupName: example-resource-group
    outputs:
      id: ${example.id}
    

    Using getIntegrationAccount

    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 getIntegrationAccount(args: GetIntegrationAccountArgs, opts?: InvokeOptions): Promise<GetIntegrationAccountResult>
    function getIntegrationAccountOutput(args: GetIntegrationAccountOutputArgs, opts?: InvokeOptions): Output<GetIntegrationAccountResult>
    def get_integration_account(name: Optional[str] = None,
                                resource_group_name: Optional[str] = None,
                                opts: Optional[InvokeOptions] = None) -> GetIntegrationAccountResult
    def get_integration_account_output(name: Optional[pulumi.Input[str]] = None,
                                resource_group_name: Optional[pulumi.Input[str]] = None,
                                opts: Optional[InvokeOptions] = None) -> Output[GetIntegrationAccountResult]
    func LookupIntegrationAccount(ctx *Context, args *LookupIntegrationAccountArgs, opts ...InvokeOption) (*LookupIntegrationAccountResult, error)
    func LookupIntegrationAccountOutput(ctx *Context, args *LookupIntegrationAccountOutputArgs, opts ...InvokeOption) LookupIntegrationAccountResultOutput

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

    public static class GetIntegrationAccount 
    {
        public static Task<GetIntegrationAccountResult> InvokeAsync(GetIntegrationAccountArgs args, InvokeOptions? opts = null)
        public static Output<GetIntegrationAccountResult> Invoke(GetIntegrationAccountInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetIntegrationAccountResult> getIntegrationAccount(GetIntegrationAccountArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: azure:logicapps/getIntegrationAccount:getIntegrationAccount
      arguments:
        # arguments dictionary

    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 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.
    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.

    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 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 Mapping[str, str]
    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>
    A mapping of tags assigned to the Logic App Integration Account.

    Package Details

    Repository
    Azure Classic pulumi/pulumi-azure
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the azurerm Terraform Provider.
    azure logo

    We recommend using Azure Native.

    Azure Classic v6.2.0 published on Friday, Sep 27, 2024 by Pulumi