在手臂模板天蓝色中添加bing映射

时间:2019-09-24 20:57:10

标签: azure azure-active-directory azure-web-sites arm-template

我想在我的手臂模板中添加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"
            }
        },

非常感谢您的帮助。

1 个答案:

答案 0 :(得分:0)

这是我从门户网站获得的信息:

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