This operation queries a list of license orders.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
polardb:DescribeLicenseOrders |
get |
*All Resource
|
None | None |
Request syntax
POST HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| PageSize |
integer |
No |
The number of records to return on each page. |
30 |
| PageNumber |
integer |
No |
The page number to query. |
1 |
| AliyunOrderId |
string |
No |
The Alibaba Cloud order ID. This can be a virtual order ID. |
239618016570503 |
| PurchaseChannel |
string |
No |
The purchase channel. Valid values: `aliyun_market` (Alibaba Cloud Marketplace) and `aliyun_public` (standard purchase page). |
aliyun_market |
| PackageType |
string |
No |
The package type. Valid values:
|
single_node_subscribe |
| VirtualOrder |
boolean |
No |
Specifies whether to query only virtual orders. Valid values:
|
true |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| Items |
array<object> |
The list of orders. |
|
|
object |
|||
| ActivatedCodeCount |
integer |
The number of activation codes that have been generated. |
10 |
| ActivationCodeQuota |
integer |
The quota for requesting activation codes. |
10 |
| AliyunOrderId |
string |
The Alibaba Cloud order ID or virtual order ID. |
227638319690519 |
| AllowEmptySystemIdentifier |
boolean |
Specifies whether the System Identifier can be left empty when an activation code is generated. |
false |
| Engine |
string |
The database type, such as PG, Oracle, or MySQL. |
PG |
| GmtCreated |
string |
The creation time. |
2022-02-11 03:14:15 |
| GmtModified |
string |
The update time. |
2022-02-11 03:14:15 |
| IsVirtualOrder |
boolean |
Indicates whether the order is a virtual order. Virtual orders allow for pre-generating activation codes. |
false |
| IsVirtualOrderFrozen |
boolean |
Indicates whether the virtual order is frozen. No more activation codes can be generated from a frozen order. |
false |
| PackageType |
string |
The package type. Valid values:
|
single_node_subscribe |
| PackageValidity |
string |
The validity period of the package. Common options are one year or long-term (30 years). |
1 year |
| PurchaseChannel |
string |
The purchase channel. Valid values: `aliyun_market` (Alibaba Cloud Marketplace) and `aliyun_public` (standard purchase page). |
aliyun_public |
| VirtualAliyunOrderId |
string |
The virtual order ID. |
227638319690519 |
| PageNumber |
integer |
The current page number. |
1 |
| PageRecordCount |
integer |
The number of records on the current page. |
12 |
| RequestId |
string |
The request ID. |
34458CD3-33E0-4624-BFEF-840C15****** |
| TotalRecordCount |
integer |
The total number of records. |
50 |
Examples
Success response
JSON format
{
"Items": [
{
"ActivatedCodeCount": 10,
"ActivationCodeQuota": 10,
"AliyunOrderId": "227638319690519",
"AllowEmptySystemIdentifier": false,
"Engine": "PG",
"GmtCreated": "2022-02-11 03:14:15",
"GmtModified": "2022-02-11 03:14:15",
"IsVirtualOrder": false,
"IsVirtualOrderFrozen": false,
"PackageType": "single_node_subscribe",
"PackageValidity": "1 year",
"PurchaseChannel": "aliyun_public",
"VirtualAliyunOrderId": "227638319690519"
}
],
"PageNumber": 1,
"PageRecordCount": 12,
"RequestId": "34458CD3-33E0-4624-BFEF-840C15******",
"TotalRecordCount": 50
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.