Memanggil operasi OnsInstanceCreate untuk membuat instans.
Deskripsi operasi
This operation supports only the creation of standard instances. It does not support Platinum instances. The ApsaraMQ for RocketMQ console supports the creation of both standard and Platinum instances. For more information, see Instance management.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
mq:CreateInstance |
create |
*全部资源
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| Remark |
string |
No |
Deskripsi instans. |
备注说明 |
| InstanceName |
string |
Yes |
Nama instans. Nama harus memenuhi persyaratan berikut:
|
测试实例 |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. This ID is unique to each request. You can use this ID to troubleshoot issues. |
A07E3902-B92E-44A6-B6C5-6AA111111**** |
| Data |
object |
The data returned. |
|
| InstanceId |
string |
The ID of the created instance. |
MQ_INST_188077086902****_BXSuW61e |
| InstanceType |
integer |
The type of the created instance. Valid value:
|
1 |
Contoh
Respons sukses
JSONformat
{
"RequestId": "A07E3902-B92E-44A6-B6C5-6AA111111****",
"Data": {
"InstanceId": "MQ_INST_188077086902****_BXSuW61e",
"InstanceType": 1
}
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.