查看文件系统

最近更新时间:2023-11-13 17:00:47

查看PDF

1. 接口描述

本接口(DescribeFileSystems)用于返回文件系统描述信息;

2. 请求参数

名称 类型 是否必须 描述
Action String 公共参数,本接口取值:DescribeFileSystems。
Version String 公共参数,本接口取值:2016-03-04.
FileSystemId String 预查看的文件系统ID
MaxResults Integer 单次调用所返回的最大实例数目,取值为5~1000,超过1000记为1000
Marker Integer 分页标识,单次调用未返回全部实例时,标记下次调用的返回值的起点,默认值是0
ProjectID.N Long 项目制id,默认为0
Name.N String
Value.N String

3. 返回参数

名称 类型 描述
RequestId String 请求ID
FileSystems FileSystem 文件系统类型
Marker Int 示例值:0
FileSystemCount Int 示例值:3

4. 示例

请求参数

http://kec.{{region}}.api.ksyun.com/?Action=DescribeFileSystems&Version=2016-03-04

返回参数

{
    "RequestId": "7b840502-3ad1-46e8-adea-ada49612cb41001",
    "Marker": 0,
    "FileSystemCount": 3,
    "FileSystems": [
        {
            "FileSystemId": "5c2ecc60-620f-4b7b-9f73-4090cdfccb4c",
            "FileSystemName": "pang01",
            "AvailabilityZone": "cn-beijing-6a",
            "AvailabilityZoneName": "可用区A",
            "StorageType": "Capacity",
            "ProtocolType": "CIFS",
            "VpcId": "cea378c7-3c9f-4f0c-83c4-8e45d28507d3",
            "FileSystemState": "available",
            "CreationDate": "2020-04-28T14:27:23.000000",
            "MountTargets": [
                {
                    "MountTargetId": "d6039464-3a7f-4b81-b20d-1e12917ec80a",
                    "SubnetId": "86bb420d-a173-46c9-a7c8-08475289b1e4",
                    "IpAddress": "10.0.1.20",
                    "MountTargetState": "available",
                    "CreationDate": "2020-04-28T14:27:24.000000"
                }
            ],
            "Size": 400000,
            "UsedSize": 8
        },
        {
            "FileSystemId": "11cdcd95-cafd-4dab-bf8c-8f22b77feac5",
            "FileSystemName": "docker",
            "AvailabilityZone": "cn-beijing-6a",
            "AvailabilityZoneName": "可用区A",
            "StorageType": "Capacity",
            "ProtocolType": "NFS",
            "VpcId": "31e21dca-c92e-4b06-a8ce-3560afa63462",
            "FileSystemState": "available",
            "CreationDate": "2020-04-21T15:53:58.000000",
            "MountTargets": [
                {
                    "MountTargetId": "75b88293-581f-4038-b179-b7272045d2dc",
                    "SubnetId": "372bdbac-ea1d-4f99-9c30-98b10923ff44",
                    "IpAddress": "10.0.1.143",
                    "MountTargetState": "available",
                    "CreationDate": "2020-04-21T15:53:59.000000"
                }
            ],
            "Size": 400000,
            "UsedSize": 0
        },
        {
            "FileSystemId": "c9f2dcd1-f5f8-4523-9287-bcafec6b9052",
            "FileSystemName": "xiongyi",
            "AvailabilityZone": "cn-beijing-6a",
            "AvailabilityZoneName": "可用区A",
            "StorageType": "Capacity",
            "ProtocolType": "NFS",
            "VpcId": "d71479bf-709c-44dc-b200-a84553616980",
            "FileSystemState": "error_deleting",
            "CreationDate": "2019-12-25T19:02:11.000000",
            "MountTargets": [
                {
                    "MountTargetId": "195e8b34-b246-4629-b607-6124b7aca564",
                    "SubnetId": "7821ecc9-09bd-4e4f-b950-6f6f10c96b1e",
                    "IpAddress": "10.0.3.17",
                    "MountTargetState": "available",
                    "CreationDate": "2019-12-27T15:49:41.000000"
                }
            ],
            "Size": 400000,
            "UsedSize": 43524096
        }
    ]
}

文档内容是否对您有帮助?

根本没帮助
文档较差
文档一般
文档不错
文档很好

在文档使用中是否遇到以下问题

内容不全,不深入
内容更新不及时
描述不清晰,比较混乱
系统或功能太复杂,缺乏足够的引导
内容冗长

更多建议

0/200

评价建议不能为空

提交成功!

非常感谢您的反馈,我们会继续努力做到更好!

问题反馈