【问题标题】:Azure API: How to get Azure Public imagesAzure API:如何获取 Azure 公共映像
【发布时间】:2018-07-23 03:48:37
【问题描述】:

我将使用公共镜像创建VM,但我无法从Azure API获取公共镜像列表,那么如何获取Azure公共镜像,我们可以使用哪个url?

【问题讨论】:

  • this 是您要查找的内容吗?
  • 看来是对的,谢谢

标签: azure


【解决方案1】:

您可以使用此 URL 获取指定位置、发布者、报价和 SKU 的所有虚拟机映像版本的列表。

GET https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/publishers/{publisherName}/artifacttypes/vmimage/offers/{offer}/skus/{skus}/versions?api-version=2017-12-01

参考:Virtual Machine Images - List

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2016-03-29
    • 2020-07-07
    • 2016-02-21
    • 1970-01-01
    • 1970-01-01
    • 2018-10-29
    相关资源
    最近更新 更多