0

我在 ARM 模板下创建了用于创建在逻辑应用程序中使用的“BizTalk 转换服务”(API APP)。

  {
        "type": "Microsoft.Web/sites",
        "apiVersion": "2015-08-01",
        "name": "[parameters('apiapps_customertransformation_name')]",
        "location": "[resourceGroup().location]",
        "kind": "apiApp",
        "tags": {
            "packageId": "TransformService"
        },
        "properties": {
            "name": "[parameters('apiapps_customertransformation_name')]",
            "gatewaySiteName": "[parameters('gatewayName')]",
            "serverFarmId": "[resourceId('Microsoft.Web/serverfarms', parameters('svcPlanName'))]",
            "siteConfig": {
                "appSettings": [
                    {
                        "name": "EMA_MicroserviceId",
                        "value": "[parameters('apiapps_customertransformation_name')]"
                    },
                    {
                        "name": "EMA_Secret",
                        "value": "[parameters('gatewayToAPIappSecret')]"
                    },
                    {
                        "name": "EMA_RuntimeUrl",
                        "value": "[concat('https://', parameters('gatewayName'), '.azurewebsites.net')]"
                    },
                    {
                        "name": "WEBSITE_START_SCM_ON_SITE_CREATION",
                        "value": "1"
                    }
                ]
            }
        }
    },
    {
        "type": "Microsoft.AppService/apiapps",
        "apiVersion": "2015-03-01-preview",
        "name": "[parameters('apiapps_customertransformation_name')]",
        "location": "[resourceGroup().location]",
          "tags": {
            "displayName": "APIApp"
          },
        "properties": {
            "package": {
                "id": "TransformService"
            },
            "updatePolicy": "Auto",
            "accessLevel": "PublicAnonymous",
            "host": {
                "resourceName": "[parameters('apiapps_customertransformation_name')]",
                "resourceType": "Microsoft.Web/sites"
            },
            "gateway": {
                "resourceName": "[parameters('gatewayName')]",
                "resourceType": "Microsoft.AppService/gateways"
            }

        },
      "dependsOn": [
        "[resourceId('Microsoft.Web/sites', parameters('apiapps_customertransformation_name'))]"
      ]
    }

我能够在 Azure 门户中成功创建 API,但是当我尝试在 Transform API 中添加 Map 组件时。它说没有找到。

你能告诉我如何启用地图组件吗?

或者有什么方法可以在部署ARM Template时直接创建一个Map组件?

在此处输入图像描述

4

1 回答 1

0

似乎您正在尝试使用 preview_V1 转换,我建议不要使用它,因为它很快就会被弃用。尝试 LogicApp 本身中的 preview_V2“Xml 转换”功能。


查看此文档以开始
在 LogicApps 中进行 Xml 转换

LogicApp 文档
https://azure.microsoft.com/en-us/documentation/articles/app-service-logic-what-are-logic-apps/

于 2016-07-25T17:25:01.657 回答