1. Packages
  2. Azure Classic
  3. API Docs
  4. logicapps
  5. IntegrationAccountSchema

We recommend using Azure Native.

Azure v6.10.0 published on Tuesday, Nov 19, 2024 by Pulumi

azure.logicapps.IntegrationAccountSchema

Explore with Pulumi AI

azure logo

We recommend using Azure Native.

Azure v6.10.0 published on Tuesday, Nov 19, 2024 by Pulumi

    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)
    
    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
    	})
    }
    
    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 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 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
    

    Create IntegrationAccountSchema Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new IntegrationAccountSchema(name: string, args: IntegrationAccountSchemaArgs, opts?: CustomResourceOptions);
    @overload
    def IntegrationAccountSchema(resource_name: str,
                                 args: IntegrationAccountSchemaArgs,
                                 opts: Optional[ResourceOptions] = None)
    
    @overload
    def IntegrationAccountSchema(resource_name: str,
                                 opts: Optional[ResourceOptions] = None,
                                 content: Optional[str] = None,
                                 integration_account_name: Optional[str] = None,
                                 resource_group_name: Optional[str] = None,
                                 file_name: Optional[str] = None,
                                 metadata: Optional[str] = None,
                                 name: Optional[str] = None)
    func NewIntegrationAccountSchema(ctx *Context, name string, args IntegrationAccountSchemaArgs, opts ...ResourceOption) (*IntegrationAccountSchema, error)
    public IntegrationAccountSchema(string name, IntegrationAccountSchemaArgs args, CustomResourceOptions? opts = null)
    public IntegrationAccountSchema(String name, IntegrationAccountSchemaArgs args)
    public IntegrationAccountSchema(String name, IntegrationAccountSchemaArgs args, CustomResourceOptions options)
    
    type: azure:logicapps:IntegrationAccountSchema
    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 IntegrationAccountSchemaArgs
    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 IntegrationAccountSchemaArgs
    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 IntegrationAccountSchemaArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args IntegrationAccountSchemaArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args IntegrationAccountSchemaArgs
    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 integrationAccountSchemaResource = new Azure.LogicApps.IntegrationAccountSchema("integrationAccountSchemaResource", new()
    {
        Content = "string",
        IntegrationAccountName = "string",
        ResourceGroupName = "string",
        FileName = "string",
        Metadata = "string",
        Name = "string",
    });
    
    example, err := logicapps.NewIntegrationAccountSchema(ctx, "integrationAccountSchemaResource", &logicapps.IntegrationAccountSchemaArgs{
    	Content:                pulumi.String("string"),
    	IntegrationAccountName: pulumi.String("string"),
    	ResourceGroupName:      pulumi.String("string"),
    	FileName:               pulumi.String("string"),
    	Metadata:               pulumi.String("string"),
    	Name:                   pulumi.String("string"),
    })
    
    var integrationAccountSchemaResource = new IntegrationAccountSchema("integrationAccountSchemaResource", IntegrationAccountSchemaArgs.builder()
        .content("string")
        .integrationAccountName("string")
        .resourceGroupName("string")
        .fileName("string")
        .metadata("string")
        .name("string")
        .build());
    
    integration_account_schema_resource = azure.logicapps.IntegrationAccountSchema("integrationAccountSchemaResource",
        content="string",
        integration_account_name="string",
        resource_group_name="string",
        file_name="string",
        metadata="string",
        name="string")
    
    const integrationAccountSchemaResource = new azure.logicapps.IntegrationAccountSchema("integrationAccountSchemaResource", {
        content: "string",
        integrationAccountName: "string",
        resourceGroupName: "string",
        fileName: "string",
        metadata: "string",
        name: "string",
    });
    
    type: azure:logicapps:IntegrationAccountSchema
    properties:
        content: string
        fileName: string
        integrationAccountName: string
        metadata: string
        name: string
        resourceGroupName: string
    

    IntegrationAccountSchema Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The IntegrationAccountSchema resource accepts the following input properties:

    Content string
    The content of the Logic App Integration Account Schema.
    IntegrationAccountName string
    The name of the Logic App Integration Account. Changing this forces a new Logic App Integration Account Schema to be created.
    ResourceGroupName string
    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.
    FileName string
    The file name of the Logic App Integration Account Schema.
    Metadata string
    The metadata of the Logic App Integration Account Schema.
    Name 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.
    Content string
    The content of the Logic App Integration Account Schema.
    IntegrationAccountName string
    The name of the Logic App Integration Account. Changing this forces a new Logic App Integration Account Schema to be created.
    ResourceGroupName string
    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.
    FileName string
    The file name of the Logic App Integration Account Schema.
    Metadata string
    The metadata of the Logic App Integration Account Schema.
    Name 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.
    content String
    The content of the Logic App Integration Account Schema.
    integrationAccountName String
    The name of the Logic App Integration Account. Changing this forces a new Logic App Integration Account Schema to be created.
    resourceGroupName String
    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.
    fileName String
    The file name of the Logic App Integration Account Schema.
    metadata String
    The metadata of the Logic App Integration Account Schema.
    name 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.
    content string
    The content of the Logic App Integration Account Schema.
    integrationAccountName string
    The name of the Logic App Integration Account. Changing this forces a new Logic App Integration Account Schema to be created.
    resourceGroupName string
    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.
    fileName string
    The file name of the Logic App Integration Account Schema.
    metadata string
    The metadata of the Logic App Integration Account Schema.
    name 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.
    content str
    The content of the Logic App Integration Account Schema.
    integration_account_name str
    The name of the Logic App Integration Account. Changing this forces a new Logic App Integration Account Schema to be created.
    resource_group_name str
    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.
    file_name str
    The file name of the Logic App Integration Account Schema.
    metadata str
    The metadata of the Logic App Integration Account Schema.
    name str
    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.
    content String
    The content of the Logic App Integration Account Schema.
    integrationAccountName String
    The name of the Logic App Integration Account. Changing this forces a new Logic App Integration Account Schema to be created.
    resourceGroupName String
    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.
    fileName String
    The file name of the Logic App Integration Account Schema.
    metadata String
    The metadata of the Logic App Integration Account Schema.
    name 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.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the IntegrationAccountSchema 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 IntegrationAccountSchema Resource

    Get an existing IntegrationAccountSchema 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?: IntegrationAccountSchemaState, opts?: CustomResourceOptions): IntegrationAccountSchema
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            content: Optional[str] = None,
            file_name: Optional[str] = None,
            integration_account_name: Optional[str] = None,
            metadata: Optional[str] = None,
            name: Optional[str] = None,
            resource_group_name: Optional[str] = None) -> IntegrationAccountSchema
    func GetIntegrationAccountSchema(ctx *Context, name string, id IDInput, state *IntegrationAccountSchemaState, opts ...ResourceOption) (*IntegrationAccountSchema, error)
    public static IntegrationAccountSchema Get(string name, Input<string> id, IntegrationAccountSchemaState? state, CustomResourceOptions? opts = null)
    public static IntegrationAccountSchema get(String name, Output<String> id, IntegrationAccountSchemaState 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.
    The following state arguments are supported:
    Content string
    The content of the Logic App Integration Account Schema.
    FileName string
    The file name of the Logic App Integration Account Schema.
    IntegrationAccountName string
    The name of the Logic App Integration Account. Changing this forces a new Logic App Integration Account Schema to be created.
    Metadata string
    The metadata of the Logic App Integration Account Schema.
    Name 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.
    ResourceGroupName string
    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.
    Content string
    The content of the Logic App Integration Account Schema.
    FileName string
    The file name of the Logic App Integration Account Schema.
    IntegrationAccountName string
    The name of the Logic App Integration Account. Changing this forces a new Logic App Integration Account Schema to be created.
    Metadata string
    The metadata of the Logic App Integration Account Schema.
    Name 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.
    ResourceGroupName string
    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.
    content String
    The content of the Logic App Integration Account Schema.
    fileName String
    The file name of the Logic App Integration Account Schema.
    integrationAccountName String
    The name of the Logic App Integration Account. Changing this forces a new Logic App Integration Account Schema to be created.
    metadata String
    The metadata of the Logic App Integration Account Schema.
    name 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.
    resourceGroupName String
    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.
    content string
    The content of the Logic App Integration Account Schema.
    fileName string
    The file name of the Logic App Integration Account Schema.
    integrationAccountName string
    The name of the Logic App Integration Account. Changing this forces a new Logic App Integration Account Schema to be created.
    metadata string
    The metadata of the Logic App Integration Account Schema.
    name 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.
    resourceGroupName string
    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.
    content str
    The content of the Logic App Integration Account Schema.
    file_name str
    The file name of the Logic App Integration Account Schema.
    integration_account_name str
    The name of the Logic App Integration Account. Changing this forces a new Logic App Integration Account Schema to be created.
    metadata str
    The metadata of the Logic App Integration Account Schema.
    name str
    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.
    resource_group_name str
    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.
    content String
    The content of the Logic App Integration Account Schema.
    fileName String
    The file name of the Logic App Integration Account Schema.
    integrationAccountName String
    The name of the Logic App Integration Account. Changing this forces a new Logic App Integration Account Schema to be created.
    metadata String
    The metadata of the Logic App Integration Account Schema.
    name 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.
    resourceGroupName String
    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.

    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
    

    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.
    azure logo

    We recommend using Azure Native.

    Azure v6.10.0 published on Tuesday, Nov 19, 2024 by Pulumi