Membuat virtual warehouse.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
hologram:CreateHoloWarehouse |
create |
*Instance
|
None | None |
Sintaks permintaan
POST /api/v1/instances/{instanceId}/createHoloWarehouse HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| instanceId |
string |
Yes |
ID instance. Parameter ini wajib diisi. |
hgprecn-cn-i7m2v08uu00a |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| body |
object |
No |
Body permintaan. |
|
| name |
string |
Yes |
Nama virtual warehouse. |
my_warehouse |
| cpu |
string |
Yes |
Spesifikasi virtual warehouse. Nilainya harus kelipatan 16. Nilai minimumnya adalah 16. |
32 |
| clusterCount |
integer |
No |
Jumlah cluster. |
2 |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Objek respons. |
||
| RequestId |
string |
ID permintaan. |
2A8DEF6E-067E-5DB0-BAE1-2894266E6C6A |
| Data |
boolean |
Menunjukkan apakah permintaan berhasil. true: Permintaan berhasil. false: Permintaan gagal. |
true |
Contoh
Respons sukses
JSONformat
{
"RequestId": "2A8DEF6E-067E-5DB0-BAE1-2894266E6C6A",
"Data": true
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.