We recommend using Azure Native.
azure.logicapps.IntegrationAccountAgreement
Explore with Pulumi AI
Manages a Logic App Integration Account Agreement.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";
import * as std from "@pulumi/std";
const example = new azure.core.ResourceGroup("example", {
name: "example-resources",
location: "West Europe",
});
const test = new azure.logicapps.IntegrationAccount("test", {
name: "example-ia",
location: example.location,
resourceGroupName: example.name,
skuName: "Standard",
});
const host = new azure.logicapps.IntegrationAccountPartner("host", {
name: "example-hostpartner",
resourceGroupName: example.name,
integrationAccountName: test.name,
businessIdentities: [{
qualifier: "AS2Identity",
value: "FabrikamNY",
}],
});
const guest = new azure.logicapps.IntegrationAccountPartner("guest", {
name: "example-guestpartner",
resourceGroupName: example.name,
integrationAccountName: test.name,
businessIdentities: [{
qualifier: "AS2Identity",
value: "FabrikamDC",
}],
});
const testIntegrationAccountAgreement = new azure.logicapps.IntegrationAccountAgreement("test", {
name: "example-agreement",
resourceGroupName: example.name,
integrationAccountName: test.name,
agreementType: "AS2",
hostPartnerName: host.name,
guestPartnerName: guest.name,
content: std.file({
input: "testdata/integration_account_agreement_content_as2.json",
}).then(invoke => invoke.result),
hostIdentity: {
qualifier: "AS2Identity",
value: "FabrikamNY",
},
guestIdentity: {
qualifier: "AS2Identity",
value: "FabrikamDC",
},
});
import pulumi
import pulumi_azure as azure
import pulumi_std as std
example = azure.core.ResourceGroup("example",
name="example-resources",
location="West Europe")
test = azure.logicapps.IntegrationAccount("test",
name="example-ia",
location=example.location,
resource_group_name=example.name,
sku_name="Standard")
host = azure.logicapps.IntegrationAccountPartner("host",
name="example-hostpartner",
resource_group_name=example.name,
integration_account_name=test.name,
business_identities=[azure.logicapps.IntegrationAccountPartnerBusinessIdentityArgs(
qualifier="AS2Identity",
value="FabrikamNY",
)])
guest = azure.logicapps.IntegrationAccountPartner("guest",
name="example-guestpartner",
resource_group_name=example.name,
integration_account_name=test.name,
business_identities=[azure.logicapps.IntegrationAccountPartnerBusinessIdentityArgs(
qualifier="AS2Identity",
value="FabrikamDC",
)])
test_integration_account_agreement = azure.logicapps.IntegrationAccountAgreement("test",
name="example-agreement",
resource_group_name=example.name,
integration_account_name=test.name,
agreement_type="AS2",
host_partner_name=host.name,
guest_partner_name=guest.name,
content=std.file(input="testdata/integration_account_agreement_content_as2.json").result,
host_identity=azure.logicapps.IntegrationAccountAgreementHostIdentityArgs(
qualifier="AS2Identity",
value="FabrikamNY",
),
guest_identity=azure.logicapps.IntegrationAccountAgreementGuestIdentityArgs(
qualifier="AS2Identity",
value="FabrikamDC",
))
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-std/sdk/go/std"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
Name: pulumi.String("example-resources"),
Location: pulumi.String("West Europe"),
})
if err != nil {
return err
}
test, err := logicapps.NewIntegrationAccount(ctx, "test", &logicapps.IntegrationAccountArgs{
Name: pulumi.String("example-ia"),
Location: example.Location,
ResourceGroupName: example.Name,
SkuName: pulumi.String("Standard"),
})
if err != nil {
return err
}
host, err := logicapps.NewIntegrationAccountPartner(ctx, "host", &logicapps.IntegrationAccountPartnerArgs{
Name: pulumi.String("example-hostpartner"),
ResourceGroupName: example.Name,
IntegrationAccountName: test.Name,
BusinessIdentities: logicapps.IntegrationAccountPartnerBusinessIdentityArray{
&logicapps.IntegrationAccountPartnerBusinessIdentityArgs{
Qualifier: pulumi.String("AS2Identity"),
Value: pulumi.String("FabrikamNY"),
},
},
})
if err != nil {
return err
}
guest, err := logicapps.NewIntegrationAccountPartner(ctx, "guest", &logicapps.IntegrationAccountPartnerArgs{
Name: pulumi.String("example-guestpartner"),
ResourceGroupName: example.Name,
IntegrationAccountName: test.Name,
BusinessIdentities: logicapps.IntegrationAccountPartnerBusinessIdentityArray{
&logicapps.IntegrationAccountPartnerBusinessIdentityArgs{
Qualifier: pulumi.String("AS2Identity"),
Value: pulumi.String("FabrikamDC"),
},
},
})
if err != nil {
return err
}
invokeFile, err := std.File(ctx, &std.FileArgs{
Input: "testdata/integration_account_agreement_content_as2.json",
}, nil)
if err != nil {
return err
}
_, err = logicapps.NewIntegrationAccountAgreement(ctx, "test", &logicapps.IntegrationAccountAgreementArgs{
Name: pulumi.String("example-agreement"),
ResourceGroupName: example.Name,
IntegrationAccountName: test.Name,
AgreementType: pulumi.String("AS2"),
HostPartnerName: host.Name,
GuestPartnerName: guest.Name,
Content: invokeFile.Result,
HostIdentity: &logicapps.IntegrationAccountAgreementHostIdentityArgs{
Qualifier: pulumi.String("AS2Identity"),
Value: pulumi.String("FabrikamNY"),
},
GuestIdentity: &logicapps.IntegrationAccountAgreementGuestIdentityArgs{
Qualifier: pulumi.String("AS2Identity"),
Value: pulumi.String("FabrikamDC"),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Azure = Pulumi.Azure;
using Std = Pulumi.Std;
return await Deployment.RunAsync(() =>
{
var example = new Azure.Core.ResourceGroup("example", new()
{
Name = "example-resources",
Location = "West Europe",
});
var test = new Azure.LogicApps.IntegrationAccount("test", new()
{
Name = "example-ia",
Location = example.Location,
ResourceGroupName = example.Name,
SkuName = "Standard",
});
var host = new Azure.LogicApps.IntegrationAccountPartner("host", new()
{
Name = "example-hostpartner",
ResourceGroupName = example.Name,
IntegrationAccountName = test.Name,
BusinessIdentities = new[]
{
new Azure.LogicApps.Inputs.IntegrationAccountPartnerBusinessIdentityArgs
{
Qualifier = "AS2Identity",
Value = "FabrikamNY",
},
},
});
var guest = new Azure.LogicApps.IntegrationAccountPartner("guest", new()
{
Name = "example-guestpartner",
ResourceGroupName = example.Name,
IntegrationAccountName = test.Name,
BusinessIdentities = new[]
{
new Azure.LogicApps.Inputs.IntegrationAccountPartnerBusinessIdentityArgs
{
Qualifier = "AS2Identity",
Value = "FabrikamDC",
},
},
});
var testIntegrationAccountAgreement = new Azure.LogicApps.IntegrationAccountAgreement("test", new()
{
Name = "example-agreement",
ResourceGroupName = example.Name,
IntegrationAccountName = test.Name,
AgreementType = "AS2",
HostPartnerName = host.Name,
GuestPartnerName = guest.Name,
Content = Std.File.Invoke(new()
{
Input = "testdata/integration_account_agreement_content_as2.json",
}).Apply(invoke => invoke.Result),
HostIdentity = new Azure.LogicApps.Inputs.IntegrationAccountAgreementHostIdentityArgs
{
Qualifier = "AS2Identity",
Value = "FabrikamNY",
},
GuestIdentity = new Azure.LogicApps.Inputs.IntegrationAccountAgreementGuestIdentityArgs
{
Qualifier = "AS2Identity",
Value = "FabrikamDC",
},
});
});
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 com.pulumi.azure.logicapps.IntegrationAccountAgreement;
import com.pulumi.azure.logicapps.IntegrationAccountAgreementArgs;
import com.pulumi.azure.logicapps.inputs.IntegrationAccountAgreementHostIdentityArgs;
import com.pulumi.azure.logicapps.inputs.IntegrationAccountAgreementGuestIdentityArgs;
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 example = new ResourceGroup("example", ResourceGroupArgs.builder()
.name("example-resources")
.location("West Europe")
.build());
var test = new IntegrationAccount("test", IntegrationAccountArgs.builder()
.name("example-ia")
.location(example.location())
.resourceGroupName(example.name())
.skuName("Standard")
.build());
var host = new IntegrationAccountPartner("host", IntegrationAccountPartnerArgs.builder()
.name("example-hostpartner")
.resourceGroupName(example.name())
.integrationAccountName(test.name())
.businessIdentities(IntegrationAccountPartnerBusinessIdentityArgs.builder()
.qualifier("AS2Identity")
.value("FabrikamNY")
.build())
.build());
var guest = new IntegrationAccountPartner("guest", IntegrationAccountPartnerArgs.builder()
.name("example-guestpartner")
.resourceGroupName(example.name())
.integrationAccountName(test.name())
.businessIdentities(IntegrationAccountPartnerBusinessIdentityArgs.builder()
.qualifier("AS2Identity")
.value("FabrikamDC")
.build())
.build());
var testIntegrationAccountAgreement = new IntegrationAccountAgreement("testIntegrationAccountAgreement", IntegrationAccountAgreementArgs.builder()
.name("example-agreement")
.resourceGroupName(example.name())
.integrationAccountName(test.name())
.agreementType("AS2")
.hostPartnerName(host.name())
.guestPartnerName(guest.name())
.content(StdFunctions.file(FileArgs.builder()
.input("testdata/integration_account_agreement_content_as2.json")
.build()).result())
.hostIdentity(IntegrationAccountAgreementHostIdentityArgs.builder()
.qualifier("AS2Identity")
.value("FabrikamNY")
.build())
.guestIdentity(IntegrationAccountAgreementGuestIdentityArgs.builder()
.qualifier("AS2Identity")
.value("FabrikamDC")
.build())
.build());
}
}
resources:
example:
type: azure:core:ResourceGroup
properties:
name: example-resources
location: West Europe
test:
type: azure:logicapps:IntegrationAccount
properties:
name: example-ia
location: ${example.location}
resourceGroupName: ${example.name}
skuName: Standard
host:
type: azure:logicapps:IntegrationAccountPartner
properties:
name: example-hostpartner
resourceGroupName: ${example.name}
integrationAccountName: ${test.name}
businessIdentities:
- qualifier: AS2Identity
value: FabrikamNY
guest:
type: azure:logicapps:IntegrationAccountPartner
properties:
name: example-guestpartner
resourceGroupName: ${example.name}
integrationAccountName: ${test.name}
businessIdentities:
- qualifier: AS2Identity
value: FabrikamDC
testIntegrationAccountAgreement:
type: azure:logicapps:IntegrationAccountAgreement
name: test
properties:
name: example-agreement
resourceGroupName: ${example.name}
integrationAccountName: ${test.name}
agreementType: AS2
hostPartnerName: ${host.name}
guestPartnerName: ${guest.name}
content:
fn::invoke:
Function: std:file
Arguments:
input: testdata/integration_account_agreement_content_as2.json
Return: result
hostIdentity:
qualifier: AS2Identity
value: FabrikamNY
guestIdentity:
qualifier: AS2Identity
value: FabrikamDC
Create IntegrationAccountAgreement Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new IntegrationAccountAgreement(name: string, args: IntegrationAccountAgreementArgs, opts?: CustomResourceOptions);
@overload
def IntegrationAccountAgreement(resource_name: str,
args: IntegrationAccountAgreementArgs,
opts: Optional[ResourceOptions] = None)
@overload
def IntegrationAccountAgreement(resource_name: str,
opts: Optional[ResourceOptions] = None,
agreement_type: Optional[str] = None,
content: Optional[str] = None,
guest_identity: Optional[IntegrationAccountAgreementGuestIdentityArgs] = None,
guest_partner_name: Optional[str] = None,
host_identity: Optional[IntegrationAccountAgreementHostIdentityArgs] = None,
host_partner_name: Optional[str] = None,
integration_account_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
metadata: Optional[Mapping[str, str]] = None,
name: Optional[str] = None)
func NewIntegrationAccountAgreement(ctx *Context, name string, args IntegrationAccountAgreementArgs, opts ...ResourceOption) (*IntegrationAccountAgreement, error)
public IntegrationAccountAgreement(string name, IntegrationAccountAgreementArgs args, CustomResourceOptions? opts = null)
public IntegrationAccountAgreement(String name, IntegrationAccountAgreementArgs args)
public IntegrationAccountAgreement(String name, IntegrationAccountAgreementArgs args, CustomResourceOptions options)
type: azure:logicapps:IntegrationAccountAgreement
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 IntegrationAccountAgreementArgs
- 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 IntegrationAccountAgreementArgs
- 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 IntegrationAccountAgreementArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args IntegrationAccountAgreementArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args IntegrationAccountAgreementArgs
- 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 integrationAccountAgreementResource = new Azure.LogicApps.IntegrationAccountAgreement("integrationAccountAgreementResource", new()
{
AgreementType = "string",
Content = "string",
GuestIdentity = new Azure.LogicApps.Inputs.IntegrationAccountAgreementGuestIdentityArgs
{
Qualifier = "string",
Value = "string",
},
GuestPartnerName = "string",
HostIdentity = new Azure.LogicApps.Inputs.IntegrationAccountAgreementHostIdentityArgs
{
Qualifier = "string",
Value = "string",
},
HostPartnerName = "string",
IntegrationAccountName = "string",
ResourceGroupName = "string",
Metadata =
{
{ "string", "string" },
},
Name = "string",
});
example, err := logicapps.NewIntegrationAccountAgreement(ctx, "integrationAccountAgreementResource", &logicapps.IntegrationAccountAgreementArgs{
AgreementType: pulumi.String("string"),
Content: pulumi.String("string"),
GuestIdentity: &logicapps.IntegrationAccountAgreementGuestIdentityArgs{
Qualifier: pulumi.String("string"),
Value: pulumi.String("string"),
},
GuestPartnerName: pulumi.String("string"),
HostIdentity: &logicapps.IntegrationAccountAgreementHostIdentityArgs{
Qualifier: pulumi.String("string"),
Value: pulumi.String("string"),
},
HostPartnerName: pulumi.String("string"),
IntegrationAccountName: pulumi.String("string"),
ResourceGroupName: pulumi.String("string"),
Metadata: pulumi.StringMap{
"string": pulumi.String("string"),
},
Name: pulumi.String("string"),
})
var integrationAccountAgreementResource = new IntegrationAccountAgreement("integrationAccountAgreementResource", IntegrationAccountAgreementArgs.builder()
.agreementType("string")
.content("string")
.guestIdentity(IntegrationAccountAgreementGuestIdentityArgs.builder()
.qualifier("string")
.value("string")
.build())
.guestPartnerName("string")
.hostIdentity(IntegrationAccountAgreementHostIdentityArgs.builder()
.qualifier("string")
.value("string")
.build())
.hostPartnerName("string")
.integrationAccountName("string")
.resourceGroupName("string")
.metadata(Map.of("string", "string"))
.name("string")
.build());
integration_account_agreement_resource = azure.logicapps.IntegrationAccountAgreement("integrationAccountAgreementResource",
agreement_type="string",
content="string",
guest_identity=azure.logicapps.IntegrationAccountAgreementGuestIdentityArgs(
qualifier="string",
value="string",
),
guest_partner_name="string",
host_identity=azure.logicapps.IntegrationAccountAgreementHostIdentityArgs(
qualifier="string",
value="string",
),
host_partner_name="string",
integration_account_name="string",
resource_group_name="string",
metadata={
"string": "string",
},
name="string")
const integrationAccountAgreementResource = new azure.logicapps.IntegrationAccountAgreement("integrationAccountAgreementResource", {
agreementType: "string",
content: "string",
guestIdentity: {
qualifier: "string",
value: "string",
},
guestPartnerName: "string",
hostIdentity: {
qualifier: "string",
value: "string",
},
hostPartnerName: "string",
integrationAccountName: "string",
resourceGroupName: "string",
metadata: {
string: "string",
},
name: "string",
});
type: azure:logicapps:IntegrationAccountAgreement
properties:
agreementType: string
content: string
guestIdentity:
qualifier: string
value: string
guestPartnerName: string
hostIdentity:
qualifier: string
value: string
hostPartnerName: string
integrationAccountName: string
metadata:
string: string
name: string
resourceGroupName: string
IntegrationAccountAgreement 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 IntegrationAccountAgreement resource accepts the following input properties:
- Agreement
Type string - The type of the Logic App Integration Account Agreement. Possible values are
AS2
,X12
andEdifact
. - Content string
- The content of the Logic App Integration Account Agreement.
- Guest
Identity IntegrationAccount Agreement Guest Identity - A
guest_identity
block as documented below. - Guest
Partner stringName - The name of the guest Logic App Integration Account Partner.
- Host
Identity IntegrationAccount Agreement Host Identity - A
host_identity
block as documented below. - Host
Partner stringName - The name of the host Logic App Integration Account Partner.
- Integration
Account stringName - The name of the Logic App Integration Account. Changing this forces a new resource to be created.
- Resource
Group stringName - The name of the Resource Group where the Logic App Integration Account Agreement should exist. Changing this forces a new resource to be created.
- Metadata Dictionary<string, string>
- The metadata of the Logic App Integration Account Agreement.
- Name string
- The name which should be used for this Logic App Integration Account Agreement. Changing this forces a new resource to be created.
- Agreement
Type string - The type of the Logic App Integration Account Agreement. Possible values are
AS2
,X12
andEdifact
. - Content string
- The content of the Logic App Integration Account Agreement.
- Guest
Identity IntegrationAccount Agreement Guest Identity Args - A
guest_identity
block as documented below. - Guest
Partner stringName - The name of the guest Logic App Integration Account Partner.
- Host
Identity IntegrationAccount Agreement Host Identity Args - A
host_identity
block as documented below. - Host
Partner stringName - The name of the host Logic App Integration Account Partner.
- Integration
Account stringName - The name of the Logic App Integration Account. Changing this forces a new resource to be created.
- Resource
Group stringName - The name of the Resource Group where the Logic App Integration Account Agreement should exist. Changing this forces a new resource to be created.
- Metadata map[string]string
- The metadata of the Logic App Integration Account Agreement.
- Name string
- The name which should be used for this Logic App Integration Account Agreement. Changing this forces a new resource to be created.
- agreement
Type String - The type of the Logic App Integration Account Agreement. Possible values are
AS2
,X12
andEdifact
. - content String
- The content of the Logic App Integration Account Agreement.
- guest
Identity IntegrationAccount Agreement Guest Identity - A
guest_identity
block as documented below. - guest
Partner StringName - The name of the guest Logic App Integration Account Partner.
- host
Identity IntegrationAccount Agreement Host Identity - A
host_identity
block as documented below. - host
Partner StringName - The name of the host Logic App Integration Account Partner.
- integration
Account StringName - The name of the Logic App Integration Account. Changing this forces a new resource to be created.
- resource
Group StringName - The name of the Resource Group where the Logic App Integration Account Agreement should exist. Changing this forces a new resource to be created.
- metadata Map<String,String>
- The metadata of the Logic App Integration Account Agreement.
- name String
- The name which should be used for this Logic App Integration Account Agreement. Changing this forces a new resource to be created.
- agreement
Type string - The type of the Logic App Integration Account Agreement. Possible values are
AS2
,X12
andEdifact
. - content string
- The content of the Logic App Integration Account Agreement.
- guest
Identity IntegrationAccount Agreement Guest Identity - A
guest_identity
block as documented below. - guest
Partner stringName - The name of the guest Logic App Integration Account Partner.
- host
Identity IntegrationAccount Agreement Host Identity - A
host_identity
block as documented below. - host
Partner stringName - The name of the host Logic App Integration Account Partner.
- integration
Account stringName - The name of the Logic App Integration Account. Changing this forces a new resource to be created.
- resource
Group stringName - The name of the Resource Group where the Logic App Integration Account Agreement should exist. Changing this forces a new resource to be created.
- metadata {[key: string]: string}
- The metadata of the Logic App Integration Account Agreement.
- name string
- The name which should be used for this Logic App Integration Account Agreement. Changing this forces a new resource to be created.
- agreement_
type str - The type of the Logic App Integration Account Agreement. Possible values are
AS2
,X12
andEdifact
. - content str
- The content of the Logic App Integration Account Agreement.
- guest_
identity IntegrationAccount Agreement Guest Identity Args - A
guest_identity
block as documented below. - guest_
partner_ strname - The name of the guest Logic App Integration Account Partner.
- host_
identity IntegrationAccount Agreement Host Identity Args - A
host_identity
block as documented below. - host_
partner_ strname - The name of the host Logic App Integration Account Partner.
- integration_
account_ strname - The name of the Logic App Integration Account. Changing this forces a new resource to be created.
- resource_
group_ strname - The name of the Resource Group where the Logic App Integration Account Agreement should exist. Changing this forces a new resource to be created.
- metadata Mapping[str, str]
- The metadata of the Logic App Integration Account Agreement.
- name str
- The name which should be used for this Logic App Integration Account Agreement. Changing this forces a new resource to be created.
- agreement
Type String - The type of the Logic App Integration Account Agreement. Possible values are
AS2
,X12
andEdifact
. - content String
- The content of the Logic App Integration Account Agreement.
- guest
Identity Property Map - A
guest_identity
block as documented below. - guest
Partner StringName - The name of the guest Logic App Integration Account Partner.
- host
Identity Property Map - A
host_identity
block as documented below. - host
Partner StringName - The name of the host Logic App Integration Account Partner.
- integration
Account StringName - The name of the Logic App Integration Account. Changing this forces a new resource to be created.
- resource
Group StringName - The name of the Resource Group where the Logic App Integration Account Agreement should exist. Changing this forces a new resource to be created.
- metadata Map<String>
- The metadata of the Logic App Integration Account Agreement.
- name String
- The name which should be used for this Logic App Integration Account Agreement. Changing this forces a new resource to be created.
Outputs
All input properties are implicitly available as output properties. Additionally, the IntegrationAccountAgreement 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 Existing IntegrationAccountAgreement Resource
Get an existing IntegrationAccountAgreement 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?: IntegrationAccountAgreementState, opts?: CustomResourceOptions): IntegrationAccountAgreement
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
agreement_type: Optional[str] = None,
content: Optional[str] = None,
guest_identity: Optional[IntegrationAccountAgreementGuestIdentityArgs] = None,
guest_partner_name: Optional[str] = None,
host_identity: Optional[IntegrationAccountAgreementHostIdentityArgs] = None,
host_partner_name: Optional[str] = None,
integration_account_name: Optional[str] = None,
metadata: Optional[Mapping[str, str]] = None,
name: Optional[str] = None,
resource_group_name: Optional[str] = None) -> IntegrationAccountAgreement
func GetIntegrationAccountAgreement(ctx *Context, name string, id IDInput, state *IntegrationAccountAgreementState, opts ...ResourceOption) (*IntegrationAccountAgreement, error)
public static IntegrationAccountAgreement Get(string name, Input<string> id, IntegrationAccountAgreementState? state, CustomResourceOptions? opts = null)
public static IntegrationAccountAgreement get(String name, Output<String> id, IntegrationAccountAgreementState 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.
- Agreement
Type string - The type of the Logic App Integration Account Agreement. Possible values are
AS2
,X12
andEdifact
. - Content string
- The content of the Logic App Integration Account Agreement.
- Guest
Identity IntegrationAccount Agreement Guest Identity - A
guest_identity
block as documented below. - Guest
Partner stringName - The name of the guest Logic App Integration Account Partner.
- Host
Identity IntegrationAccount Agreement Host Identity - A
host_identity
block as documented below. - Host
Partner stringName - The name of the host Logic App Integration Account Partner.
- Integration
Account stringName - The name of the Logic App Integration Account. Changing this forces a new resource to be created.
- Metadata Dictionary<string, string>
- The metadata of the Logic App Integration Account Agreement.
- Name string
- The name which should be used for this Logic App Integration Account Agreement. Changing this forces a new resource to be created.
- Resource
Group stringName - The name of the Resource Group where the Logic App Integration Account Agreement should exist. Changing this forces a new resource to be created.
- Agreement
Type string - The type of the Logic App Integration Account Agreement. Possible values are
AS2
,X12
andEdifact
. - Content string
- The content of the Logic App Integration Account Agreement.
- Guest
Identity IntegrationAccount Agreement Guest Identity Args - A
guest_identity
block as documented below. - Guest
Partner stringName - The name of the guest Logic App Integration Account Partner.
- Host
Identity IntegrationAccount Agreement Host Identity Args - A
host_identity
block as documented below. - Host
Partner stringName - The name of the host Logic App Integration Account Partner.
- Integration
Account stringName - The name of the Logic App Integration Account. Changing this forces a new resource to be created.
- Metadata map[string]string
- The metadata of the Logic App Integration Account Agreement.
- Name string
- The name which should be used for this Logic App Integration Account Agreement. Changing this forces a new resource to be created.
- Resource
Group stringName - The name of the Resource Group where the Logic App Integration Account Agreement should exist. Changing this forces a new resource to be created.
- agreement
Type String - The type of the Logic App Integration Account Agreement. Possible values are
AS2
,X12
andEdifact
. - content String
- The content of the Logic App Integration Account Agreement.
- guest
Identity IntegrationAccount Agreement Guest Identity - A
guest_identity
block as documented below. - guest
Partner StringName - The name of the guest Logic App Integration Account Partner.
- host
Identity IntegrationAccount Agreement Host Identity - A
host_identity
block as documented below. - host
Partner StringName - The name of the host Logic App Integration Account Partner.
- integration
Account StringName - The name of the Logic App Integration Account. Changing this forces a new resource to be created.
- metadata Map<String,String>
- The metadata of the Logic App Integration Account Agreement.
- name String
- The name which should be used for this Logic App Integration Account Agreement. Changing this forces a new resource to be created.
- resource
Group StringName - The name of the Resource Group where the Logic App Integration Account Agreement should exist. Changing this forces a new resource to be created.
- agreement
Type string - The type of the Logic App Integration Account Agreement. Possible values are
AS2
,X12
andEdifact
. - content string
- The content of the Logic App Integration Account Agreement.
- guest
Identity IntegrationAccount Agreement Guest Identity - A
guest_identity
block as documented below. - guest
Partner stringName - The name of the guest Logic App Integration Account Partner.
- host
Identity IntegrationAccount Agreement Host Identity - A
host_identity
block as documented below. - host
Partner stringName - The name of the host Logic App Integration Account Partner.
- integration
Account stringName - The name of the Logic App Integration Account. Changing this forces a new resource to be created.
- metadata {[key: string]: string}
- The metadata of the Logic App Integration Account Agreement.
- name string
- The name which should be used for this Logic App Integration Account Agreement. Changing this forces a new resource to be created.
- resource
Group stringName - The name of the Resource Group where the Logic App Integration Account Agreement should exist. Changing this forces a new resource to be created.
- agreement_
type str - The type of the Logic App Integration Account Agreement. Possible values are
AS2
,X12
andEdifact
. - content str
- The content of the Logic App Integration Account Agreement.
- guest_
identity IntegrationAccount Agreement Guest Identity Args - A
guest_identity
block as documented below. - guest_
partner_ strname - The name of the guest Logic App Integration Account Partner.
- host_
identity IntegrationAccount Agreement Host Identity Args - A
host_identity
block as documented below. - host_
partner_ strname - The name of the host Logic App Integration Account Partner.
- integration_
account_ strname - The name of the Logic App Integration Account. Changing this forces a new resource to be created.
- metadata Mapping[str, str]
- The metadata of the Logic App Integration Account Agreement.
- name str
- The name which should be used for this Logic App Integration Account Agreement. Changing this forces a new resource to be created.
- resource_
group_ strname - The name of the Resource Group where the Logic App Integration Account Agreement should exist. Changing this forces a new resource to be created.
- agreement
Type String - The type of the Logic App Integration Account Agreement. Possible values are
AS2
,X12
andEdifact
. - content String
- The content of the Logic App Integration Account Agreement.
- guest
Identity Property Map - A
guest_identity
block as documented below. - guest
Partner StringName - The name of the guest Logic App Integration Account Partner.
- host
Identity Property Map - A
host_identity
block as documented below. - host
Partner StringName - The name of the host Logic App Integration Account Partner.
- integration
Account StringName - The name of the Logic App Integration Account. Changing this forces a new resource to be created.
- metadata Map<String>
- The metadata of the Logic App Integration Account Agreement.
- name String
- The name which should be used for this Logic App Integration Account Agreement. Changing this forces a new resource to be created.
- resource
Group StringName - The name of the Resource Group where the Logic App Integration Account Agreement should exist. Changing this forces a new resource to be created.
Supporting Types
IntegrationAccountAgreementGuestIdentity, IntegrationAccountAgreementGuestIdentityArgs
IntegrationAccountAgreementHostIdentity, IntegrationAccountAgreementHostIdentityArgs
Import
Logic App Integration Account Agreements can be imported using the resource id
, e.g.
$ pulumi import azure:logicapps/integrationAccountAgreement:IntegrationAccountAgreement example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Logic/integrationAccounts/account1/agreements/agreement1
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Classic pulumi/pulumi-azure
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
azurerm
Terraform Provider.