1. Packages
  2. Azure Native v2
  3. API Docs
  4. logic
  5. IntegrationAccountPartner
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

azure-native-v2.logic.IntegrationAccountPartner

Explore with Pulumi AI

The integration account partner. Azure REST API version: 2019-05-01. Prior API version in Azure Native 1.x: 2019-05-01.

Other available API versions: 2015-08-01-preview.

Example Usage

Create or update a partner

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;

return await Deployment.RunAsync(() => 
{
    var integrationAccountPartner = new AzureNative.Logic.IntegrationAccountPartner("integrationAccountPartner", new()
    {
        Content = new AzureNative.Logic.Inputs.PartnerContentArgs
        {
            B2b = new AzureNative.Logic.Inputs.B2BPartnerContentArgs
            {
                BusinessIdentities = new[]
                {
                    new AzureNative.Logic.Inputs.BusinessIdentityArgs
                    {
                        Qualifier = "AA",
                        Value = "ZZ",
                    },
                },
            },
        },
        IntegrationAccountName = "testIntegrationAccount",
        Location = "westus",
        Metadata = null,
        PartnerName = "testPartner",
        PartnerType = AzureNative.Logic.PartnerType.B2B,
        ResourceGroupName = "testResourceGroup",
        Tags = null,
    });

});
Copy
package main

import (
	logic "github.com/pulumi/pulumi-azure-native-sdk/logic/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := logic.NewIntegrationAccountPartner(ctx, "integrationAccountPartner", &logic.IntegrationAccountPartnerArgs{
			Content: &logic.PartnerContentArgs{
				B2b: &logic.B2BPartnerContentArgs{
					BusinessIdentities: logic.BusinessIdentityArray{
						&logic.BusinessIdentityArgs{
							Qualifier: pulumi.String("AA"),
							Value:     pulumi.String("ZZ"),
						},
					},
				},
			},
			IntegrationAccountName: pulumi.String("testIntegrationAccount"),
			Location:               pulumi.String("westus"),
			Metadata:               pulumi.Any(map[string]interface{}{}),
			PartnerName:            pulumi.String("testPartner"),
			PartnerType:            pulumi.String(logic.PartnerTypeB2B),
			ResourceGroupName:      pulumi.String("testResourceGroup"),
			Tags:                   pulumi.StringMap{},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.logic.IntegrationAccountPartner;
import com.pulumi.azurenative.logic.IntegrationAccountPartnerArgs;
import com.pulumi.azurenative.logic.inputs.PartnerContentArgs;
import com.pulumi.azurenative.logic.inputs.B2BPartnerContentArgs;
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 integrationAccountPartner = new IntegrationAccountPartner("integrationAccountPartner", IntegrationAccountPartnerArgs.builder()
            .content(PartnerContentArgs.builder()
                .b2b(B2BPartnerContentArgs.builder()
                    .businessIdentities(BusinessIdentityArgs.builder()
                        .qualifier("AA")
                        .value("ZZ")
                        .build())
                    .build())
                .build())
            .integrationAccountName("testIntegrationAccount")
            .location("westus")
            .metadata()
            .partnerName("testPartner")
            .partnerType("B2B")
            .resourceGroupName("testResourceGroup")
            .tags()
            .build());

    }
}
Copy
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const integrationAccountPartner = new azure_native.logic.IntegrationAccountPartner("integrationAccountPartner", {
    content: {
        b2b: {
            businessIdentities: [{
                qualifier: "AA",
                value: "ZZ",
            }],
        },
    },
    integrationAccountName: "testIntegrationAccount",
    location: "westus",
    metadata: {},
    partnerName: "testPartner",
    partnerType: azure_native.logic.PartnerType.B2B,
    resourceGroupName: "testResourceGroup",
    tags: {},
});
Copy
import pulumi
import pulumi_azure_native as azure_native

integration_account_partner = azure_native.logic.IntegrationAccountPartner("integrationAccountPartner",
    content={
        "b2b": {
            "business_identities": [{
                "qualifier": "AA",
                "value": "ZZ",
            }],
        },
    },
    integration_account_name="testIntegrationAccount",
    location="westus",
    metadata={},
    partner_name="testPartner",
    partner_type=azure_native.logic.PartnerType.B2_B,
    resource_group_name="testResourceGroup",
    tags={})
Copy
resources:
  integrationAccountPartner:
    type: azure-native:logic:IntegrationAccountPartner
    properties:
      content:
        b2b:
          businessIdentities:
            - qualifier: AA
              value: ZZ
      integrationAccountName: testIntegrationAccount
      location: westus
      metadata: {}
      partnerName: testPartner
      partnerType: B2B
      resourceGroupName: testResourceGroup
      tags: {}
Copy

Create IntegrationAccountPartner Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new IntegrationAccountPartner(name: string, args: IntegrationAccountPartnerArgs, opts?: CustomResourceOptions);
@overload
def IntegrationAccountPartner(resource_name: str,
                              args: IntegrationAccountPartnerArgs,
                              opts: Optional[ResourceOptions] = None)

@overload
def IntegrationAccountPartner(resource_name: str,
                              opts: Optional[ResourceOptions] = None,
                              content: Optional[PartnerContentArgs] = None,
                              integration_account_name: Optional[str] = None,
                              partner_type: Optional[Union[str, PartnerType]] = None,
                              resource_group_name: Optional[str] = None,
                              location: Optional[str] = None,
                              metadata: Optional[Any] = None,
                              partner_name: Optional[str] = None,
                              tags: Optional[Mapping[str, str]] = 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-native:logic:IntegrationAccountPartner
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. IntegrationAccountPartnerArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. 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 This property is required. string
The unique name of the resource.
args This property is required. IntegrationAccountPartnerArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. IntegrationAccountPartnerArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. IntegrationAccountPartnerArgs
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 integrationAccountPartnerResource = new AzureNative.Logic.IntegrationAccountPartner("integrationAccountPartnerResource", new()
{
    Content = 
    {
        { "b2b", 
        {
            { "businessIdentities", new[]
            {
                
                {
                    { "qualifier", "string" },
                    { "value", "string" },
                },
            } },
        } },
    },
    IntegrationAccountName = "string",
    PartnerType = "string",
    ResourceGroupName = "string",
    Location = "string",
    Metadata = "any",
    PartnerName = "string",
    Tags = 
    {
        { "string", "string" },
    },
});
Copy
example, err := logic.NewIntegrationAccountPartner(ctx, "integrationAccountPartnerResource", &logic.IntegrationAccountPartnerArgs{
	Content: map[string]interface{}{
		"b2b": map[string]interface{}{
			"businessIdentities": []map[string]interface{}{
				map[string]interface{}{
					"qualifier": "string",
					"value":     "string",
				},
			},
		},
	},
	IntegrationAccountName: "string",
	PartnerType:            "string",
	ResourceGroupName:      "string",
	Location:               "string",
	Metadata:               "any",
	PartnerName:            "string",
	Tags: map[string]interface{}{
		"string": "string",
	},
})
Copy
var integrationAccountPartnerResource = new IntegrationAccountPartner("integrationAccountPartnerResource", IntegrationAccountPartnerArgs.builder()
    .content(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
    .integrationAccountName("string")
    .partnerType("string")
    .resourceGroupName("string")
    .location("string")
    .metadata("any")
    .partnerName("string")
    .tags(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
    .build());
Copy
integration_account_partner_resource = azure_native.logic.IntegrationAccountPartner("integrationAccountPartnerResource",
    content={
        b2b: {
            businessIdentities: [{
                qualifier: string,
                value: string,
            }],
        },
    },
    integration_account_name=string,
    partner_type=string,
    resource_group_name=string,
    location=string,
    metadata=any,
    partner_name=string,
    tags={
        string: string,
    })
Copy
const integrationAccountPartnerResource = new azure_native.logic.IntegrationAccountPartner("integrationAccountPartnerResource", {
    content: {
        b2b: {
            businessIdentities: [{
                qualifier: "string",
                value: "string",
            }],
        },
    },
    integrationAccountName: "string",
    partnerType: "string",
    resourceGroupName: "string",
    location: "string",
    metadata: "any",
    partnerName: "string",
    tags: {
        string: "string",
    },
});
Copy
type: azure-native:logic:IntegrationAccountPartner
properties:
    content:
        b2b:
            businessIdentities:
                - qualifier: string
                  value: string
    integrationAccountName: string
    location: string
    metadata: any
    partnerName: string
    partnerType: string
    resourceGroupName: string
    tags:
        string: string
Copy

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

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The IntegrationAccountPartner resource accepts the following input properties:

Content This property is required. Pulumi.AzureNative.Logic.Inputs.PartnerContent
The partner content.
IntegrationAccountName
This property is required.
Changes to this property will trigger replacement.
string
The integration account name.
PartnerType This property is required. string | Pulumi.AzureNative.Logic.PartnerType
The partner type.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The resource group name.
Location string
The resource location.
Metadata object
The metadata.
PartnerName Changes to this property will trigger replacement. string
The integration account partner name.
Tags Dictionary<string, string>
The resource tags.
Content This property is required. PartnerContentArgs
The partner content.
IntegrationAccountName
This property is required.
Changes to this property will trigger replacement.
string
The integration account name.
PartnerType This property is required. string | PartnerType
The partner type.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The resource group name.
Location string
The resource location.
Metadata interface{}
The metadata.
PartnerName Changes to this property will trigger replacement. string
The integration account partner name.
Tags map[string]string
The resource tags.
content This property is required. PartnerContent
The partner content.
integrationAccountName
This property is required.
Changes to this property will trigger replacement.
String
The integration account name.
partnerType This property is required. String | PartnerType
The partner type.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The resource group name.
location String
The resource location.
metadata Object
The metadata.
partnerName Changes to this property will trigger replacement. String
The integration account partner name.
tags Map<String,String>
The resource tags.
content This property is required. PartnerContent
The partner content.
integrationAccountName
This property is required.
Changes to this property will trigger replacement.
string
The integration account name.
partnerType This property is required. string | PartnerType
The partner type.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The resource group name.
location string
The resource location.
metadata any
The metadata.
partnerName Changes to this property will trigger replacement. string
The integration account partner name.
tags {[key: string]: string}
The resource tags.
content This property is required. PartnerContentArgs
The partner content.
integration_account_name
This property is required.
Changes to this property will trigger replacement.
str
The integration account name.
partner_type This property is required. str | PartnerType
The partner type.
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
The resource group name.
location str
The resource location.
metadata Any
The metadata.
partner_name Changes to this property will trigger replacement. str
The integration account partner name.
tags Mapping[str, str]
The resource tags.
content This property is required. Property Map
The partner content.
integrationAccountName
This property is required.
Changes to this property will trigger replacement.
String
The integration account name.
partnerType This property is required. String | "NotSpecified" | "B2B"
The partner type.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The resource group name.
location String
The resource location.
metadata Any
The metadata.
partnerName Changes to this property will trigger replacement. String
The integration account partner name.
tags Map<String>
The resource tags.

Outputs

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

ChangedTime string
The changed time.
CreatedTime string
The created time.
Id string
The provider-assigned unique ID for this managed resource.
Name string
Gets the resource name.
Type string
Gets the resource type.
ChangedTime string
The changed time.
CreatedTime string
The created time.
Id string
The provider-assigned unique ID for this managed resource.
Name string
Gets the resource name.
Type string
Gets the resource type.
changedTime String
The changed time.
createdTime String
The created time.
id String
The provider-assigned unique ID for this managed resource.
name String
Gets the resource name.
type String
Gets the resource type.
changedTime string
The changed time.
createdTime string
The created time.
id string
The provider-assigned unique ID for this managed resource.
name string
Gets the resource name.
type string
Gets the resource type.
changed_time str
The changed time.
created_time str
The created time.
id str
The provider-assigned unique ID for this managed resource.
name str
Gets the resource name.
type str
Gets the resource type.
changedTime String
The changed time.
createdTime String
The created time.
id String
The provider-assigned unique ID for this managed resource.
name String
Gets the resource name.
type String
Gets the resource type.

Supporting Types

B2BPartnerContent
, B2BPartnerContentArgs

BusinessIdentities []BusinessIdentity
The list of partner business identities.
businessIdentities List<BusinessIdentity>
The list of partner business identities.
businessIdentities BusinessIdentity[]
The list of partner business identities.
business_identities Sequence[BusinessIdentity]
The list of partner business identities.
businessIdentities List<Property Map>
The list of partner business identities.

B2BPartnerContentResponse
, B2BPartnerContentResponseArgs

BusinessIdentities []BusinessIdentityResponse
The list of partner business identities.
businessIdentities List<BusinessIdentityResponse>
The list of partner business identities.
businessIdentities BusinessIdentityResponse[]
The list of partner business identities.
business_identities Sequence[BusinessIdentityResponse]
The list of partner business identities.
businessIdentities List<Property Map>
The list of partner business identities.

BusinessIdentity
, BusinessIdentityArgs

Qualifier This property is required. string
The business identity qualifier e.g. as2identity, ZZ, ZZZ, 31, 32
Value This property is required. string
The user defined business identity value.
Qualifier This property is required. string
The business identity qualifier e.g. as2identity, ZZ, ZZZ, 31, 32
Value This property is required. string
The user defined business identity value.
qualifier This property is required. String
The business identity qualifier e.g. as2identity, ZZ, ZZZ, 31, 32
value This property is required. String
The user defined business identity value.
qualifier This property is required. string
The business identity qualifier e.g. as2identity, ZZ, ZZZ, 31, 32
value This property is required. string
The user defined business identity value.
qualifier This property is required. str
The business identity qualifier e.g. as2identity, ZZ, ZZZ, 31, 32
value This property is required. str
The user defined business identity value.
qualifier This property is required. String
The business identity qualifier e.g. as2identity, ZZ, ZZZ, 31, 32
value This property is required. String
The user defined business identity value.

BusinessIdentityResponse
, BusinessIdentityResponseArgs

Qualifier This property is required. string
The business identity qualifier e.g. as2identity, ZZ, ZZZ, 31, 32
Value This property is required. string
The user defined business identity value.
Qualifier This property is required. string
The business identity qualifier e.g. as2identity, ZZ, ZZZ, 31, 32
Value This property is required. string
The user defined business identity value.
qualifier This property is required. String
The business identity qualifier e.g. as2identity, ZZ, ZZZ, 31, 32
value This property is required. String
The user defined business identity value.
qualifier This property is required. string
The business identity qualifier e.g. as2identity, ZZ, ZZZ, 31, 32
value This property is required. string
The user defined business identity value.
qualifier This property is required. str
The business identity qualifier e.g. as2identity, ZZ, ZZZ, 31, 32
value This property is required. str
The user defined business identity value.
qualifier This property is required. String
The business identity qualifier e.g. as2identity, ZZ, ZZZ, 31, 32
value This property is required. String
The user defined business identity value.

PartnerContent
, PartnerContentArgs

B2b B2BPartnerContent
The B2B partner content.
b2b B2BPartnerContent
The B2B partner content.
b2b B2BPartnerContent
The B2B partner content.
b2b B2BPartnerContent
The B2B partner content.
b2b Property Map
The B2B partner content.

PartnerContentResponse
, PartnerContentResponseArgs

B2b B2BPartnerContentResponse
The B2B partner content.
b2b B2BPartnerContentResponse
The B2B partner content.
b2b B2BPartnerContentResponse
The B2B partner content.
b2b B2BPartnerContentResponse
The B2B partner content.
b2b Property Map
The B2B partner content.

PartnerType
, PartnerTypeArgs

NotSpecified
NotSpecified
B2B
B2B
PartnerTypeNotSpecified
NotSpecified
PartnerTypeB2B
B2B
NotSpecified
NotSpecified
B2B
B2B
NotSpecified
NotSpecified
B2B
B2B
NOT_SPECIFIED
NotSpecified
B2_B
B2B
"NotSpecified"
NotSpecified
"B2B"
B2B

Import

An existing resource can be imported using its type token, name, and identifier, e.g.

$ pulumi import azure-native:logic:IntegrationAccountPartner testPartner /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/partners/{partnerName} 
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
azure-native-v2 pulumi/pulumi-azure-native
License
Apache-2.0