【问题标题】:Azure Application Insights - Location IssueAzure Application Insights - 位置问题
【发布时间】:2015-07-13 20:25:16
【问题描述】:

我正在使用 Resource Manger API 在 Azure 中创建 Application Insight 资源。步骤如下:

  • 我在美国东部位置创建资源组
  • 然后我在 East US 位置下创建 Insights 组件,但失败了。有以下错误。但是,如果我在 Central US 位置(与包含资源组的位置不同)创建组件,它会成功。

    "error": {
        "code": "MissingRegistrationForLocation",
        "message": "The subscription is not registered for the resource type 'components' in the location 'southcentralus'. Please re-register for this provider in order to have access to this location."
    }
    

【问题讨论】:

  • 请参阅:azure.microsoft.com/en-us/regions/#services。人工智能是一种“全球”服务。 Azure 在创建资源时需要一个位置,因此我们将其视为“美国中部”。但是将您的资源组和其他资源放在您想要的任何位置。
  • @JohnGardner(正在阅读定价信息...)因此,将数据导入 App Insights 永远不会产生跨区域费用,对吗?如何通过连续导出获取数据?为此选择的存储帐户应该在美国中部吗?

标签: azure azure-application-insights


【解决方案1】:

我正在寻找一个很好的来源来支持我的故事,但再也找不到 URL :( 。据我所知,Application Insights 服务只能从美国中部位置获得。这可能会导致错误,因为您正尝试在美国东部地区设置 Insights 组件。

如您所见,该位置已锁定,因此无法选择美国东部。

您可以通过 this page 跟踪 Azure Application Insights 服务更新。在旁边,您可以过滤更新以查看service updates about regions and datacenters.

我希望这会有所帮助。

【讨论】:

  • Application Insights 目前仅部署在美国中部,但是,正如页面底部所示,它在全球范围内运行,并且不需要客户在使用该服务时指定特定区域。见:azure.microsoft.com/en-us/regions/#services
  • 差不多一年后,此信息修复了我的模板部署失败。 “Location”属性是必需的,但唯一有效的值是“Central US”。我正在尝试“美国西部”来匹配我的其余部署。与其他地方写的相反,“全局”不适用于 Web 测试附带的警报规则。
  • 此信息不再有效。始终转到此页面以获取更新的区域列表。 azure.microsoft.com/en-gb/regions/services
【解决方案2】:

昨天,Microsoft 宣布在其他地区全面推出 Application Insights。

此外,您在使用当前 ARM 模板进行部署时可能会遇到错误!

Application Insights: General availability in additional regions

【讨论】:

    【解决方案3】:

    就我而言,能够通过在 Visual Studio 中更新 Azure 来解决问题

    Tools => Extensions And Updates => Updates => Azure*
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2017-06-28
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2017-04-01
      • 2021-07-16
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多