获取文件系统列表-DescribeUFSVolume2

获取文件系统列表

Request Parameters

Parameter nameTypeDescriptionRequired
Regionstring地域。 参见 地域和可用区列表Yes
ProjectIdstring项目ID。不填写为默认项目,子帐号必须填写。 请参考GetProjectList接口No
VolumeIdstring文件系统IDNo
Offsetint文件列表起始No
Limitint文件列表长度No

Response Elements

Parameter nameTypeDescriptionRequired
RetCodeint操作返回码Yes
Actionstring操作名称Yes
TotalCountint文件系统总数Yes
DataSetarray文件系统详细信息列表Yes

UFSVolumeInfo2

Parameter nameTypeDescriptionRequired
VolumeNamestring文件系统名称Yes
VolumeIdstring文件系统IDYes
TotalMountPointNumint当前文件系统已创建的挂载点数目Yes
MaxMountPointNumint文件系统允许创建的最大挂载点数目Yes
StorageTypestring文件系统存储类型,枚举值,Basic表示容量型,Advanced表示性能型Yes
ProtocolTypestring文件系统协议,枚举值,NFSv3表示NFS V3协议,NFSv4表示NFS V4协议Yes
Remarkstring文件系统备注信息No
Tagstring文件系统所属业务组No
CreateTimeint文件系统创建时间(unix时间戳)No
ExpiredTimeint文件系统过期时间(unix时间戳)No
Sizeint文件系统大小,单位GBNo
UsedSizeint文件系统当前使用容量,单位GBNo
IsExpiredstring是否过期No

Request Example

https://api.ucloud.cn/?Action=DescribeUFSVolume2
&Region=cn-zj
&ProjectId=DJpEkpgc
&VolumeId=lhwAtBELNnFFCCtnAZauZUyulVgLTOpIBFF
&Offset=9
&Limit=501

Response Example

{
    "TotalCount": 3,
    "DataSet": [
        {
            "VolumeName": "qoXVyiHKLrARIxnISVeCmWRTxNCRqkLzfUR",
            "VolumeId": "BCUKqVILayBIohkHvMFJcXAukkUgqZMflxt",
            "TotalMountPointNum": 1,
            "MaxMountPointNum": 5,
            "StorageType": "Advanced",
            "ProtocolType": "NFSv4",
            "Remark": "PQJgSJOQ",
            "Tag": "wVoXCOhQ",
            "CreateTime": 8,
            "ExpiredTime": 2,
            "Size": 9,
            "UsedSize": 1,
            "IsExpired": "Yes"
        },
        {
            "VolumeName": "pYuTTcTGCFkHYOvfgkMVygwakxSnUPQdcEY",
            "VolumeId": "ZxaoxhfYQpkFkQWbHCNEDgBeFjBUcOuRuMH",
            "TotalMountPointNum": 1,
            "MaxMountPointNum": 5,
            "StorageType": "Advanced",
            "ProtocolType": "NFSv4",
            "Remark": "GXBqIxLc",
            "Tag": "sxtcHxsh",
            "CreateTime": 2,
            "ExpiredTime": 4,
            "Size": 9,
            "UsedSize": 1,
            "IsExpired": "Yes"
        },
        {
            "VolumeName": "LCtDHYigQPztASQNomZHEJliBWpEYgjWNrc",
            "VolumeId": "AUFUveZpdYaXsFzzHsBhjNsKyweRXxDxfFh",
            "TotalMountPointNum": 1,
            "MaxMountPointNum": 5,
            "StorageType": "Advanced",
            "ProtocolType": "NFSv4",
            "Remark": "SYHlTMuO",
            "Tag": "XJUPznAp",
            "CreateTime": 8,
            "ExpiredTime": 8,
            "Size": 5,
            "UsedSize": 1,
            "IsExpired": "Yes"
        }
    ],
    "RetCode": 0,
    "Action": "DescribeUFSVolume2Response"
}