All Products
Search
Document Center

Hologres:CreateWarehouse

Last Updated:Jun 10, 2026

Membuat warehouse.

Coba sekarang

Coba API ini di OpenAPI Explorer tanpa perlu penandatanganan manual. Panggilan yang berhasil akan secara otomatis menghasilkan contoh kode SDK sesuai dengan parameter Anda. Unduh kode tersebut dengan kredensial bawaan yang aman untuk penggunaan lokal.

Test

RAM authorization

Tidak ada otorisasi untuk operasi ini. Jika Anda mengalami masalah saat menjalankan operasi ini, hubungi dukungan teknis.

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. true indicates success, and false indicates failure.

Valid values:

  • true :

    Success

  • false :

    Failure

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 :

    Success

  • false :

    Failure

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.