azure-native.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,
    });
});
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
	})
}
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());
    }
}
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: {},
});
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={})
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: {}
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 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.
Constructor example
The following reference example uses placeholder values for all input properties.
var integrationAccountPartnerResource = new AzureNative.Logic.IntegrationAccountPartner("integrationAccountPartnerResource", new()
{
    Content = new AzureNative.Logic.Inputs.PartnerContentArgs
    {
        B2b = new AzureNative.Logic.Inputs.B2BPartnerContentArgs
        {
            BusinessIdentities = new[]
            {
                new AzureNative.Logic.Inputs.BusinessIdentityArgs
                {
                    Qualifier = "string",
                    Value = "string",
                },
            },
        },
    },
    IntegrationAccountName = "string",
    PartnerType = "string",
    ResourceGroupName = "string",
    Location = "string",
    Metadata = "any",
    PartnerName = "string",
    Tags = 
    {
        { "string", "string" },
    },
});
example, err := logic.NewIntegrationAccountPartner(ctx, "integrationAccountPartnerResource", &logic.IntegrationAccountPartnerArgs{
	Content: &logic.PartnerContentArgs{
		B2b: &logic.B2BPartnerContentArgs{
			BusinessIdentities: logic.BusinessIdentityArray{
				&logic.BusinessIdentityArgs{
					Qualifier: pulumi.String("string"),
					Value:     pulumi.String("string"),
				},
			},
		},
	},
	IntegrationAccountName: pulumi.String("string"),
	PartnerType:            pulumi.String("string"),
	ResourceGroupName:      pulumi.String("string"),
	Location:               pulumi.String("string"),
	Metadata:               pulumi.Any("any"),
	PartnerName:            pulumi.String("string"),
	Tags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
})
var integrationAccountPartnerResource = new IntegrationAccountPartner("integrationAccountPartnerResource", IntegrationAccountPartnerArgs.builder()
    .content(PartnerContentArgs.builder()
        .b2b(B2BPartnerContentArgs.builder()
            .businessIdentities(BusinessIdentityArgs.builder()
                .qualifier("string")
                .value("string")
                .build())
            .build())
        .build())
    .integrationAccountName("string")
    .partnerType("string")
    .resourceGroupName("string")
    .location("string")
    .metadata("any")
    .partnerName("string")
    .tags(Map.of("string", "string"))
    .build());
integration_account_partner_resource = azure_native.logic.IntegrationAccountPartner("integrationAccountPartnerResource",
    content={
        "b2b": {
            "business_identities": [{
                "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",
    })
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",
    },
});
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
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
Pulumi.Azure Native. Logic. Inputs. Partner Content 
- The partner content.
- IntegrationAccount stringName 
- The integration account name.
- PartnerType string | Pulumi.Azure Native. Logic. Partner Type 
- The partner type.
- ResourceGroup stringName 
- The resource group name.
- Location string
- The resource location.
- Metadata object
- The metadata.
- PartnerName string
- The integration account partner name.
- Dictionary<string, string>
- The resource tags.
- Content
PartnerContent Args 
- The partner content.
- IntegrationAccount stringName 
- The integration account name.
- PartnerType string | PartnerType 
- The partner type.
- ResourceGroup stringName 
- The resource group name.
- Location string
- The resource location.
- Metadata interface{}
- The metadata.
- PartnerName string
- The integration account partner name.
- map[string]string
- The resource tags.
- content
PartnerContent 
- The partner content.
- integrationAccount StringName 
- The integration account name.
- partnerType String | PartnerType 
- The partner type.
- resourceGroup StringName 
- The resource group name.
- location String
- The resource location.
- metadata Object
- The metadata.
- partnerName String
- The integration account partner name.
- Map<String,String>
- The resource tags.
- content
PartnerContent 
- The partner content.
- integrationAccount stringName 
- The integration account name.
- partnerType string | PartnerType 
- The partner type.
- resourceGroup stringName 
- The resource group name.
- location string
- The resource location.
- metadata any
- The metadata.
- partnerName string
- The integration account partner name.
- {[key: string]: string}
- The resource tags.
- content
PartnerContent Args 
- The partner content.
- integration_account_ strname 
- The integration account name.
- partner_type str | PartnerType 
- The partner type.
- resource_group_ strname 
- The resource group name.
- location str
- The resource location.
- metadata Any
- The metadata.
- partner_name str
- The integration account partner name.
- Mapping[str, str]
- The resource tags.
- content Property Map
- The partner content.
- integrationAccount StringName 
- The integration account name.
- partnerType String | "NotSpecified" | "B2B" 
- The partner type.
- resourceGroup StringName 
- The resource group name.
- location String
- The resource location.
- metadata Any
- The metadata.
- partnerName String
- The integration account partner name.
- 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 List<Pulumi.Azure Native. Logic. Inputs. Business Identity> 
- The list of partner business identities.
- 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 List<Pulumi.Azure Native. Logic. Inputs. Business Identity Response> 
- The list of partner business identities.
- BusinessIdentities []BusinessIdentity Response 
- The list of partner business identities.
- businessIdentities List<BusinessIdentity Response> 
- The list of partner business identities.
- businessIdentities BusinessIdentity Response[] 
- The list of partner business identities.
- business_identities Sequence[BusinessIdentity Response] 
- The list of partner business identities.
- businessIdentities List<Property Map>
- The list of partner business identities.
BusinessIdentity, BusinessIdentityArgs    
BusinessIdentityResponse, BusinessIdentityResponseArgs      
PartnerContent, PartnerContentArgs    
- B2b
Pulumi.Azure Native. Logic. Inputs. B2BPartner Content 
- The B2B partner content.
- 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
Pulumi.Azure Native. Logic. Inputs. B2BPartner Content Response 
- The B2B partner content.
- B2b
B2BPartnerContent Response 
- The B2B partner content.
- b2b
B2BPartnerContent Response 
- The B2B partner content.
- b2b
B2BPartnerContent Response 
- The B2B partner content.
- b2b
B2BPartnerContent Response 
- The B2B partner content.
- b2b Property Map
- The B2B partner content.
PartnerType, PartnerTypeArgs    
- NotSpecified 
- NotSpecified
- B2B
- B2B
- PartnerType Not Specified 
- NotSpecified
- PartnerType B2B 
- 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} 
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0