最近更新时间:2023-12-27 17:13:27
本接口(DescribeFileSystems)用于返回文件系统描述信息;
名称 | 类型 | 是否必须 | 描述 |
---|---|---|---|
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 | 否 | 可查询file-system-name和ip-address |
Value.N | String | 否 | 可查询file-system-name和ip-address |
名称 | 所包含参数 | 类型 | 详情 |
---|---|---|---|
RequestId | RequestId | String | 请求ID |
Marker | Marker | Int | 示例值:0 |
FileSystemCount | FileSystemCount | Int | 示例值:3 |
FileSystems | FileSystemId | String | 示例值:5c2ecc60-620f-4b7b-9f73-4090cdfccb4c |
FileSystemName | String | 示例值:pang01 | |
AvailabilityZone | String | 示例值:cn-beijing-6a | |
AvailabilityZoneName | String | 示例值:可用区A | |
StorageType | String | 示例值:Capacity | |
ProtocolType | String | 示例值:CIFS | |
VpcId | String | 示例值:cea378c7-3c9f-4f0c-83c4-8e45d28507d3 | |
FileSystemState | String | 示例值:available | |
CreationDate | String | 示例值:2020-04-28T14:27:23.000000 | |
MountTargets | Object[] | ||
ShortId | String | 示例值:cfs-ukXe0SyztD | |
ProjectId | Int | 项目制id | |
Size | Int | 示例值:400000 | |
UsedSize | Int | 示例值:8 |
请求参数
http://kec.{{region}}.api.ksyun.com/?Action=DescribeFileSystems&Version=2016-03-04
返回参数
{
"RequestId":"995ffcd0-5138-4c02-a4f2-feac9e964532001",
"Marker":0,
"FileSystemCount":7,
"FileSystems":[
{
"FileSystemId":"1d7e9668-7eca-4eb5-8178-94776e57a9a9",
"FileSystemName":"lyw-1",
"AvailabilityZone":"cn-beijing-6a",
"AvailabilityZoneName":"可用区A",
"StorageType":"Capacity",
"ProtocolType":"NFS",
"VpcId":"6cebae4c-4e68-47cb-a535-c6b9790b7847",
"FileSystemState":"available",
"CreationDate":"2023-11-17T10:43:41.000000",
"MountTargets":[
{
"MountTargetId":"86fa03aa-5b04-4b1c-928f-3f9365c45d4c",
"SubnetId":"a8e64759-c186-4015-ad05-1b834034a5cb",
"IpAddress":"10.0.1.241",
"MountTargetState":"available",
"CreationDate":"2023-11-17T10:43:43.000000"
}
],
"Size":400000,
"UsedSize":4,
"ShortId":"cfs-ukXe0SyztD",
"ProjectId":0
},
{
"FileSystemId":"d4fdd6c5-b41a-4136-8b40-c34252f97368",
"FileSystemName":"lyw",
"AvailabilityZone":"cn-beijing-6a",
"AvailabilityZoneName":"可用区A",
"StorageType":"Capacity",
"ProtocolType":"NFS",
"VpcId":"6cebae4c-4e68-47cb-a535-c6b9790b7847",
"FileSystemState":"available",
"CreationDate":"2023-11-16T17:09:05.000000",
"MountTargets":[
{
"MountTargetId":"e3f68ad6-1b5c-4596-8687-dfa8c989ec8e",
"SubnetId":"a8e64759-c186-4015-ad05-1b834034a5cb",
"IpAddress":"10.0.1.37",
"MountTargetState":"available",
"CreationDate":"2023-11-16T17:09:07.000000"
}
],
"Size":400000,
"UsedSize":4,
"ShortId":"cfs-zTXjgLBPi8",
"ProjectId":0
},
{
"FileSystemId":"f72e02f3-244a-4c41-a41d-d365bcab8679",
"FileSystemName":"sci-test-lyw",
"AvailabilityZone":"cn-beijing-6a",
"AvailabilityZoneName":"可用区A",
"StorageType":"Capacity",
"ProtocolType":"NFS",
"VpcId":"6cebae4c-4e68-47cb-a535-c6b9790b7847",
"FileSystemState":"available",
"CreationDate":"2023-08-04T10:35:48.000000",
"MountTargets":[
{
"MountTargetId":"213b659b-bb87-4618-baf3-96525f20db32",
"SubnetId":"a8e64759-c186-4015-ad05-1b834034a5cb",
"IpAddress":"10.0.1.42",
"MountTargetState":"available",
"CreationDate":"2023-08-04T10:35:50.000000"
}
],
"Size":400000,
"UsedSize":0,
"ShortId":"cfs-l2TMvHYIQL",
"ProjectId":0
}
}
纯净模式
鼠标选中内容,快速反馈问题