【问题标题】:adding bing maps in arm template azure在 arm 模板 azure 中添加 bing 地图
【发布时间】:2019-09-24 20:57:10
【问题描述】:

我想在我的手臂模板中添加一个 bing 地图资源,但是我收到了这个错误:

"STATUS  BadRequest
STATUS MESSAGE  {
  "error": {
    "code": "ResourcePurchaseValidationFailed",
    "message": "User failed validation to purchase resources. Error message: 'Offer with PublisherId: bingmaps and OfferId: bingmapsapiforenterprise not found.
                If this offer has been created recently, please allow up to 30 minutes for this offer to be available for Purchase. If error persists, contact support.'"
  }
}
PROVISIONING STATE  Failed
"

这是我的代码的一部分:

"resources": [
        {
            "name": "bingmapsARM",
            "type": "Microsoft.BingMaps/mapApis",
            "apiVersion": "2016-08-18",
            "location": "westus",
            "plan": {
                "publisher": "bingmaps",
                "product": "bingmapsapiforenterprise",
                "promotionCode": null,
                "name": "internal1"
            }
        },

非常感谢任何帮助..

【问题讨论】:

    标签: azure azure-active-directory azure-web-app-service arm-template


    【解决方案1】:

    这是我从门户网站得到的:

    {
        "type": "Microsoft.BingMaps/mapApis",
        "apiVersion": "2016-08-18",
        "name": "yyy",
        "location": "xxx",
        "plan": {
            "publisher": "bingmaps",
            "product": "mapapis",
            "name": "public1",
            "promotionCode": ""
        },
        "properties": {}
    }
    

    【讨论】:

    • 非常感谢,它成功了我真的很想知道你是怎么得到它的!?
    • 通过创建一个新的 bingmaps 实例,然后查看创建的部署。如果这有效,您应该接受答案;)
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2019-02-11
    相关资源
    最近更新 更多