Menginisialisasi disk dengan memanggil ReInitDisk.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ens:ReInitDisk |
create |
*Disk
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| DiskId |
string |
Yes |
ID disk yang akan direset. Hanya satu disk yang dapat direset. |
d-5r7v69e0bejrnzger09w71yjv |
| ImageId |
string |
Yes |
ID file image. Sumber daya image yang dipilih saat memulai instance. |
m-5rz3i231o531s4p4ozanxmgx7 |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| Code |
integer |
Kode bisnis. 0 dikembalikan jika operasi berhasil. |
0 |
| RequestId |
string |
ID permintaan. |
4DD66F05-3116-4BAA-B588-52EB2E7F431D |
Contoh
Respons sukses
JSONformat
{
"Code": 0,
"RequestId": "4DD66F05-3116-4BAA-B588-52EB2E7F431D"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | MissingParameter | The input parameters that is mandatory for processing this request is not supplied. | |
| 400 | InstanceIdNotFound | The input parameter instancdId that is not found. | |
| 400 | NoPermission | Permission denied. | |
| 400 | CallInterface | Call Interface Happen Error. | |
| 400 | InvalidParameter.%s | The specified field %s invalid. Please check it again. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.