Viewing the Release Task Execution Record Based on the Release Task ID
Function
This API is used to view the release task execution history based on the release task ID.
Authorization Information
Each account has all of the permissions required to call all APIs, but IAM users must have the required permissions specifically assigned.
- If you are using role/policy-based authorization, see the required permissions in Permissions and Supported Actions.
- If you are using identity policy-based authorization, the permission listed below is required.
Action
Access Level
Resource Type (*: required)
Condition Key
Alias
Dependencies
servicestage:pipeline:get
read
pipeline *
-
-
-
URI
GET /v3/{project_id}/pipeline/pipelines/{id}/records
| Parameter | Mandatory | Type | Description |
|---|---|---|---|
| project_id | Yes | String | Definition Tenant's project ID. See Obtaining a Project ID. Constraints N/A Range N/A Default Value N/A |
| id | Yes | String | Definition Release task ID. See Obtaining the Release Task List. Constraints N/A Range N/A Default Value N/A |
Request
| Parameter | Mandatory | Type | Description |
|---|---|---|---|
| Content-Type | Yes | String | Definition Message body type (or format). Constraints N/A Range application/json;charset=utf8 Default Value N/A |
| X-Auth-Token | Yes | String | Definition API calling can be authenticated using a token or AK/SK. If you use a token, this parameter is mandatory and must be set to the token. For details about how to obtain the token, see Authentication. Constraints N/A Range N/A Default Value N/A |
Response
| Parameter | Type | Description |
|---|---|---|
| count | Integer | Number of records. |
| records | Array of objects | Record details. See Table 4. |
| Parameter | Type | Description |
|---|---|---|
| trigger | Integer | Executor. |
| version | Array of objects | Release task version. |
| id | Integer | Release task execution ID. See Operating a Release Task Based on the Release Task ID. |
| pipeline_id | String | Release task ID. |
| trigger_type | Integer | Execution type. |
| trigger_at | Integer | Execution start time. |
| trigger_end | Integer | Execution end time. |
| status | Integer | Release task status. |
| pipeline_declaration | Object | See Table 5. |
| Parameter | Type | Description |
|---|---|---|
| sources | Array of objects | Template package list. See Table 6. |
| stages | Array of objects | Stage parameters. See Table 9. |
| enterprise_project_id | String | Enterprise project ID. |
| name | String | Release task name. |
| description | String | Release task description. |
| Parameter | Type | Description |
|---|---|---|
| template_source | Object | Template package information. See Table 7. |
| input_values | Map<String, String> | Template package input information. |
| Parameter | Type | Description |
|---|---|---|
| storage | String | Storage mode of the component template package.
|
| url | String | Address of the component template package. This parameter is valid only when the component template package storage mode is http. |
| http_username | String | Username. This parameter is valid only when the component template package storage mode is http and the security authentication mode is username and password authentication. |
| http_password | String | Password. This parameter is valid only when the component template package storage mode is http and the security authentication mode is username and password authentication. |
| http_headers | Array of objects | Request header. See Table 8. This parameter is valid only when the component template package storage mode is http and the security authentication mode is custom header authentication. |
| Parameter | Type | Description |
|---|---|---|
| key | String | Definition Request key. Range N/A |
| value | String | Definition Request value. Range N/A |
| Parameter | Type | Description |
|---|---|---|
| name | String | Stage name, which is unique in a release task. |
| display_name | String | Display name of a stage. If this parameter is left blank, the value is the same as the stage name. |
| task_group | Array of objects | Task group. The parameters in the task group must correspond to the group_index field in Table 10. |
| tasks | Array of objects | Task parameters. See Table 10. |
| Parameter | Type | Description |
|---|---|---|
| name | String | Task name, which is unique in a single stage. |
| display_name | String | Display name of a task. If this parameter is left blank, the value is the same as the task name. |
| order_index | Integer | Task execution sequence. Tasks with the same group_index value belong to the same task group. The execution sequence is unique in a task group. |
| group_index | String | Task group. If the task groups are the same, the tasks are in the same group. The value is the same as that of task_group in Table 9. |
| task_type_id | Object | Task execution parameters. See Table 11. |
| input | Object | Task execution parameter, which is determined based on the task type. |
| Parameter | Type | Description |
|---|---|---|
| category | String | Task type.
|
| type | String | Task execution type.
|
| Parameter | Type | Description |
|---|---|---|
| name | String | Build job name. |
| id | String | Build job ID. |
| enterprise_project_id | String | Enterprise project ID of a build job. |
| Parameter | Type | Description |
|---|---|---|
| mode | String | If this field is left blank, no person needs to be specified for approval.
|
| users | Array of objects | Approver. If this parameter is left blank, no approver is required. See Table 14. |
| Parameter | Type | Description |
|---|---|---|
| id | String | User ID. |
| label | String | User label, which is displayed on the frontend. |
| name | String | User name, which is displayed on the frontend. |
| Parameter | Type | Description |
|---|---|---|
| name | String | Application name. |
| description | String | Application description. |
| enterprise_project_id | String | Enterprise project ID. |
| Parameter | Type | Description |
|---|---|---|
| id | String | Application component ID. |
| name | String | Application component name. The value contains 2 to 64 characters consisting of letters, digits, hyphens (-), and underscores (_). It starts with a letter and ends with a letter or digit. |
| workload_name | String | Workload name. |
| labels | Array of objects | Label. For container-based deployment, you can query a workload by label. For VM-based deployment, you can configure a label of the corresponding microservice name to use graceful startup and shutdown. See Table 17. |
| runtime_stack | Object | Runtime. See Table 43. The value can be obtained from the response of the API for Querying a Technology Stack. |
| environment_id | String | Environment ID. |
| description | String | Description. The value can contain up to 128 characters. |
| source | Object | Source of the code or software package. See Table 44. |
| build | Object | Component building. This parameter is mandatory when the component is deployed in containers and no image is used. For details, see Table 45. |
| limit_cpu | Number | Maximum CPU limit. Unit: core. |
| limit_memory | Number | Maximum memory size. Unit: GiB. |
| request_cpu | Number | Requested CPU resources. Unit: core. |
| request_memory | Number | Requested memory. Unit: GiB. |
| version | String | Component version number. The value can contain up to 32 characters. It needs to meet the following rule: ^([0-9]+)(\.[0-9]+){2,3}$ |
| envs | Array of objects | Environment variable list. See Table 41. |
| replica | Integer | Number of instances. |
| storages | Array of objects | Storage. See Table 18. |
| deploy_strategy | Object | Component deployment. See Table 21. |
| command | Object | Startup command. See Table 25. |
| post_start | Object | Post-start processing. See Table 26. |
| pre_stop | Object | Pre-stop processing. See Table 26. |
| mesher | Object | Multi-language access service mesh. This parameter is mandatory when Node.js is selected for the technology stack and the microservice engine is bound. See Table 27. |
| timezone | String | Time zone where the component runs. |
| jvm_opts | String | JVM parameter. Example: -Xms256m -Xmx1024m. If there are multiple parameters, separate them by spaces. If the parameter is left blank, the default value is used. |
| tomcat_opts | Object | Tomcat parameter. This parameter is valid when you use the Tomcat technology stack. See Table 28. |
| host_aliases | Array of objects | Host alias. See Table 29. |
| dns_policy | String | DNS policy.
|
| dns_config | Object | DNS configuration. See Table 30. |
| workload_kind | String | Workload type.
|
| security_context | Object | Security policy. See Table 32. |
| logs | Array of objects | Log collection. See Table 34. |
| custom_metric | Object | Custom metrics. See Table 35. |
| affinity | Array of objects | Affinity. See Table 36. |
| anti_affinity | Array of objects | Anti-affinity. See Table 36. |
| liveness_probe | Object | Component liveness probe. See Table 38. |
| readiness_probe | Object | Component service probe. See Table 38. |
| startup_probe | Object | Component startup probe. See Table 38. |
| refer_resources | Array of objects | Associated resource. See Table 39. |
| external_accesses | Array of objects | External access. See Table 47. |
| tolerations | Array of objects | Tolerance policy. See Table 48. |
| container_name | String | Container name. |
| update_strategy | Object | Component upgrade strategy. See Table 51. |
| multi_containers | Array of objects | Multi-container configuration. See Table 49. |
| service_name | String | Service name configured for the inter-instance discovery of a StatefulSet. |
| ports | Array of objects | Port configured for the inter-instance discovery of a StatefulSet. For details, see Table 50. |
| workload_content | String | Workload content. |
| configs | Array of objects | Unified component configuration. See Table 52. |
| config_mode | String | Workload configuration mode. |
| enable_sermant_injection | Boolean | Whether to enable Sermant. |
| enable_sermant_spring_register | Boolean | Whether Spring Cloud Huawei microservices need to be registered with registry centers through Sermant. |
| enable_sermant_dubbo_register | Boolean | Whether Dubbo microservices need to be registered with registry centers through Sermant. |
| enable_sermant_config | Boolean | Whether to enable the Sermant dynamic configuration plug-in. |
| cell_id | String | Deployment cell ID. |
| swimlane_id | String | Lane ID. |
| sermantAgentInjectActionFlag | Boolean | Whether JDK 17 and JDK 21 automatically add the following JVM environment variables: JDK 17: --add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/java.net=ALL-UNNAMED --add-opens java.base/java.math=ALL-UNNAMED --add-opens java.base/sun.net.www=ALL-UNNAMED --add-opens java.base/sun.net.www.protocol.http=ALL-UNNAMED JDK 21: --add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/java.net=ALL-UNNAMED --add-opens java.base/java.math=ALL-UNNAMED --add-opens java.base/sun.net.www=ALL-UNNAMED --add-opens java.base/sun.net.www.protocol.http=ALL-UNNAMED -Dnet.bytebuddy.experimental=true |
| sys_config | Map<String, String> | Uses a compressed package to deploy component configuration items in the VM environment. |
| image_pull_secrets | Array of strings | List of image pull secrets. |
| auto_lts_config | Object | Automatic LTS configuration. See Table 53. |
| config_encryption | Object | This parameter is mandatory when the encryption key is configured for a single-container component. See Table 54. |
| task_setting | Object | Task settings for a job workload. See Table 55. |
| Parameter | Type | Description |
|---|---|---|
| key | String | Definition Label name. Range N/A |
| value | String | Definition Label value. Range N/A |
| Parameter | Type | Description |
|---|---|---|
| type | String | Data storage type.
|
| name | String | Name of the storage disk. |
| parameters | Object | For details about the parameters of each data storage type, see Table 19. |
| mounts | Array of objects | Mount path of data storage. See Table 20. |
| Parameter | Type | Description |
|---|---|---|
| path | String | Definition Host path. This parameter is applicable to the HostPath storage type. Range N/A |
| name | String | Definition Name of a configuration item, secret, or PVC, which is applicable to ConfigMap, Secret, or PersistentVolumeClaim storage, respectively. Range N/A |
| default_mode | Integer | Definition Mounting permission. The value is in decimal format. Example: 384. This parameter is applicable to ConfigMap and secret storage. Range N/A |
| medium | String | Definition This parameter is applicable to the EmptyDir storage type. Example: memory. Range N/A |
| Parameter | Type | Description |
|---|---|---|
| path | String | Definition Mount path. Range N/A |
| sub_path | String | Definition Subpath of the mount path. Range N/A |
| read_only | Boolean | Definition Read-only or not. Range
|
| Parameter | Type | Description |
|---|---|---|
| type | String | Deployment type.
|
| rolling_release | Object | Rolling deployment parameter, which is mandatory when type is set to RollingRelease. For details, see Table 22. |
| gray_release | Object | Dark launch upgrade parameter, which is mandatory when type is set to GrayRelease. For details, see Table 23. |
| Parameter | Type | Description |
|---|---|---|
| type | String | Dark launch policy.
|
| first_batch_weight | Integer | Proportion of first-batch dark launch traffic. This parameter is mandatory when type is set to WEIGHT. |
| first_batch_replica | Integer | Number of first-batch dark launch instances. This parameter is mandatory when type is set to WEIGHT. |
| remaining_batch | Integer | Number of batches for remaining instance deployment. After the first batch is completed, the remaining instances will be deployed in specified batches. Example: If there are five instances remaining to be deployed in three batches, these five instances will be upgraded based on 2:2:1. This parameter is mandatory when type is set to WEIGHT. |
| deployment_mode | Integer | Deployment mode.
|
| replica_surge_mode | String | Mode of adding a dark launch instance. This parameter is mandatory when type is set to CONTENT.
|
| rule_match_mode | String | Effective mode of a dark launch rule. This parameter is mandatory when type is set to CONTENT.
|
| rules | Object | Dark launch rule. See Table 24. This parameter is mandatory when type is set to CONTENT. |
| Parameter | Type | Description |
|---|---|---|
| type | String | Definition Match type. Range HEADER: request header |
| key | String | Definition Parameter name. Range N/A |
| value | String | Definition Condition value. Range N/A |
| condition | String | Definition Condition type. Range
|
| Parameter | Type | Description |
|---|---|---|
| command | Array of strings | Definition Command for controlling container running. Range N/A |
| args | Array of strings | Definition Parameter for controlling container running. Example: -port=8080. If there are multiple parameters, separate them by line breaks. Range N/A |
| Parameter | Type | Description |
|---|---|---|
| type | String | Definition Processing method. Range
|
| scheme | String | Definition HTTP request type. This parameter is valid only when type is set to http. Range
|
| host | String | Definition Custom IP address. If this parameter is left blank, the pod IP address is used. This parameter is valid only when type is set to http. Range N/A |
| port | Integer | Definition Port number. This parameter is valid only when type is set to http. Range N/A |
| path | String | Definition Request path. This parameter is valid only when type is set to http. Range N/A |
| command | Array of strings | Definition Command list. This parameter is valid only when type is set to command. Range N/A |
| Parameter | Type | Description |
|---|---|---|
| port | Integer | Definition Process listening port. Range N/A |
| Parameter | Type | Description |
|---|---|---|
| server_xml | String | Definition
Range N/A |
| Parameter | Type | Description |
|---|---|---|
| ip | String | Definition IP address. Range N/A |
| hostname | Array of strings | Definition Host alias. Range N/A |
| Parameter | Type | Description |
|---|---|---|
| nameservers | Array of strings | IP address list of the DNS server of the pod. |
| searches | Array of strings | (Optional) List of DNS search domains used to search for host names in the pod. |
| options | Array of objects | (Optional) List of objects. Each object may have a name (mandatory) and a value (optional). The contents of the objects here will be merged into the options generated from the specified DNS policy. Duplicate entries will be deleted. See Table 31. |
| Parameter | Type | Description |
|---|---|---|
| name | String | Definition Operation name. Range N/A |
| value | String | Definition Operation value. Range N/A |
| Parameter | Type | Description |
|---|---|---|
| run_as_user | Integer | User for running containers. Example: To run containers as user root, set the user ID to 0. |
| run_as_group | Integer | Owner group specified for running container processes. |
| capabilities | Object | Capability set. See Table 33. |
| Parameter | Type | Description |
|---|---|---|
| add | Array of strings | Definition Grant the Linux permission to the running user. Range N/A |
| drop | Array of strings | Definition Remove the Linux permission of the running user. Range N/A |
| Parameter | Type | Description |
|---|---|---|
| log_path | String | Definition Container log path. Range N/A |
| rotate | String | Definition Interval for dumping logs. Range N/A |
| host_path | String | Definition Mounted host path. Range N/A |
| host_extend_path | String | Definition Host extension path. By extending the host path, you can distinguish mounting from different containers in the same host path. Range
|
| Parameter | Type | Description |
|---|---|---|
| path | String | Definition Collection path. Example: /metrics. Range N/A |
| port | Integer | Definition Collection port. Example: 9090. Range N/A |
| dimensions | String | Definition Monitoring dimension. Example: cpu_usage,mem_usage. Range N/A |
| Parameter | Type | Description |
|---|---|---|
| kind | String | Object kind.
|
| condition | String | Policy type.
|
| match_expressions | Array of objects | Scheduling policy rule. See Table 37. |
| weight | String | Weight.
|
| Parameter | Type | Description |
|---|---|---|
| key | String | Definition Key of the match tag. Range N/A |
| operation | String | Definition Match condition. Range N/A |
| value | String | Definition Value of the match tag. Range N/A |
| Parameter | Type | Description |
|---|---|---|
| type | String | Definition Type. Range
|
| delay | Integer | Definition Interval between the startup and detection. Range N/A |
| timeout | Integer | Definition Detection timeout interval. Range N/A |
| scheme | String | Definition Request type. This parameter is valid only when type is set to http. Range
|
| host | String | Definition Custom IP address. If this parameter is left blank, the pod IP address is used. This parameter is valid only when type is set to http. Range N/A |
| port | Integer | Definition Port number. This parameter is valid only when type is set to http or tcp. Range N/A |
| path | String | Definition Request path. This parameter is valid only when type is set to http. Range N/A |
| command | Array of strings | Definition Command list. This parameter is valid only when type is set to command. Range N/A |
| Parameter | Type | Description |
|---|---|---|
| id | String | Resource ID. |
| type | String | Resource type.
|
| parameters | Object | Resource parameters. See Table 40. |
| Parameter | Type | Description |
|---|---|---|
| namespace | String | Namespace. |
| name | String | Resource name. |
| capacity | Integer | Storage capacity, in GiB. |
| type | String | Volume declaration type.
|
| class | String | Volume declaration subtype.
|
| obs_volume_type | String | OBS volume type. Default value: STANDARD.
|
| access_mode | String | Storage volume access mode.
|
| availableZone | String | AZ. |
| volume_type | String | Volume type.
|
| Parameter | Type | Description |
|---|---|---|
| name | String | Variable name. |
| value | String | Variable value. |
| value_from | Object | Variable reference. See Table 42. |
| Parameter | Type | Description |
|---|---|---|
| reference_type | String | Definition Reference type. Range
|
| name | String | Definition Name of the configuration item or secret. Range N/A |
| key | String | Definition Key of the configuration item or secret. Range N/A |
| optional | Boolean | Definition Whether the key of the configuration item or secret is mandatory. Range
|
| Parameter | Type | Description |
|---|---|---|
| name | String | Definition Technology stack name. Example: OpenJDK8. Range N/A |
| type | String | Definition Technology stack type. Range
|
| version | String | Definition Technology stack version. Example: 1.1.4. Range N/A |
| deploy_mode | String | Definition Deployment mode. Range
|
| Parameter | Type | Description |
|---|---|---|
| kind | String | Definition Component source kind. Range
|
| version | String | Definition Version number. Range N/A |
| url | String | Definition Package address. This parameter is mandatory when kind is set to package or image. Range N/A |
| storage | String | Definition Storage mode. Range
This parameter is mandatory when kind is set to package or image. |
| auth | String | Definition Authentication mode. Range
|
| repo_auth | String | Definition Authorization name, which can be obtained from the authorization list. For details, see Obtaining a Git Repository Authorization List. Range N/A |
| repo_namespace | String | Definition Namespace of the code repository. Range N/A |
| repo_ref | String | Definition Code branch or tag. Default value: master. Range N/A |
| repo_type | String | Definition Code repository. Range
|
| web_url | String | Definition Code redirection URL. Example: https://github.com/example/demo.git. Range N/A |
| repo_url | String | Definition Code repository URL. Example: https://github.com/example/demo.git. Range N/A |
| commit_id | String | Definition In the code repository, commit ID is the unique identifier of each commit and is used to identify and reference a commit. Range The value contains 8 to 40 characters and starts with a lowercase letter or digit. |
| http_username | String | Definition Username. This parameter is mandatory when storage is set to http. Username and password authentication is supported. Range N/A |
| http_password | String | Definition Password. This parameter is mandatory when storage is set to http. Username and password authentication is supported. Range N/A |
| http_command | String | Definition Address of the custom software package. This parameter is mandatory when storage is set to http. Range N/A |
| http_headers | Map<String, String> | Definition This parameter is mandatory when storage is set to http. You can customize request headers as key-value pairs, for example, {"key":"xx","value":"xx""}. Range N/A |
| Parameter | Type | Description |
|---|---|---|
| parameters | Object | This parameter is provided only when no ID is available during build creation. See Table 46. |
| Parameter | Type | Description |
|---|---|---|
| build_cmd | String | Definition Compilation command. By default:
Range N/A |
| dockerfile_path | String | Definition Address of the Docker file. By default, the Docker file is in the root directory (./). Range N/A |
| artifact_namespace | String | Definition Build archive organization. Default value: cas_{project_id}. Range N/A |
| cluster_id | String | Definition ID of the cluster to be built. Range N/A |
| node_label_selector | Map<String, String> | Definition key: label key. value: label value. Range N/A |
| environment_id | String | Definition Environment ID. Range N/A |
| Parameter | Type | Description |
|---|---|---|
| protocol | String | Definition External access type. Range
|
| address | String | Definition External access address. Range N/A |
| forward_port | Integer | Definition External access port. Range N/A |
| Parameter | Type | Description |
|---|---|---|
| key | String | Definition Taint key. Range N/A |
| operator | String | Definition Operator. Range
|
| value | String | Definition Taint value. This parameter is mandatory when operator is set to Equal. Range N/A |
| effect | String | Definition Taint policy. Range
|
| toleration_seconds | Integer | Definition Tolerance time window. This parameter can be set only when effect is set to NoExecute. Within the tolerance time window, pods still run on the node with taints. After the time expires, the pods will be evicted. Range N/A |
| Parameter | Type | Description |
|---|---|---|
| container_name | String | Container name. |
| source | Object | Source of the code or software package. See Table 44. In multi-container mode, only images are supported. |
| limit_cpu | Number | Maximum CPU limit. Unit: core. |
| limit_memory | Number | Maximum memory size. Unit: GiB. |
| request_cpu | Number | Requested CPU resources. Unit: core. |
| request_memory | Number | Requested memory. Unit: GiB. |
| envs | Array of objects | Environment variable list. See Table 41. |
| liveness_probe | Object | Container liveness probe. See Table 38. |
| readiness_probe | Object | Container service probe. See Table 38. |
| startup_probe | Object | Container startup probe. See Table 38. |
| command | Object | Startup command. See Table 25. |
| post_start | Object | Post-start processing. See Table 26. |
| pre_stop | Object | Pre-stop processing. See Table 26. |
| logs | Array of objects | Log collection. See Table 34. |
| storages | Array of objects | Storage. See Table 18. |
| security_context | Object | Security policy. See Table 32. |
| config_encryption | Object | This parameter is mandatory when the encryption key is configured for a multi-container component. See Table 54. |
| Parameter | Type | Description |
|---|---|---|
| name | String | Definition Port name. Range N/A |
| port | String | Definition Access port. Range N/A |
| target_port | String | Definition Container port. Range N/A |
| Parameter | Type | Description |
|---|---|---|
| type | String | Definition Component upgrade policy. Options: Range
|
| max_unavailable |
| Definition Maximum number of unavailable pods. That is, the number or percentage of pods that can be deleted based on the value of replica. The default value is 25% This parameter can be set when workload_kind is set to deployment. Range
|
| max_surge |
| Definition Maximum surge. That is, the number or percentage of pods allowed based on the value of replica. The default value is 25%. This parameter can be set only when workload_kind is set to deployment. Range
|
| termination_period_seconds | Integer | Definition Scale-in time window. That is, the time window for executing commands before a workload stops. The default value is 30s. Range N/A |
| min_ready_seconds | Integer | Definition Minimum ready time of a pod. That is, the minimum ready time of a new pod without any container crash. A pod is considered available only after the minimum ready time is exceeded. The default value is 0. Range N/A |
| progress_deadline_seconds | Integer | Definition Maximum upgrade duration. That is, the time (in seconds) the system waits for before reporting a component upgrade failure. If this parameter is specified, the value of this parameter must be greater than that of min_ready_seconds. Range N/A |
| revision_history_limit | Integer | Definition Maximum number of pods to retain. That is, the number of old pods to retain to allow rollback. The default value is 10. Range N/A |
| Parameter | Type | Description |
|---|---|---|
| config_id | String | Definition Unified configuration ID. Range N/A |
| mount_path | String | Definition Mount path. Range N/A |
| Parameter | Type | Description |
|---|---|---|
| enable | Boolean | Definition Whether to enable automatic LTS configuration. Range
|
| lts_log_path | Array of strings | Definition Access configuration log path. Range N/A |
| Parameter | Type | Description |
|---|---|---|
| key_id | String | Definition User key ID in DEW. Range N/A |
| Parameter | Type | Description |
|---|---|---|
| parallelism | Integer | Definition Number of parallel jobs. Range N/A |
| active_deadline_seconds | Integer | Definition Timeout interval, in seconds. Range N/A |
| completion_mode | String | Definition Completion mode. Range
|
| suspend | Boolean | Definition Whether to suspend a job. By default, a job is executed immediately after being created. The job's execution will be suspended if you enable this option, and resumed after you disable it. Range
|
Example Request
None
Example Response
{
"count": 1,
"records": [
{
"id": 288451,
"pipeline_id": "92108d0d-02c7-4b2b-91c3-bb650f3a5946",
"trigger_type": 0,
"trigger_at": 1750945178239,
"trigger_end": 1750945233504,
"status": 2,
"pipeline_declaration": {
"name": "release-xze92n",
"description": "",
"enterprise_project_id": "90896b50-3e4e-4ecf-a23c-e0d9799fa01a",
"stages": [
{
"name": "xjfngu",
"display_name": "Stage"
"task_group": [
"0"
],
"tasks": [
{
"name": "ra295t",
"display_name": "Upgrade component-225",
"task_type_id": {
"category": "Component",
"type": "update"
},
"input": {
"name": "docker-ddd",
"description": "",
"runtime_stack": {
"type": "Docker",
"name": "Docker",
"deploy_mode": "container",
"version": "1.0"
},
"id": "e0dc506d-c11d-40e8-b8f9-0d129423a417",
"source": {
"kind": "image",
"url": "swr.ap-southeast-1.myhuaweicloud.com/cse2/comp-apitest-pkm63h8d:v1",
"storage": "swr",
"auth": "iam"
},
"environment_id": "2cd314ab-de8e-44d4-844e-3a40615dd758",
"limit_cpu": 0,
"limit_memory": 0,
"request_cpu": 0,
"request_memory": 0,
"replica": 1,
"version": null,
"envs": [
{
"name": "PAAS_PROJECT_ID",
"value": "59336be373624a998b2527fdb9913266"
},
{
"name": "CAS_APP_ID",
"value": "e0dc506d-c11d-40e8-b8f9-0d129423a417"
},
{
"name": "INSTANCE-DESCRIPTION_PROPERTIES_TAG_AZ",
"value": "null-null"
},
{
"name": "PAAS_CLUSTER_ID",
"value": "3762d6c8-19d4-11f0-b38f-0255ac100242"
},
{
"name": "CAS_APPLICATION_ID",
"value": "9e25283e-5e10-4524-bc07-cfd2e32d4532"
},
{
"name": "CAS_INSTANCE_VERSION",
"value": "2025.0626.21286"
},
{
"name": "CAS_COMPONENT_ID",
"value": "55a44246-1bd6-4955-a133-7ed2ea3d4b4c"
},
{
"name": "CAS_INSTANCE_NAME",
"value": "docker-ddd-env-jnq-test-xrii16"
},
{
"name": "CAS_COMPONENT_NAME",
"value": "docker-ddd"
},
{
"name": "PAAS_NAMESPACE",
"value": "default"
},
{
"name": "PAAS_APP_NAME",
"value": "docker-ddd"
},
{
"name": "PAAS_PROJECT_NAME",
"value": "ap-southeast-1"
},
{
"name": "spring_cloud_nacos_discovery_metadata_cas-instance-id",
"value": "e0dc506d-c11d-40e8-b8f9-0d129423a417"
},
{
"name": "spring_cloud_nacos_discovery_metadata_CAS-INSTANCE-VERSION",
"value": "2025.0626.21286"
},
{
"name": "CAS_INSTANCE_ID",
"value": "e0dc506d-c11d-40e8-b8f9-0d129423a417"
},
{
"name": "spring_cloud_nacos_config_routerConfigDefaultLoadEnabled",
"value": "true"
},
{
"name": "CAS_ENVIRONMENT_NAME",
"value": "env-jnq-test"
},
{
"name": "CAS_CONTAINER_FLAG",
"value": "4b0dd9ab-bdee-4d4a-b6b1-2012e5de95cf"
},
{
"name": "AOM_DISCOVERY_RULE_VERSION",
"value": "V1"
},
{
"name": "CAS_ENVIRONMENT_ID",
"value": "2cd314ab-de8e-44d4-844e-3a40615dd758"
},
{
"name": "PAAS_REGION_NAME",
"value": "ap-southeast-1"
},
{
"name": "CAS_APPLICATION_NAME",
"value": "app-jnq-test"
}
],
"storages": [],
"update_strategy": {
"type": "RollingUpdate",
"max_unavailable": "1%",
"max_surge": "25%",
"termination_period_seconds": 30,
"min_ready_seconds": 0,
"revision_history_limit": 10,
"progress_deadline_seconds": 600
},
"command": {
"command": [],
"args": []
},
"tolerations": [
{
"key": "node.kubernetes.io/not-ready",
"operator": "Exists",
"value": null,
"effect": "NoExecute",
"toleration_seconds": 300
},
{
"key": "node.kubernetes.io/unreachable",
"operator": "Exists",
"value": null,
"effect": "NoExecute",
"toleration_seconds": 300
}
],
"jvm_opts": "",
"tomcat_opts": {
"server_xml": ""
},
"logs": [],
"custom_metric": {
"path": null,
"port": 0,
"dimensions": null
},
"anti_affinity": [],
"affinity": [],
"liveness_probe": {
"delay": 0,
"timeout": 0,
"path": "/"
},
"readiness_probe": {
"delay": 0,
"timeout": 0,
"path": "/"
},
"startup_probe": {
"delay": 0,
"timeout": 0,
"path": "/"
},
"refer_resources": [
{
"id": "3762d6c8-19d4-11f0-b38f-0255ac100242",
"type": "cce",
"parameters": {
"name": "cce-j30050523-echotest-nodel",
"namespace": "default",
"type": "VirtualMachine"
}
}
],
"workload_kind": "deployment",
"config_mode": "ui",
"workload_content": "",
"enable_sermant_injection": false,
"enable_sermant_spring_register": false,
"enable_sermant_dubbo_register": false,
"enable_sermant_config": false,
"config_encryption": {
"key_id": null
},
"swimlane_id": "",
"workload_name": "docker-ddd-env-jnq-test-xrii16",
"container_name": "docker-ddd-env-jnq-test-xrii16",
"sys_config": {},
"configs": [],
"image_pull_secrets": [
"default-secret"
],
"auto_lts_config": {
"enable": false,
"lts_log_path": null
}
},
"order_index": 0,
"group_index": "0"
}
]
}
]
},
"trigger": "jinnengqian3",
"version": 1
}
]
} Status Code
| Status Code | Description |
|---|---|
| 200 | OK |
| 400 | Bad Request |
| 404 | Not Found |
| 500 | Internal Server Error |
Error Code
What is your overall rating for this page?
Thank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot