Creates or retrieves a virtual certificate order.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
polardb:CreateOrGetVirtualLicenseOrder |
create |
*All Resource
|
None | None |
Request syntax
POST HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Engine |
string |
Yes |
The engine type. Valid values: PG, Oracle, and MySQL. Valid values:
|
PG |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| ActivatedCodeCount |
integer |
The number of activation codes that have been generated. |
1 |
| ActivationCodeQuota |
integer |
The quota of activation codes that can be requested. |
10 |
| AliyunOrderId |
string |
The Alibaba Cloud order ID, which includes the virtual order ID. |
2233****445566 |
| AllowEmptySystemIdentifier |
boolean |
Indicates whether the System Identifier can be left empty when generating an activation code. |
false |
| GmtCreated |
string |
The time when the order was created. |
2024-10-16 16:46:20 |
| GmtModified |
string |
The time when the order was last updated. |
2024-10-16 16:46:20 |
| IsVirtualOrder |
boolean |
Indicates whether the order is a virtual order. Virtual orders allow pre-generation of activation codes. |
true |
| IsVirtualOrderFrozen |
boolean |
Indicates whether the virtual order is frozen. A frozen virtual order does not allow further generation of activation codes. |
false |
| PackageType |
string |
The package type. |
pre_generation_long_term |
| PackageValidity |
string |
The validity period of the package. Typical values are one year or long-term (30 years). |
30 years |
| PurchaseChannel |
string |
The purchase channel. |
aliyun_market |
| RequestId |
string |
Id of the request |
45D24263-7E3A-4140-9472-************ |
| VirtualOrderId |
string |
The virtual order ID. |
2024********483 |
Examples
Success response
JSON format
{
"ActivatedCodeCount": 1,
"ActivationCodeQuota": 10,
"AliyunOrderId": "2233****445566",
"AllowEmptySystemIdentifier": false,
"GmtCreated": "2024-10-16 16:46:20",
"GmtModified": "2024-10-16 16:46:20",
"IsVirtualOrder": true,
"IsVirtualOrderFrozen": false,
"PackageType": "pre_generation_long_term",
"PackageValidity": "30 years",
"PurchaseChannel": "aliyun_market",
"RequestId": "45D24263-7E3A-4140-9472-************",
"VirtualOrderId": "2024********483"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.