1. Packages
  2. Azure Native
  3. API Docs
  4. logic
  5. IntegrationAccountPartner
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.37.0 published on Monday, Apr 15, 2024 by Pulumi

azure-native.logic.IntegrationAccountPartner

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.37.0 published on Monday, Apr 15, 2024 by Pulumi

    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 (
    	"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(nil),
    			PartnerName:            pulumi.String("testPartner"),
    			PartnerType:            pulumi.String(logic.PartnerTypeB2B),
    			ResourceGroupName:      pulumi.String("testResourceGroup"),
    			Tags:                   nil,
    		})
    		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 pulumi
    import pulumi_azure_native as azure_native
    
    integration_account_partner = azure_native.logic.IntegrationAccountPartner("integrationAccountPartner",
        content=azure_native.logic.PartnerContentArgs(
            b2b=azure_native.logic.B2BPartnerContentArgs(
                business_identities=[azure_native.logic.BusinessIdentityArgs(
                    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={})
    
    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: {},
    });
    
    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.

    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=azure_native.logic.PartnerContentArgs(
            b2b=azure_native.logic.B2BPartnerContentArgs(
                business_identities=[azure_native.logic.BusinessIdentityArgs(
                    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

    The IntegrationAccountPartner resource accepts the following input properties:

    Content Pulumi.AzureNative.Logic.Inputs.PartnerContent
    The partner content.
    IntegrationAccountName string
    The integration account name.
    PartnerType string | Pulumi.AzureNative.Logic.PartnerType
    The partner type.
    ResourceGroupName string
    The resource group name.
    Location string
    The resource location.
    Metadata object
    The metadata.
    PartnerName string
    The integration account partner name.
    Tags Dictionary<string, string>
    The resource tags.
    Content PartnerContentArgs
    The partner content.
    IntegrationAccountName string
    The integration account name.
    PartnerType string | PartnerType
    The partner type.
    ResourceGroupName string
    The resource group name.
    Location string
    The resource location.
    Metadata interface{}
    The metadata.
    PartnerName string
    The integration account partner name.
    Tags map[string]string
    The resource tags.
    content PartnerContent
    The partner content.
    integrationAccountName String
    The integration account name.
    partnerType String | PartnerType
    The partner type.
    resourceGroupName String
    The resource group name.
    location String
    The resource location.
    metadata Object
    The metadata.
    partnerName String
    The integration account partner name.
    tags Map<String,String>
    The resource tags.
    content PartnerContent
    The partner content.
    integrationAccountName string
    The integration account name.
    partnerType string | PartnerType
    The partner type.
    resourceGroupName string
    The resource group name.
    location string
    The resource location.
    metadata any
    The metadata.
    partnerName string
    The integration account partner name.
    tags {[key: string]: string}
    The resource tags.
    content PartnerContentArgs
    The partner content.
    integration_account_name str
    The integration account name.
    partner_type str | PartnerType
    The partner type.
    resource_group_name str
    The resource group name.
    location str
    The resource location.
    metadata Any
    The metadata.
    partner_name str
    The integration account partner name.
    tags Mapping[str, str]
    The resource tags.
    content Property Map
    The partner content.
    integrationAccountName String
    The integration account name.
    partnerType String | "NotSpecified" | "B2B"
    The partner type.
    resourceGroupName String
    The resource group name.
    location String
    The resource location.
    metadata Any
    The metadata.
    partnerName 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 string
    The business identity qualifier e.g. as2identity, ZZ, ZZZ, 31, 32
    Value string
    The user defined business identity value.
    Qualifier string
    The business identity qualifier e.g. as2identity, ZZ, ZZZ, 31, 32
    Value string
    The user defined business identity value.
    qualifier String
    The business identity qualifier e.g. as2identity, ZZ, ZZZ, 31, 32
    value String
    The user defined business identity value.
    qualifier string
    The business identity qualifier e.g. as2identity, ZZ, ZZZ, 31, 32
    value string
    The user defined business identity value.
    qualifier str
    The business identity qualifier e.g. as2identity, ZZ, ZZZ, 31, 32
    value str
    The user defined business identity value.
    qualifier String
    The business identity qualifier e.g. as2identity, ZZ, ZZZ, 31, 32
    value String
    The user defined business identity value.

    BusinessIdentityResponse, BusinessIdentityResponseArgs

    Qualifier string
    The business identity qualifier e.g. as2identity, ZZ, ZZZ, 31, 32
    Value string
    The user defined business identity value.
    Qualifier string
    The business identity qualifier e.g. as2identity, ZZ, ZZZ, 31, 32
    Value string
    The user defined business identity value.
    qualifier String
    The business identity qualifier e.g. as2identity, ZZ, ZZZ, 31, 32
    value String
    The user defined business identity value.
    qualifier string
    The business identity qualifier e.g. as2identity, ZZ, ZZZ, 31, 32
    value string
    The user defined business identity value.
    qualifier str
    The business identity qualifier e.g. as2identity, ZZ, ZZZ, 31, 32
    value str
    The user defined business identity value.
    qualifier String
    The business identity qualifier e.g. as2identity, ZZ, ZZZ, 31, 32
    value 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} 
    

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

    Package Details

    Repository
    Azure Native pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
    Azure Native v2.37.0 published on Monday, Apr 15, 2024 by Pulumi