IntegrationAccountSchema

class IntegrationAccountSchema : KotlinCustomResource

Manages a Logic App Integration Account Schema.

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 exampleIntegrationAccount = new azure.logicapps.IntegrationAccount("example", {
name: "example-ia",
location: example.location,
resourceGroupName: example.name,
skuName: "Basic",
});
const exampleIntegrationAccountSchema = new azure.logicapps.IntegrationAccountSchema("example", {
name: "example-ias",
resourceGroupName: example.name,
integrationAccountName: exampleIntegrationAccount.name,
content: std.file({
input: "testdata/integration_account_schema_content.xsd",
}).then(invoke => invoke.result),
});
import pulumi
import pulumi_azure as azure
import pulumi_std as std
example = azure.core.ResourceGroup("example",
name="example-resources",
location="West Europe")
example_integration_account = azure.logicapps.IntegrationAccount("example",
name="example-ia",
location=example.location,
resource_group_name=example.name,
sku_name="Basic")
example_integration_account_schema = azure.logicapps.IntegrationAccountSchema("example",
name="example-ias",
resource_group_name=example.name,
integration_account_name=example_integration_account.name,
content=std.file(input="testdata/integration_account_schema_content.xsd").result)
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 exampleIntegrationAccount = new Azure.LogicApps.IntegrationAccount("example", new()
{
Name = "example-ia",
Location = example.Location,
ResourceGroupName = example.Name,
SkuName = "Basic",
});
var exampleIntegrationAccountSchema = new Azure.LogicApps.IntegrationAccountSchema("example", new()
{
Name = "example-ias",
ResourceGroupName = example.Name,
IntegrationAccountName = exampleIntegrationAccount.Name,
Content = Std.File.Invoke(new()
{
Input = "testdata/integration_account_schema_content.xsd",
}).Apply(invoke => invoke.Result),
});
});
package main
import (
"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v6/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
}
exampleIntegrationAccount, err := logicapps.NewIntegrationAccount(ctx, "example", &logicapps.IntegrationAccountArgs{
Name: pulumi.String("example-ia"),
Location: example.Location,
ResourceGroupName: example.Name,
SkuName: pulumi.String("Basic"),
})
if err != nil {
return err
}
invokeFile, err := std.File(ctx, &std.FileArgs{
Input: "testdata/integration_account_schema_content.xsd",
}, nil)
if err != nil {
return err
}
_, err = logicapps.NewIntegrationAccountSchema(ctx, "example", &logicapps.IntegrationAccountSchemaArgs{
Name: pulumi.String("example-ias"),
ResourceGroupName: example.Name,
IntegrationAccountName: exampleIntegrationAccount.Name,
Content: pulumi.String(invokeFile.Result),
})
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.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.IntegrationAccountSchema;
import com.pulumi.azure.logicapps.IntegrationAccountSchemaArgs;
import com.pulumi.std.StdFunctions;
import com.pulumi.std.inputs.FileArgs;
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 exampleIntegrationAccount = new IntegrationAccount("exampleIntegrationAccount", IntegrationAccountArgs.builder()
.name("example-ia")
.location(example.location())
.resourceGroupName(example.name())
.skuName("Basic")
.build());
var exampleIntegrationAccountSchema = new IntegrationAccountSchema("exampleIntegrationAccountSchema", IntegrationAccountSchemaArgs.builder()
.name("example-ias")
.resourceGroupName(example.name())
.integrationAccountName(exampleIntegrationAccount.name())
.content(StdFunctions.file(FileArgs.builder()
.input("testdata/integration_account_schema_content.xsd")
.build()).result())
.build());
}
}
resources:
example:
type: azure:core:ResourceGroup
properties:
name: example-resources
location: West Europe
exampleIntegrationAccount:
type: azure:logicapps:IntegrationAccount
name: example
properties:
name: example-ia
location: ${example.location}
resourceGroupName: ${example.name}
skuName: Basic
exampleIntegrationAccountSchema:
type: azure:logicapps:IntegrationAccountSchema
name: example
properties:
name: example-ias
resourceGroupName: ${example.name}
integrationAccountName: ${exampleIntegrationAccount.name}
content:
fn::invoke:
function: std:file
arguments:
input: testdata/integration_account_schema_content.xsd
return: result

Import

Logic App Integration Account Schemas can be imported using the resource id, e.g.

$ pulumi import azure:logicapps/integrationAccountSchema:IntegrationAccountSchema example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Logic/integrationAccounts/account1/schemas/schema1

Properties

Link copied to clipboard
val content: Output<String>

The content of the Logic App Integration Account Schema.

Link copied to clipboard
val fileName: Output<String>?

The file name of the Logic App Integration Account Schema.

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 Logic App Integration Account Schema to be created.

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

The metadata of the Logic App Integration Account Schema.

Link copied to clipboard
val name: Output<String>

The name which should be used for this Logic App Integration Account Schema. Changing this forces a new Logic App Integration Account Schema 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 Schema should exist. Changing this forces a new Logic App Integration Account Schema to be created.

Link copied to clipboard
val urn: Output<String>