You need to enable JavaScript to run this app.
导航

DescribeFileSystemStatistics

最近更新时间2023.10.17 14:47:15

首次发布时间2023.07.10 11:11:52

调用 DescribeFileSystemStatistics 接口列举文件系统的统计信息。

请求参数

无。

返回参数

参数类型示例值描述
TotalCountInteger2文件系统总个数。
StatisticsArray of Statistic详情请参见返回示例文件系统统计信息。

Statistic

参数类型示例值描述
ZoneIdStringcn-beijing-a可用区 ID。
RegionIdStringcn-beijing地域 ID。
ZoneNameString可用区A可用区名称。

CommonCapacity

Object of Capacity

``json
{
  "Total": 100,
  "Used": 135
}
``

通用型文件系统容量信息。

ExtremeCapacity

Object of Capacity

``json
{
  "Total": 100,
  "Used": 135
}
``

极速型文件系统容量信息。

CommonFileSystemCountInteger0通用型文件系统数量。
ExtremeFileSystemCountInteger1极速型文件系统数量。

Capacity

参数类型示例值描述
UsedLong135文件系统已使用容量,单位为 MiB。
TotalLong100文件系统可用总容量,单位为 GiB。

示例

请求示例

POST /?Action=DescribeFileSystemStatistics&Version=2022-01-01 HTTP/1.1
Host: filenas.volcengineapi.com
Authorization: HMAC-SHA256 Credential=AKLTOGJhY2E1NTdkZGFmNDg0Yjk0ZDFiNjE5Y2NjZjI****/20230907/cn-beijing/filenas/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

返回示例

{
    "ResponseMetadata": {
        "RequestId": "20220907175628010225099008022568AE",
        "Action": "DescribeFileSystemStatistics",
        "Version": "2022-01-01",
        "Service": "FileNAS",
        "Region": "cn-beijing"
    },
    "Result": {
        "Statistics": [
            {
                "RegionId": "cn-beijing",
                "ZoneId": "cn-beijing-a",
                "ZoneName": "可用区A"
                "CommonFileSystemCount": 0,
                "ExtremeFileSystemCount": 1,
                "ExtremeCapacity": {
                    "Total": 100,
                    "Used": 135
                },
                "CommonCapacity": {
                    "Total": 0,
                    "Used": 0
                }
            },
            {
                "RegionId": "cn-beijing",
                "ZoneId": "cn-beijing-b",
                "ZoneName": "可用区B"
                "CommonFileSystemCount": 1,
                "ExtremeFileSystemCount": 0,
                "ExtremeCapacity": {
                    "Total": 0,
                    "Used": 0
                },
                "CommonCapacity": {
                    "Total": 100,
                    "Used": 135
                }
            }
        ],
        "TotalCount": 2
    }
}