目录
获取物理机镜像-DescribePHostImage
获取物理云主机镜像列表
Request Parameters
Response Elements
Parameter name | Type | Description | Required |
RetCode | int | 操作返回码 | Yes |
Action | string | 操作名称 | Yes |
TotalCount | int | 满足条件的镜像总数 | No |
ImageSet | array | 镜像列表 PHostImageSet | No |
PHostImageSet
Parameter name | Type | Description | Required |
ImageId | string | 镜像ID | No |
ImageName | string | 镜像名称 | No |
OsName | string | 操作系统名称 | No |
OsType | string | 操作系统类型 | No |
Request Example
http://api.auto-ai.com.cn/?Action=DescribePHostImage &ProjectId=org1 &Region=cn-bj2 &Zone=cn-bj2-04
Response Example
{ "Action": "DescribePHostImageResponse", "Images": [ { "OsType": "Ubuntu", "ImageName": " Ubuntu 12.04 64位", "OsName": "Ubuntu 12.04 64位", "ImageId": "pimg-yg-f2634b" } ], "RetCode": 0 }