来自ARM模板的Gremlin帐户 [英] Gremlin account from ARM template

查看:55
本文介绍了来自ARM模板的Gremlin帐户的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在尝试为我们的一个项目设置图表,并且我们将ARM模板用于CI流程.我可以在手动创建的帐户上使用一些测试图,但是在由我们的ARM模板创建的帐户中创建的图存在问题 (数据库和图形是在模板提供帐户后手动设置的).尝试在其中一张图上执行任何操作时出现以下错误

I've been trying to get a graph set up for one of our projects, and we use ARM templates for our CI process. I'm able to use some test graphs on an account created by hand, but am having problems with graphs created in the account created by our ARM template (the db and graph are set up by hand after the template provisions the account). I get the following error when trying to do anything on one of these graphs

错误:[对象事件]未知requestId:空

此外,这也是我用来创建数据库帐户的ARM模板资源:

推荐答案

嗨Neophyte12,

Hi Neophyte12,

您从何处提取ARM模板?我看到一些差异...

Where did you pull your ARM template from? I am seeing some differences...

------参数------

------ Parameters------

       " databaseAccounts_miubezzi_graphapi_name_1" ;: {
           "defaultValue":"miubezzi-graphapi",
           "type":"String"
       }

        "databaseAccounts_miubezzi_graphapi_name_1": {
            "defaultValue": "miubezzi-graphapi",
            "type": "String"
        },

------资源-----

------Resources-----

      {
           评论":从资源中概括:'/subscriptions/b83c1ed3-c5b6-44fb-b5ba-2b83a074c23f/resourceGroups/miubezzi-cosmosdb/providers/Microsoft.DocumentDB/databaseAccounts/miubezzi-graphapi'.",
           类型":"Microsoft.DocumentDB/databaseAccounts",
           种类":"GlobalDocumentDB",
           "名称" ;:" [parameters('databaseAccounts_miubezzi_graphapi_name_1')]" ;,
           " apiVersion" ;:" 2015-04-08" ;,
           位置":美国西部",
           "标签":{
                             "defaultExperience":"Graph"
           },
           "scale":null,
           属性":{
                             "databaseAccountOfferType":标准",
                             "consistencyPolicy":{
                    "defaultConsistencyLevel":会话",
                    "maxIntervalInSeconds":5,
                    "maxStalenessPrefix":100
                             },
                             "名称":"[parameters('databaseAccounts_miubezzi_graphapi_name')]"
           },
           "dependsOn":[]
       }

       {
            "comments": "Generalized from resource: '/subscriptions/b83c1ed3-c5b6-44fb-b5ba-2b83a074c23f/resourceGroups/miubezzi-cosmosdb/providers/Microsoft.DocumentDB/databaseAccounts/miubezzi-graphapi'.",
            "type": "Microsoft.DocumentDB/databaseAccounts",
            "kind": "GlobalDocumentDB",
            "name": "[parameters('databaseAccounts_miubezzi_graphapi_name_1')]",
            "apiVersion": "2015-04-08",
            "location": "West US",
            "tags": {
                "defaultExperience": "Graph"
            },
            "scale": null,
            "properties": {
                "databaseAccountOfferType": "Standard",
                "consistencyPolicy": {
                    "defaultConsistencyLevel": "Session",
                    "maxIntervalInSeconds": 5,
                    "maxStalenessPrefix": 100
                },
                "name": "[parameters('databaseAccounts_miubezzi_graphapi_name')]"
            },
            "dependsOn": []
        },

有关ARM模板的其他信息:

Additional information on ARM templates: Deploy resources with Resource Manager templates and Azure PowerShell


这篇关于来自ARM模板的Gremlin帐户的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆