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(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={
"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={})
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.
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": {
"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",
})
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.
Azure Native. Logic. Inputs. Partner Content - The partner content.
- Integration
Account stringName - The integration account name.
- Partner
Type string | Pulumi.Azure Native. Logic. Partner Type - The partner type.
- Resource
Group stringName - The resource group name.
- Location string
- The resource location.
- Metadata object
- The metadata.
- Partner
Name string - The integration account partner name.
- Dictionary<string, string>
- The resource tags.
- Content
Partner
Content Args - The partner content.
- Integration
Account stringName - The integration account name.
- Partner
Type string | PartnerType - The partner type.
- Resource
Group stringName - The resource group name.
- Location string
- The resource location.
- Metadata interface{}
- The metadata.
- Partner
Name string - The integration account partner name.
- map[string]string
- The resource tags.
- content
Partner
Content - The partner content.
- integration
Account StringName - The integration account name.
- partner
Type String | PartnerType - The partner type.
- resource
Group StringName - The resource group name.
- location String
- The resource location.
- metadata Object
- The metadata.
- partner
Name String - The integration account partner name.
- Map<String,String>
- The resource tags.
- content
Partner
Content - The partner content.
- integration
Account stringName - The integration account name.
- partner
Type string | PartnerType - The partner type.
- resource
Group stringName - The resource group name.
- location string
- The resource location.
- metadata any
- The metadata.
- partner
Name string - The integration account partner name.
- {[key: string]: string}
- The resource tags.
- content
Partner
Content 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.
- integration
Account StringName - The integration account name.
- partner
Type String | "NotSpecified" | "B2B" - The partner type.
- resource
Group StringName - The resource group name.
- location String
- The resource location.
- metadata Any
- The metadata.
- partner
Name 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:
- Changed
Time string - The changed time.
- Created
Time 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 string - The changed time.
- Created
Time 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 String - The changed time.
- created
Time 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 string - The changed time.
- created
Time 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.
- changed
Time String - The changed time.
- created
Time 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
- Business
Identities List<Pulumi.Azure Native. Logic. Inputs. Business Identity> - The list of partner business identities.
- Business
Identities []BusinessIdentity - The list of partner business identities.
- business
Identities List<BusinessIdentity> - The list of partner business identities.
- business
Identities BusinessIdentity[] - The list of partner business identities.
- business_
identities Sequence[BusinessIdentity] - The list of partner business identities.
- business
Identities List<Property Map> - The list of partner business identities.
B2BPartnerContentResponse, B2BPartnerContentResponseArgs
- Business
Identities List<Pulumi.Azure Native. Logic. Inputs. Business Identity Response> - The list of partner business identities.
- Business
Identities []BusinessIdentity Response - The list of partner business identities.
- business
Identities List<BusinessIdentity Response> - The list of partner business identities.
- business
Identities BusinessIdentity Response[] - The list of partner business identities.
- business_
identities Sequence[BusinessIdentity Response] - The list of partner business identities.
- business
Identities 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
B2BPartner
Content - The B2B partner content.
- b2b
B2BPartner
Content - The B2B partner content.
- b2b
B2BPartner
Content - The B2B partner content.
- b2b
B2BPartner
Content - 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
B2BPartner
Content Response - The B2B partner content.
- b2b
B2BPartner
Content Response - The B2B partner content.
- b2b
B2BPartner
Content Response - The B2B partner content.
- b2b
B2BPartner
Content Response - The B2B partner content.
- b2b Property Map
- The B2B partner content.
PartnerType, PartnerTypeArgs
- Not
Specified - NotSpecified
- B2B
- B2B
- Partner
Type Not Specified - NotSpecified
- Partner
Type B2B - B2B
- Not
Specified - NotSpecified
- B2B
- B2B
- Not
Specified - NotSpecified
- B2B
- B2B
- NOT_SPECIFIED
- NotSpecified
- B2_B
- B2B
- "Not
Specified" - 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