Membuat warehouse.
Coba sekarang
Test
RAM authorization
Sintaks permintaan
POST /api/v1/warehouse/{instanceId}/create HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| instanceId |
string |
No |
ID Instans. |
hgpostcn-cn-j672yny9g001 |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
No |
ID Wilayah. |
cn-hangzhou |
| body |
object |
No |
Badan permintaan. |
|
| warehouseName |
string |
No |
The warehouse name. |
warehouse-test |
| cpu |
string |
No |
The number of CPU cores. |
32 |
| config |
string |
No |
The configuration settings. |
"" |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
The data returned. |
||
| RequestId |
string |
The request ID. |
2A8DEF6E-067E-5DB0-BAE1-2894266E6C6A |
| Data |
boolean |
The result of the creation operation. Valid values:
|
true |
| HttpStatusCode |
string |
The HTTP status code. |
200 |
| Success |
string |
Indicates whether the API call was successful. This does not reflect the outcome of the business operation. Valid values:
|
true |
| ErrorMessage |
string |
The error message for a failed request. |
null |
Contoh
Respons sukses
JSONformat
{
"RequestId": "2A8DEF6E-067E-5DB0-BAE1-2894266E6C6A",
"Data": true,
"HttpStatusCode": "200",
"Success": "true",
"ErrorMessage": "null"
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.