Help Center/ ServiceStage/ API Reference/ Application Management V3 APIs/ Component/ Obtaining Component Information Based on the Component ID
Updated on 2025-07-10 GMT+08:00

Obtaining Component Information Based on the Component ID

Function

This API is used to obtain component information based on the component ID.

URI

GET /v3/{project_id}/cas/applications/{application_id}/components/{component_id}

Table 1 Path parameters

Parameter

Mandatory

Type

Description

project_id

Yes

String

Tenant's project ID. See Obtaining a Project ID.

application_id

Yes

String

Application ID. See Obtaining All Applications.

component_id

Yes

String

Component ID. See Obtaining All Components of an Application.

Table 2 Query parameter

Parameter

Mandatory

Type

Description

version

No

String

Component version. See Obtaining All Components of an Application.

Request

Table 3 Request header parameters

Parameter

Mandatory

Type

Description

Content-Type

Yes

String

Message body type (format). Default value: application/json;charset=utf8.

X-Auth-Token

Yes

String

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.

Response

Table 4 Response parameters

Parameter

Type

Description

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. Letters are case insensitive.

workload_name

String

Workload name.

labels

Array of objects

Label. For container-deployed components, you can query a workload by label. For VM-deployed components, you can configure a label of the corresponding microservice name to use graceful startup and shutdown. See Table 5.

runtime_stack

Object

Runtime. See Table 31. The value can be obtained from the response of the API for Querying a Technology Stack.

environment_id

String

Environment ID.

application_id

String

Application ID.

description

String

Description.

The value can contain up to 128 characters.

source

Object

Source of the code or software package. See Table 32.

build

Object

Component build. See Table 33.

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 29.

replica

Integer

Number of instances.

storages

Array of objects

Storage. See Table 6.

deploy_strategy

Object

Component deployment. See Table 9.

command

Object

Startup command. See Table 13.

post_start

Object

Post-start processing. See Table 14.

pre_stop

Object

Pre-stop processing. See Table 14.

mesher

Object

Multi-language access service mesh. This parameter is mandatory when Node.js is selected for the technology stack and the CSE engine is bound. See Table 15.

timezone

String

Time zone where the component runs. Example: Asia/Shanghai.

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 16.

host_aliases

Array of objects

Host alias. See Table 17.

dns_policy

String

DNS policy.

  • Default: inherits the domain name resolution configuration of the node where the pod is located.
  • ClusterFirst: adds the domain name resolution configuration.
  • ClusterFirstWithHostNet: takes effect only for pods running in hostNetWork mode.
  • None: replaces the domain name resolution policy.

dns_config

Object

DNS configuration. See Table 18.

workload_kind

String

Workload type.

  • deployment
  • statefulset
  • daemonset

security_context

Object

Security policy. See Table 20.

logs

Array of objects

Log collection. See Table 22.

custom_metric

Object

Custom metrics. See Table 23.

affinity

Array of objects

Affinity. See Table 24.

anti_affinity

Array of objects

Anti-affinity. See Table 24.

liveness_probe

Array of objects

Component liveness probe. See Table 26.

readiness_probe

Object

Component service probe. See Table 26.

refer_resources

Array of objects

Associated resource. See Table 27.

status

Object

Component status. See Table 35.

tolerations

Array of Objects

Tolerance policy. See Table 37.

container_name

String

Container name.

update_strategy

Object

Component upgrade strategy. See Table 39.

multi_containers

Array of Objects

Multi-container configuration. See Table 38.

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.

enterprise_project_id

String

Enterprise project ID.

swimlane_tag

String

Lane tag.

swimlane_id

String

Lane ID.

refer_resources

Array of Objects

Associated resource. See Table 27.

runtime_stack_id

String

Runtime ID.

component_id

String

Component ID.

deploy_type

String

Deployment type.

  • OneBatchRelease
  • RollingRelease
  • GrayRelease

platform_type

String

Type of the platform where an application runs. Values:

  • cce
  • vmapp

config_mode

String

Workload configuration mode.

  • ui
  • yaml
  • template

workload_content

String

Workload content.

workload_name

String

Workload name.

instance_id

String

Component instance ID.

sys_config

Map<String, String>

Uses a compressed package to deploy component configuration items in the VM environment.

configs

Array of Objects

Configuration file list. See Table 40.

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.

image_pull_secrets

Array of String

List of image pull secrets.

template_source

Object

Source of the component template package. See Table 41.

template_content

Object

Component template package content. See Table 43.

resource_content

Object

Details about component template package resource. See Table 44.

auto_lts_config

Object

Automatic LTS configuration. See Table 47.

config_encryption

Object

This parameter is mandatory when the encryption key is configured for a single-container component. See Table 48.

Table 5 labels

Parameter

Type

Description

key

String

Label name.

value

String

Label value.

Table 6 storages

Parameter

Type

Description

type

String

Data storage type.

  • HostPath: host path for local disk mounting.
  • EmptyDir: temporary directory for local disk mounting.
  • ConfigMap: configuration item for local disk mounting.
  • Secret: secrets for local disk mounting.
  • PersistentVolumeClaim: cloud storage mounting.

name

String

Name of the storage disk.

parameters

Object

For details about the parameters of each data storage type, see Table 7.

mounts

Array of objects

Mount path of data storage. See Table 8.

Table 7 component_storage_parameters

Parameter

Type

Description

path

String

Host path. This parameter is applicable to the HostPath storage type.

name

String

Name of a configuration item, secret, or PVC, which is applicable to ConfigMap, Secret, or PersistentVolumeClaim storage, respectively.

default_mode

Integer

Mounting permission. The value is in decimal format. Example: 384. This parameter is applicable to ConfigMap and secret storage.

medium

String

This parameter is applicable to the EmptyDir storage type. Example: memory.

Table 8 mounts

Parameter

Type

Description

path

String

Mount path.

sub_path

String

Subpath of the mount path.

read_only

Boolean

Read-only or not.

Table 9 deploy_strategy

Parameter

Type

Description

type

String

Deployment type.

  • OneBatchRelease: single-batch upgrade.
  • RollingRelease: rolling deployment and upgrade.
  • GrayRelease: dark launch upgrade.

rolling_release

Object

Rolling deployment parameter. See Table 10.

gray_release

Object

Dark launch upgrade. See Table 11.

Table 10 rolling_release

Parameter

Type

Description

batches

Integer

Deployment batches.

Table 11 gray_release

Parameter

Type

Description

type

String

Dark launch policy.

  • WEIGHT: dark launch by traffic.
  • CONTENT: dark launch by content.

first_batch_weight

Integer

Proportion of first-batch dark launch traffic. This parameter takes effect when type is set to WEIGHT.

first_batch_replica

Integer

Number of first-batch dark launch instances. This parameter takes effect 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 5 instances remaining to be deployed in 3 batches, these 5 instances will be upgraded based on 2:2:1.

This parameter takes effect when type is set to WEIGHT.

deployment_mode

Integer

Deployment mode.

  • 1: The upstream is a microservice gateway.
  • 3: The upstream is a microservice.
  • 4: The upstream is a load balancer.

replica_surge_mode

String

Mode of adding a dark launch instance. This parameter takes effect when type is set to CONTENT.

  • MIRROR: blue-green.
  • EXTRA: canary (increase, then decrease)
  • NOSURGE: canary (decrease, then increase)

rule_match_mode

String

Effective mode of a dark launch rule. This parameter takes effect when type is set to CONTENT.

  • ALL: All conditions are met.
  • ANY: Any condition is met.

rules

Object

Dark launch rule. This parameter takes effect when type is set to CONTENT. See Table 12.

Table 12 gray_rules

Parameter

Type

Description

type

String

Match type. Currently, only HEADER is supported.

key

String

Parameter name.

value

String

Condition value.

condition

String

Condition type.

  • EQUAL
  • MATCH
  • IN: enumeration
Table 13 command

Parameter

Type

Description

command

Array of String

Command for controlling container running.

args

Array of String

Parameter for controlling container running. Example: -port=8080. If there are multiple parameters, separate them by line breaks.

Table 14 component_lifecycle

Parameter

Type

Description

type

String

Processing method.

  • http
  • command

scheme

String

HTTP request type, which can be HTTP or HTTPS. This parameter is valid only when type is set to http.

host

String

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.

port

Integer

Port number. This parameter is valid only when type is set to http.

path

String

Request path. This parameter is valid only when type is set to http.

command

Array of String

Command list. This parameter is valid only when type is set to command.

Table 15 mesher

Parameter

Type

Description

port

Integer

Process listening port.

Table 16 tomcat_opt

Parameter

Type

Description

server_xml

String

  1. Listening port in the server.xml file will take effect even if it has been configured in public network access.
  2. The custom Tomcat configuration may conflict with the existing port. Check whether the custom port is occupied.
Table 17 host_aliases

Parameter

Type

Description

ip

String

IP address.

hostname

Array of String

Host alias.

Table 18 dns_config

Parameter

Type

Description

nameservers

Array of String

IP address list of the DNS server of the pod.

searches

Array of String

List of DNS search domains used to search for host names in the pod.

options

Array of objects

An optional list of objects where each object may have a name property (required) and a value property (optional). This property is merged into the options generated from the specified DNS policy. Duplicate entries will be deleted. See Table 19.

Table 19 options

Parameter

Type

Description

name

String

Operation name.

value

String

Operation value.

Table 20 security_context

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 21.

Table 21 capabilities

Parameter

Type

Description

add

Array of String

Grant the Linux permission to the running user.

drop

Array of String

Remove the Linux permission of the running user.

Table 22 logs

Parameter

Type

Description

log_path

String

Container log path.

rotate

String

Interval for dumping logs.

host_path

String

Mounted host path.

host_extend_path

String

Host extension path. By extending the host path, you can distinguish mounting from different containers in the same host path.

  • None: the extended path is not used.
  • PodUID: extend the host path based on the pod ID.
  • PodName: extend the host path based on the pod name.
  • PodUID/ContainerName: extend the host path based on the pod ID and container name.
  • PodName/ContainerName: extend the host path based on the pod name and container name.
Table 23 custom_metric

Parameter

Type

Description

path

String

Collection path. Example: /metrics.

port

Integer

Collection port. Example: 9090.

dimensions

String

Monitoring dimension. Example: cpu_usage,mem_usage.

Table 24 component_affinity

Parameter

Type

Description

kind

String

Object kind.

  • node
  • pod

condition

String

Policy type.

  • required: The requirement must be met.
  • preferred: The requirement is met as much as possible.

match_expressions

Array of objects

Scheduling policy rule. See Table 25.

weight

String

Weight.

  • The value is 100 when condition is set to required.
  • Enter an integer ranging from 1 to 100 when condition is set to preferred.

topology_key

String

Topology key.

Table 25 match_expressions

Parameter

Type

Description

key

String

Key of the match tag.

operation

String

Match condition.

value

String

Value of the match tag.

Table 26 component_probe

Parameter

Type

Description

type

String

Type. Value: http, tcp, or command.

delay

Integer

Interval between the startup and detection.

timeout

Integer

Detection timeout interval.

scheme

String

Request type. Value: HTTP or HTTPS. This parameter is valid only when type is set to http.

host

String

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.

port

Integer

Port number. This parameter is valid only when type is set to http or tcp.

path

String

Request path. This parameter is valid only when type is set to http.

command

Array of String

Command list. This parameter is valid only when type is set to command.

Table 27 refer_resources

Parameter

Type

Description

id

String

Resource ID.

type

String

Resource type.

  • vpc
  • eip
  • elb
  • cce
  • ecs
  • as
  • cse: ServiceComb engine
  • nacos: registry/configuration center
  • dcs
  • rds
  • gaussdb
  • dms_rocketmq
  • css_es: Elasticsearch

parameters

Object

Resource parameters. See Table 28.

Table 28 refer_resource_parameter

Parameter

Type

Description

namespace

String

Namespace.

name

String

Resource name.

capacity

Integer

Storage capacity, in GiB.

type

String

Volume declaration type. It is specified when the type is set to pvc in Table 27.

  • efs
  • obs
  • sfs
  • evs

class

String

Volume declaration subtype.

  • csi-sfsturbo: fixed when type is set to efs.
  • csi-obs: fixed when type is set to obs.
  • csi-nas: fixed when type is set to sfs.
  • csi-disk: fixed when type is set to evs.

pv_name

String

Volume name. This parameter is displayed when type is set to efs.

share_id

String

Volume handle. This parameter is displayed when type is set to efs.

share_export_location

String

Shared path of the volume. This parameter is displayed when type is set to efs.

share_proto

String

File system type of the volume. This parameter is displayed when type is set to efs. Default value: NFS.

obs_volume_type

String

OBS volume type. Default value: STANDARD.

access_mode

String

Storage volume access mode.

  • ReadWriteOnce: A volume can be mounted as read-write by a single node.
  • ReadWriteMany: A volume can be mounted as read-write by many nodes.

availableZone

String

AZ.

volume_type

String

Volume type.

Table 29 envs

Parameter

Type

Description

name

String

Variable name.

value

String

Variable value.

value_from

Object

Variable reference. See Table 30.

Table 30 value_from

Parameter

Type

Description

reference_type

String

Reference type.

  • configMapKey
  • secretKey

name

String

Name of the configuration item or secret.

key

String

Key of the configuration item or secret.

optional

Boolean

Whether the key of the configuration item or secret is mandatory.

Table 31 runtime_stack

Parameter

Type

Description

name

String

Technology stack name.

type

String

Technology stack type. Value: Java, Tomcat, Nodejs, Php, Docker, or Python.

When deploy_mode is set to virtualmachine, only Java, Tomcat, and Node.js are supported. When deploy_mode is set to container, all of the preceding types are supported.

version

String

Technology stack version.

deploy_mode

String

Deployment mode.

  • container
  • virtualmachine
Table 32 source

Parameter

Type

Description

kind

String

Component source kind.

  • code
  • package
  • image

version

String

Version number.

url

String

Package address. This parameter is mandatory when kind is set to package or image.

storage

String

Storage mode.

  • devcloud: CodeArts release repository
  • obs
  • http: custom file address
  • swr

This parameter is mandatory when kind is set to package or image.

auth

String

Authentication mode. Value: iam or none. Default value: iam.

repo_auth

String

Authorization name, which can be obtained from the authorization list.

repo_namespace

String

Namespace of the code repository.

repo_ref

String

Code branch or tag. Default value: master.

repo_type

String

Code repository type. Value: GitHub, BitBucket, or GitLab.

web_url

String

Code redirection URL. Example: https://github.com/example/demo.git.

repo_url

String

Code repository URL. Example: https://github.com/example/demo.git.

commit_id

String

In the code repository, commit ID is the unique identifier of each commit and is used to identify and reference a commit.

The value contains 8 to 40 characters and starts with a lowercase letter or digit.

This parameter is returned only when Request contains Table 2.

http_username

No

String

Username. This parameter is mandatory when storage is set to http. Username and password authentication is supported.

http_password

No

String

Password. This parameter is mandatory when storage is set to http. Username and password authentication is supported.

http_command

No

String

Address of the custom software package. This parameter is mandatory when storage is set to http.

http_headers

No

Map<String, String>

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

Table 33 build

Parameter

Type

Description

parameters

Map<String, Object>

This parameter is provided only when no ID is available during build creation. See Table 34.

Table 34 parameters

Parameter

Type

Description

build_cmd

String

Compilation command. By default:

  1. When build.sh exists in the root directory, the command is ./build.sh.
  2. When build.sh does not exist in the root directory, the command varies depending on the OS. Example:
    • Java and Tomcat: mvn clean package
    • Nodejs: npm build

dockerfile_path

String

Address of the Docker file. By default, the Docker file is in the root directory (./).

artifact_namespace

String

Build archive organization. Default value: cas_{project_id}.

cluster_id

String

ID of the cluster to be built.

node_label_selector

Map<String, String>

key: label key. value: label value.

environment_id

String

Environment ID.

Table 35 status

Parameter

Type

Description

component_status

String

Component status.

  • INITIALIZING
  • UPGRADING
  • FAILED
  • RUNNING
  • DOWN
  • DELETING
  • DELETED
  • RESERVED
  • STARTING
  • STOPPING
  • STOPPED
  • RESTARTING
  • PENDING
  • UNKNOWN
  • PARTIALLY_FAILED

available_replica

Integer

Available instances.

replica

Integer

Total instances.

fail_detail

String

Failure cause.

  • cluster_deleted
  • cluster_unavailable
  • cluster_inaccessible
  • namespace_deleted
  • namespace_unavailable
  • namespace_inaccessible
  • resource_deleted
  • create_failed
  • delete_failed

last_job_id

String

ID of the last executed task.

create_time

Integer

Creation time.

update_time

Integer

Update time.

creator

String

Creator.

artifact

Object

Artifact information. See Table 36.

Table 36 artifact

Parameter

Type

Description

type

String

Component source type.

  • package
  • image

url

String

Software package or image address.

Table 37 tolerations

Parameter

Type

Description

key

String

Taint key.

operator

String

Operator.

  • Equal: matches the nodes with the specified taint key (mandatory) and value. If the taint value is left blank, all taints with the same key will be matched.
  • Exists: matches nodes with the specified taint key. In this case, the taint value cannot be specified. Not specifying any taint key means all taints are tolerated.

value

String

Taint value. This parameter is mandatory when operator is set to Equal.

effect

String

Taint policy.

  • NoScheduler: Only the NoSchedule taint is matched.
  • PreferNoSchedule: Only the PreferNoSchedule taint is matched.
  • NoExecute: Only the NoExecute taint is matched.
  • If this parameter is not set, all taint effects are matched.

toleration_seconds

Integer

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.

Table 38 multi_containers

Parameter

Type

Description

container_name

String

Container name.

source

Object

Source of the code or software package. See Table 32. 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 29.

liveness_probe

Object

Container liveness probe. See Table 26.

readiness_probe

Object

Container service probe. See Table 26.

startup_probe

Object

Container startup probe. See Table 26.

command

Object

Startup command. See Table 13.

post_start

Object

Post-start processing. See Table 14.

pre_stop

Object

Pre-stop processing. See Table 14.

logs

Array of objects

Log collection. See Table 22.

storages

Array of objects

Storage. See Table 6.

security_context

Object

Security policy. See Table 20.

config_encryption

Object

This parameter is mandatory when the encryption key is configured for a multi-container component. See Table 48.

Table 39 update_strategy

Parameter

Type

Description

type

String

Component upgrade policy. Options:

  • RollingUpdate (default): New pods are created gradually, and then old pods are deleted.
  • Recreate: Old pods are deleted, and then new pods are created.

max_unavailable

  • String
  • Integer

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.

  • String (%): the maximum percentage of unavailable pods to the total number of pods.
  • Integer: the maximum number of unavailable pods.

max_surge

  • String
  • Integer

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.

  • String (%)
  • Integer

termination_period_seconds

Integer

Scale-in time window. That is, the time window for executing commands before a workload stops. The default value is 30s.

min_ready_seconds

Integer

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.

progress_deadline_seconds

Integer

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.

revision_history_limit

Integer

Maximum number of pods to retain. That is, the number of old pods to retain to allow rollback. The default value is 10.

Table 40 configs

Parameter

Type

Description

conifg_id

String

Unified configuration ID.

mount_path

String

Mount path.

Table 41 template_source

Parameter

Type

Description

storage

String

Storage mode of the component template package.

  • devcloud: CodeArts release repository
  • obs
  • http: custom file address

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 42.

This parameter is valid only when the component template package storage mode is http and the security authentication mode is custom header authentication.

Table 42 http_headers

Parameter

Type

Description

key

String

Request key.

value

String

Request value.

Table 43 template_content

Parameter

Type

Description

template

Map<String, String>

Template package file information.

input_values

Map<String, String>

Template package input information.

Table 44 resource_content

Parameter

Type

Description

configs

Array of objects

Unified configuration information of the template package. See Table configs.

k8s_resources

Array of objects

Template package Kubernetes resource information.

Table 45 configs

Parameter

Type

Description

kind

String

Resource type. The value is fixed to ServiceStageConfig.

spec

Object

Unified configuration parameter. See Table 46.

Table 46 spec

Parameter

Type

Description

name

String

Unified configuration name. Format:

  • {Configuration group}/{Configuration name}.yaml
  • {Configuration group}/{Configuration name}.properties

description

String

Unified configuration description.

sensitive

Boolean

Encrypted or not.

content

String

Unified configuration content.

Table 47 auto_lts_config

Parameter

Type

Description

enable

Boolean

Whether to enable automatic LTS configuration.

lts_log_path

Array of string

Access configuration log path.

lts_log_group_name

String

Log group name.

lts_log_stream_name

String

Log stream name.

lts_host_group_name

String

Host group name.

lts_access_config_name

String

Access configuration name.

lts_log_group_id

String

Log group ID.

lts_log_stream_id

String

Log stream ID.

lts_host_group_id

String

Host group ID.

lts_access_config_id

String

Access configuration ID.

Table 48 config_encryption

Parameter

Type

Description

key_id

String

User key ID in DEW.

Example Request

None

Example Response

{
    "name": "test-component",
    "description": "",
    "labels": [],
    "runtime_stack": {

        "type": "Java",
        "name": "OpenJDK8",
        "deploy_mode": "virtualmachine",
        "version": "1.1.1"
    },
    "id": "b8702b0f-94d3-4822-98a1-56815632a0a0",
    "source": {
        "kind": "package",
        "url": "obs://bucket0001/weather-1.0.0.jar",
        "storage": "obs"
    },
    "environment_id": "4d084044-0b80-4641-963c-b9c9f4092a4f",
    "application_id": "fc092465-a5fb-4a52-bc65-b735f18366d8",
    "replica": 1,
    "version": "2023.0323.15181",
    "envs": [],
     "tomcat_opts": {
        "server_xml": "",
        "http_port": 0,
        "context_path": null
    },
    "refer_resources": [
        {
            "id": "Default",
            "type": "ecs",
            "parameters": {
                "hosts": [
                    "67835bb3-1235-4cc9-be71-becbb2b4ca0d"
                ]
            }
        }
    ],
    "status": {
        "component_status": "RUNNING",
        "available_replica": 1,
        "replica": 1,
        "fail_detail": null,
        "last_job_id": "JOB1c8e20ec-1b30-4ee4-9a36-35a18b5e8b7e",
        "creator": null,
        "create_time": 1679556221933,
        "update_time": 1679579448500,
    },
    "workload_kind": "deployment"
}

Status Code

Status Code

Description

200

OK

400

Bad Request

404

Not Found

500

Internal Server Error

Error Code

See ServiceStage Error Codes.