We recommend using Azure Native.
azure.logicapps.IntegrationAccountAssembly
Explore with Pulumi AI
Manages a Logic App Integration Account Assembly.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";
import * as std from "@pulumi/std";
const example = new azure.core.ResourceGroup("example", {
    name: "example-resources",
    location: "West Europe",
});
const exampleIntegrationAccount = new azure.logicapps.IntegrationAccount("example", {
    name: "example-ia",
    location: example.location,
    resourceGroupName: example.name,
    skuName: "Basic",
});
const exampleIntegrationAccountAssembly = new azure.logicapps.IntegrationAccountAssembly("example", {
    name: "example-assembly",
    resourceGroupName: example.name,
    integrationAccountName: exampleIntegrationAccount.name,
    assemblyName: "TestAssembly",
    content: std.filebase64({
        input: "testdata/log4net.dll",
    }).then(invoke => invoke.result),
});
import pulumi
import pulumi_azure as azure
import pulumi_std as std
example = azure.core.ResourceGroup("example",
    name="example-resources",
    location="West Europe")
example_integration_account = azure.logicapps.IntegrationAccount("example",
    name="example-ia",
    location=example.location,
    resource_group_name=example.name,
    sku_name="Basic")
example_integration_account_assembly = azure.logicapps.IntegrationAccountAssembly("example",
    name="example-assembly",
    resource_group_name=example.name,
    integration_account_name=example_integration_account.name,
    assembly_name="TestAssembly",
    content=std.filebase64(input="testdata/log4net.dll").result)
package main
import (
	"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/core"
	"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/logicapps"
	"github.com/pulumi/pulumi-std/sdk/go/std"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
			Name:     pulumi.String("example-resources"),
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleIntegrationAccount, err := logicapps.NewIntegrationAccount(ctx, "example", &logicapps.IntegrationAccountArgs{
			Name:              pulumi.String("example-ia"),
			Location:          example.Location,
			ResourceGroupName: example.Name,
			SkuName:           pulumi.String("Basic"),
		})
		if err != nil {
			return err
		}
		invokeFilebase64, err := std.Filebase64(ctx, &std.Filebase64Args{
			Input: "testdata/log4net.dll",
		}, nil)
		if err != nil {
			return err
		}
		_, err = logicapps.NewIntegrationAccountAssembly(ctx, "example", &logicapps.IntegrationAccountAssemblyArgs{
			Name:                   pulumi.String("example-assembly"),
			ResourceGroupName:      example.Name,
			IntegrationAccountName: exampleIntegrationAccount.Name,
			AssemblyName:           pulumi.String("TestAssembly"),
			Content:                pulumi.String(invokeFilebase64.Result),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Azure = Pulumi.Azure;
using Std = Pulumi.Std;
return await Deployment.RunAsync(() => 
{
    var example = new Azure.Core.ResourceGroup("example", new()
    {
        Name = "example-resources",
        Location = "West Europe",
    });
    var exampleIntegrationAccount = new Azure.LogicApps.IntegrationAccount("example", new()
    {
        Name = "example-ia",
        Location = example.Location,
        ResourceGroupName = example.Name,
        SkuName = "Basic",
    });
    var exampleIntegrationAccountAssembly = new Azure.LogicApps.IntegrationAccountAssembly("example", new()
    {
        Name = "example-assembly",
        ResourceGroupName = example.Name,
        IntegrationAccountName = exampleIntegrationAccount.Name,
        AssemblyName = "TestAssembly",
        Content = Std.Filebase64.Invoke(new()
        {
            Input = "testdata/log4net.dll",
        }).Apply(invoke => invoke.Result),
    });
});
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.IntegrationAccountAssembly;
import com.pulumi.azure.logicapps.IntegrationAccountAssemblyArgs;
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 example = new ResourceGroup("example", ResourceGroupArgs.builder()
            .name("example-resources")
            .location("West Europe")
            .build());
        var exampleIntegrationAccount = new IntegrationAccount("exampleIntegrationAccount", IntegrationAccountArgs.builder()
            .name("example-ia")
            .location(example.location())
            .resourceGroupName(example.name())
            .skuName("Basic")
            .build());
        var exampleIntegrationAccountAssembly = new IntegrationAccountAssembly("exampleIntegrationAccountAssembly", IntegrationAccountAssemblyArgs.builder()
            .name("example-assembly")
            .resourceGroupName(example.name())
            .integrationAccountName(exampleIntegrationAccount.name())
            .assemblyName("TestAssembly")
            .content(StdFunctions.filebase64(Filebase64Args.builder()
                .input("testdata/log4net.dll")
                .build()).result())
            .build());
    }
}
resources:
  example:
    type: azure:core:ResourceGroup
    properties:
      name: example-resources
      location: West Europe
  exampleIntegrationAccount:
    type: azure:logicapps:IntegrationAccount
    name: example
    properties:
      name: example-ia
      location: ${example.location}
      resourceGroupName: ${example.name}
      skuName: Basic
  exampleIntegrationAccountAssembly:
    type: azure:logicapps:IntegrationAccountAssembly
    name: example
    properties:
      name: example-assembly
      resourceGroupName: ${example.name}
      integrationAccountName: ${exampleIntegrationAccount.name}
      assemblyName: TestAssembly
      content:
        fn::invoke:
          function: std:filebase64
          arguments:
            input: testdata/log4net.dll
          return: result
Create IntegrationAccountAssembly Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new IntegrationAccountAssembly(name: string, args: IntegrationAccountAssemblyArgs, opts?: CustomResourceOptions);@overload
def IntegrationAccountAssembly(resource_name: str,
                               args: IntegrationAccountAssemblyArgs,
                               opts: Optional[ResourceOptions] = None)
@overload
def IntegrationAccountAssembly(resource_name: str,
                               opts: Optional[ResourceOptions] = None,
                               assembly_name: Optional[str] = None,
                               integration_account_name: Optional[str] = None,
                               resource_group_name: Optional[str] = None,
                               assembly_version: Optional[str] = None,
                               content: Optional[str] = None,
                               content_link_uri: Optional[str] = None,
                               metadata: Optional[Mapping[str, str]] = None,
                               name: Optional[str] = None)func NewIntegrationAccountAssembly(ctx *Context, name string, args IntegrationAccountAssemblyArgs, opts ...ResourceOption) (*IntegrationAccountAssembly, error)public IntegrationAccountAssembly(string name, IntegrationAccountAssemblyArgs args, CustomResourceOptions? opts = null)
public IntegrationAccountAssembly(String name, IntegrationAccountAssemblyArgs args)
public IntegrationAccountAssembly(String name, IntegrationAccountAssemblyArgs args, CustomResourceOptions options)
type: azure:logicapps:IntegrationAccountAssembly
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args IntegrationAccountAssemblyArgs
- 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 IntegrationAccountAssemblyArgs
- 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 IntegrationAccountAssemblyArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args IntegrationAccountAssemblyArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args IntegrationAccountAssemblyArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var integrationAccountAssemblyResource = new Azure.LogicApps.IntegrationAccountAssembly("integrationAccountAssemblyResource", new()
{
    AssemblyName = "string",
    IntegrationAccountName = "string",
    ResourceGroupName = "string",
    AssemblyVersion = "string",
    Content = "string",
    ContentLinkUri = "string",
    Metadata = 
    {
        { "string", "string" },
    },
    Name = "string",
});
example, err := logicapps.NewIntegrationAccountAssembly(ctx, "integrationAccountAssemblyResource", &logicapps.IntegrationAccountAssemblyArgs{
	AssemblyName:           pulumi.String("string"),
	IntegrationAccountName: pulumi.String("string"),
	ResourceGroupName:      pulumi.String("string"),
	AssemblyVersion:        pulumi.String("string"),
	Content:                pulumi.String("string"),
	ContentLinkUri:         pulumi.String("string"),
	Metadata: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	Name: pulumi.String("string"),
})
var integrationAccountAssemblyResource = new IntegrationAccountAssembly("integrationAccountAssemblyResource", IntegrationAccountAssemblyArgs.builder()
    .assemblyName("string")
    .integrationAccountName("string")
    .resourceGroupName("string")
    .assemblyVersion("string")
    .content("string")
    .contentLinkUri("string")
    .metadata(Map.of("string", "string"))
    .name("string")
    .build());
integration_account_assembly_resource = azure.logicapps.IntegrationAccountAssembly("integrationAccountAssemblyResource",
    assembly_name="string",
    integration_account_name="string",
    resource_group_name="string",
    assembly_version="string",
    content="string",
    content_link_uri="string",
    metadata={
        "string": "string",
    },
    name="string")
const integrationAccountAssemblyResource = new azure.logicapps.IntegrationAccountAssembly("integrationAccountAssemblyResource", {
    assemblyName: "string",
    integrationAccountName: "string",
    resourceGroupName: "string",
    assemblyVersion: "string",
    content: "string",
    contentLinkUri: "string",
    metadata: {
        string: "string",
    },
    name: "string",
});
type: azure:logicapps:IntegrationAccountAssembly
properties:
    assemblyName: string
    assemblyVersion: string
    content: string
    contentLinkUri: string
    integrationAccountName: string
    metadata:
        string: string
    name: string
    resourceGroupName: string
IntegrationAccountAssembly Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The IntegrationAccountAssembly resource accepts the following input properties:
- AssemblyName string
- The name of the Logic App Integration Account Assembly.
- IntegrationAccount stringName 
- The name of the Logic App Integration Account. Changing this forces a new resource to be created.
- ResourceGroup stringName 
- The name of the Resource Group where the Logic App Integration Account Assembly Artifact should exist. Changing this forces a new resource to be created.
- AssemblyVersion string
- The version of the Logic App Integration Account Assembly. Defaults to 0.0.0.0.
- Content string
- The content of the Logic App Integration Account Assembly.
- ContentLink stringUri 
- The content link URI of the Logic App Integration Account Assembly.
- Metadata Dictionary<string, string>
- The metadata of the Logic App Integration Account Assembly.
- Name string
- The name which should be used for this Logic App Integration Account Assembly Artifact. Changing this forces a new resource to be created.
- AssemblyName string
- The name of the Logic App Integration Account Assembly.
- IntegrationAccount stringName 
- The name of the Logic App Integration Account. Changing this forces a new resource to be created.
- ResourceGroup stringName 
- The name of the Resource Group where the Logic App Integration Account Assembly Artifact should exist. Changing this forces a new resource to be created.
- AssemblyVersion string
- The version of the Logic App Integration Account Assembly. Defaults to 0.0.0.0.
- Content string
- The content of the Logic App Integration Account Assembly.
- ContentLink stringUri 
- The content link URI of the Logic App Integration Account Assembly.
- Metadata map[string]string
- The metadata of the Logic App Integration Account Assembly.
- Name string
- The name which should be used for this Logic App Integration Account Assembly Artifact. Changing this forces a new resource to be created.
- assemblyName String
- The name of the Logic App Integration Account Assembly.
- integrationAccount StringName 
- The name of the Logic App Integration Account. Changing this forces a new resource to be created.
- resourceGroup StringName 
- The name of the Resource Group where the Logic App Integration Account Assembly Artifact should exist. Changing this forces a new resource to be created.
- assemblyVersion String
- The version of the Logic App Integration Account Assembly. Defaults to 0.0.0.0.
- content String
- The content of the Logic App Integration Account Assembly.
- contentLink StringUri 
- The content link URI of the Logic App Integration Account Assembly.
- metadata Map<String,String>
- The metadata of the Logic App Integration Account Assembly.
- name String
- The name which should be used for this Logic App Integration Account Assembly Artifact. Changing this forces a new resource to be created.
- assemblyName string
- The name of the Logic App Integration Account Assembly.
- integrationAccount stringName 
- The name of the Logic App Integration Account. Changing this forces a new resource to be created.
- resourceGroup stringName 
- The name of the Resource Group where the Logic App Integration Account Assembly Artifact should exist. Changing this forces a new resource to be created.
- assemblyVersion string
- The version of the Logic App Integration Account Assembly. Defaults to 0.0.0.0.
- content string
- The content of the Logic App Integration Account Assembly.
- contentLink stringUri 
- The content link URI of the Logic App Integration Account Assembly.
- metadata {[key: string]: string}
- The metadata of the Logic App Integration Account Assembly.
- name string
- The name which should be used for this Logic App Integration Account Assembly Artifact. Changing this forces a new resource to be created.
- assembly_name str
- The name of the Logic App Integration Account Assembly.
- integration_account_ strname 
- The name of the Logic App Integration Account. Changing this forces a new resource to be created.
- resource_group_ strname 
- The name of the Resource Group where the Logic App Integration Account Assembly Artifact should exist. Changing this forces a new resource to be created.
- assembly_version str
- The version of the Logic App Integration Account Assembly. Defaults to 0.0.0.0.
- content str
- The content of the Logic App Integration Account Assembly.
- content_link_ struri 
- The content link URI of the Logic App Integration Account Assembly.
- metadata Mapping[str, str]
- The metadata of the Logic App Integration Account Assembly.
- name str
- The name which should be used for this Logic App Integration Account Assembly Artifact. Changing this forces a new resource to be created.
- assemblyName String
- The name of the Logic App Integration Account Assembly.
- integrationAccount StringName 
- The name of the Logic App Integration Account. Changing this forces a new resource to be created.
- resourceGroup StringName 
- The name of the Resource Group where the Logic App Integration Account Assembly Artifact should exist. Changing this forces a new resource to be created.
- assemblyVersion String
- The version of the Logic App Integration Account Assembly. Defaults to 0.0.0.0.
- content String
- The content of the Logic App Integration Account Assembly.
- contentLink StringUri 
- The content link URI of the Logic App Integration Account Assembly.
- metadata Map<String>
- The metadata of the Logic App Integration Account Assembly.
- name String
- The name which should be used for this Logic App Integration Account Assembly Artifact. Changing this forces a new resource to be created.
Outputs
All input properties are implicitly available as output properties. Additionally, the IntegrationAccountAssembly 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 IntegrationAccountAssembly Resource
Get an existing IntegrationAccountAssembly 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?: IntegrationAccountAssemblyState, opts?: CustomResourceOptions): IntegrationAccountAssembly@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        assembly_name: Optional[str] = None,
        assembly_version: Optional[str] = None,
        content: Optional[str] = None,
        content_link_uri: Optional[str] = None,
        integration_account_name: Optional[str] = None,
        metadata: Optional[Mapping[str, str]] = None,
        name: Optional[str] = None,
        resource_group_name: Optional[str] = None) -> IntegrationAccountAssemblyfunc GetIntegrationAccountAssembly(ctx *Context, name string, id IDInput, state *IntegrationAccountAssemblyState, opts ...ResourceOption) (*IntegrationAccountAssembly, error)public static IntegrationAccountAssembly Get(string name, Input<string> id, IntegrationAccountAssemblyState? state, CustomResourceOptions? opts = null)public static IntegrationAccountAssembly get(String name, Output<String> id, IntegrationAccountAssemblyState state, CustomResourceOptions options)resources:  _:    type: azure:logicapps:IntegrationAccountAssembly    get:      id: ${id}- 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.
- AssemblyName string
- The name of the Logic App Integration Account Assembly.
- AssemblyVersion string
- The version of the Logic App Integration Account Assembly. Defaults to 0.0.0.0.
- Content string
- The content of the Logic App Integration Account Assembly.
- ContentLink stringUri 
- The content link URI of the Logic App Integration Account Assembly.
- IntegrationAccount stringName 
- The name of the Logic App Integration Account. Changing this forces a new resource to be created.
- Metadata Dictionary<string, string>
- The metadata of the Logic App Integration Account Assembly.
- Name string
- The name which should be used for this Logic App Integration Account Assembly Artifact. Changing this forces a new resource to be created.
- ResourceGroup stringName 
- The name of the Resource Group where the Logic App Integration Account Assembly Artifact should exist. Changing this forces a new resource to be created.
- AssemblyName string
- The name of the Logic App Integration Account Assembly.
- AssemblyVersion string
- The version of the Logic App Integration Account Assembly. Defaults to 0.0.0.0.
- Content string
- The content of the Logic App Integration Account Assembly.
- ContentLink stringUri 
- The content link URI of the Logic App Integration Account Assembly.
- IntegrationAccount stringName 
- The name of the Logic App Integration Account. Changing this forces a new resource to be created.
- Metadata map[string]string
- The metadata of the Logic App Integration Account Assembly.
- Name string
- The name which should be used for this Logic App Integration Account Assembly Artifact. Changing this forces a new resource to be created.
- ResourceGroup stringName 
- The name of the Resource Group where the Logic App Integration Account Assembly Artifact should exist. Changing this forces a new resource to be created.
- assemblyName String
- The name of the Logic App Integration Account Assembly.
- assemblyVersion String
- The version of the Logic App Integration Account Assembly. Defaults to 0.0.0.0.
- content String
- The content of the Logic App Integration Account Assembly.
- contentLink StringUri 
- The content link URI of the Logic App Integration Account Assembly.
- integrationAccount StringName 
- The name of the Logic App Integration Account. Changing this forces a new resource to be created.
- metadata Map<String,String>
- The metadata of the Logic App Integration Account Assembly.
- name String
- The name which should be used for this Logic App Integration Account Assembly Artifact. Changing this forces a new resource to be created.
- resourceGroup StringName 
- The name of the Resource Group where the Logic App Integration Account Assembly Artifact should exist. Changing this forces a new resource to be created.
- assemblyName string
- The name of the Logic App Integration Account Assembly.
- assemblyVersion string
- The version of the Logic App Integration Account Assembly. Defaults to 0.0.0.0.
- content string
- The content of the Logic App Integration Account Assembly.
- contentLink stringUri 
- The content link URI of the Logic App Integration Account Assembly.
- integrationAccount stringName 
- The name of the Logic App Integration Account. Changing this forces a new resource to be created.
- metadata {[key: string]: string}
- The metadata of the Logic App Integration Account Assembly.
- name string
- The name which should be used for this Logic App Integration Account Assembly Artifact. Changing this forces a new resource to be created.
- resourceGroup stringName 
- The name of the Resource Group where the Logic App Integration Account Assembly Artifact should exist. Changing this forces a new resource to be created.
- assembly_name str
- The name of the Logic App Integration Account Assembly.
- assembly_version str
- The version of the Logic App Integration Account Assembly. Defaults to 0.0.0.0.
- content str
- The content of the Logic App Integration Account Assembly.
- content_link_ struri 
- The content link URI of the Logic App Integration Account Assembly.
- integration_account_ strname 
- The name of the Logic App Integration Account. Changing this forces a new resource to be created.
- metadata Mapping[str, str]
- The metadata of the Logic App Integration Account Assembly.
- name str
- The name which should be used for this Logic App Integration Account Assembly Artifact. Changing this forces a new resource to be created.
- resource_group_ strname 
- The name of the Resource Group where the Logic App Integration Account Assembly Artifact should exist. Changing this forces a new resource to be created.
- assemblyName String
- The name of the Logic App Integration Account Assembly.
- assemblyVersion String
- The version of the Logic App Integration Account Assembly. Defaults to 0.0.0.0.
- content String
- The content of the Logic App Integration Account Assembly.
- contentLink StringUri 
- The content link URI of the Logic App Integration Account Assembly.
- integrationAccount StringName 
- The name of the Logic App Integration Account. Changing this forces a new resource to be created.
- metadata Map<String>
- The metadata of the Logic App Integration Account Assembly.
- name String
- The name which should be used for this Logic App Integration Account Assembly Artifact. Changing this forces a new resource to be created.
- resourceGroup StringName 
- The name of the Resource Group where the Logic App Integration Account Assembly Artifact should exist. Changing this forces a new resource to be created.
Import
Logic App Integration Account Assemblies can be imported using the resource id, e.g.
$ pulumi import azure:logicapps/integrationAccountAssembly:IntegrationAccountAssembly example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Logic/integrationAccounts/account1/assemblies/assembly1
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Classic pulumi/pulumi-azure
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the azurermTerraform Provider.