Memanggil DescribeImagePipelineExecutions untuk mengkueri detail tugas pembuatan image.
Deskripsi operasi
Deskripsi
ID templat image
ImagePipelineIdyang ditentukan tidak boleh merupakan ID templat image yang telah dihapus. Ketika templat image dihapus, tugas pembuatan yang sesuai juga dihapus.ID templat image
ImagePipelineIddan ID tugas pembuatanExecutionIdtidak boleh kosong secara bersamaan.Anda dapat mengatur token kueri
NextToken. Nilainya adalah nilaiNextTokenyang dikembalikan dalam pemanggilanDescribeImagePipelineExecutionssebelumnya. GunakanMaxResultsuntuk mengatur jumlah entri maksimum per halaman untuk kueri.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ecs:DescribeImagePipelineExecutions |
get |
*ImagePipelineExecution
*ImagePipelineExecution
*ImagePipeline
*ImagePipeline
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
ID wilayah. Anda dapat memanggil DescribeRegions untuk melihat daftar wilayah Alibaba Cloud terbaru. |
cn-hangzhou |
| Tag |
array<object> |
No |
Daftar tag. |
|
|
object |
No |
Objek tag. |
||
| Key |
string |
No |
Kunci tag. Nilai valid N: 1 hingga 20. |
TestKey |
| Value |
string |
No |
Nilai tag. Nilai valid N: 1 hingga 20. |
TestValue |
| RegionId |
string |
Yes |
The region ID. You can call DescribeRegions to view the latest list of Alibaba Cloud regions. |
cn-hangzhou |
| ImagePipelineId |
string |
No |
ID templat image. |
ip-2ze5tsl5bp6nf2b3**** |
| ExecutionId |
string |
No |
ID tugas pembuatan image. |
exec-5fb8facb8ed7427c**** |
| Status |
string |
No |
Status tugas pembuatan image. Anda dapat menentukan beberapa nilai sekaligus, dipisahkan dengan koma (,). Format contoh:
Catatan
Ketika nilai parameter kosong, tugas pembuatan image dalam semua status akan dikueri secara default. |
BUILDING |
| NextToken |
string |
No |
Token kueri. Atur parameter ini ke nilai |
AAAAAdDWBF2**** |
| MaxResults |
integer |
No |
Jumlah entri per halaman saat melakukan paginasi kueri. Nilai valid: 1 hingga 500. Nilai default: 50. |
50 |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| NextToken |
string |
Token kueri (Token) yang dikembalikan untuk pemanggilan ini. Untuk detail cara menggunakannya, lihat deskripsi API. |
AAAAAdDWBF2**** |
| RequestId |
string |
ID permintaan. |
473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E |
| TotalCount |
integer |
Jumlah komponen image yang dikembalikan. |
1 |
| MaxResults |
integer |
Jumlah entri per halaman saat melakukan paginasi kueri. |
50 |
| ImagePipelineExecution |
object |
||
| ImagePipelineExecutionSet |
array<object> |
Daftar yang terdiri dari detail tugas pembuatan image. |
|
|
array<object> |
Detail tugas pembuatan image. |
||
| CreationTime |
string |
The time when the image pipeline execution was created. |
2020-11-24T06:00:00Z |
| ImagePipelineId |
string |
The ID of the image pipeline. |
ip-2ze5tsl5bp6nf2b3**** |
| Status |
string |
The status of the image pipeline execution. Valid values:
|
BUILDING |
| ModifiedTime |
string |
The time when the execution was last updated. |
2020-11-25T06:00:00Z |
| ResourceGroupId |
string |
The ID of the resource group. |
rg-bp67acfmxazb4p**** |
| Message |
string |
The message returned for the execution. |
Create transition vpc "vpc-2ze70rc7093j9idu6****" success! |
| ImageId |
string |
The ID of the destination image. |
m-bp67acfmxazb4p**** |
| ExecutionId |
string |
The ID of the execution. |
exec-5fb8facb8ed7427c**** |
| Tags |
object |
||
| Tag |
array<object> |
A list of tags. |
|
|
object |
A tag that consists of a key-value pair. |
||
| TagValue |
string |
The tag value. |
TestKey |
| TagKey |
string |
The tag key. |
TestValue |
| ErrorCode |
string |
NO_AVAILABLE_INSTANCE_TYPE |
|
| ErrorInfo |
string |
No available instance type to use. |
Contoh
Respons sukses
JSONformat
{
"NextToken": "AAAAAdDWBF2****",
"RequestId": "473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E",
"TotalCount": 1,
"MaxResults": 50,
"ImagePipelineExecution": {
"ImagePipelineExecutionSet": [
{
"CreationTime": "2020-11-24T06:00:00Z",
"ImagePipelineId": "ip-2ze5tsl5bp6nf2b3****",
"Status": "BUILDING",
"ModifiedTime": "2020-11-25T06:00:00Z",
"ResourceGroupId": "rg-bp67acfmxazb4p****",
"Message": "Create transition vpc \"vpc-2ze70rc7093j9idu6****\" success!",
"ImageId": "m-bp67acfmxazb4p****",
"ExecutionId": "exec-5fb8facb8ed7427c****",
"Tags": {
"Tag": [
{
"TagValue": "TestKey",
"TagKey": "TestValue"
}
]
},
"ErrorCode": "NO_AVAILABLE_INSTANCE_TYPE",
"ErrorInfo": "No available instance type to use."
}
]
}
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidParameter.Status | %s | |
| 400 | MissingParameter.ImagePipelineId | The specified parameter ImagePipelineId should not be empty. | |
| 400 | InvalidExecutionId.SizeExceeded | ExecutionId list exceeds maximum size of %s. Current size is %s. | |
| 403 | Invalid.NextToken | The specified NextToken is not valid. | |
| 404 | InvalidImagePipeline.NotFound | %s |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.