文档中心 > OneStorListQos
OneStorListQos

最近更新时间:2023-03-30

Qos列表

Qos列表请求参数(GET)

名称

类型

是否必选

描述

示例

Action

String

系统规定参数取值:OneStorListQos

OneStorListQos

regionId

String

地域ID

cn-tianjin-yfb

fsInstanceId

String

文件存储id

nas-h58kby31ku2a

Page

String

当前页数

1

Size

String

每页条数

10

返回参数

名称

类型

描述

示例值

RequestId

String

请求ID

f79fd132-eae6-455e-8542-c0db5296d69b

Status

Boolean

状态

true

Auth

Boolean

用户认证

true

Code

String

状态码

Success

Res


文件存储记录

{…}

Message

String

错误提示信息 (异常返回才有此项)

"实例不存在或无权限"

示例

示例

示例内容

请求示例

https://api.unicloud.com/openapi/nas?SignatureVersion=2.0&Action=OneStorListQos&Format=json&SignatureNonce=16343456325226&Version=2020-07-30&AccessKeyId=6oPiV0WMJXhxiT65&fsInstanceId=nas-h58kby31ku2a&SignatureMethod=HMAC-SHA1&regionId=cn-tianjin-yfb&Timestamp=2020-07-30T12%3A00%3A00Z&Signature=PwiBGX0vJOSPpTfZbJ5OX1mE800%3D

正常返回示例

{

         "Status":   true,

         "Auth":   true,

         "Code":   "Success",

         "Res":   {

                   "Records":   [

                            {

                                     "Band":   105,

                                     "fsInstanceId":   "nas-h58kby31ku2a",

                                     "Id":   6398,

                                     "QosId":   "qos-0CQzvTWpdZSU",

                                     "UpdatedAt":   "2023-01-12T11:15:27+08:00",

                                     "DirType":   0,

                                     "State":   1,

                                     "Path":   "/nas-h58kby31ku2a",

                                     "CreatedAt":   "2023-01-12 11:15:27",

                                     "Iops":   5000

                            }

                   ],

                   "Size":   10,

                   "Pages":   1,

                   "Current":   1,

                   "Total":   1

         },

         "RequestId":   "290c481f-0ffc-489c-b217-3f29613ffc49"

}

异常返回示例

{

         "Status":   false,

         "Msg":   "实例不存在或无权限",

         "Auth":   true,

         "Code":   "IamNoPermission",

         "RequestId":   "7331cf5b-9a54-4786-8df0-f01845e7b293"

}

错误码

HttpCode

错误码

错误信息

错误描述

400

InvalidParameter

"The specified parameter”Signature”is   not valid."

签名无效