All Products
Search
Document Center

Elastic Compute Service:DescribeImagePipelineExecutions

Last Updated:Jan 28, 2026

Queries the details of an image creation task.

Operation description

The status of the image creation task. Valid values:

  • PREPARING: Resources, such as intermediate instances, are being created.
  • REPAIRING: The source image is being repaired.
  • BUILDING: The user-defined commands are being run and an image is being created.
  • TESTING: The user-defined test commands are being run.
  • DISTRIBUTING: The created image is being copied and shared.
  • RELEASING: The temporary resources generated during the image creation process are being released.
  • SUCCESS The image creation task is completed.
  • PARTITION_SUCCESS: The image creation task is partially completed. The image is created, but exceptions may occur when the image was copied or shared or when temporary resources were released.
  • FAILED: The image creation task fails.
  • TEST_FAILED: The image is created, but the test fails.
  • CANCELLING: The image creation task is being canceled.
  • CANCELLED: The image creation task is canceled.

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:

  • Operation: the value that you can use in the Action element to specify the operation on a resource.
  • Access level: the access level of each operation. The levels are read, write, and list.
  • Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
    • For mandatory resource types, indicate with a prefix of * .
    • If the permissions cannot be granted at the resource level, All Resources is used in the Resource type column of the operation.
  • Condition Key: the condition key that is defined by the cloud service.
  • Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
OperationAccess levelResource typeCondition keyAssociated operation
ecs:DescribeImagePipelineExecutionsget
*ImagePipelineExecution
acs:ecs:{#regionId}:{#accountId}:imagepipelineexecution/*
*ImagePipelineExecution
acs:ecs:{#regionId}:{#accountId}:imagepipelineexecution/{#ImagePipelineExecutionId}
*ImagePipeline
acs:ecs:{#regionId}:{#accountId}:imagepipeline/*
*ImagePipeline
acs:ecs:{#regionId}:{#accountId}:imagepipeline/{#ImagePipelineId}
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
RegionIdstringYes

The region ID. You can call the DescribeRegions operation to query the most recent region list.

cn-hangzhou
Tagarray<object>No

The tags of the image creation task.

objectNo

Tag N of the image creation task.

KeystringNo

The key of tag N of the image creation task. Valid values of N: 1 to 20.

TestKey
ValuestringNo

null

TestValue
ImagePipelineIdstringNo

The value of tag N of the image creation task. Valid values of N: 1 to 20.

ip-2ze5tsl5bp6nf2b3****
ExecutionIdstringNo

null

exec-5fb8facb8ed7427c****
StatusstringNo

The ID of the image template.

BUILDING
NextTokenstringNo

The ID of the image creation task.

AAAAAdDWBF2****
MaxResultsintegerNo

The status of the image creation task. You can specify multiple values. Separate the values with commas (,). Example: BUILDING,DISTRIBUTING. Valid values:

  • PREPARING: Resources, such as the intermediate instance, are being created.
  • REPAIRING: The source image is being repaired.
  • BUILDING: The user-defined commands are being run and an image is being created.
  • TESTING: The user-defined test commands are being run.
  • DISTRIBUTING: The created image is being copied and shared.
  • RELEASING: The temporary resources generated during the image creation process are being released.
  • SUCCESS: The image creation task is completed.
  • PARTITION_SUCCESS: The image creation task is partially completed. The image is created, but exceptions may occur when the image was copied or shared or when temporary resources were released.
  • FAILED: The image creation task fails.
  • TEST_FAILED: The image is created, but the test fails.
  • CANCELLING: The image creation task is being canceled.
  • CANCELLED: The image creation task is canceled.
Note If you leave this parameter empty, all image creation tasks are queried regardless of task status.
50

Response parameters

ParameterTypeDescriptionExample
object
NextTokenstring

The pagination token that is used in the request to retrieve a new page of results. You do not need to specify this parameter for the first request. You must specify the token that is obtained from the previous query as the value of NextToken.

AAAAAdDWBF2****
RequestIdstring

The maximum number of entries per page. Valid values: 1 to 500

Default value: 50.

473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E
TotalCountinteger

A pagination token. It can be used in the next request to retrieve a new page of results. If NextToken is empty, no next page exists. For information about how to use the returned value, see the "Usage notes" section in this topic.

1
MaxResultsinteger

The request ID.

50
ImagePipelineExecutionarray<object>

The total number of returned image components.

ImagePipelineExecutionSetobject

The maximum number of entries per page.

CreationTimestring

Details of the image creation tasks.

2020-11-24T06:00:00Z
ImagePipelineIdstring

Details of the image creation task.

ip-2ze5tsl5bp6nf2b3****
Statusstring

The time when the image creation task was created.

BUILDING
ModifiedTimestring

The ID of the image template.

2020-11-25T06:00:00Z
ResourceGroupIdstring

The status of the image creation task. Valid values:

  • PREPARING: Resources, such as intermediate instances, are being created.
  • REPAIRING: The source image is being repaired.
  • BUILDING: The user-defined commands are being run and an image is being created.
  • TESTING: The user-defined test commands are being run.
  • DISTRIBUTING: The created image is being copied and shared.
  • RELEASING: The temporary resources generated during the image creation process are being released.
  • SUCCESS The image creation task is completed.
  • PARTITION_SUCCESS: The image creation task is partially completed. The image is created, but exceptions may occur when the image was copied or shared or when temporary resources were released.
  • FAILED: The image creation task fails.
  • TEST_FAILED: The image is created, but the test fails.
  • CANCELLING: The image creation task is being canceled.
  • CANCELLED: The image creation task is canceled.
rg-bp67acfmxazb4p****
Messagestring

The last modification time of the image creation task.

Create transition vpc "vpc-2ze70rc7093j9idu6****" success!
ImageIdstring

The ID of the resource group.

m-bp67acfmxazb4p****
ExecutionIdstring

The data returned.

exec-5fb8facb8ed7427c****
Tagsarray<object>

The ID of the image.

Tagobject

The ID of the image creation task.

TagValuestring

The tags of the image creation task.

TestKey
TagKeystring

The tag of the image creation task.

TestValue

Examples

Sample success responses

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"
            }
          ]
        }
      }
    ]
  }
}

Error codes

HTTP status codeError codeError messageDescription
400InvalidParameter.Status%s-
400MissingParameter.ImagePipelineIdThe specified parameter ImagePipelineId should not be empty.The specified parameter ImagePipelineId should not be empty.
400InvalidExecutionId.SizeExceededExecutionId list exceeds maximum size of %s. Current size is %s.The ExecutionId list size you set exceeds the maximum allowed.
403Invalid.NextTokenThe specified NextToken is not valid.-
404InvalidImagePipeline.NotFound%s-

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
2025-10-31The Error code has changedView Change Details
2024-12-25API Description Update. The Error code has changedView Change Details
2023-04-04The Error code has changedView Change Details