GetVolumeType【获取云硬盘类型】

获取云硬盘类型

Request Parameters

Parameter name Type Description Required
action String API 标识符 Yes

Response Elements

Name Type Description
message String 执行结果信息
code Integer HTTP Resonpe响应状态码
data Array JSON 格式的云硬盘类型信息列表,每项参数可见下面 Data Item

Data Item

Name Type Description
volume_type String 获取到的云硬盘类型

Example

Example Request:

Request Headers:

POST /api/ HTTP/1.1
Origin: https://console.plcloud.com
X-CSRFToken: 6An6xEuOJqW6dVDtlgzZr6FqgkSbJmqp
Content-Type: application/x-www-form-urlencoded

Form Data:

action: GetVolumeType

Example Response:

{
    "message": "成功",
    "code": 200,
    "data": [
        {
            "volume_type": "SAS"
        }
    ]
}