Mengambil daftar Kode aktivasi yang dipaginasi yang terkait dengan akun Anda. Anda dapat memfilter hasil berdasarkan ID Pesanan atau pengidentifikasi perangkat keras tertentu.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
polardb:DescribeActivationCodes |
get |
*全部资源
|
None | None |
Sintaks permintaan
POST HTTP/1.1
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| AliyunOrderId |
string |
Yes |
ID Pesanan Alibaba Cloud (termasuk Pesanan virtual) yang digunakan untuk membeli Kode aktivasi. |
2233****445566 |
| PageNumber |
integer |
No |
Nomor halaman. |
1 |
| PageSize |
integer |
No |
Jumlah catatan yang dikembalikan per halaman. |
30 |
| MacAddress |
string |
No |
Memfilter daftar untuk hanya mengembalikan Kode aktivasi yang cocok dengan alamat MAC yang ditentukan. |
aa:bb:cc:dd:ee:ff |
| SystemIdentifier |
string |
No |
Memfilter daftar untuk hanya mengembalikan Kode aktivasi yang cocok dengan pengidentifikasi sistem yang ditentukan. |
3312548696141831911 |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| Items |
array<object> |
List of activation codes |
|
|
object |
|||
| ActivateAt |
string |
Effective period |
2024-10-16 16:46:20 |
| Description |
string |
Activation code description |
testCode |
| ExpireAt |
string |
Expiration time |
2054-10-16 16:46:20 |
| GmtCreated |
string |
Creation time |
2024-10-16 16:46:20 |
| GmtModified |
string |
Update time |
2024-10-16 16:46:20 |
| Id |
integer |
Activation code ID |
123 |
| MacAddress |
string |
MAC address |
12:34:56:78:98:00 |
| Name |
string |
Activation code name |
testName |
| SystemIdentifier |
string |
Unique identifier in the database |
1234567890123456 |
| PageNumber |
integer |
Current page number |
1 |
| PageRecordCount |
integer |
Number of records on the current page |
1 |
| RequestId |
string |
The unique ID generated for this request. |
65D7ACE6-4A61-4B6E-B357-8CB24A****** |
| TotalRecordCount |
integer |
Total number of records |
1 |
Contoh
Respons sukses
JSONformat
{
"Items": [
{
"ActivateAt": "2024-10-16 16:46:20\n",
"Description": "testCode",
"ExpireAt": "2054-10-16 16:46:20\n",
"GmtCreated": "2024-10-16 16:46:20\n",
"GmtModified": "2024-10-16 16:46:20\n",
"Id": 123,
"MacAddress": "12:34:56:78:98:00",
"Name": "testName",
"SystemIdentifier": "\t\n1234567890123456"
}
],
"PageNumber": 1,
"PageRecordCount": 1,
"RequestId": "65D7ACE6-4A61-4B6E-B357-8CB24A******",
"TotalRecordCount": 1
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.