调用 DescribeFileSystemStatistics 接口列举文件系统统计信息。
下表仅列出该接口特有的请求参数和部分公共参数。更多信息请见公共参数。
参数 | 类型 | 是否必填 | 示例值 | 描述 |
---|---|---|---|---|
Action | String | 是 | DescribeFileSystemStatistics | 要执行的操作,取值:DescribeFileSystemStatistics。 |
Version | String | 是 | 2022-01-01 | API的版本,取值:2022-01-01。 |
LanguageCode | String | 否 | zh | 显示的语言类型,取值说明如下:
|
下表仅列出本接口特有的返回参数。更多信息请参见返回结构。
参数 | 类型 | 示例值 | 描述 |
---|---|---|---|
Statistics | Array of Object | 详情请参见返回示例 | 文件系统统计信息。 |
POST /?Action=DescribeFileSystemStatistics&Version=2022-01-01 HTTP/1.1
Host: open.volcengineapi.com
Authorization: HMAC-SHA256 Credential=AKLTOGJhY2E1NTdkZGFmNDg0Yjk0ZDFiNjE5Y2NjZjI****/20230907/cn-beijing/vepfs/request, SignedHeaders=host;x-date;x-content-sha256;content-type, Signature=7f1119a75111535b1d6e7929700f22e1474af0fb4fe26c59f5ac5cdba0cc****
Content-Type: application/json; charset=utf-8
X-Content-Sha256: 567112abe45bd6a09504fd244237f14c0ba120491da0d35097afd54d87bd****
X-Date: 20230907T124910Z
json
{
"ResponseMetadata": {
"RequestId": "202406251105585AFA9F9C****0FF57273-765b20",
"Action": "DescribeFileSystemStatistics",
"Version": "2022-01-01",
"Service": "vepfs",
"Region": "cn-beijing"
},
"Result": {
"Statistics": [
{
"AccountId": "210015****",
"CapacityInfo": {
"TotalTiB": 30,
"UsedGiB": 790
},
"FileSystemType": "VePFS",
"RegionId": "cn-beijing",
"StoreType": "Advance_100",
"StoreTypeCN": "100MB/s/TiB",
"TotalCount": 4
},
{
"AccountId": "210015****",
"CapacityInfo": {
"TotalTiB": 240,
"UsedGiB": 29
},
"FileSystemType": "VePFS",
"RegionId": "cn-beijing",
"StoreType": "Intelligent_Computing",
"StoreTypeCN": "智算版",
"TotalCount": 1
},
{
"AccountId": "210015****",
"CapacityInfo": {
"TotalTiB": 0,
"UsedGiB": 0
},
"FileSystemType": "VePFS",
"RegionId": "cn-beijing",
"StoreType": "Performance",
"StoreTypeCN": "性能版",
"TotalCount": 0
}
]
}
}
json
下表为您列举了该接口与业务逻辑相关的错误码。公共错误码请参见公共错误码文档。
状态码 | 错误码 | 说明 |
---|---|---|
500 | InternalError | 内部错误。 |