Menghapus direktori ekspor layanan protokol.
Deskripsi operasi
Operasi ini hanya berlaku untuk sistem file Cloud Parallel File Storage (CPFS).
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
nas:DeleteProtocolMountTarget |
delete |
*FileSystem
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| ProtocolServiceId |
string |
Yes |
ID layanan protokol. |
ptc-197ed6a00f2b**** |
| FileSystemId |
string |
Yes |
ID sistem file. |
cpfs-099394bd928c**** |
| ExportId |
string |
Yes |
ID direktori ekspor. |
exp-19abf5beab8d**** |
| ClientToken |
string |
No |
Memastikan idempotensi permintaan. Anda dapat menggunakan klien untuk menghasilkan token, tetapi pastikan token tersebut unik di antara permintaan yang berbeda. Token hanya dapat berisi karakter ASCII dan panjangnya tidak boleh melebihi 64 karakter. Untuk informasi selengkapnya, lihat Bagaimana 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**** |
| DryRun |
boolean |
No |
Apakah akan menjalankan dry run untuk permintaan penghapusan ini. Dry run memeriksa validitas parameter dan dependensi tanpa benar-benar menghapus instans atau menimbulkan biaya. Nilai valid:
|
true |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Skema Respons. |
||
| RequestId |
string |
ID permintaan. |
98696EF0-1607-4E9D-B01D-F20930B6**** |
Contoh
Respons sukses
JSONformat
{
"RequestId": "98696EF0-1607-4E9D-B01D-F20930B6****"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | MissingFileSystemId | FileSystemId is mandatory for this action. | |
| 400 | MissingExportId | ExportId is mandatory for this action. | |
| 400 | MissingProtocolServiceId | ProtocolServiceId is mandatory for this action. | |
| 403 | Instance.IncorrectStatus | The specified instance is in an incorrect status. | |
| 403 | OperationDenied.InvalidMntStatus | The operation is denied due to invalid protocol mount targte status. | |
| 403 | OperationDenied.InvalidPtcStatus | The operation is denied due to invalid protocol service status. | |
| 403 | OperationDenied.InvalidState | The operation is denied due to invalid file system state. | |
| 403 | OperationDenied.NotSupported | The operation is denied due to not supported. | |
| 404 | InvalidFileSystem.NotFound | The specified file system does not exist. | |
| 404 | InvalidProtocolService.NotFound | The specified protocol service does not exist. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.