SoftLayer API return 图像的 ACTIVE 或 INACTIVE 状态?
Does the SoftLayer API return the ACTIVE or INACTIVE status of an image?
我正在尝试获取非活动图像的列表。 SoftLayer API return 图像的状态是 ACTIVE 还是 INACTIVE?谢谢!
SoftLayer API returns 两种图像,活动的和非活动的,您可以通过以下 rest 调用仅检索非活动图像:
https://$user:$apiKey@api.softlayer.com/rest/v3/SoftLayer_Account/getBlockDeviceTemplateGroups?objectFilter={"blockDeviceTemplateGroups":{"statusId":{"operation":"2"}}}
Method: Get
参考文献:
我正在尝试获取非活动图像的列表。 SoftLayer API return 图像的状态是 ACTIVE 还是 INACTIVE?谢谢!
SoftLayer API returns 两种图像,活动的和非活动的,您可以通过以下 rest 调用仅检索非活动图像:
https://$user:$apiKey@api.softlayer.com/rest/v3/SoftLayer_Account/getBlockDeviceTemplateGroups?objectFilter={"blockDeviceTemplateGroups":{"statusId":{"operation":"2"}}}
Method: Get
参考文献: