文档中心 > AvailableFsList
AvailableFsList

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

策略可绑定的文件存储列表

请求参数(GET)

名称

类型

是否必选

描述

示例

Action

String

系统规定参数取值:AvailableFsList

AvailableFsList

regionId

String

区域id

cn-tianjin-yfb

SystemType

String

系统类型

onestor

返回参数

名称

类型

描述

示例值

RequestId

String

请求ID

f79fd132-eae6-455e-8542-c0db5296d69b

Status

Boolean

状态

true

Auth

Boolean

用户认证

true

Code

String

状态码

Success

Res

List

文件存储列表

[{}…]

Message

String

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

The specified parameter “Signature” is not valid

示例

示例

示例内容

请求示例

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

正常返回示例

{

         "Status":   true,

         "Auth":   true,

         "Code":   "Success",

         "Res":   [

                   {

                            "AzoneId":   "cn-tianjin-yfb1",

                            "ProjectId":   "rg-k0n2gf8ew1pd",

                            "RegionName":   "天津研发-YFB区",

                            "ChargeType":   1,

                            "Recycle":   "0",

                            "PayType":   "CHARGING_HOURS_USAGE",

                            "Unit":   "GB",

                            "FsName":   "stor_2",

                            "InstanceEndTime":   0,

                            "InstanceStartTime":   1673510402000,

                            "Vpc":   "vpc-g2gmswxtthml",

                            "regionId":   "cn-tianjin-yfb",

                            "UpdateTime":   1673574892000,

                            "UserId":   "420925d6-bcc4-4537-904b-ff67a8d6ce4a",

                            "Status":   "Available",

                            "InstanceLabel":   1,

                            "SpecificationCode":   "nas.capacity.nfs",

                            "fsId":   "nas-h58kb6z50xaw",

                            "Expired":   false,

                            "AzoneName":   "可用区Y",

                            "CreateTime":   1673510403000,

                            "DataEncryption":   "0"

                   }

         ],

         "RequestId":   "c83ee5f4-6244-4afd-9f04-415e7e20f393"

}

异常返回示例

{

         "Code":   "InvalidParameter",

         "Message":   "The specified parameter “Signature” is not valid."

}

错误码

HttpCode

错误码

错误信息

错误描述

400

InvalidParameter

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

签名无效