最近更新时间:2023-03-30
文件存储详情。
名称 | 类型 | 是否必选 | 描述 | 示例 |
Action | String | 是 | 系统规定参数取值:DetailFs | DetailFs |
regionId | String | 是 | 地域ID | cn-tianjin-yfb |
fsId | String | 是 | 文件存储id | nas-h58kfw59ow3b |
名称 | 类型 | 描述 | 示例值 |
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=DetailFs&Format=json&SignatureNonce=16343456325226&Version=2020-07-30&AccessKeyId=6oPiV0WMJXhxiT65&fsId=nas-h58kfw59ow3b&SignatureMethod=HMAC-SHA1®ionId=cn-tianjin-yfb&Timestamp=2020-07-30T12%3A00%3A00Z&Signature=HWrXE%2FYJD7AxhQhUy7Yoy3IrfSo%3D |
正常返回示例 | "ProjectName": "default", "RegionName": "天津研发-YFB区", "ChargeType": 1, "Recycle": "0", "PayType": "HOUR_MONTH", "FsName": "cvb", "InstanceEndTime": 0, "InstanceLabel": 0, "InstanceStartTime": 1673453797000, "regionId": "cn-tianjin-yfb", "Vpc": "vpc-g6kvrelodfvm", "AzoneId": "cn-tianjin-yfb1", "UpdateTime": 1673453798000, "DataEncryption": "0", "Status": "Creating", "SpecificationCode": "nas.capacity.nfs", "Expired": false, "MountPath": "100.64.63.252:/NAS/CAPFS/data/nas-h58kfw59ow3b", "fsId": "nas-h58kfw59ow3b", "AzoneName": "可用区Y", "CreateTime": 1673453798000, "UserId": "420925d6-bcc4-4537-904b-ff67a8d6ce4a" |
异常返回示例 | { "Status": false, "Msg": "实例不存在或无权限", "Auth": true, "Code": "IamNoPermission", "RequestId": "7331cf5b-9a54-4786-8df0-f01845e7b293" } |
HttpCode | 错误码 | 错误信息 | 错误描述 |
400 | InvalidParameter | "The specified parameter”Signature”is not valid." | 签名无效 |