Skip to main content
Version: v0.5

Azure Integration Account

This module provides the following capabilities:

Installation

To have access to the following features, you have to import the module:

PS> Install-Module -Name Arcus.Scripting.IntegrationAccount -RequiredVersion 0.5.0

Uploading schemas into an Azure Integration Account

Upload/update a single, or multiple schemas into an Azure Integration Account.

ParameterMandatoryDescription
ResourceGroupNameyesThe name of the Azure resource group where the Azure Integration Account is located.
NameyesThe name of the Azure Integration Account into which the schemas are to be uploaded/updated.
SchemaFilePathconditionalThe full path of a schema that should be uploaded/updated. (Mandatory if SchemasFolder has not been specified).
SchemasFolderconditionalThe path to a directory containing all schemas that should be uploaded/updated. (Mandatory if SchemaFilePath has not been specified).
ArtifactsPrefixnoThe prefix, if any, that should be added to the schemas before uploading/updating.
RemoveFileExtensionsnoIndicator (switch) whether the extension should be removed from the name before uploading/updating.

Example

Uploading a single schema into an Integration Account.

PS> Set-AzIntegrationAccountSchemas -ResourceGroupName 'my-resource-group' -Name 'my-integration-account' -SchemaFilePath "C:\Schemas\MySchema.xsd"
# Uploading schema 'MySchema.xsd' into the Azure Integration Account 'my-integration-account'.
# Schema 'MySchema.xsd' has been uploaded into the Azure Integration Account 'my-integration-account'.

Uploading a single schema into an Integration Account and remove the file-extension.

PS> Set-AzIntegrationAccountSchemas -ResourceGroupName 'my-resource-group' -Name 'my-integration-account' -SchemaFilePath "C:\Schemas\MySchema.xsd" -RemoveFileExtensions
# Uploading schema 'MySchema' into the Azure Integration Account 'my-integration-account'.
# Schema 'MySchema' has been uploaded into the Azure Integration Account 'my-integration-account'.

Uploading a single schema into an Integration Account and set add a prefix to the name of the schema within the Integration Account.

PS> Set-AzIntegrationAccountSchemas -ResourceGroupName 'my-resource-group' -Name 'my-integration-account' -SchemaFilePath "C:\Schemas\MySchema.xsd" -ArtifactsPrefix 'dev-'
# Uploading schema 'dev-MySchema.xsd' into the Azure Integration Account 'my-integration-account'.
# Schema 'dev-MySchema.xsd' has been uploaded into the Azure Integration Account 'my-integration-account'.

Uploading all schemas located in a specific folder into an Integration Account.

PS> Set-AzIntegrationAccountSchemas -ResourceGroupName 'my-resource-group' -Name 'my-integration-account' -SchemasFolder "C:\Schemas"
# Uploading schema 'MyFirstSchema.xsd' into the Azure Integration Account 'my-integration-account'.
# Schema 'MyFirstSchema.xsd' has been uploaded into the Azure Integration Account 'my-integration-account'.
# ----------
# Uploading schema 'MySecondSchema.xsd' into the Azure Integration Account 'my-integration-account'.
# Schema 'MySecondSchema.xsd' has been uploaded into the Azure Integration Account 'my-integration-account'.
# ----------

Uploading all schemas located in a specific folder into an Integration Account and remove the file-extension.

PS> Set-AzIntegrationAccountSchemas -ResourceGroupName 'my-resource-group' -Name 'my-integration-account' -SchemasFolder "C:\Schemas" -RemoveFileExtensions
# Uploading schema 'MyFirstSchema' into the Azure Integration Account 'my-integration-account'.
# Schema 'MyFirstSchema' has been uploaded into the Azure Integration Account 'my-integration-account'.
# ----------
# Uploading schema 'MySecondSchema' into the Azure Integration Account 'my-integration-account'.
# Schema 'MySecondSchema' has been uploaded into the Azure Integration Account 'my-integration-account'.
# ----------

Uploading all schemas located in a specific folder into an Integration Account and remove the file-extension.

PS> Set-AzIntegrationAccountSchemas -ResourceGroupName 'my-resource-group' -Name 'my-integration-account' -SchemasFolder "C:\Schemas" -ArtifactsPrefix 'dev-'
# Uploading schema 'dev-MyFirstSchema.xsd' into the Azure Integration Account 'my-integration-account'.
# Schema 'dev-MyFirstSchema.xsd' has been uploaded into the Azure Integration Account 'my-integration-account'.
# ----------
# Uploading schema 'dev-MySecondSchema.xsd' into the Azure Integration Account 'my-integration-account'
# Schema 'dev-MySecondSchema.xsd' has been uploaded into the Azure Integration Account 'my-integration-account'.
# ----------

Uploading maps into an Azure Integration Account

Upload/update a single, or multiple maps into an Azure Integration Account.

ParameterMandatoryDescription
ResourceGroupNameyesThe name of the Azure resource group where the Azure Integration Account is located.
NameyesThe name of the Azure Integration Account into which the maps are to be uploaded/updated.
MapFilePathconditionalThe full path of a map that should be uploaded/updated. (Mandatory if MapsFolder has not been specified).
MapsFolderconditionalThe path to a directory containing all maps that should be uploaded/updated. (Mandatory if MapFilePath has not been specified).
MapTypenoThe type of map to be created, default to 'Xslt'. See possible values here.
ArtifactsPrefixnoThe prefix, if any, that should be added to the maps before uploading/updating.
RemoveFileExtensionsnoIndicator (switch) whether the extension should be removed from the name before uploading/updating.

Example

Uploading a single map into an Integration Account.

PS> Set-AzIntegrationAccountMaps -ResourceGroupName 'my-resource-group' -Name 'my-integration-account' -MapFilePath "C:\Maps\MyMap.xslt"
# Uploading map 'MyMap.xslt' into the Azure Integration Account 'my-integration-account'.
# Map 'MyMap.xslt' has been uploaded into the Azure Integration Account 'my-integration-account'.

Uploading a single map into an Integration Account and remove the file-extension.

PS> Set-AzIntegrationAccountMaps -ResourceGroupName 'my-resource-group' -Name 'my-integration-account' -MapFilePath "C:\Maps\MyMap.xslt" -RemoveFileExtensions
# Uploading map 'MyMap' into the Azure Integration Account 'my-integration-account'.
# Map 'MyMap' has been uploaded into the Azure Integration Account 'my-integration-account'.

Uploading a single map into an Integration Account and set add a prefix to the name of the schema within the Integration Account.

PS> Set-AzIntegrationAccountMaps -ResourceGroupName 'my-resource-group' -Name 'my-integration-account' -MapFilePath "C:\Maps\MyMap.xslt" -ArtifactsPrefix 'dev-'
# Uploading map 'dev-MyMap.xsd' into the Azure Integration Account 'my-integration-account'.
# Map 'dev-MyMap.xsd' has been uploaded into the Azure Integration Account 'my-integration-account'.

Uploading all maps located in a specific folder into an Integration Account.

PS> Set-AzIntegrationAccountMaps -ResourceGroupName 'my-resource-group' -Name 'my-integration-account' -MapsFolder "C:\Maps"
# Uploading map 'MyFirstMap.xslt' into the Azure Integration Account 'my-integration-account'.
# Map 'MyFirstMap.xslt' has been uploaded into the Azure Integration Account 'my-integration-account'.
# ----------
# Uploading map 'MySecondMap.xslt' into the Azure Integration Account 'my-integration-account'.
# Map 'MySecondMap.xslt' has been uploaded into the Azure Integration Account 'my-integration-account'.
# ----------

Uploading all maps located in a specific folder into an Integration Account and remove the file-extension.

PS> Set-AzIntegrationAccountMaps -ResourceGroupName 'my-resource-group' -Name 'my-integration-account' -MapsFolder "C:\Maps" -RemoveFileExtensions
# Uploading map 'MyFirstMap' into the Azure Integration Account 'my-integration-account'.
# Map 'MyFirstMap' has been uploaded into the Azure Integration Account 'my-integration-account'.
# ----------
# Uploading map 'MySecondMap' into the Azure Integration Account 'my-integration-account'.
# Map 'MySecondMap' has been uploaded into the Azure Integration Account 'my-integration-account'.
# ----------

Uploading all maps located in a specific folder into an Integration Account and remove the file-extension.

PS> Set-AzIntegrationAccountMaps -ResourceGroupName 'my-resource-group' -Name 'my-integration-account' -MapsFolder "C:\Maps" -ArtifactsPrefix 'dev-'
# Uploading map 'dev-MyFirstMap.xslt' into the Azure Integration Account 'my-integration-account'.
# Map 'dev-MyFirstMap.xslt' has been uploaded into the Azure Integration Account 'my-integration-account'.
# ----------
# Uploading map 'dev-MySecondMap.xslt' into the Azure Integration Account 'my-integration-account'
# Map 'dev-MySecondMap.xslt' has been uploaded into the Azure Integration Account 'my-integration-account'.
# ----------