Menampilkan daftar status paket perangkat lunak instans.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
oos:ListInstancePackageStates |
list |
*Template.
|
|
None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| TemplateNames |
string |
No |
Daftar nama ekstensi. |
["template1","template2"] |
| RegionId |
string |
No |
ID wilayah. |
cn-hangzhou |
| InstanceId |
string |
Yes |
ID Instance ECS. |
i-bp1cpoxxxwxxxxxxxxxx |
| MaxResults |
integer |
No |
Jumlah entri per halaman. |
50 |
| NextToken |
string |
No |
Token paginasi. |
MTRBMDc0NjAtRUJFNy00N0NBLTk3NTctzxxxxxxx |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Skema tanggapan. |
||
| RequestId |
string |
ID permintaan. |
1306108F-610C-40FD-AAD5-XXXXXX |
| MaxResults |
string |
Jumlah entri per halaman. |
50 |
| NextToken |
string |
Token yang digunakan untuk memulai kueri berikutnya. |
MTRBMDc0NjAtRUJFNy00N0NBLTk3NTctzxxxxxxx |
| PackageStates |
array<object> |
Daftar ekstensi. |
|
|
object |
|||
| TemplateId |
string |
ID templat. |
087b1e11072a40259f6fxxxxxxxxx |
| TemplateName |
string |
Nama templat. |
ACS-ECS-Docker |
| TemplateVersion |
string |
Nomor versi templat. |
v3 |
| TemplateVersionName |
string |
Nama versi templat. |
fix bug |
| TemplateCategory |
string |
Tipe templat. |
Package |
| UpdateTime |
string |
Waktu pembaruan dalam format ISO 8601. |
2024-05-04T11:17:28 |
| Description |
string |
Deskripsi. |
template description |
| Publisher |
string |
Penerbit. |
Alibaba Cloud |
| Parameters |
string |
Parameter. |
{} |
| ConfigurationInfo |
string |
Informasi konfigurasi ekstensi. |
{\"publicUrl\": \"https://47.110.64.186:8888/5eff94f8\", \"privateUrl\": \"https://172.20.160.110:8888/5eff94f8\", \"username\": \"user\", \"password\": \"baotaOSuaOHt\"}\n |
Contoh
Respons sukses
JSONformat
{
"RequestId": "1306108F-610C-40FD-AAD5-XXXXXX",
"MaxResults": "50",
"NextToken": "MTRBMDc0NjAtRUJFNy00N0NBLTk3NTctzxxxxxxx",
"PackageStates": [
{
"TemplateId": "087b1e11072a40259f6fxxxxxxxxx",
"TemplateName": "ACS-ECS-Docker",
"TemplateVersion": "v3",
"TemplateVersionName": "fix bug",
"TemplateCategory": "Package",
"UpdateTime": "2024-05-04T11:17:28",
"Description": "deskripsi templat",
"Publisher": "Alibaba Cloud",
"Parameters": "{}",
"ConfigurationInfo": "{\\\"publicUrl\\\": \\\"https://47.110.64.186:8888/5eff94f8\\\", \\\"privateUrl\\\": \\\"https://172.20.160.110:8888/5eff94f8\\\", \\\"username\\\": \\\"user\\\", \\\"password\\\": \\\"baotaOSuaOHt\\\"}\\n"
}
]
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.