You can call the DescribeMountedClients operation to query the list of mounted clients.
Description
The list includes the clients that have accessed the file system within the last minute. If the file system is mounted on a client but the client did not access the file system in the last minute, the client is not included in the list.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | DescribeMountedClients |
The operation that you want to perform. Set the value to DescribeMountedClients. |
FileSystemId | String | Yes | 109c****66 |
The ID of the file system. |
MountTargetDomain | String | Yes | 1111222****95.cn-hangzhou.nas.aliyuncs.com |
The domain name of the mount target. |
RegionId | String | Yes | cn-hangzhou |
The region ID. |
PageSize | Integer | No | 10 |
The number of IP addresses to return on each page. Valid values: 1 to 100. Default value: 10. |
ClientIP | String | No | 10.10.10.1 |
The IP address of the client.
|
PageNumber | Integer | No | 1 |
The number of the page to return. Pages start from page 1. Default value: 1. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
Clients | Array of Client |
The list of clients. |
|
Client | |||
ClientIP | String | 10.10.10.1 |
The IP address of the client. |
PageNumber | Integer | 1 |
The page number of the returned page. |
PageSize | Integer | 10 |
The number of IP addresses returned per page. |
RequestId | String | A70BEE5D-76D3-49FB-B58F-1F398211**** |
The ID of the request. |
TotalCount | Integer | 10 |
The total number of IP addresses. |
Examples
Sample requests
http(s)://[Endpoint]/? Action=DescribeMountedClients
&FileSystemId=109c****66
&MountTargetDomain=1111222****95.cn-hangzhou.nas.aliyuncs.com
&RegionId=cn-hangzhou
&<Common request parameters>
Sample success responses
XML
format
<TotalCount>10</TotalCount>
<PageSize>10</PageSize>
<RequestId>A70BEE5D-76D3-49FB-B58F-1F398211****</RequestId>
<PageNumber>1</PageNumber>
<Clients>
<Client>
<ClientIP>10.10.10.1</ClientIP>
</Client>
</Clients>
JSON
format
{
"TotalCount": 10,
"PageSize": 10,
"RequestId": "A70BEE5D-76D3-49FB-B58F-1F398211****",
"PageNumber": 1,
"Clients": {
"Client": {
"ClientIP": "10.10.10.1"
}
}
}
Error codes
For a list of error codes, visit the API Error Center.