IntegrationAccountAgreement

class IntegrationAccountAgreement : KotlinCustomResource

Manages a Logic App Integration Account Agreement.

Example Usage

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()
.location("West Europe")
.build());
var testIntegrationAccount = new IntegrationAccount("testIntegrationAccount", IntegrationAccountArgs.builder()
.location(example.location())
.resourceGroupName(example.name())
.skuName("Standard")
.build());
var host = new IntegrationAccountPartner("host", IntegrationAccountPartnerArgs.builder()
.resourceGroupName(example.name())
.integrationAccountName(testIntegrationAccount.name())
.businessIdentities(IntegrationAccountPartnerBusinessIdentityArgs.builder()
.qualifier("AS2Identity")
.value("FabrikamNY")
.build())
.build());
var guest = new IntegrationAccountPartner("guest", IntegrationAccountPartnerArgs.builder()
.resourceGroupName(example.name())
.integrationAccountName(testIntegrationAccount.name())
.businessIdentities(IntegrationAccountPartnerBusinessIdentityArgs.builder()
.qualifier("AS2Identity")
.value("FabrikamDC")
.build())
.build());
var testIntegrationAccountAgreement = new IntegrationAccountAgreement("testIntegrationAccountAgreement", IntegrationAccountAgreementArgs.builder()
.resourceGroupName(example.name())
.integrationAccountName(testIntegrationAccount.name())
.agreementType("AS2")
.hostPartnerName(host.name())
.guestPartnerName(guest.name())
.content(Files.readString(Paths.get("testdata/integration_account_agreement_content_as2.json")))
.hostIdentity(IntegrationAccountAgreementHostIdentityArgs.builder()
.qualifier("AS2Identity")
.value("FabrikamNY")
.build())
.guestIdentity(IntegrationAccountAgreementGuestIdentityArgs.builder()
.qualifier("AS2Identity")
.value("FabrikamDC")
.build())
.build());
}
}

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

Properties

Link copied to clipboard
val agreementType: Output<String>

The type of the Logic App Integration Account Agreement. Possible values are AS2, X12 and Edifact.

Link copied to clipboard
val content: Output<String>

The content of the Logic App Integration Account Agreement.

Link copied to clipboard

A guest_identity block as documented below.

Link copied to clipboard

The name of the guest Logic App Integration Account Partner.

Link copied to clipboard

A host_identity block as documented below.

Link copied to clipboard
val hostPartnerName: Output<String>

The name of the host Logic App Integration Account Partner.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard

The name of the Logic App Integration Account. Changing this forces a new resource to be created.

Link copied to clipboard
val metadata: Output<Map<String, String>>?

The metadata of the Logic App Integration Account Agreement.

Link copied to clipboard
val name: Output<String>

The name which should be used for this Logic App Integration Account Agreement. Changing this forces a new resource to be created.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

The name of the Resource Group where the Logic App Integration Account Agreement should exist. Changing this forces a new resource to be created.

Link copied to clipboard
val urn: Output<String>