All Products
Search
Document Center

Enterprise Distributed Application Service:InsertK8sApplication

Last Updated:Oct 29, 2025

Creates an application in a Kubernetes cluster or a Serverless Kubernetes cluster.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

Action

Access level

Resource type

Condition key

Dependent action

edas:CreateApplication

create

*All Resource

*

None None

Request syntax

POST /pop/v5/k8s/acs/create_k8s_app HTTP/1.1

Request parameters

Parameter

Type

Required

Description

Example

IntranetTargetPort

integer

No

The backend port of the internal-facing SLB instance. This is also the service port of the application. The value must be in the range of 1 to 65535.

80

IntranetSlbPort

integer

No

The frontend port of the internal-facing SLB instance. The value must be in the range of 1 to 65535.

80

ImageUrl

string

No

The address of the image. This parameter is required when you set PackageType to Image.

registry.cn-beijing.aliyuncs.com/****_test/****-cons****:1.0

ApplicationDescription

string

No

The description of the application.

Production Environment

RepoId

string

No

The ID of the image repository.

ced********

Replicas

integer

No

The number of application instances.

4

LimitCpu

integer

No

The maximum number of CPU cores that can be used by an application instance. If you specify LimitmCpu, this parameter is ignored.

4

LimitMem

integer

No

The maximum amount of memory that can be used by an application instance. Unit: MB. The value of LimitMem must be greater than or equal to the value of RequestsMem.

2

RequestsCpu

integer

No

The number of CPU cores requested for an application instance upon creation. Unit: cores. A value of 0 means no limit. If you specify RequestsmCpu, this parameter is ignored.

0

RequestsMem

integer

No

The amount of memory requested for an application instance upon creation. Unit: MB. A value of 0 means no limit. The value of RequestsMem cannot be greater than the value of LimitMem.

0

Command

string

No

The startup command of the application. If you set this parameter, the original startup command of the image is overridden.

ls

CommandArgs

string

No

The arguments for the startup command. The arguments are a JSON array of strings. Example: [{"argument":"-c"},{"argument":"test"}]. In this example, -c and test are two arguments.

[{"argument":"-lh"}]

AppName

string

Yes

The name of the application. The name must start with a letter and can contain digits, letters, and hyphens (-). The name can be up to 36 characters in length.

doc-test

IntranetSlbProtocol

string

No

The protocol used by the internal-facing SLB instance. Valid values: TCP, HTTP, and HTTPS.

TCP

IntranetSlbId

string

No

The ID of the internal-facing SLB instance. If you do not specify this parameter, EDAS automatically purchases a new SLB instance for you.

ae93********

ClusterId

string

Yes

The ID of the cluster. You can call the ListCluster operation to query the cluster ID. For more information, see ListCluster.

c9cd****

InternetSlbId

string

No

The ID of the internet-facing SLB instance. If you do not specify this parameter, EDAS automatically purchases a new SLB instance for you.

a3d4********

InternetSlbProtocol

string

No

The protocol used by the internet-facing SLB instance. Valid values: TCP, HTTP, and HTTPS.

TCP

InternetSlbPort

integer

No

The frontend port of the internet-facing SLB instance. The value must be in the range of 1 to 65535.

80

InternetTargetPort

integer

No

The backend port of the internal SLB instance, which also serves as the service port for the application. The port number must be an integer from 1 to 65535.

8080

Envs

string

No

The environment variables for the deployment. The value must be a JSON array of objects. Three types of environment variables are supported: regular environment variables, Kubernetes ConfigMap environment variables, and Kubernetes Secret environment variables. The format of a regular environment variable is as follows:

{"name":"x", "value": "y"}

You can use a ConfigMap to inject the value of a specific key into a container's environment variable. The format is as follows:

{ "name": "x2", "valueFrom": { "configMapKeyRef": { "name": "my-config", "key": "y2" } } }

You can use a Secret to inject the value of a specific key into a container's environment variable. The format is as follows:

{ "name": "x3", "valueFrom": { "secretKeyRef": { "name": "my-secret", "key": "y3" } } }

Note

To clear this configuration, set the value to an empty JSON array ([]).

[{"name":"x1","value":"y1"},{"name":"x2","valueFrom":{"configMapKeyRef":{"name":"my-config","key":"y2"}}},{"name":"x3","valueFrom":{"secretKeyRef":{"name":"my-secret","key":"y3"}}}]

PreStop

string

No

The script that is run before the container is stopped. Example: {"tcpSocket":{"host":"", "port":8080}}.

To clear this configuration, set the value to "" or {}. If you do not set this parameter, it is ignored.

{\"exec\":{\"command\":[\"ls\",\"/\"]}}"

PostStart

string

No

The script that is run after the container is started. Example: {"exec":{"command":["cat","/etc/group"]}}.

To clear this configuration, set the value to "" or {}. If you do not set this parameter, it is ignored.

{\"exec\":{\"command\":[\"ls\",\"/\"]}}"

Liveness

string

No

The liveness probe of the container. Example: {"failureThreshold": 3,"initialDelaySeconds": 5,"successThreshold": 1,"timeoutSeconds": 1,"tcpSocket":{"host":"", "port":8080}}.

To clear this configuration, set the value to "" or {}. If you do not set this parameter, it is ignored.

{"failureThreshold": 3,"initialDelaySeconds": 5,"successThreshold": 1,"timeoutSeconds": 1,"tcpSocket":{"host":"", "port":8080}}

Readiness

string

No

The readiness probe of the container. If the check fails, traffic is not routed to the container through the Kubernetes Service. Example: {"failureThreshold": 3,"initialDelaySeconds": 5,"successThreshold": 1,"timeoutSeconds": 1,"httpGet": {"path": "/consumer","port": 8080,"scheme": "HTTP","httpHeaders": [{"name": "test","value": "testvalue"}]}}.

To clear this configuration, set the value to "" or {}. If you do not set this parameter, it is ignored.

{"failureThreshold": 3,"initialDelaySeconds": 5,"successThreshold": 1,"timeoutSeconds": 1,"httpGet": {"path": "/consumer","port": 8080,"scheme": "HTTP","httpHeaders": [{"name": "test","value": "testvalue"}]}}

NasId

string

No

The ID of the NAS file system that you want to mount. If you do not specify this parameter but mountDescs is specified, a new NAS file system is automatically purchased and mounted to a vSwitch in the VPC.

dfs23****

MountDescs

string

No

The description of the mount configuration. The value is a serialized JSON string. Example: [{"nasPath": "/k8s","mountPath": "/mnt"},{"nasPath": "/files","mountPath": "/app/files"}]. nasPath specifies the file storage path. mountPath specifies the path to which the file system is mounted in the container.

[{"nasPath": "/k8s","mountPath": "/mnt"},{"nasPath": "/files","mountPath": "/app/files"}]

StorageType

string

No

The storage type of the NAS file system. Valid values:

  • General-purpose NAS file systems: Capacity and Performance

  • Extreme NAS file systems: Standard and Advance

Currently, only the Performance type is supported.

Performance

LocalVolume

string

No

The configuration for mounting a host file to a container. Example: [{"type":"","nodePath":"/localfiles","mountPath":"/app/files"},{"type":"Directory","nodePath":"/mnt","mountPath":"/app/storage"}]. The following parameters are included:

  • nodePath: the path on the host.

  • mountPath: the path in the container.

  • type: the mount type.

[{"type":"","nodePath":"/localfiles","mountPath":"/app/files"},{"type":"Directory","nodePath":"/mnt","mountPath":"/app/storage"}]

Namespace

string

No

The namespace of the Kubernetes cluster. This parameter determines the Kubernetes namespace in which your application is deployed. The default value is default.

default

LogicalRegionId

string

No

The ID of the EDAS namespace. This parameter is required if you want to use a non-default namespace.

cn-shenzhen:beta****

PackageType

string

No

The type of the application package. Valid values: FatJar, WAR, and Image.

WAR

PackageUrl

string

No

The URL of the deployment package. This parameter is required for applications that are deployed using a FatJar or WAR package.

Note

The version of the EDAS POP API SDK for Java or Python must be 2.44.0 or later.

https://e***.oss-cn-beijing.aliyuncs.com/s***-1.0-SNAPSHOT-spring-boot.jar

PackageVersion

string

No

The version number of the deployment package. This parameter is required for WAR and FatJar packages. You can define the meaning of the version number.

Note

The version of the EDAS POP API SDK for Java or Python must be 2.44.0 or later.

20200720

JDK

string

No

The version of the Java Development Kit (JDK) on which the deployment package depends. Valid values: Open JDK 7, Open JDK 8, and Custom OpenJDK. This parameter is not supported for image-based deployments. If you select Custom OpenJDK, you must also specify the UserBaseImageUrl parameter.

Open JDK 8

WebContainer

string

No

The version of the Tomcat container on which the deployment package depends. This parameter is applicable to Spring Cloud and Dubbo applications that are deployed using a WAR package. This parameter is not supported for image-based deployments.

apache-tomcat-7.0.91

EdasContainerVersion

string

No

The version of the EDAS-Container on which the deployment package depends.

Note

This parameter is not supported for image-based deployments.

3.5.9

UriEncoding

string

No

The URI encoding scheme. Valid values: ISO-8859-1, GBK, GB2312, and UTF-8.

Note

If you do not set this parameter for the application, the default value of Tomcat is used.

GBK

UseBodyEncoding

boolean

No

Specifies whether to enable useBodyEncodingForURI.

Note

If you do not set this parameter for the application, the default value false is used.

false

RequestsmCpu

integer

No

The number of CPU cores requested for an application instance upon creation. Unit: millicores.

500

LimitmCpu

integer

No

The maximum number of CPU cores that can be used by an application instance. Unit: millicores. A value of 0 means no limit.

1000

RuntimeClassName

string

No

The type of the container runtime. This parameter is applicable only to clusters that use sandboxed containers.

runc

DeployAcrossZones

string

No

Specifies whether to distribute application instances to multiple zones. A value of true means yes. Other values mean no.

true

Timeout

integer

No

The timeout period for the change process. Unit: seconds. The value must be in the range of 1 to 1800. If you do not specify this parameter, the default value 1800 is used.

60

EnableAhas

boolean

No

Specifies whether to enable Application High Availability Service (AHAS):

  • true: Enable AHAS.

  • false: Do not enable AHAS.

true

WebContainerConfig

string

No

The configuration of the Tomcat container. To clear the configuration, set the value to "" or "{}":

  • useDefaultConfig: Specifies whether to use the default configuration. If you set this parameter to true, the custom configuration is not used. If you set this parameter to false, the custom configuration is used. If you do not use the custom configuration, the following parameter settings do not take effect.

  • contextInputType: The access path of the application.

    • war: You do not need to specify a custom path. The access path is the name of the WAR package.

    • root: You do not need to specify a custom path. The access path is /.

    • custom: You must specify a custom path in the contextPath parameter.

  • contextPath: The custom path. This parameter is required only when you set contextInputType to custom.

  • httpPort: The port number. The value must be in the range of 1024 to 65535. Ports smaller than 1024 require root permissions. Because the container is configured with administrator permissions, specify a port number greater than 1024. If you do not specify this parameter, the default port 8080 is used.

  • maxThreads: The maximum number of connections in the connection pool. Default value: 400.

    Note

    This parameter greatly affects application performance. Configure this parameter with the help of a professional.

  • uriEncoding: The encoding format for Tomcat. Valid values: UTF-8, ISO-8859-1, GBK, and GB2312. If you do not specify this parameter, the default value ISO-8859-1 is used.

  • useBodyEncoding: Specifies whether to use BodyEncoding for URLs.

  • useAdvancedServerXml: Specifies whether to use advanced settings to customize the server.xml file. If the preceding parameter types and specific parameters cannot meet your requirements, you can use advanced settings to directly edit the server.xml file of Tomcat.

  • serverXml: The content of the server.xml file that is customized in the advanced settings. This parameter takes effect only when useAdvancedServerXml is set to true.

{"useDefaultConfig":false,"contextInputType":"custom","contextPath":"hello","httpPort":8088,"maxThreads":400,"uriEncoding":"UTF-8","useBodyEncoding":true,"useAdvancedServerXml":false}

JavaStartUpConfig

string

No

The Java startup parameters. You can configure startup parameters for a Java application. You can configure memory, application, garbage collection (GC) policy, tools, service registration and discovery, and custom parameters. Proper parameter configuration helps reduce GC overhead, shorten server response time, and improve throughput. The value is a JSON string. original specifies the configuration value, and startup specifies the startup parameter. The system automatically concatenates all startup values as the Java startup parameters for the application. To clear the configuration, set the value to "" or "{}". The keys in the JSON string are described as follows:

  • InitialHeapSize: the initial heap size.

  • MaxHeapSize: the maximum heap size.

  • CustomParams: custom content, such as JVM -D parameters.

  • Other keys: You can view the JSON structure submitted by the frontend.

{"InitialHeapSize":{"original":512,"startup":"-Xms512m"},"MaxHeapSize":{"original":1024,"startup":"-Xmx1024m"},"CustomParams":{"original":"-Dcustom.property.sample=false","startup":"-Dcustom.property.sample=false"}}

SlsConfigs

string

No

The Logstore configuration. To clear the configuration, set the value to "" or "{}":

  • Configs:

    • type: The collection type. file indicates the file type. stdout indicates the standard output type.

    • Logstore: The name of the Logstore. Make sure that the Logstore name is unique in the same cluster and meets the following naming conventions:

      • The name can contain only lowercase letters, digits, hyphens (-), and underscores (_).

      • The name must start and end with a lowercase letter or a digit.

      • The name must be 3 to 63 characters in length. If you leave this parameter empty, the system automatically generates a name.

    • LogDir: If the collection type is standard output, the collection path is stdout.log. If the collection type is file, the collection path is the path of the file to be collected. Wildcards are supported. The collection path must match the following regular expression: ^/(.+)/(.*)^/$.

[{"logstore":"thisisanotherfilelog","type":"file","logDir":"/var/log/*"},{"logstore":"","type":"stdout","logDir":"stdout.log"},{"logstore":"thisisafilelog","type":"file","logDir":"/tmp/log/*"}]

IsMultilingualApp

boolean

No

Specifies whether the application is a multilingual application.

true

DeployAcrossNodes

string

No

Specifies whether to distribute application instances to multiple nodes. A value of true means yes. Other values mean no.

true

PvcMountDescs

string

No

The configuration for mounting a Kubernetes PersistentVolumeClaim (PVC). You can mount a Kubernetes PVC volume to a specified directory in a container. The following parameters are included in PvcMountDescs:

  • pvcName: The name of the PVC volume. The PVC volume must exist and be in the Bound state.

  • mountPaths: The list of mount directories. You can configure multiple mount directories. Each mount directory supports two parameters.
    • mountPath: The mount path. The path must be an absolute path that starts with a forward slash (/).

    • readOnly: The mount mode. true specifies the read-only mode. false specifies the read and write mode. Default value: false.

[{"pvcName":"nas-pvc-1","mountPaths":[{"mountPath":"/usr/share/nginx/data"},{"mountPath":"/usr/share/nginx/html","readOnly":true}]}]

ConfigMountDescs

string

No

The configuration for mounting Kubernetes ConfigMaps and Secrets. You can mount ConfigMaps and Secrets to specified directories in a container. The following parameters are included in ConfigMountDescs:

  • name: The name of the ConfigMap or Secret.

  • type: The configuration type. Valid values: ConfigMap and Secret.

  • mountPath: The mount path. The path must be an absolute path that starts with a forward slash (/).

[{"name":"nginx-config","type":"ConfigMap","mountPath":"/etc/nginx"},{"name":"tls-secret","type":"secret","mountPath":"/etc/ssh"}]

CsClusterId

string

No

You must specify CsClusterId only when you create an application in a cluster that has never been imported.

abcdefg

EnableAsm

boolean

No

You must set this parameter to true only when you create an application in a cluster that has never been imported and enable Service Mesh (ASM).

false

EnvFroms

string

No

The configuration for environment variables of the Kubernetes EnvFrom type. You can mount a specified ConfigMap or Secret to a specified directory. Each key corresponds to a file in the directory. The content of the file is the value of the key.

The following parameters are included in EnvFroms:

  • configMapRef: The reference to the ConfigMap. This field includes the following parameter:
    • name: The name of the ConfigMap.

  • secretRef: The reference to the Secret. This field includes the following parameter:
    • name: The name of the Secret.

[{"name":"appname","valueFrom":{"configMapKeyRef":{"name":"appconf","key":"name"}}}]

EmptyDirs

string

No

The configuration for mounting a Kubernetes emptyDir volume. You can mount an emptyDir volume to a specified directory in a container. The following parameters are included in EmptyDirs:

  • mountPath: The mount path in the container. This parameter is required.

  • readOnly: Specifies whether the volume is read-only. This parameter is optional. true specifies read-only. false specifies read and write. Default value: false.

  • subPathExpr: The subdirectory expression. This parameter is optional.

[{"mountPath":"/app-log","subPathExpr":"$(POD_IP)"},{"readOnly":true,"mountPath":"/etc/nginx"}]

BuildPackId

string

No

The version of EDAS Container. This parameter conflicts with EdasContainerVersion. Use the EdasContainerVersion parameter instead.

-1

CustomAffinity

string

No

The custom affinity.

demo

CustomTolerations

string

No

The custom tolerations.

demo

ResourceGroupId

string

No

The ID of the resource group.

461

Annotations

string

No

The annotations of the application pod.

{"annotation-name-1":"annotation-value-1","annotation-name-2":"annotation-value-2"}

Labels

string

No

The labels of the application pod.

{"label-name-1":"label-value-1","label-name-2":"label-value-2"}

EnableEmptyPushReject

boolean

No

Specifies whether to enable protection against empty pushes:

  • true: Enable protection against empty pushes.

  • false: Do not enable protection against empty pushes.

false

EnableLosslessRule

boolean

No

Specifies whether to enable the graceful start rule:

  • true: Enable the graceful start rule.

  • false: Do not enable the graceful start rule.

true

LosslessRuleWarmupTime

integer

No

The warm-up duration of the service. Unit: seconds. The value must be in the range of 0 to 86400.

120

LosslessRuleDelayTime

integer

No

The delay of service registration. Unit: seconds. The value must be in the range of 0 to 86400.

0

LosslessRuleFuncType

integer

No

The warm-up curve of the service. The value must be in the range of 0 to 20. Default value: 2. This value is suitable for normal warm-up scenarios and indicates that the traffic that the service provider receives follows a quadratic curve during the warm-up period.

2

LosslessRuleAligned

boolean

No

Specifies whether to enable the graceful rolling deployment mode in which service registration is complete before the readiness probe is passed:

  • true: A health check URL is provided for the application on port 55199. The path is /health. The URL returns 200 after the service is registered. Otherwise, the URL returns 500.

    Note

    If you also set LosslessRuleRelated to true, this URL is used to check whether the service warm-up is complete.

  • false: A URL is not provided for the application to check whether the service is registered.

false

LosslessRuleRelated

boolean

No

Specifies whether to enable the graceful rolling deployment mode in which service warm-up is complete before the readiness probe is passed:

  • true: A health check URL is provided for the application on port 55199. The path is /health. The URL returns 200 after the service warm-up is complete. Otherwise, the URL returns 500.

  • false: A URL is not provided for the application to check whether the service warm-up is complete.

false

ServiceConfigs

string

No

The configuration of the Kubernetes Service.

[{"name": "test-svc-create","serviceType":"ClusterIP","portMappings":[{"servicePort": {"targetPort":8080,"port":80,"protocol":"TCP"}}]}]

AppTemplateName

string

No

The name of the application template that is used to create the application. If you specify an application template when you create the application, the application template and the AppConfig parameter are preferentially used to determine the application configuration. Other configurations are ignored.

app-template001

AppConfig

string

No

The application configuration when an application template is used. The value is a JSON string.

{}

LimitEphemeralStorage

integer

No

The maximum ephemeral storage. Unit: GB. A value of 0 means no limit.

4

RequestsEphemeralStorage

integer

No

The minimum ephemeral storage. Unit: GB. A value of 0 means no limit.

2

SecretName

string

No

The name of the image pull secret. You must create the secret.

edas-app-01-image-secret

ContainerRegistryId

string

No

The ID of the repository that is used to build the image repository. If you leave this parameter empty, the default repository provided by EDAS is used. Currently, only the default repository provided by EDAS is supported.

leave empty

WorkloadType

string

No

The type of the workload. Currently, only deployments are supported.

Deployment

Sidecars

string

No

The sidecar containers for the application pod. You can set the container configuration in the YAML format. The value is the Base64-encoded YAML configuration of the sidecar container.

[{"yamlEncoded":"Y29tbWFuZDoKICAtIHRhaWwKICAtICctZicKICAtIC9kZXYvbnVsbAppbWFnZTogJ2J1c3lib3g6bGF0ZXN0JwpuYW1lOiBidXN5Ym94Cg=="}]

InitContainers

string

No

The init containers for the application pod. You can set the container configuration in the YAML format. The value is the Base64-encoded YAML configuration of the init container.

[ { "yamlEncoded": "Y29tbWFuZDoKICAtIHNsZWVwCiAgLSAnNjAnCmltYWdlOiAnYnVzeWJveDpsYXRlc3QnCm5hbWU6IGluaXQtYnVzeWJveAo=" } ]

UserBaseImageUrl

string

No

If you use a custom JDK runtime, you must configure the address of the base image. The address must be accessible over the Internet. The EDAS server pulls the image to build an application image.

openjdk:8u302

TerminateGracePeriod

integer

No

The timeout period for a graceful stop. Unit: seconds.

120

ImagePlatforms

string

No

The architecture of the image platform. This parameter is valid when you use a WAR or JAR package for deployment. Examples:

  • To specify the x86-64 architecture, enter linux/amd64.

  • To specify the ARM64 architecture, enter linux/arm64.

  • To build a dual-architecture image, enter linux/amd64,linux/arm64.

  • If you do not enter a value, the default architecture is used.

linux/arm64,linux/amd64

Startup

string

No

The startup probe. You can use a startup probe to check the liveness of a slow-start container and prevent the container from being killed before it is started. Example: {"failureThreshold": 3,"initialDelaySeconds": 5,"successThreshold": 1,"timeoutSeconds": 1,"httpGet": {"path": "/consumer","port": 8080,"scheme": "HTTP","httpHeaders": [{"name": "test","value": "testvalue"}]}}.

To clear this configuration, set the value to "" or {}. If you do not set this parameter, it is ignored.

{"failureThreshold": 3,"initialDelaySeconds": 5,"successThreshold": 1,"timeoutSeconds": 1,"tcpSocket":{"host":"", "port":8080}}

FeatureConfig

string

No

The configuration of the custom monitoring and administration solution.

{"features":[{"name":"base.combination.arms","enable":true},{"name":"base.combination.mse","enable":true}]}

CustomAgentVersion

string

No

The version of the agent.

2.8.3,3.2.10,4.3.1

SecurityContext

string

No

The SecurityContext attribute for the application pod container. The value is the Base64-encoded YAML configuration of the SecurityContext.

{"yamlEncoded":"cnVuQXNVc2VyOiAwCnJ1bkFzR3JvdXA6IDA="}

Response elements

Element

Type

Description

Example

object

The response to the request.

Code

integer

The status code of the interface or the POP error code.

200

Message

string

The additional information.

success

RequestId

string

The ID of the request.

b197-40ab-9155-****

ApplicationInfo

object

The details of the application.

ChangeOrderId

string

The ID of the change process. You can call the GetChangeOrderInfo operation to query the ID. For more information, see GetChangeOrderInfo.

cd65b247-****-475b-ad4b-7039040d625c

AppName

string

The name of the application.

test

Dockerize

boolean

Indicates whether the application is a Docker application.

  • true: The application is a Docker application.

  • false: The application is not a Docker application.

true

Owner

string

The owner of the application.

zp

EdasId

string

The ID of the user account.

1172****6608****

ClusterType

integer

The type of the cluster in which the application is deployed.

  • 0: regular Docker cluster.

  • 1: Swarm cluster (discontinued).

  • 2: ECS cluster.

  • 3: self-managed Kubernetes cluster in EDAS (discontinued).

  • 4: cluster for applications that are automatically registered with Pandora.

  • 5: Kubernetes clusters and Serverless Kubernetes clusters.

5

AppId

string

The ID of the application. You can call the ListApplication operation to query the application ID. For more information, see ListApplication.

e83acea6-****-47e1-96ae-c0e95377****

UserId

string

The Alibaba Cloud account that is used to create the application.

edas_test****@aliyun****.com

RegionId

string

The ID of the region.

cn-beijing

Examples

Success response

JSON format

{
  "Code": 200,
  "Message": "success",
  "RequestId": "b197-40ab-9155-****",
  "ApplicationInfo": {
    "ChangeOrderId": "cd65b247-****-475b-ad4b-7039040d625c",
    "AppName": "test",
    "Dockerize": true,
    "Owner": "zp",
    "EdasId": "1172****6608****",
    "ClusterType": 5,
    "AppId": "e83acea6-****-47e1-96ae-c0e95377****",
    "UserId": "edas_test****@aliyun****.com",
    "RegionId": "cn-beijing"
  }
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.