最近更新时间:2025-12-26 12:37:53
本接口(DescribePerformanceOneNfsAclList)用于查询文件系统NFS协议访问授权。
POST
请求参数包含公共请求参数和接口请求参数。其中,公共请求参数是每个接口都会用到的请求参数,具体参见公共参数及签名机制;接口请求参数是各个接口所特有的,具体参见下方说明:
请求头
名称 | 是否必须 | 值 |
Content-Type | 是 | application/json |
Accept | 是 | application/json |
请求体
名称 | 类型 | 是否必须 | 描述 |
FileSystemName | string | 否 | 文件系统名称。 |
NfsAclId | String | 否 | 规则ID。 |
PageNum | number | 否 | 页码。默认为1。 |
PageSize | number | 否 | 分页大小。默认为10。 |
Action | string | 是 | 该参数为公共参数,取值:DescribePerformanceOneNfsAclList。 |
Version | string | 是 | 该参数为公共参数,取值:2024-09-30。 |
名称 | 类型 | 描述 |
RequestId | string | 唯一请求ID,每次请求都会返回。 |
Data | object[] | 访问授权列表信息。 |
— NfsAclId | string | 规则ID。 |
— ExportPath | string | 共享目录路径。 |
— FileSystemList | object[] | 文件系统信息。 |
— FileSystemId | string | 文件系统的实例ID。 |
— Region | String | 文件系统所在地域。 |
— FileSystemName | string | 文件系统名称。 |
— MountDomain | string | 挂载域名。 |
— Ips | object[] | 授权IP列表。 |
— Ip | string | 授权IP地址,支持IPv4
|
— Permission | enum | 指定的权限级别。
|
— RootSquash | enum | root权限压缩。
|
— Hostname | string | 计算节点主机名。 |
— Type | enum | 计算节点类型。
|
— Desc | string | 规则描述信息。 |
请求示例
curl --location 'kpfs.api.ksyun.com' \
--header 'X-action: DescribePerformanceOneNfsAclList' \
--header 'X-version: 2024-09-30' \
--header 'Content-Type: application/json' \
--header 'X-Amz-Content-Sha256: beaead3198f7da1e70d03ab969765e0821b24fc913697e929e726aeaebf0eba3' \
--header 'X-Amz-Date: 20250923T121457Z' \
--header 'Authorization: AWS4-HMAC-SHA256 Credential=AKLTY11BXipTOaxr5MipHNzX/20250923/us-east-1/kpfs/aws4_request, SignedHeaders=content-length;content-type;host;x-action;x-amz-content-sha256;x-amz-date;x-version, Signature=5d4e9145c334d9de438d074501299c416c4d791b944b918a3eb200cd08ca63e4' \
--data '{
"FileSystemName": "kpfstest",
"NfsAclId": "e57bf32b-b510-4184-9ddd-aa3619b6b7a0"
}'返回示例
{
"RequestId": "b5bb5a7825e44e8a81e3b07cd53cfc02",
"Data": [
{
"NfsAclId": "e57bf32b-b510-4184-9ddd-aa3619b6b7a0",
"ExportPath": "/mnt/hs_t1_sg/",
"FileSystemList": [
{
"FileSystemId": "7a0fd3de41044d68a0cc3e73de6c6b69",
"FileSystemName": "kpfstest",
"Region": "cn-qingyangtest-1",
"RegionName": "庆阳1区(测试)"
}
],
"Ips": [
{
"Ip": "10.0.0.117",
"Type": "kec",
"Hostname": "vm10-0-0-117",
"Permission": "rw",
"RootSquash": "root_squash"
},
{
"Ip": "10.0.0.72",
"Type": null,
"Hostname": null,
"Permission": "rw",
"RootSquash": "root_squash"
},
{
"Ip": "10.0.0.83",
"Type": "kec",
"Hostname": "vm10-0-0-83",
"Permission": "rw",
"RootSquash": "root_squash"
},
{
"Ip": "10.0.3.24",
"Type": null,
"Hostname": null,
"Permission": "rw",
"RootSquash": "root_squash"
}
],
"MountDomain": "nas-qa1-qyyc01-internal.ksyuncs.com",
"Desc": "desc"
}
],
"TotalCount": 1
}
纯净模式
