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

We recommend using Azure Native.

Azure Classic v5.52.0 published on Monday, Oct 2, 2023 by Pulumi

azure.logicapps.IntegrationAccountMap

Explore with Pulumi AI

azure logo

We recommend using Azure Native.

Azure Classic v5.52.0 published on Monday, Oct 2, 2023 by Pulumi

    Manages a Logic App Integration Account Map.

    Example Usage

    using System.Collections.Generic;
    using System.IO;
    using System.Linq;
    using Pulumi;
    using Azure = Pulumi.Azure;
    
    return await Deployment.RunAsync(() => 
    {
        var exampleResourceGroup = new Azure.Core.ResourceGroup("exampleResourceGroup", new()
        {
            Location = "West Europe",
        });
    
        var exampleIntegrationAccount = new Azure.LogicApps.IntegrationAccount("exampleIntegrationAccount", new()
        {
            Location = exampleResourceGroup.Location,
            ResourceGroupName = exampleResourceGroup.Name,
            SkuName = "Standard",
        });
    
        var exampleIntegrationAccountMap = new Azure.LogicApps.IntegrationAccountMap("exampleIntegrationAccountMap", new()
        {
            ResourceGroupName = exampleResourceGroup.Name,
            IntegrationAccountName = exampleIntegrationAccount.Name,
            MapType = "Xslt",
            Content = File.ReadAllText("testdata/integration_account_map_content.xsd"),
        });
    
    });
    
    package main
    
    import (
    	"os"
    
    	"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
    	"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/logicapps"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func readFileOrPanic(path string) pulumi.StringPtrInput {
    	data, err := os.ReadFile(path)
    	if err != nil {
    		panic(err.Error())
    	}
    	return pulumi.String(string(data))
    }
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
    			Location: pulumi.String("West Europe"),
    		})
    		if err != nil {
    			return err
    		}
    		exampleIntegrationAccount, err := logicapps.NewIntegrationAccount(ctx, "exampleIntegrationAccount", &logicapps.IntegrationAccountArgs{
    			Location:          exampleResourceGroup.Location,
    			ResourceGroupName: exampleResourceGroup.Name,
    			SkuName:           pulumi.String("Standard"),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = logicapps.NewIntegrationAccountMap(ctx, "exampleIntegrationAccountMap", &logicapps.IntegrationAccountMapArgs{
    			ResourceGroupName:      exampleResourceGroup.Name,
    			IntegrationAccountName: exampleIntegrationAccount.Name,
    			MapType:                pulumi.String("Xslt"),
    			Content:                readFileOrPanic("testdata/integration_account_map_content.xsd"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azure.core.ResourceGroup;
    import com.pulumi.azure.core.ResourceGroupArgs;
    import com.pulumi.azure.logicapps.IntegrationAccount;
    import com.pulumi.azure.logicapps.IntegrationAccountArgs;
    import com.pulumi.azure.logicapps.IntegrationAccountMap;
    import com.pulumi.azure.logicapps.IntegrationAccountMapArgs;
    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) {
            var exampleResourceGroup = new ResourceGroup("exampleResourceGroup", ResourceGroupArgs.builder()        
                .location("West Europe")
                .build());
    
            var exampleIntegrationAccount = new IntegrationAccount("exampleIntegrationAccount", IntegrationAccountArgs.builder()        
                .location(exampleResourceGroup.location())
                .resourceGroupName(exampleResourceGroup.name())
                .skuName("Standard")
                .build());
    
            var exampleIntegrationAccountMap = new IntegrationAccountMap("exampleIntegrationAccountMap", IntegrationAccountMapArgs.builder()        
                .resourceGroupName(exampleResourceGroup.name())
                .integrationAccountName(exampleIntegrationAccount.name())
                .mapType("Xslt")
                .content(Files.readString(Paths.get("testdata/integration_account_map_content.xsd")))
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure as azure
    
    example_resource_group = azure.core.ResourceGroup("exampleResourceGroup", location="West Europe")
    example_integration_account = azure.logicapps.IntegrationAccount("exampleIntegrationAccount",
        location=example_resource_group.location,
        resource_group_name=example_resource_group.name,
        sku_name="Standard")
    example_integration_account_map = azure.logicapps.IntegrationAccountMap("exampleIntegrationAccountMap",
        resource_group_name=example_resource_group.name,
        integration_account_name=example_integration_account.name,
        map_type="Xslt",
        content=(lambda path: open(path).read())("testdata/integration_account_map_content.xsd"))
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure from "@pulumi/azure";
    import * as fs from "fs";
    
    const exampleResourceGroup = new azure.core.ResourceGroup("exampleResourceGroup", {location: "West Europe"});
    const exampleIntegrationAccount = new azure.logicapps.IntegrationAccount("exampleIntegrationAccount", {
        location: exampleResourceGroup.location,
        resourceGroupName: exampleResourceGroup.name,
        skuName: "Standard",
    });
    const exampleIntegrationAccountMap = new azure.logicapps.IntegrationAccountMap("exampleIntegrationAccountMap", {
        resourceGroupName: exampleResourceGroup.name,
        integrationAccountName: exampleIntegrationAccount.name,
        mapType: "Xslt",
        content: fs.readFileSync("testdata/integration_account_map_content.xsd"),
    });
    
    resources:
      exampleResourceGroup:
        type: azure:core:ResourceGroup
        properties:
          location: West Europe
      exampleIntegrationAccount:
        type: azure:logicapps:IntegrationAccount
        properties:
          location: ${exampleResourceGroup.location}
          resourceGroupName: ${exampleResourceGroup.name}
          skuName: Standard
      exampleIntegrationAccountMap:
        type: azure:logicapps:IntegrationAccountMap
        properties:
          resourceGroupName: ${exampleResourceGroup.name}
          integrationAccountName: ${exampleIntegrationAccount.name}
          mapType: Xslt
          content:
            fn::readFile: testdata/integration_account_map_content.xsd
    

    Create IntegrationAccountMap Resource

    new IntegrationAccountMap(name: string, args: IntegrationAccountMapArgs, opts?: CustomResourceOptions);
    @overload
    def IntegrationAccountMap(resource_name: str,
                              opts: Optional[ResourceOptions] = None,
                              content: Optional[str] = None,
                              integration_account_name: Optional[str] = None,
                              map_type: Optional[str] = None,
                              metadata: Optional[Mapping[str, str]] = None,
                              name: Optional[str] = None,
                              resource_group_name: Optional[str] = None)
    @overload
    def IntegrationAccountMap(resource_name: str,
                              args: IntegrationAccountMapArgs,
                              opts: Optional[ResourceOptions] = None)
    func NewIntegrationAccountMap(ctx *Context, name string, args IntegrationAccountMapArgs, opts ...ResourceOption) (*IntegrationAccountMap, error)
    public IntegrationAccountMap(string name, IntegrationAccountMapArgs args, CustomResourceOptions? opts = null)
    public IntegrationAccountMap(String name, IntegrationAccountMapArgs args)
    public IntegrationAccountMap(String name, IntegrationAccountMapArgs args, CustomResourceOptions options)
    
    type: azure:logicapps:IntegrationAccountMap
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    name string
    The unique name of the resource.
    args IntegrationAccountMapArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args IntegrationAccountMapArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args IntegrationAccountMapArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args IntegrationAccountMapArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args IntegrationAccountMapArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    IntegrationAccountMap Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The IntegrationAccountMap resource accepts the following input properties:

    Content string

    The content of the Logic App Integration Account Map.

    IntegrationAccountName string

    The name of the Logic App Integration Account. Changing this forces a new Logic App Integration Account Map to be created.

    MapType string

    The type of the Logic App Integration Account Map. Possible values are Liquid, NotSpecified, Xslt, Xslt30 and Xslt20.

    ResourceGroupName string

    The name of the Resource Group where the Logic App Integration Account Map should exist. Changing this forces a new Logic App Integration Account Map to be created.

    Metadata Dictionary<string, string>

    The metadata of the Logic App Integration Account Map.

    Name string

    The name which should be used for this Logic App Integration Account Map. Changing this forces a new Logic App Integration Account Map to be created.

    Content string

    The content of the Logic App Integration Account Map.

    IntegrationAccountName string

    The name of the Logic App Integration Account. Changing this forces a new Logic App Integration Account Map to be created.

    MapType string

    The type of the Logic App Integration Account Map. Possible values are Liquid, NotSpecified, Xslt, Xslt30 and Xslt20.

    ResourceGroupName string

    The name of the Resource Group where the Logic App Integration Account Map should exist. Changing this forces a new Logic App Integration Account Map to be created.

    Metadata map[string]string

    The metadata of the Logic App Integration Account Map.

    Name string

    The name which should be used for this Logic App Integration Account Map. Changing this forces a new Logic App Integration Account Map to be created.

    content String

    The content of the Logic App Integration Account Map.

    integrationAccountName String

    The name of the Logic App Integration Account. Changing this forces a new Logic App Integration Account Map to be created.

    mapType String

    The type of the Logic App Integration Account Map. Possible values are Liquid, NotSpecified, Xslt, Xslt30 and Xslt20.

    resourceGroupName String

    The name of the Resource Group where the Logic App Integration Account Map should exist. Changing this forces a new Logic App Integration Account Map to be created.

    metadata Map<String,String>

    The metadata of the Logic App Integration Account Map.

    name String

    The name which should be used for this Logic App Integration Account Map. Changing this forces a new Logic App Integration Account Map to be created.

    content string

    The content of the Logic App Integration Account Map.

    integrationAccountName string

    The name of the Logic App Integration Account. Changing this forces a new Logic App Integration Account Map to be created.

    mapType string

    The type of the Logic App Integration Account Map. Possible values are Liquid, NotSpecified, Xslt, Xslt30 and Xslt20.

    resourceGroupName string

    The name of the Resource Group where the Logic App Integration Account Map should exist. Changing this forces a new Logic App Integration Account Map to be created.

    metadata {[key: string]: string}

    The metadata of the Logic App Integration Account Map.

    name string

    The name which should be used for this Logic App Integration Account Map. Changing this forces a new Logic App Integration Account Map to be created.

    content str

    The content of the Logic App Integration Account Map.

    integration_account_name str

    The name of the Logic App Integration Account. Changing this forces a new Logic App Integration Account Map to be created.

    map_type str

    The type of the Logic App Integration Account Map. Possible values are Liquid, NotSpecified, Xslt, Xslt30 and Xslt20.

    resource_group_name str

    The name of the Resource Group where the Logic App Integration Account Map should exist. Changing this forces a new Logic App Integration Account Map to be created.

    metadata Mapping[str, str]

    The metadata of the Logic App Integration Account Map.

    name str

    The name which should be used for this Logic App Integration Account Map. Changing this forces a new Logic App Integration Account Map to be created.

    content String

    The content of the Logic App Integration Account Map.

    integrationAccountName String

    The name of the Logic App Integration Account. Changing this forces a new Logic App Integration Account Map to be created.

    mapType String

    The type of the Logic App Integration Account Map. Possible values are Liquid, NotSpecified, Xslt, Xslt30 and Xslt20.

    resourceGroupName String

    The name of the Resource Group where the Logic App Integration Account Map should exist. Changing this forces a new Logic App Integration Account Map to be created.

    metadata Map<String>

    The metadata of the Logic App Integration Account Map.

    name String

    The name which should be used for this Logic App Integration Account Map. Changing this forces a new Logic App Integration Account Map to be created.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the IntegrationAccountMap resource produces the following output properties:

    Id string

    The provider-assigned unique ID for this managed resource.

    Id string

    The provider-assigned unique ID for this managed resource.

    id String

    The provider-assigned unique ID for this managed resource.

    id string

    The provider-assigned unique ID for this managed resource.

    id str

    The provider-assigned unique ID for this managed resource.

    id String

    The provider-assigned unique ID for this managed resource.

    Look up Existing IntegrationAccountMap Resource

    Get an existing IntegrationAccountMap resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: IntegrationAccountMapState, opts?: CustomResourceOptions): IntegrationAccountMap
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            content: Optional[str] = None,
            integration_account_name: Optional[str] = None,
            map_type: Optional[str] = None,
            metadata: Optional[Mapping[str, str]] = None,
            name: Optional[str] = None,
            resource_group_name: Optional[str] = None) -> IntegrationAccountMap
    func GetIntegrationAccountMap(ctx *Context, name string, id IDInput, state *IntegrationAccountMapState, opts ...ResourceOption) (*IntegrationAccountMap, error)
    public static IntegrationAccountMap Get(string name, Input<string> id, IntegrationAccountMapState? state, CustomResourceOptions? opts = null)
    public static IntegrationAccountMap get(String name, Output<String> id, IntegrationAccountMapState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Content string

    The content of the Logic App Integration Account Map.

    IntegrationAccountName string

    The name of the Logic App Integration Account. Changing this forces a new Logic App Integration Account Map to be created.

    MapType string

    The type of the Logic App Integration Account Map. Possible values are Liquid, NotSpecified, Xslt, Xslt30 and Xslt20.

    Metadata Dictionary<string, string>

    The metadata of the Logic App Integration Account Map.

    Name string

    The name which should be used for this Logic App Integration Account Map. Changing this forces a new Logic App Integration Account Map to be created.

    ResourceGroupName string

    The name of the Resource Group where the Logic App Integration Account Map should exist. Changing this forces a new Logic App Integration Account Map to be created.

    Content string

    The content of the Logic App Integration Account Map.

    IntegrationAccountName string

    The name of the Logic App Integration Account. Changing this forces a new Logic App Integration Account Map to be created.

    MapType string

    The type of the Logic App Integration Account Map. Possible values are Liquid, NotSpecified, Xslt, Xslt30 and Xslt20.

    Metadata map[string]string

    The metadata of the Logic App Integration Account Map.

    Name string

    The name which should be used for this Logic App Integration Account Map. Changing this forces a new Logic App Integration Account Map to be created.

    ResourceGroupName string

    The name of the Resource Group where the Logic App Integration Account Map should exist. Changing this forces a new Logic App Integration Account Map to be created.

    content String

    The content of the Logic App Integration Account Map.

    integrationAccountName String

    The name of the Logic App Integration Account. Changing this forces a new Logic App Integration Account Map to be created.

    mapType String

    The type of the Logic App Integration Account Map. Possible values are Liquid, NotSpecified, Xslt, Xslt30 and Xslt20.

    metadata Map<String,String>

    The metadata of the Logic App Integration Account Map.

    name String

    The name which should be used for this Logic App Integration Account Map. Changing this forces a new Logic App Integration Account Map to be created.

    resourceGroupName String

    The name of the Resource Group where the Logic App Integration Account Map should exist. Changing this forces a new Logic App Integration Account Map to be created.

    content string

    The content of the Logic App Integration Account Map.

    integrationAccountName string

    The name of the Logic App Integration Account. Changing this forces a new Logic App Integration Account Map to be created.

    mapType string

    The type of the Logic App Integration Account Map. Possible values are Liquid, NotSpecified, Xslt, Xslt30 and Xslt20.

    metadata {[key: string]: string}

    The metadata of the Logic App Integration Account Map.

    name string

    The name which should be used for this Logic App Integration Account Map. Changing this forces a new Logic App Integration Account Map to be created.

    resourceGroupName string

    The name of the Resource Group where the Logic App Integration Account Map should exist. Changing this forces a new Logic App Integration Account Map to be created.

    content str

    The content of the Logic App Integration Account Map.

    integration_account_name str

    The name of the Logic App Integration Account. Changing this forces a new Logic App Integration Account Map to be created.

    map_type str

    The type of the Logic App Integration Account Map. Possible values are Liquid, NotSpecified, Xslt, Xslt30 and Xslt20.

    metadata Mapping[str, str]

    The metadata of the Logic App Integration Account Map.

    name str

    The name which should be used for this Logic App Integration Account Map. Changing this forces a new Logic App Integration Account Map to be created.

    resource_group_name str

    The name of the Resource Group where the Logic App Integration Account Map should exist. Changing this forces a new Logic App Integration Account Map to be created.

    content String

    The content of the Logic App Integration Account Map.

    integrationAccountName String

    The name of the Logic App Integration Account. Changing this forces a new Logic App Integration Account Map to be created.

    mapType String

    The type of the Logic App Integration Account Map. Possible values are Liquid, NotSpecified, Xslt, Xslt30 and Xslt20.

    metadata Map<String>

    The metadata of the Logic App Integration Account Map.

    name String

    The name which should be used for this Logic App Integration Account Map. Changing this forces a new Logic App Integration Account Map to be created.

    resourceGroupName String

    The name of the Resource Group where the Logic App Integration Account Map should exist. Changing this forces a new Logic App Integration Account Map to be created.

    Import

    Logic App Integration Account Maps can be imported using the resource id, e.g.

     $ pulumi import azure:logicapps/integrationAccountMap:IntegrationAccountMap example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Logic/integrationAccounts/account1/maps/map1
    

    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 v5.52.0 published on Monday, Oct 2, 2023 by Pulumi