SoftLayer硬件API:SoftLayer_Hardware :: captureImage

时间:2016-02-23 02:01:09

标签: ibm-cloud-infrastructure

使用Fast Provision API,BM Servier配置成功。我想捕获BM Server的图像。 是否有任何有效负载(示例)可用于裸机服务器的捕获映像。

http://sldn.softlayer.com/reference/services/SoftLayer_Hardware/captureImage

我无法为此生成有效负载。

1 个答案:

答案 0 :(得分:0)

请尝试以下REST请求:

https://[username]:apikey]@api.softlayer.com/rest/v3/SoftLayer_Hardware/[hardware_id]/captureImage

方法:POST

Json Payload:

{
      "parameters": [
          {
            "name": "myImageName",
            "description": "api test note"
          }
      ]
    }

创建弹性图像的受支持操作系统是:

- Centos 5.x - 6.x
- Redhat Enterprise 5.x - 6.x
- Windows 2003 - SP2
- Windows 2008 RC2
- Bare metal platform installations NOT supported

<强>参考文献:

create flex image

what is flex image