All Products
Search
Document Center

Enterprise Distributed Application Service:InsertK8sApplication

Last Updated:Feb 01, 2024

Creates an application in a Container Service for Kubernetes (ACK) cluster or serverless Kubernetes cluster.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request syntax

POST /pop/v5/k8s/acs/create_k8s_app

Request parameters

ParameterTypeRequiredDescriptionExample
IntranetTargetPortintegerNo

The backend port of the internal-facing Server Load Balancer (SLB) instance. This port also serves as the service port of the application. Valid values: 1 to 65535.

80
IntranetSlbPortintegerNo

The frontend port of the internal-facing SLB instance. Valid values: 1 to 65535.

80
ImageUrlstringNo

The URL of the image. This parameter is required if you set the PackageType parameter to Image.

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

The description of the application.

Application in the production environment
RepoIdstringNo

The ID of the image repository.

ced********
ReplicasintegerNo

The number of application instances.

4
LimitCpuintegerNo

The maximum number of CPU cores allowed for each application instance when the application is running. Unit: cores. If the LimitmCpu parameter is specified, you can ignore this parameter.

4
LimitMemintegerNo

The maximum size of memory allowed for each application instance when the application is running. Unit: MB. The value of LimitMem must be greater than that of RequestsMem.

2
RequestsCpuintegerNo

The maximum number of CPU cores allowed for each application instance when the application is created. Unit: cores. Value 0 indicates that no limit is set on CPU cores. If the RequestsmCpu parameter is specified, the value of the RequestsmCpu parameter is used. You can ignore this parameter.

0
RequestsMemintegerNo

The maximum size of memory allowed for each application instance when the application is created. Unit: MB. Value 0 indicates that no limit is set on the memory size. The value of RequestsMem cannot be greater than that of LimitMem.

0
CommandstringNo

The application startup command. If you specify this parameter, the value of this parameter will replace the startup command in the image.

ls
CommandArgsstringNo

The arguments in the command. The parameter value is a JSON array of strings. An example is [{"argument":"-c"},{"argument":"test"}], where -c and test are two arguments that can be set.

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

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

doc-test
IntranetSlbProtocolstringNo

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

TCP
IntranetSlbIdstringNo

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

ae93********
ClusterIdstringYes

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

c9cd****
InternetSlbIdstringNo

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********
InternetSlbProtocolstringNo

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

TCP
InternetSlbPortintegerNo

The frontend port of the Internet-facing SLB instance. Valid values: 1 to 65535.

80
InternetTargetPortintegerNo

The backend port of the internal-facing SLB instance. This port also serves as the service port of the application. Valid values: 1 to 65535.

8080
EnvsstringNo

The environment variables that are used to deploy the application. The value must be a JSON array. Valid values: regular environment variables, Kubernetes ConfigMap environment variables, or Kubernetes Secret environment variables. Specify regular environment variables in the following format:

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

Specify Kubernetes ConfigMap environment variables in the following format to reference values from ConfigMaps:

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

Specify Kubernetes Secret environment variables in the following format to reference values from Secrets:

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

Note If you want to cancel this configuration, set this parameter to an empty JSON array in the format of "[]".
[{"name":"x1","value":"y1"},{"name":"x2","valueFrom":{"configMapKeyRef":{"name":"my-config","key":"y2"}}},{"name":"x3","valueFrom":{"secretKeyRef":{"name":"my-secret","key":"y3"}}}]
PreStopstringNo

The pre-stop script. Example: {"tcpSocket":{"host":"", "port":8080}}.

If you want to cancel this configuration, leave this parameter empty by setting it to "" or {}. If you do not specify this parameter, this configuration is ignored.

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

The post-start script. Example: {"exec":{"command":\["cat","/etc/group"\]}}.

If you want to cancel this configuration, leave this parameter empty by setting it to "" or {}. If you do not specify this parameter, this configuration is ignored.

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

The configuration for the liveness check on the container. Example: {"failureThreshold": 3,"initialDelaySeconds": 5,"successThreshold": 1,"timeoutSeconds": 1,"tcpSocket":{"host":"", "port":8080}}.

If you want to cancel this configuration, leave the parameter value empty by entering "" or {}. If you do not specify this parameter, this configuration is ignored.

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

The configuration for the readiness check on the container. If the check fails, the traffic that passes through the Kubernetes Service is not transmitted to the container. Example: `{"failureThreshold": 3,"initialDelaySeconds": 5,"successThreshold": 1,"timeoutSeconds": 1,"httpGet": {"path": "/consumer","port": 8080,"scheme": "HTTP","httpHeaders": \[{"name": "test","value": "testvalue"}\]}}`.``

If you want to cancel this configuration, leave the parameter value empty by entering "" or {}. If you do not specify this parameter, this configuration is ignored.

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

The ID of the Network Attached Storage (NAS) file system that you want to mount to the application. If you do not specify this parameter but specify the MountDescs parameter, a NAS file system is automatically purchased and mounted to the vSwitch in the VPC.

dfs23****
MountDescsstringNo

The description of the NAS mounting configuration. Set this parameter to a serialized JSON string. Example: \[{"nasPath": "/k8s","mountPath": "/mnt"},{"nasPath": "/files","mountPath": "/app/files"}\]. The nasPath parameter specifies the file storage path, and the mountPath parameter specifies the path to mount the file system to the container where the application is running.

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

The storage type of the NAS file system.

  • Valid values for General-purpose NAS file systems: Capacity and Performance.
  • Valid values for Extreme NAS file systems: Standard and Advance.

You can set this parameter only to Performance.

Performance
LocalVolumestringNo

The configurations that are used when the host files are mounted to the container on which the application is running. Example: \[{"type":"","nodePath":"/localfiles","mountPath":"/app/files"},{"type":"Directory","nodePath":"/mnt","mountPath":"/app/storage"}\]. Description:

  • nodePath: the host path.
  • mountPath: the path in the container.
  • type: the mounting type.
[{"type":"","nodePath":"/localfiles","mountPath":"/app/files"},{"type":"Directory","nodePath":"/mnt","mountPath":"/app/storage"}]
NamespacestringNo

The namespace of the Kubernetes cluster. This parameter specifies the Kubernetes namespace in which your application is deployed. By default, the default namespace is used.

default
LogicalRegionIdstringNo

The ID of the EDAS namespace. This parameter is required for a non-default namespace.

cn-shenzhen:beta****
PackageTypestringNo

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

WAR
PackageUrlstringNo

The URL of the deployment package. This parameter is required if you use a FatJar or WAR package to deploy the application.

Note The version of EDAS SDK for Java or Python must be V2.44.0 or later.
https://e***.oss-cn-beijing.aliyuncs.com/s***-1.0-SNAPSHOT-spring-boot.jar
PackageVersionstringNo

The version of the deployment package. This parameter is required if you use a FatJar or WAR package to deploy the application. You must specify a version.

Note The version of EDAS SDK for Java or Python must be V2.44.0 or later.
20200720
JDKstringNo

The version of the Java Development Kit (JDK) on which the deployment package of the application depends. Valid values: Open JDK 7 and Open JDK 8. This parameter is unavailable if you deploy applications by using images.

Open JDK 8
WebContainerstringNo

The version of the Tomcat container on which the deployment package of the application depends. This parameter is applicable to Spring Cloud and Dubbo applications that you deploy by using WAR packages. This parameter is unavailable if you deploy applications by using images.

apache-tomcat-7.0.91
EdasContainerVersionstringNo

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

Note This parameter is unavailable if you deploy applications by using images.
3.5.9
UriEncodingstringNo

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

Note If you do not specify this parameter in the application configurations, the default URI encoding scheme in the Tomcat container is applied.
GBK
UseBodyEncodingbooleanNo

Specifies whether to use the encoding scheme specified in the request body for URI query parameters.

Note If this parameter is not specified in application configuration, the default value false is applied.
false
RequestsmCpuintegerNo

The maximum number of CPU cores allowed for each application instance when the application is created. Unit: millicores.

500
LimitmCpuintegerNo

The maximum number of CPU cores allowed for each application instance when the application is running. Unit: millicores. Value 0 indicates that no limit is set on CPU cores.

1000
RuntimeClassNamestringNo

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

runc
DeployAcrossZonesstringNo

Specifies whether to distribute application instances across zones. Value true indicates that application instances are distributed across zones. Other values indicate that application instances are not distributed across zones.

true
TimeoutintegerNo

The timeout period of the change process. Valid values: 1 to 1800. Unit: seconds. If you do not specify this Unidentifiedparameter, the default value 1800 is used.

60
EnableAhasbooleanNo

Specifies whether to enable access to Application High Availability Service (AHAS). Valid values:

  • true: enables access to AHAS.
  • false: does not enable access to AHAS.
true
WebContainerConfigstringNo

The configuration of the Tomcat container. If you want to cancel this configuration, set this parameter to "" or "{}". The following parameters are included in the configuration:

  • useDefaultConfig: specifies whether to use the default configuration. Value true indicates that the default configuration is used. Value false indicates that the custom configuration is used. If the default configuration is used, the following parameters do not take effect:

  • contextInputType: the type of the access path for the application. Valid values:

    • war: The access path is the name of the WAR package. You do not need to specify a custom path.
    • root: The access path for the application is /. You do not need to specify a custom path.
    • custom: If you select this option, you must specify a custom path for the contextPath parameter.
  • contextPath: the custom access path for the application. This parameter is required only when you set the contextInputType parameter to custom.

  • httpPort: the port number. The port number ranges from 1024 to 65535. Though the admin permissions are configured for the container, the root permissions are required to perform operations on ports whose number is less than 1024. Enter a value that ranges from 1024 to 65535 because the container has only the admin permissions. If you do not configure this parameter, the default port number 8080 is used.

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

    **

    NoteThis parameter significantly affects application performance. We recommend that you consult with technical support before you set this parameter.

  • uriEncoding: the URI encoding scheme in the Tomcat container. 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 the encoding scheme specified in the request body for URI query parameters.

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

  • serverXml: the content of the server.xml file customized by using advanced configurations. This parameter takes effect only when you set the useAdvancedServerXml parameter to true.

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

The configuration of Java startup parameters for a Java application. These startup parameters involve the memory, application, garbage collection (GC) policy, tools, service registration and discovery, and custom configurations. Appropriate parameter settings help reduce the GC overheads, shorten the server response time, and improve the throughput. Set this parameter to a JSON string. In the example, original indicates the configuration value, and startup indicates a startup parameter. The system automatically concatenates all startup values as the settings of Java startup parameters for the application. To delete this configuration, leave the parameter value empty by entering "" or "{}". The following parameters are included in the configuration:

  • InitialHeapSize: the initial size of the heap memory.
  • MaxHeapSize: the maximum size of the heap memory.
  • CustomParams: the custom parameters, such as JVM -D parameters.
  • Other parameters: 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"}}
SlsConfigsstringNo

The Logstore configuration. To delete this configuration, leave the parameter value empty by entering "" or "{}".

  • The following parameters are included in the configuration:

    • type: the collection type. Set this parameter to file to specify the file type. Set this parameter to stdout to specify the standard output type.

    • logstore: the name of the Logstore. Make sure that the name of the Logstore is unique in the cluster. The name must comply with the following rules:

      • 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 standard output type is used, the collection path is stdout.log. If the file type is used, the collection path is the path of the collected file. 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/*"}]
IsMultilingualAppbooleanNo

Specifies whether the application is a multi-language application.

true
DeployAcrossNodesstringNo

Specifies whether to distribute application instances across nodes. Value true indicates that application instances are distributed across nodes. Other values indicate that application instances are not distributed across nodes.

true
PvcMountDescsstringNo

The configuration for mounting a Kubernetes PersistentVolumeClaim (PVC) volume to a directory in an elastic container instance. The following parameters are included in the configuration:

  • pvcName: the name of the PVC volume. Make sure that the PVC volume is an existing volume and is in the Bound state.

  • mountPaths: the directory to which you want to mount the PVC volume. You can configure multiple directories. You can set the following two parameters for each mount directory:

    • mountPath: the mount path. The mount path must be an absolute path that starts with a forward slash (/).
    • readOnly: the mount mode. Value true indicates the read-only mode. Value false indicates 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}]}]
ConfigMountDescsstringNo

The configuration for mounting a Kubernetes ConfigMap or Secret to a directory in an elastic container instance. The following parameters are included in the configuration:

  • name: the name of the Kubernetes ConfigMap or Secret.
  • type: the type of the API object that you want to mount. You can mount a Kubernetes ConfigMap or Secret.
  • mountPath: the mount path. The mount 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"}]
CsClusterIdstringNo

The ID of the cluster. This parameter is required only when you create the application in a cluster that has not been imported.

abcdefg
EnableAsmbooleanNo

Specifies whether to activate Alibaba Cloud Service Mesh (ASM). Set this parameter to true only when you create the application in a cluster that has not been imported and you need to use ASM.

false
EnvFromsstringNo

The Kubernetes environment variables that are configured in EnvFrom mode. A ConfigMap or Secret is mounted to a directory. Each key corresponds to a file in the directory, and the content of the file is the value of the key.

The following parameters are included in the configuration:

  • configMapRef: the ConfigMap that is referenced. The following parameter is contained:

    • name: the name of the ConfigMap.
  • secretRef: the Secret that is referenced. The following parameter is contained:

    • name: the name of the Secret.
[{"name":"appname","valueFrom":{"configMapKeyRef":{"name":"appconf","key":"name"}}}]
EmptyDirsstringNo

The configuration for mounting a Kubernetes emptyDir volume to a directory in an elastic container instance. The following parameters are included in the configuration:

  • mountPath: The mount path in the container. This parameter is required.
  • readOnly: (Optional) The mount mode. Value true indicates the read-only mode. Value false indicates the read and write mode. Default value: false.
  • subPathExpr: (Optional) The regular expression that is used to match the subdirectory.
[{"mountPath":"/app-log","subPathExpr":"$(POD_IP)"},{"readOnly":true,"mountPath":"/etc/nginx"}]
BuildPackIdstringNo

The version of EDAS Container. The value of this parameter conflicts with that of the EdasContainerVersion parameter. We recommend that you use the EdasContainerVersion parameter.

-1
CustomAffinitystringNo

The custom affinity.

demo
CustomTolerationsstringNo

The custom tolerances.

demo
ResourceGroupIdstringNo

The ID of the resource group.

461
AnnotationsstringNo

The annotation of an application pod.

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

The label of an application pod.

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

Specifies whether to enable the empty list protection feature. Valid values:

  • true: enables the empty list protection feature.
  • false: disables the empty list protection feature.
false
EnableLosslessRulebooleanNo

Specifies whether to enable graceful start rules. Valid values:

  • true: enables graceful start rules.
  • false: disables graceful start rules.
true
LosslessRuleWarmupTimeintegerNo

The service prefetching duration. Valid values: 0 to 86400. Unit: seconds.

120
LosslessRuleDelayTimeintegerNo

The delay of service registration. Valid values: 0 to 86400. Unit: seconds.

0
LosslessRuleFuncTypeintegerNo

The number of prefetching curves. Valid values: 0 to 20. The default value is 2, which is suitable for common prefetching scenarios. This value indicates that the received traffic of the provider during prefetching is displayed as a quadratic curve.

2
LosslessRuleAlignedbooleanNo

Specifies whether to enable the graceful rolling deployment mode and ensure that the service is registered before the readiness check. Valid values:

  • true: provides port 55199 and the /health path for the health check in a non-intrusive manner. When the service is registered, the system returns HTTP 200 status code. Otherwise, the system returns HTTP 500 status code.

    **

    NoteIf you set both the LosslessRuleRelated parameter and this parameter to true, the operation checks whether the service prefetching is complete.

  • false: does not check whether the service is registered.

false
LosslessRuleRelatedbooleanNo

Specifies whether to enable the graceful rolling deployment mode and ensure that the service prefetching is complete before the readiness check. Valid values:

  • true: provides port 55199 and the /health path for the health check in a non-intrusive manner. When the service prefetching is complete, the system returns HTTP 200 status code. Otherwise, the system returns HTTP 500 status code.
  • false: does not check whether the service prefetching is complete.
false
ServiceConfigsstringNo

The configurations of services in a Kubernetes cluster.

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

The name of the template used to create the application. If you specify an application template when you create an application, the application template and the AppConfig parameter are used to configure the application. Other configurations are ignored.

app-template001
AppConfigstringNo

The application configuration when the application template is used. Set this parameter to a JSON array.

{}
LimitEphemeralStorageintegerNo

The maximum size of space required by ephemeral storage. Unit: GB. Value 0 indicates that no limit is set on the space size.

4
RequestsEphemeralStorageintegerNo

The minimum size of space required by ephemeral storage. Unit: GB. Value 0 indicates that no limit is set on the space size.

2
SecretNamestringNo

The name of the credential that is used to pull the images specified by the user. You must configure the Secret.

edas-app-01-image-secret
ContainerRegistryIdstringNo

The ID of the repository used to build the image repository. If this parameter is left empty, the default repository provided by EDAS is used. Only the default repository provided by EDAS is supported.

Leave empty
WorkloadTypestringNo

The type of Workload when creating an application is currently only supported for the Deployment type.

Deployment
SidecarsstringNo

Set up a Sidecar container for the application Pod. Support setting the format YAML for container configuration, which is the value of Sidecar container YAML configured with base64 encoding.

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

Set the initialization container for the application Pod. Support setting the format YAML for container configuration, which is the value of Init container YAML configured with base64 encoding.

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

When using custom JDK runtime, it is necessary to configure the basic image address. The address needs to be publicly accessible, and the EDAS server will pull the image to build the application image.

openjdk:8u302
TerminateGracePeriodintegerNo

Set the grace stop timeout for the application. Unit: seconds.

120
ImagePlatformsstringNo

Mirror the target platform architecture, which is effective when deployed using war or jar. Enter an example:

  • Specify x86 64 architecture: Linux/amd64
  • Specify ARM 64 architecture: Linux/arm64
  • Specify the construction of dual architecture images: Linux/amd64, Linux/arm64
  • Do not input: default schema
StartupstringNo

The startup probe can be used to detect the viability of slow start containers, avoiding them from being killed before startup. The format is as follows: {"FailureThreshold": 3, "initialDelaySeconds": 5, "SuccessThreshold": 1, "timeoutSeconds": 1, "https Get": {"path": "/consumer", "port": 8080, "scheme": "HTTP", "https Headers": [{"name": "test", "value": "testvalue"}]}.

If set to "" or {}, it means delete, and if not set, it means ignore.

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

Response parameters

ParameterTypeDescriptionExample
object

The content that is returned.

Codeinteger

The HTTP status code that is returned.

200
Messagestring

The additional information that is returned.

success
RequestIdstring

The ID of the request.

b197-40ab-9155-****
ApplicationInfoobject

The details of the application.

ChangeOrderIdstring

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

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

The name of the application.

test
Dockerizeboolean

Indicates whether the application is a Docker application.

  • true: The application is a Docker application.
  • false: The application is not a Docker application.
true
Ownerstring

The owner of the application.

zp
EdasIdstring

The ID of the user to which the application belongs. This ID is generated by EDAS.

1172****6608****
ClusterTypeinteger

The type of the cluster. Valid values:

  • 0: regular Docker cluster
  • 1: Swarm cluster (discontinued)
  • 2: Elastic Compute Service (ECS) cluster
  • 3: self-managed Kubernetes cluster in EDAS (discontinued)
  • 4: cluster in which Pandora automatically registers applications
  • 5: ACK cluster and serverless Kubernetes cluster
5
AppIdstring

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****
UserIdstring

The ID of the Alibaba Cloud account to which the application belongs.

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

The ID of the region.

cn-beijing

Examples

Sample success responses

JSONformat

{
  "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

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

Change history

Change timeSummary of changesOperation
2024-01-30The request parameters of the API has changedsee changesets
Change itemChange content
Input ParametersThe request parameters of the API has changed.
    Added Input Parameters: CustomAgentVersion
2023-11-13The request parameters of the API has changedsee changesets
Change itemChange content
Input ParametersThe request parameters of the API has changed.
    Added Input Parameters: FeatureConfig
2023-10-10The request parameters of the API has changedsee changesets
Change itemChange content
Input ParametersThe request parameters of the API has changed.
    Added Input Parameters: ImagePlatforms
    Added Input Parameters: Startup
2023-06-02The request parameters of the API has changedsee changesets
Change itemChange content
Input ParametersThe request parameters of the API has changed.
    Added Input Parameters: TerminateGracePeriod
2023-03-27The request parameters of the API has changedsee changesets
Change itemChange content
Input ParametersThe request parameters of the API has changed.
    Added Input Parameters: UserBaseImageUrl
2023-03-24The request parameters of the API has changedsee changesets
Change itemChange content
Input ParametersThe request parameters of the API has changed.
    Added Input Parameters: Sidecars
    Added Input Parameters: InitContainers