Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Bicep resource definition
The integrationAccounts/schemas resource type can be deployed with operations that target:
For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.Logic/integrationAccounts/schemas resource, add the following Bicep to your template.
resource symbolicname 'Microsoft.Logic/integrationAccounts/schemas@2019-05-01' = {
parent: resourceSymbolicName
location: 'string'
name: 'string'
properties: {
content: 'string'
contentType: 'string'
documentName: 'string'
fileName: 'string'
metadata: any(...)
schemaType: 'string'
targetNamespace: 'string'
}
tags: {
{customized property}: 'string'
}
}
Property Values
Microsoft.Logic/integrationAccounts/schemas
| Name | Description | Value |
|---|---|---|
| location | The resource location. | string |
| name | The resource name | string (required) |
| parent | In Bicep, you can specify the parent resource for a child resource. You only need to add this property when the child resource is declared outside of the parent resource. For more information, see Child resource outside parent resource. |
Symbolic name for resource of type: integrationAccounts |
| properties | The integration account schema properties. | IntegrationAccountSchemaProperties (required) |
| tags | Resource tags | Dictionary of tag names and values. See Tags in templates |
IntegrationAccountSchemaProperties
| Name | Description | Value |
|---|---|---|
| content | The content. | string |
| contentType | The content type. | string |
| documentName | The document name. | string |
| fileName | The file name. | string |
| metadata | The metadata. | any |
| schemaType | The schema type. | 'NotSpecified' 'Xml' (required) |
| targetNamespace | The target namespace of the schema. | string |
ResourceTags
| Name | Description | Value |
|---|
ARM template resource definition
The integrationAccounts/schemas resource type can be deployed with operations that target:
For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.Logic/integrationAccounts/schemas resource, add the following JSON to your template.
{
"type": "Microsoft.Logic/integrationAccounts/schemas",
"apiVersion": "2019-05-01",
"name": "string",
"location": "string",
"properties": {
"content": "string",
"contentType": "string",
"documentName": "string",
"fileName": "string",
"metadata": {},
"schemaType": "string",
"targetNamespace": "string"
},
"tags": {
"{customized property}": "string"
}
}
Property Values
Microsoft.Logic/integrationAccounts/schemas
| Name | Description | Value |
|---|---|---|
| apiVersion | The api version | '2019-05-01' |
| location | The resource location. | string |
| name | The resource name | string (required) |
| properties | The integration account schema properties. | IntegrationAccountSchemaProperties (required) |
| tags | Resource tags | Dictionary of tag names and values. See Tags in templates |
| type | The resource type | 'Microsoft.Logic/integrationAccounts/schemas' |
IntegrationAccountSchemaProperties
| Name | Description | Value |
|---|---|---|
| content | The content. | string |
| contentType | The content type. | string |
| documentName | The document name. | string |
| fileName | The file name. | string |
| metadata | The metadata. | any |
| schemaType | The schema type. | 'NotSpecified' 'Xml' (required) |
| targetNamespace | The target namespace of the schema. | string |
ResourceTags
| Name | Description | Value |
|---|
Usage Examples
Azure Quickstart Templates
The following Azure Quickstart templates deploy this resource type.
| Template | Description |
|---|---|
| Azure Logic Apps - VETER Pipeline |
Creates an integration account, adds schema/map into it, creates a logic app and associates it with the integration account. The logic app implements a VETER pipeline using Xml Validation, XPath Extract and Transform Xml operations. |
Terraform (AzAPI provider) resource definition
The integrationAccounts/schemas resource type can be deployed with operations that target:
For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.Logic/integrationAccounts/schemas resource, add the following Terraform to your template.
resource "azapi_resource" "symbolicname" {
type = "Microsoft.Logic/integrationAccounts/schemas@2019-05-01"
name = "string"
parent_id = "string"
location = "string"
tags = {
{customized property} = "string"
}
body = {
properties = {
content = "string"
contentType = "string"
documentName = "string"
fileName = "string"
metadata = ?
schemaType = "string"
targetNamespace = "string"
}
}
}
Property Values
Microsoft.Logic/integrationAccounts/schemas
| Name | Description | Value |
|---|---|---|
| location | The resource location. | string |
| name | The resource name | string (required) |
| parent_id | The ID of the resource that is the parent for this resource. | ID for resource of type: integrationAccounts |
| properties | The integration account schema properties. | IntegrationAccountSchemaProperties (required) |
| tags | Resource tags | Dictionary of tag names and values. |
| type | The resource type | "Microsoft.Logic/integrationAccounts/schemas@2019-05-01" |
IntegrationAccountSchemaProperties
| Name | Description | Value |
|---|---|---|
| content | The content. | string |
| contentType | The content type. | string |
| documentName | The document name. | string |
| fileName | The file name. | string |
| metadata | The metadata. | any |
| schemaType | The schema type. | 'NotSpecified' 'Xml' (required) |
| targetNamespace | The target namespace of the schema. | string |
ResourceTags
| Name | Description | Value |
|---|
Usage Examples
Terraform Samples
A basic example of deploying Logic App Integration Account Schema.
terraform {
required_providers {
azapi = {
source = "Azure/azapi"
}
}
}
provider "azapi" {
skip_provider_registration = false
}
variable "resource_name" {
type = string
default = "acctest0001"
}
variable "location" {
type = string
default = "westeurope"
}
resource "azapi_resource" "resourceGroup" {
type = "Microsoft.Resources/resourceGroups@2020-06-01"
name = var.resource_name
location = var.location
}
resource "azapi_resource" "integrationAccount" {
type = "Microsoft.Logic/integrationAccounts@2019-05-01"
parent_id = azapi_resource.resourceGroup.id
name = var.resource_name
location = var.location
body = {
properties = {
}
sku = {
name = "Basic"
}
}
schema_validation_enabled = false
response_export_values = ["*"]
}
resource "azapi_resource" "schema" {
type = "Microsoft.Logic/integrationAccounts/schemas@2019-05-01"
parent_id = azapi_resource.integrationAccount.id
name = var.resource_name
body = {
properties = {
content = "<xs:schema xmlns:b=\"http://schemas.microsoft.com/BizTalk/2003\"\n xmlns=\"http://Inbound_EDI.OrderFile\"\n targetNamespace=\"http://Inbound_EDI.OrderFile\"\n xmlns:xs=\"http://www.w3.org/2001/XMLSchema\">\n<xs:annotation>\n<xs:appinfo>\n<b:schemaInfo default_pad_char=\" \"\n count_positions_by_byte=\"false\"\n parser_optimization=\"speed\"\n lookahead_depth=\"3\"\n suppress_empty_nodes=\"false\"\n generate_empty_nodes=\"true\"\n allow_early_termination=\"false\"\n early_terminate_optional_fields=\"false\"\n allow_message_breakup_of_infix_root=\"false\"\n compile_parse_tables=\"false\"\n standard=\"Flat File\"\n root_reference=\"OrderFile\" />\n<schemaEditorExtension:schemaInfo namespaceAlias=\"b\"\n extensionClass=\"Microsoft.BizTalk.FlatFileExtension.FlatFileExtension\"\n standardName=\"Flat File\"\n xmlns:schemaEditorExtension=\"http://schemas.microsoft.com/BizTalk/2003/SchemaEditorExtensions\" />\n</xs:appinfo>\n</xs:annotation>\n<xs:element name=\"OrderFile\">\n<xs:annotation>\n<xs:appinfo>\n<b:recordInfo structure=\"delimited\"\n preserve_delimiter_for_empty_data=\"true\"\n suppress_trailing_delimiters=\"false\"\n sequence_number=\"1\" />\n</xs:appinfo>\n</xs:annotation>\n<xs:complexType>\n<xs:sequence>\n<xs:annotation>\n<xs:appinfo>\n<b:groupInfo sequence_number=\"0\" />\n</xs:appinfo>\n</xs:annotation>\n<xs:element name=\"Order\">\n<xs:annotation>\n<xs:appinfo>\n<b:recordInfo sequence_number=\"1\"\n structure=\"delimited\"\n preserve_delimiter_for_empty_data=\"true\"\n suppress_trailing_delimiters=\"false\"\n child_delimiter_type=\"hex\"\n child_delimiter=\"0x0D 0x0A\"\n child_order=\"infix\" />\n</xs:appinfo>\n</xs:annotation>\n<xs:complexType>\n<xs:sequence>\n<xs:annotation>\n<xs:appinfo>\n<b:groupInfo sequence_number=\"0\" />\n</xs:appinfo>\n</xs:annotation>\n<xs:element name=\"Header\">\n<xs:annotation>\n<xs:appinfo>\n<b:recordInfo sequence_number=\"1\"\n structure=\"delimited\"\n preserve_delimiter_for_empty_data=\"true\"\n suppress_trailing_delimiters=\"false\"\n child_delimiter_type=\"char\"\n child_delimiter=\"|\"\n child_order=\"infix\"\n tag_name=\"HDR|\" />\n</xs:appinfo>\n</xs:annotation>\n<xs:complexType>\n<xs:sequence>\n<xs:annotation>\n<xs:appinfo>\n<b:groupInfo sequence_number=\"0\" />\n</xs:appinfo>\n</xs:annotation>\n<xs:element name=\"PODate\"\n type=\"xs:string\">\n<xs:annotation>\n<xs:appinfo>\n<b:fieldInfo sequence_number=\"1\"\n justification=\"left\" />\n</xs:appinfo>\n</xs:annotation>\n</xs:element>\n<xs:element name=\"PONumber\"\n type=\"xs:string\">\n<xs:annotation>\n<xs:appinfo>\n<b:fieldInfo justification=\"left\"\n sequence_number=\"2\" />\n</xs:appinfo>\n</xs:annotation>\n</xs:element>\n<xs:element name=\"CustomerID\"\n type=\"xs:string\">\n<xs:annotation>\n<xs:appinfo>\n<b:fieldInfo sequence_number=\"3\"\n justification=\"left\" />\n</xs:appinfo>\n</xs:annotation>\n</xs:element>\n<xs:element name=\"CustomerContactName\"\n type=\"xs:string\">\n<xs:annotation>\n<xs:appinfo>\n<b:fieldInfo sequence_number=\"5\"\n justification=\"left\" />\n</xs:appinfo>\n</xs:annotation>\n</xs:element>\n<xs:element name=\"CustomerContactPhone\"\n type=\"xs:string\">\n<xs:annotation>\n<xs:appinfo>\n<b:fieldInfo sequence_number=\"5\"\n justification=\"left\" />\n</xs:appinfo>\n</xs:annotation>\n</xs:element>\n</xs:sequence>\n</xs:complexType>\n</xs:element>\n<xs:element minOccurs=\"1\"\n maxOccurs=\"unbounded\"\n name=\"LineItems\">\n<xs:annotation>\n<xs:appinfo>\n<b:recordInfo sequence_number=\"2\"\n structure=\"delimited\"\n preserve_delimiter_for_empty_data=\"true\"\n suppress_trailing_delimiters=\"false\"\n child_delimiter_type=\"char\"\n child_delimiter=\"|\"\n child_order=\"infix\"\n tag_name=\"DTL|\" />\n</xs:appinfo>\n</xs:annotation>\n<xs:complexType>\n<xs:sequence>\n<xs:annotation>\n<xs:appinfo>\n<b:groupInfo sequence_number=\"0\" />\n</xs:appinfo>\n</xs:annotation>\n<xs:element name=\"PONumber\"\n type=\"xs:string\">\n<xs:annotation>\n<xs:appinfo>\n<b:fieldInfo sequence_number=\"1\"\n justification=\"left\" />\n</xs:appinfo>\n</xs:annotation>\n</xs:element>\n<xs:element name=\"ItemOrdered\"\n type=\"xs:string\">\n<xs:annotation>\n<xs:appinfo>\n<b:fieldInfo sequence_number=\"2\"\n justification=\"left\" />\n</xs:appinfo>\n</xs:annotation>\n</xs:element>\n<xs:element name=\"Quantity\"\n type=\"xs:string\">\n<xs:annotation>\n<xs:appinfo>\n<b:fieldInfo sequence_number=\"3\"\n justification=\"left\" />\n</xs:appinfo>\n</xs:annotation>\n</xs:element>\n<xs:element name=\"UOM\"\n type=\"xs:string\">\n<xs:annotation>\n<xs:appinfo>\n<b:fieldInfo sequence_number=\"4\"\n justification=\"left\" />\n</xs:appinfo>\n</xs:annotation>\n</xs:element>\n<xs:element name=\"Price\"\n type=\"xs:string\">\n<xs:annotation>\n<xs:appinfo>\n<b:fieldInfo sequence_number=\"5\"\n justification=\"left\" />\n</xs:appinfo>\n</xs:annotation>\n</xs:element>\n<xs:element name=\"ExtendedPrice\"\n type=\"xs:string\">\n<xs:annotation>\n<xs:appinfo>\n<b:fieldInfo sequence_number=\"6\"\n justification=\"left\" />\n</xs:appinfo>\n</xs:annotation>\n</xs:element>\n<xs:element name=\"Description\"\n type=\"xs:string\">\n<xs:annotation>\n<xs:appinfo>\n<b:fieldInfo sequence_number=\"7\"\n justification=\"left\" />\n</xs:appinfo>\n</xs:annotation>\n</xs:element>\n</xs:sequence>\n</xs:complexType>\n</xs:element>\n</xs:sequence>\n</xs:complexType>\n</xs:element>\n</xs:sequence>\n</xs:complexType>\n</xs:element>\n</xs:schema>\n"
contentType = "application/xml"
schemaType = "Xml"
}
}
schema_validation_enabled = false
response_export_values = ["*"]
}