使用REST API创建多个托管磁盘的快照

时间:2019-11-28 23:17:04

标签: snapshot azure-managed-disk

如何使用此处列出的REST API拍摄多个托管磁盘快照 https://docs.microsoft.com/en-us/rest/api/compute/disks/createorupdate#request-body

如何在请求正文中列出多个磁盘?例如os磁盘+数据磁盘

{ "properties": { "creationData": [ { "createOption": "Copy", "sourceUri": "/subscriptions/4we7dd/resourceGroups/RG/providers/Microsoft.Compute/disks/mysnap" }, { "createOption": "Copy", "sourceUri": "/subscriptions/4we7dd/resourceGroups/RG/providers/Microsoft.Compute/disks/mysnap2" } ] } , "location": "EastUS" }

上面的json数组不起作用。因为它期望一个json对象

0 个答案:

没有答案