Mengkueri daftar Pesanan.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
polardb:ListOrders |
list |
*全部资源
|
None | None |
Sintaks permintaan
POST HTTP/1.1
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
No |
ID Wilayah. Catatan
Panggil operasi DescribeRegions untuk Tampilan detail Wilayah. |
cn-hangzhou |
| ProductCode |
string |
No |
Kode Produk. |
polardb |
| Category |
string |
No |
Edisi Kluster. Nilai valid:
Catatan
|
Normal |
| ResourceGroupId |
string |
No |
ID kelompok sumber daya. |
rg-************ |
| InstanceId |
string |
No |
ID Instans saat ini. |
pc-2zed3m89cw*** |
| OrderStatus |
string |
No |
Status Pesanan.
|
success |
| PageSize |
integer |
No |
Jumlah entri yang dikembalikan per halaman. Nilai valid:
Nilai default: 30. |
30 |
| PageNumber |
integer |
No |
Nomor halaman. |
1 |
| MaxResults |
integer |
No |
Jumlah maksimum entri yang dikembalikan untuk permintaan saat ini. Nilai default: 10. |
10 |
| NextToken |
string |
No |
Token paginasi. Jika hasil kueri tidak dikembalikan dalam satu panggilan, token ini akan dikembalikan. Gunakan token ini dalam panggilan berikutnya untuk mengambil hasil yang tersisa. |
212db86sca4384811e0b5e8707e****** |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| MaxResults |
integer |
The maximum number of entries returned for the current request. Default value: 10. |
10 |
| NextToken |
string |
A pagination token. If the query results are not returned in a single call, this token is returned. Use this token in a subsequent call to retrieve the remaining results. |
212db86sca4384811e0b5e8707e****** |
| OrderList |
array<object> |
The list of orders. |
|
|
object |
The information about the order instance. |
||
| AliUid |
string |
The ID of the Alibaba Cloud account. |
1910740440664**** |
| ChargeType |
string |
The billing method of the instance. Valid values:
|
Prepaid |
| CommodityCode |
string |
The commodity code. Valid values:
Catatan
|
polardb_payg_intl |
| CreatedTime |
string |
The time when the order was created. |
2021-03-31T16:09:13 |
| InstanceId |
string |
The cluster ID. |
pc-uf6k532gav******* |
| OrderId |
string |
The order ID. |
25808743077***** |
| OrderStatus |
string |
The status of the order.
|
success |
| OrderType |
string |
The type of the order. Valid values:
|
BUY |
| ProduceCode |
string |
The product code. |
polardb |
| Region |
string |
The region information |
cn-hangzhou |
| PageNumber |
integer |
The page number of the returned page. Default value: 1. |
1 |
| PageSize |
integer |
The number of entries returned per page. Valid values:
Default value: 30. |
30 |
| RequestId |
string |
The request ID. |
3AA69096-757C-4647-B36C-29EBC2****** |
| TotalCount |
integer |
The total number of entries. |
7 |
Contoh
Respons sukses
JSONformat
{
"MaxResults": 10,
"NextToken": "212db86sca4384811e0b5e8707e******",
"OrderList": [
{
"AliUid": "1910740440664****",
"ChargeType": "Prepaid",
"CommodityCode": "polardb_payg_intl",
"CreatedTime": "2021-03-31T16:09:13",
"InstanceId": "pc-uf6k532gav*******",
"OrderId": "25808743077*****",
"OrderStatus": "success",
"OrderType": "BUY",
"ProduceCode": "polardb",
"Region": "cn-hangzhou"
}
],
"PageNumber": 1,
"PageSize": 30,
"RequestId": "3AA69096-757C-4647-B36C-29EBC2******",
"TotalCount": 7
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 403 | OperationDenied.Product | The product code is not supported. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.