Memodifikasi informasi tentang fileset.
Deskripsi operasi
Hanya CPFS 2.2.0 dan CPFS for AI Computing 2.7.0 atau yang lebih baru yang mendukung modifikasi informasi fileset.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
nas:ModifyFileset |
update |
*Fileset
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| FileSystemId |
string |
Yes |
ID sistem file.
|
bmcpfs-290w65p03ok64ya**** |
| FsetId |
string |
Yes |
ID fileset. |
fset-1902718ea0ae**** |
| Description |
string |
No |
Deskripsi fileset. |
test |
| DryRun |
boolean |
No |
Menentukan apakah akan melakukan dry run untuk permintaan modifikasi. Dry run memeriksa validitas parameter dan inventaris. Operasi ini tidak benar-benar memodifikasi instance dan tidak menimbulkan biaya. Nilai yang valid:
|
false |
| DeletionProtection |
boolean |
No |
Atribut perlindungan pelepasan instance. Menentukan apakah instance diizinkan untuk dilepaskan melalui konsol atau dengan memanggil operasi DeleteFileset.
Catatan
Atribut ini hanya membatasi operasi pelepasan manual dan tidak berlaku untuk operasi pelepasan sistem. |
false |
| ClientToken |
string |
No |
Token klien yang digunakan untuk memastikan idempotensi permintaan. Buat nilai dari klien Anda untuk memastikan nilai tersebut unik di antara permintaan yang berbeda. Parameter ClientToken hanya mendukung karakter ASCII dan 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 mungkin berbeda untuk setiap permintaan API. |
123e4567-e89b-12d3-a456-42665544**** |
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 | IllegalCharacters | The parameter contains illegal characters. | |
| 400 | MissingFileSystemId | FileSystemId is mandatory for this action. | |
| 400 | MissingFsetId | FsetId is mandatory for this action. | |
| 400 | InvalidFilesetId.NotFound | Invalid FilesetId. | |
| 403 | OperationDenied.DependencyViolation | The operation is denied due to dependancy violation. | |
| 403 | OperationDenied.FilesetNotSupported | The operation is not supported. | |
| 404 | InvalidFileSystem.NotFound | The specified file system does not exist. | |
| 404 | InvalidFsetId.NotFound | The specified Fileset ID does not exist. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.