Queries the virtual storage channel information associated with a file system.
Operation description
Only CPFS for Lingjun supports this feature.
Batch execution is supported. In batch execution mode, only one VscId can be associated with multiple FileSystemIds, which means the values of ResourceIds.VscId must be the same.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
nas:DescribeFilesystemsVscAttachInfo |
list |
*FileSystem
*Vsc
|
None | None |
Request syntax
POST HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ResourceIds |
array<object> |
Yes |
The ID information of file systems and virtual storage channels. A maximum of 10 entries can be specified per batch. |
|
|
object |
No |
The ID information of file systems and virtual storage channels. A maximum of 10 entries can be specified per batch. |
||
| FileSystemId |
string |
No |
The file system ID. |
bmcpfs-290t15yn4uo8lid**** |
| VscId |
string |
No |
The virtual storage channel ID. |
vsc-8vb864o3ppwfvh**** |
| NextToken |
string |
No |
The query token. Set the value to the NextToken value returned in the previous API call. |
TGlzdFJlc291cmNlU****mVzJjE1MTI2NjY4NzY5MTAzOTEmMiZORnI4NDhVeEtrUT0= |
| MaxResults |
integer |
No |
The number of results for each query. Valid values: 10 to 100. Default value: 10. |
10 |
| RoleChain |
array<object> |
No |
The role chain. Note
Required only for cross-account scenarios. |
|
|
object |
No |
|||
| RoleType |
string |
No |
The role type. Valid values: service and user. |
service |
| RoleArn |
string |
No |
The resource descriptor of the specified role. Format: acs:ram::$accountID:role/$roleName. |
acs:ram::123472233814****:role/aliyunnasclientvsc**** |
| AssumeRoleFor |
string |
No |
The UID of the Alibaba Cloud account, which specifies the account on whose behalf the service assumes the role. |
101522855006**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
BC7C825C-5F65-4B56-BEF6-98C56C7C**** |
| NextToken |
string |
The query token. Set the value to the NextToken value returned in the previous API call. |
TGlzdFJlc291cmNlU****mVzJjE1MTI2NjY4NzY5MTAzOTEmMiZORnI4NDhVeEtrUT0= |
| TotalCount |
integer |
The total number of association entries. |
1 |
| MaxResults |
integer |
The number of entries returned per query. Valid values: 10 to 1000. Default value: 10. |
10 |
| VscAttachInfo |
object |
||
| VscAttachInfo |
array<object> |
The collection of data for file systems associated with vchannels. |
|
|
object |
|||
| FileSystemId |
string |
The file system ID. |
bmcpfs-290t15yn4uo8lid**** |
| VscId |
string |
The virtual storage channel ID. |
vsc-8vb864o3ppwfvh**** |
| Status |
string |
The status of the file system associated with the vchannel. Valid values:
|
Attached |
Examples
Success response
JSON format
{
"RequestId": "BC7C825C-5F65-4B56-BEF6-98C56C7C****",
"NextToken": "TGlzdFJlc291cmNlU****mVzJjE1MTI2NjY4NzY5MTAzOTEmMiZORnI4NDhVeEtrUT0=",
"TotalCount": 1,
"MaxResults": 10,
"VscAttachInfo": {
"VscAttachInfo": [
{
"FileSystemId": "bmcpfs-290t15yn4uo8lid****\n",
"VscId": "vsc-8vb864o3ppwfvh****\n",
"Status": "Attached"
}
]
}
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidParameter | The parameter is invalid. | Illegal parameter. |
| 400 | InvalidParameter.ResourceIds | Invalid ResourceIds, can not be empty or batch size large than 10. | |
| 400 | InvalidParameter.FileSystem | Invalid FileSystem in ResourceIds. | |
| 400 | InvalidFilesystemType.NotSupport | This Api does not support this fileSystem type. | The current interface does not support this type of file system. |
| 400 | InvalidParameter.VscId | Invalid VscId in ResourceIds. | |
| 400 | InvalidParameter.VscIds | Invalid VscId in ResourceIds.VscIds must be the same. | |
| 400 | Ram.AddRamParamFailed | Ram check has failed due to param invalid, please check param. | |
| 400 | FeatureOrAPI.NotSupported | The Feature/API is not supported in this region now. | |
| 403 | Forbbiden.Ram | User not authorized to operate on the specified resource, or this API doesn't support RAM. | The user is not authorized to operate the specified resource, or the API does not support RAM. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.