创作和发布区域及关联的密钥Authoring and publishing regions and the associated keys

若要将 LUIS 应用发布到多个区域,每个区域至少需要一个密钥。To publish a LUIS app to more than one region, you need at least one key per region.

LUIS 创作区域LUIS Authoring regions

必须在同一区域中创建和发布应用。You must author and publish in the same region.

LUISLUIS 创作区域Authoring region Azure 区域名称Azure region name
luis.azure.cnluis.azure.cn 中国China chinaeast2

创作区域具有配对故障转移区域Authoring regions have paired fail-over regions.

发布区域和 Azure 资源 Publishing regions and Azure resources

该应用将发布到与 LUIS 门户中添加的 LUIS 资源关联的所有区域。The app is published to all regions associated with the LUIS resources added in the LUIS portal. 例如,对于在 luis.azure.cn 上创建的应用,如果你在 chinaeast2 中创建 LUIS 或认知服务资源并将其作为资源添加到该应用,则该应用将发布到此区域中。For example, for an app created on luis.azure.cn, if you create a LUIS or Cognitive Service resource in chinaeast2 and add it to the app as a resource, the app is published in that region.

公共应用Public apps

公共应用在所有区域中发布,以便有基于区域的 LUIS 资源密钥的用户可以在与其资源密钥关联的任何区域中访问该应用。A public app is published in all regions so that a user with a region-based LUIS resource key can access the app in whichever region is associated with their resource key.

发布区域绑定到创作区域Publishing regions are tied to authoring regions

创作区域中的应用仅可发布到对应的发布区域。The authoring region app can only be published to a corresponding publish region. 如果应用目前位于错误的创作区域中,请导出应用,然后将其导入发布区域对应的正确创作区域。If your app is currently in the wrong authoring region, export the app, and import it into the correct authoring region for your publishing region.

全球区域Global region 创作 API 区域和创作网站Authoring API region & authoring website 发布和查询区域Publishing & querying region
API region name
终结点 URL 格式Endpoint URL format
中国China chinaeast2
luis.azure.cnluis.azure.cn
中国东部 2China East 2
chinaeast2
https://chinaeast2.api.cognitive.azure.cn/luis/v2.0/apps/YOUR-APP-ID?subscription-key=YOUR-SUBSCRIPTION-KEY

终结点Endpoints

详细了解创作和预测终结点Learn more about the authoring and prediction endpoints.

故障转移区域Failover regions

每个区域都有一个要故障转移到的次要区域。Each region has a secondary region to fail over to.

创作区域具有配对故障转移区域Authoring regions have paired fail-over regions.

后续步骤Next steps