Azure Classic

Pulumi Official
Package maintained by Pulumi
v5.15.0 published on Wednesday, Aug 17, 2022 by Pulumi

IntegrationAccountPartner

Manages a Logic App Integration Account Partner.

Example Usage

using System.Collections.Generic;
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 exampleIntegrationAccountPartner = new Azure.LogicApps.IntegrationAccountPartner("exampleIntegrationAccountPartner", new()
    {
        ResourceGroupName = exampleResourceGroup.Name,
        IntegrationAccountName = exampleIntegrationAccount.Name,
        BusinessIdentities = new[]
        {
            new Azure.LogicApps.Inputs.IntegrationAccountPartnerBusinessIdentityArgs
            {
                Qualifier = "ZZ",
                Value = "AA",
            },
        },
    });

});
package main

import (
	"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 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.NewIntegrationAccountPartner(ctx, "exampleIntegrationAccountPartner", &logicapps.IntegrationAccountPartnerArgs{
			ResourceGroupName:      exampleResourceGroup.Name,
			IntegrationAccountName: exampleIntegrationAccount.Name,
			BusinessIdentities: logicapps.IntegrationAccountPartnerBusinessIdentityArray{
				&logicapps.IntegrationAccountPartnerBusinessIdentityArgs{
					Qualifier: pulumi.String("ZZ"),
					Value:     pulumi.String("AA"),
				},
			},
		})
		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.IntegrationAccountPartner;
import com.pulumi.azure.logicapps.IntegrationAccountPartnerArgs;
import com.pulumi.azure.logicapps.inputs.IntegrationAccountPartnerBusinessIdentityArgs;
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 exampleIntegrationAccountPartner = new IntegrationAccountPartner("exampleIntegrationAccountPartner", IntegrationAccountPartnerArgs.builder()        
            .resourceGroupName(exampleResourceGroup.name())
            .integrationAccountName(exampleIntegrationAccount.name())
            .businessIdentities(IntegrationAccountPartnerBusinessIdentityArgs.builder()
                .qualifier("ZZ")
                .value("AA")
                .build())
            .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_partner = azure.logicapps.IntegrationAccountPartner("exampleIntegrationAccountPartner",
    resource_group_name=example_resource_group.name,
    integration_account_name=example_integration_account.name,
    business_identities=[azure.logicapps.IntegrationAccountPartnerBusinessIdentityArgs(
        qualifier="ZZ",
        value="AA",
    )])
import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";

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 exampleIntegrationAccountPartner = new azure.logicapps.IntegrationAccountPartner("exampleIntegrationAccountPartner", {
    resourceGroupName: exampleResourceGroup.name,
    integrationAccountName: exampleIntegrationAccount.name,
    businessIdentities: [{
        qualifier: "ZZ",
        value: "AA",
    }],
});
resources:
  exampleResourceGroup:
    type: azure:core:ResourceGroup
    properties:
      location: West Europe
  exampleIntegrationAccount:
    type: azure:logicapps:IntegrationAccount
    properties:
      location: ${exampleResourceGroup.location}
      resourceGroupName: ${exampleResourceGroup.name}
      skuName: Standard
  exampleIntegrationAccountPartner:
    type: azure:logicapps:IntegrationAccountPartner
    properties:
      resourceGroupName: ${exampleResourceGroup.name}
      integrationAccountName: ${exampleIntegrationAccount.name}
      businessIdentities:
        - qualifier: ZZ
          value: AA

Create a IntegrationAccountPartner Resource

new IntegrationAccountPartner(name: string, args: IntegrationAccountPartnerArgs, opts?: CustomResourceOptions);
@overload
def IntegrationAccountPartner(resource_name: str,
                              opts: Optional[ResourceOptions] = None,
                              business_identities: Optional[Sequence[IntegrationAccountPartnerBusinessIdentityArgs]] = None,
                              integration_account_name: Optional[str] = None,
                              metadata: Optional[str] = None,
                              name: Optional[str] = None,
                              resource_group_name: Optional[str] = None)
@overload
def IntegrationAccountPartner(resource_name: str,
                              args: IntegrationAccountPartnerArgs,
                              opts: Optional[ResourceOptions] = None)
func NewIntegrationAccountPartner(ctx *Context, name string, args IntegrationAccountPartnerArgs, opts ...ResourceOption) (*IntegrationAccountPartner, error)
public IntegrationAccountPartner(string name, IntegrationAccountPartnerArgs args, CustomResourceOptions? opts = null)
public IntegrationAccountPartner(String name, IntegrationAccountPartnerArgs args)
public IntegrationAccountPartner(String name, IntegrationAccountPartnerArgs args, CustomResourceOptions options)
type: azure:logicapps:IntegrationAccountPartner
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args IntegrationAccountPartnerArgs
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 IntegrationAccountPartnerArgs
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 IntegrationAccountPartnerArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args IntegrationAccountPartnerArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args IntegrationAccountPartnerArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

IntegrationAccountPartner 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 IntegrationAccountPartner resource accepts the following input properties:

BusinessIdentities List<IntegrationAccountPartnerBusinessIdentityArgs>

A business_identity block as documented below.

IntegrationAccountName string

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

ResourceGroupName string

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

Metadata string

A JSON mapping of any Metadata for this Logic App Integration Account Partner.

Name string

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

BusinessIdentities []IntegrationAccountPartnerBusinessIdentityArgs

A business_identity block as documented below.

IntegrationAccountName string

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

ResourceGroupName string

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

Metadata string

A JSON mapping of any Metadata for this Logic App Integration Account Partner.

Name string

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

businessIdentities List<IntegrationAccountPartnerBusinessIdentityArgs>

A business_identity block as documented below.

integrationAccountName String

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

resourceGroupName String

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

metadata String

A JSON mapping of any Metadata for this Logic App Integration Account Partner.

name String

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

businessIdentities IntegrationAccountPartnerBusinessIdentityArgs[]

A business_identity block as documented below.

integrationAccountName string

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

resourceGroupName string

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

metadata string

A JSON mapping of any Metadata for this Logic App Integration Account Partner.

name string

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

business_identities Sequence[IntegrationAccountPartnerBusinessIdentityArgs]

A business_identity block as documented below.

integration_account_name str

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

resource_group_name str

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

metadata str

A JSON mapping of any Metadata for this Logic App Integration Account Partner.

name str

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

businessIdentities List<Property Map>

A business_identity block as documented below.

integrationAccountName String

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

resourceGroupName String

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

metadata String

A JSON mapping of any Metadata for this Logic App Integration Account Partner.

name String

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

Outputs

All input properties are implicitly available as output properties. Additionally, the IntegrationAccountPartner 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 an Existing IntegrationAccountPartner Resource

Get an existing IntegrationAccountPartner 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?: IntegrationAccountPartnerState, opts?: CustomResourceOptions): IntegrationAccountPartner
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        business_identities: Optional[Sequence[IntegrationAccountPartnerBusinessIdentityArgs]] = None,
        integration_account_name: Optional[str] = None,
        metadata: Optional[str] = None,
        name: Optional[str] = None,
        resource_group_name: Optional[str] = None) -> IntegrationAccountPartner
func GetIntegrationAccountPartner(ctx *Context, name string, id IDInput, state *IntegrationAccountPartnerState, opts ...ResourceOption) (*IntegrationAccountPartner, error)
public static IntegrationAccountPartner Get(string name, Input<string> id, IntegrationAccountPartnerState? state, CustomResourceOptions? opts = null)
public static IntegrationAccountPartner get(String name, Output<String> id, IntegrationAccountPartnerState 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:
BusinessIdentities List<IntegrationAccountPartnerBusinessIdentityArgs>

A business_identity block as documented below.

IntegrationAccountName string

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

Metadata string

A JSON mapping of any Metadata for this Logic App Integration Account Partner.

Name string

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

ResourceGroupName string

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

BusinessIdentities []IntegrationAccountPartnerBusinessIdentityArgs

A business_identity block as documented below.

IntegrationAccountName string

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

Metadata string

A JSON mapping of any Metadata for this Logic App Integration Account Partner.

Name string

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

ResourceGroupName string

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

businessIdentities List<IntegrationAccountPartnerBusinessIdentityArgs>

A business_identity block as documented below.

integrationAccountName String

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

metadata String

A JSON mapping of any Metadata for this Logic App Integration Account Partner.

name String

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

resourceGroupName String

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

businessIdentities IntegrationAccountPartnerBusinessIdentityArgs[]

A business_identity block as documented below.

integrationAccountName string

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

metadata string

A JSON mapping of any Metadata for this Logic App Integration Account Partner.

name string

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

resourceGroupName string

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

business_identities Sequence[IntegrationAccountPartnerBusinessIdentityArgs]

A business_identity block as documented below.

integration_account_name str

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

metadata str

A JSON mapping of any Metadata for this Logic App Integration Account Partner.

name str

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

resource_group_name str

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

businessIdentities List<Property Map>

A business_identity block as documented below.

integrationAccountName String

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

metadata String

A JSON mapping of any Metadata for this Logic App Integration Account Partner.

name String

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

resourceGroupName String

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

Supporting Types

IntegrationAccountPartnerBusinessIdentity

Qualifier string

The authenticating body that provides unique business identities to organizations.

Value string

The value that identifies the documents that your logic apps receive.

Qualifier string

The authenticating body that provides unique business identities to organizations.

Value string

The value that identifies the documents that your logic apps receive.

qualifier String

The authenticating body that provides unique business identities to organizations.

value String

The value that identifies the documents that your logic apps receive.

qualifier string

The authenticating body that provides unique business identities to organizations.

value string

The value that identifies the documents that your logic apps receive.

qualifier str

The authenticating body that provides unique business identities to organizations.

value str

The value that identifies the documents that your logic apps receive.

qualifier String

The authenticating body that provides unique business identities to organizations.

value String

The value that identifies the documents that your logic apps receive.

Import

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

 $ pulumi import azure:logicapps/integrationAccountPartner:IntegrationAccountPartner example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Logic/integrationAccounts/account1/partners/partner1

Package Details

Repository
https://github.com/pulumi/pulumi-azure
License
Apache-2.0
Notes

This Pulumi package is based on the azurerm Terraform Provider.