Call the OpenOnsService operation to activate the ApsaraMQ for RocketMQ service.
Operation description
Before you use ApsaraMQ for RocketMQ for the first time, you must call this operation to activate the service.
You can activate the ApsaraMQ for RocketMQ service only in the China (Hangzhou) region. No fees are charged for service activation.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
No parameters required.
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. This is a common parameter. Each request has a unique ID that you can use to troubleshoot issues. |
8C5B4603-8977-4513-AB60-9C3E2F88**** |
| OrderId |
string |
The order ID. |
2068689****0272 |
Examples
Success response
JSON format
{
"RequestId": "8C5B4603-8977-4513-AB60-9C3E2F88****",
"OrderId": "2068689****0272"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | OrderOpend | 您已开通,请前往控制台使用。 | |
| 400 | PermissionDenied | 当前子账号无权限,请为子账号授权。 | |
| 400 | PriceWanHuaTongSys | 询价调用万花筒错误。 |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.