Melepaskan perangkat VSC dari sistem file.
Deskripsi operasi
Hanya CPFS for Lingjun yang mendukung fitur ini.
Operasi batch didukung. Dalam mode batch, hanya satu VscId yang dapat dikaitkan dengan beberapa FileSystemId. Artinya, nilai ResourceIds.VscId harus sama.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
nas:DetachVscFromFilesystems |
update |
*FileSystem
*Vsc
|
None | None |
Sintaks permintaan
POST HTTP/1.1
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| ResourceIds |
array<object> |
Yes |
Informasi ID sistem file dan saluran penyimpanan virtual. Maksimum 10 entri dapat ditentukan per batch. |
|
|
object |
No |
Informasi ID sistem file dan saluran penyimpanan virtual. Maksimum 10 entri dapat ditentukan per batch. |
||
| FileSystemId |
string |
No |
ID sistem file. |
bmcpfs-290t15yn4uo8lid**** |
| VscId |
string |
No |
ID saluran penyimpanan virtual. |
vsc-8vb864o3ppwfvh**** |
| ClientToken |
string |
No |
Token klien yang digunakan untuk memastikan idempotensi permintaan. Anda dapat menggunakan klien untuk menghasilkan token, tetapi pastikan token tersebut unik di setiap permintaan. Token hanya dapat berisi karakter ASCII dan panjangnya tidak boleh melebihi 64 karakter. Untuk informasi selengkapnya, lihat Cara memastikan idempotensi. Catatan
Jika Anda tidak menentukan parameter ini, sistem secara otomatis menggunakan RequestId dari permintaan API sebagai ClientToken. RequestId dapat berbeda untuk setiap permintaan API. |
123e4567-e89b-12d3-a456-42665544**** |
| RoleChain |
array<object> |
No |
Rantai peran. Catatan
Parameter ini hanya diperlukan untuk skenario lintas akun. |
|
|
object |
No |
|||
| RoleType |
string |
No |
Tipe peran. Nilai valid: layanan dan user. |
service |
| RoleArn |
string |
No |
Deskriptor Sumber daya peran yang ditentukan. Format: acs:ram::$accountID:role/$roleName. |
acs:ram::123472233814****:role/aliyunnasclientvsc**** |
| AssumeRoleFor |
string |
No |
UID akun Alibaba Cloud yang perannya diambil alih oleh layanan. |
528394183225**** |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
ID permintaan. |
2D69A58F-345C-4FDE-88E4-BF518948**** |
Contoh
Respons sukses
JSONformat
{
"RequestId": "2D69A58F-345C-4FDE-88E4-BF518948****"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidParameter | The parameter is invalid. | |
| 400 | InvalidParameter.FileSystem | Invalid FileSystem in ResourceIds. | |
| 400 | InvalidParameter.ResourceIds | Invalid ResourceIds, can not be empty or batch size large than 10. | |
| 400 | InvalidFilesystemType.NotSupport | This Api does not support this fileSystem type. | |
| 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. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.