Queries the configurations of an application.
Debugging
Request headers
This operation uses only common request headers and does not have operation-specific request headers. For more information, see Common request and response headers.
Request syntax
GET /pop/v1/sam/app/describeApplicationConfig HTTP/1.1
Request parameters
Parameter | Type | Position | Required | Example | Description |
AppId | String | Query | Yes | 7171a6ca-d1cd-4928-8642-7d5cfe69**** | The ID of the application. |
VersionId | String | Query | No | 0026ff7f-2b57-4127-bdd0-9bf202bb**** | The ID of the version. |
Response parameters
Parameter | Type | Example | Description |
RequestId | String | 01CF26C7-00A3-4AA6-BA76-7E95F2A3**** | The request ID. |
Message | String | success | The returned message. |
TraceId | String | ac1a0b2215622246421415014e**** | The trace ID that is used to query the details of the request. |
Data | Object | The information about the application. | |
VpcId | String | vpc-2ze0i263cnn311nvj**** | The ID of the virtual private cloud (VPC). |
Readiness | String | {"exec":{"command":["curl http://localhost:8080"]},"initialDelaySeconds":20,"timeoutSeconds":5} | The readiness check settings of the container. If a container fails this health check multiple times, the container is stopped and then restarted. Containers that fail this health check cannot receive traffic from Server Load Balancer (SLB) instances. You can use the exec, httpGet, or tcpSocket method to perform the health check. For more information, see the Liveness parameter. Note You can use only one method to perform the health check. |
ConfigMapMountDesc | Array of ConfigMapMountDesc | The details of the ConfigMap. | |
Key | String | k1 | The key-value pair that is stored in the ConfigMap. |
ConfigMapName | String | test | The name of the ConfigMap. |
MountPath | String | /tmp | The path on which the ConfigMap is mounted. |
ConfigMapId | Long | 1 | The ID of the ConfigMap. |
SecurityGroupId | String | sg-wz969ngg2e49q5i4**** | The ID of the security group. |
BatchWaitTime | Integer | 10 | The interval between batches in a phased release. Unit: seconds. |
Jdk | String | Open JDK 8 | The version of the JDK on which the deployment package of the application depends. Valid values:
This parameter is not returned if the PackageType parameter is set to Image. |
ImageUrl | String | docker.io/library/nginx:1.14.2 | The URL of the image. This parameter is returned only if the PackageType parameter is set to Image. |
SlsConfigs | String | [{"logDir":"","logType":"stdout"},{"logDir":"/tmp/a.log"}] | The logging configurations of Simple Log Service.
The following parameters are involved:
If you do not need to modify the logging configurations when you deploy the application, configure the SlsConfigs parameter only in the first request. You do not need to include this parameter in subsequent requests. If you no longer need to use Simple Log Service, leave the SlsConfigs parameter empty in the request. |
Liveness | String | {"exec":{"command":["curl http://localhost:8080"]},"initialDelaySeconds":20,"timeoutSeconds":3} | The liveness check settings of the container. If a container fails this health check, the container is stopped and then restarted. Supported methods:
Note You can use only one method to perform the health check. The following parameters are involved:
|
Tags | Array of Tag | The details of the tags. | |
Key | String | k1 | The key of the tag. |
Value | String | v1 | The value of the tag. |
PackageUrl | String | https://edas-bj.oss-cn-beijing.aliyuncs.com/apps/K8s_APP_ID/d4c97c37-aba3-403e-ae1e-6f7d8742****/hello-sae.war | The URL of the deployment package. If you use the SAE console to upload the deployment package, take note of the following items:
|
PackageType | String | War | The type of the deployment package. Valid values:
|
PreStop | String | {"exec":{"command":["cat","/etc/group"]}} | The script that is run before the container is stopped. Example: |
PackageVersion | String | 1.0 | The version of the deployment package. This parameter is returned only if the PackageType parameter is set to FatJar or War. |
JarStartArgs | String | start | The arguments in the JAR package. The arguments are used to start the application container. The default startup command is |
AppName | String | demo-app | The name of the application. |
AppId | String | 7171a6ca-d1cd-4928-8642-7d5cfe69**** | The ID of the application. |
JarStartOptions | String | -Dtest=true | The option settings in the JAR package. The settings are used to start the application container. The default startup command is |
Replicas | Integer | 2 | The number of application instances. |
UpdateStrategy | String | {"type":"GrayBatchUpdate","batchUpdate":{"batch":2,"releaseType":"auto","batchWaitTime":1},"grayUpdate":{"gray":1}} | The release policy. If the minimum number of available instances is 1, the value of the UpdateStrategy parameter is an empty string (""). If the minimum number of available instances is greater than 1, the following policies can be configured:
The following parameters are involved:
|
MinReadyInstances | Integer | 1 | The minimum number of available instances. Valid values:
Note To ensure business continuity, make sure that at least one instance is available during application deployment and rollback. |
MinReadyInstanceRatio | Integer | -1 | The ratio of the minimum number of available instances to the current number of instances. Valid values:
Note If the MinReadyInstance and MinReadyInstanceRatio parameters are configured and the MinReadyInstanceRatio parameter is set to a number from 0 to 100, the value of the MinReadyInstanceRatio parameter takes precedence. For example, if the MinReadyInstances parameter is set to 5, and the MinReadyInstanceRatio parameter is set to 50, the minimum number of available instances is set to the nearest integer rounded up from the calculated result of the following formula: Current number of instances × Value of MinReadyInstanceRatio. |
Memory | Integer | 2048 | The size of memory that is required by each instance. Unit: MB. This parameter cannot be set to 0. The values of this parameter correspond to the values of the Cpu parameter:
|
Php | String | PHP-FPM 7.0 | The PHP version on which the PHP deployment package depends. This parameter is not returned if you deploy applications by using images. |
PhpConfig | String | k1=v1 | The details of the PHP configuration file. |
PhpConfigLocation | String | /usr/local/etc/php/php.ini | The path on which the PHP configuration file for application startup is mounted. Make sure that the PHP server uses this configuration file during the startup. |
PostStart | String | {"exec":{"command":["cat","/etc/group"]}} | The script that is run immediately after the container is started. Example: |
TerminationGracePeriodSeconds | Integer | 10 | The timeout period for a graceful shutdown. Default value: 30. Unit: seconds. Valid values: 1 to 300. |
CommandArgs | String | ["a","b"] | The parameters of the image startup command. The CommandArgs parameter contains the parameters that are required for the Command parameter. Format:
In the preceding Command example, the CommandArgs parameter is set to |
NamespaceId | String | cn-beijing:test | The ID of the namespace. |
MountHost | String | example.com | The mount target of the NAS file system in the VPC in which the application is deployed. If you do not need to modify the NAS configurations when you deploy the application, configure the MountHost parameter only in the first request. You do not need to include this parameter in subsequent requests. If you no longer need to use NAS, leave the MountHost parameter empty in the request. |
TomcatConfig | String | {"port":8080,"contextPath":"/","maxThreads":400,"uriEncoding":"ISO-8859-1","useBodyEncodingForUri":true} | The Tomcat configuration. If you want to delete the configuration, set this parameter to {} or leave this parameter empty. The following parameters are involved:
|
RegionId | String | cn-beijing | The ID of the region. |
VSwitchId | String | vsw-2ze559r1z1bpwqxwp**** | The ID of the vSwitch. |
Cpu | Integer | 1000 | The CPU specifications that are required for each instance. Unit: millicores. This parameter cannot be set to 0. Valid values:
|
Envs | String | [{"name":"TEST_ENV_KEY","value":"TEST_ENV_VAR"}] | The environment variables. You can configure custom environment variables or reference a ConfigMap. Before you can reference a ConfigMap, you must create a ConfigMap. For more information, see CreateConfigMap. The following parameters are involved:
|
MountDesc | Array of MountDesc | The details of the mounted NAS file system. | |
MountPath | String | /tmp | The path on which the NAS file system is mounted. |
NasPath | String | / | The directory in the NAS file system. |
EnableAhas | String | true | Indicates whether access to Application High Availability Service (AHAS) is enabled. Valid values:
|
CustomHostAlias | String | [{"hostName":"test.host.name","ip":"0.0.0.0"}] | The custom mapping between the hostname and IP address in the container. The following parameters are involved:
|
WebContainer | String | apache-tomcat-7.0.91 | The version of the Tomcat container on which the deployment package depends. Valid values:
This parameter is not returned if the PackageType parameter is set to Image. |
Command | String | echo | The command that is used to start the image. The command must be an existing executable object in the container. Example:
In this example, the Command parameter is set to |
WarStartOptions | String | custom-option | The option settings in the WAR package. The settings are used to start the application container. The default startup command is |
PhpArmsConfigLocation | String | /usr/local/etc/php/conf.d/arms.ini | The path on which the PHP configuration file for application monitoring is mounted. Make sure that the PHP server loads the configuration file. SAE automatically generates the corresponding configuration file. No manual operations are required. |
NasId | String | AKSN89** | The ID of the NAS file system. |
OssAkId | String | xxxxxx | The AccessKey ID that is used to read data from and write data to Object Storage Service (OSS). |
OssAkSecret | String | xxxxxx | The AccessKey secret that is used to read data from and write data to OSS. |
OssMountDescs | Array of ossMountDesc | The description of the mounted OSS bucket. | |
bucketName | String | oss-bucket | The name of the OSS bucket. |
bucketPath | String | data/user.data | The directory or object in OSS. If the specified directory or object does not exist, an error is returned. |
mountPath | String | /usr/data/user.data | The path of the container in SAE. The parameter value that you specified overwrites the original value. If the specified path does not exist, SAE automatically creates the path. |
readOnly | Boolean | true | Indicates whether the application can use the container path to read data from or write data to resources in the directory of the OSS bucket. Valid values:
|
EdasContainerVersion | String | 3.5.3 | The version of the container, such as Ali-Tomcat, in which an application that is developed based on High-speed Service Framework (HSF) is deployed. |
Timezone | String | Asia/Shanghai | The time zone. Default value: Asia/Shanghai. |
AppDescription | String | Sample application | The description of the application. |
EnableGreyTagRoute | Boolean | false | Indicates whether the traffic canary rule is enabled. Traffic canary release rules apply only to applications in Spring Cloud and Dubbo frameworks. Valid values:
|
MseApplicationId | String | xxxxxxx@xxxxx | The ID of the microservices application. |
AcrInstanceId | String | cri-xxxxxx | The ID of the Container Registry Enterprise Edition instance. |
AcrAssumeRoleArn | String | acs:ram::123456789012****:role/adminrole | The Alibaba Cloud Resource Name (ARN) of the RAM role that is used to pull images across accounts. For more information, see Pull images across Alibaba Cloud accounts and Grant permissions across Alibaba Cloud accounts by using a RAM role. |
ImagePullSecrets | String | 10 | The ID of the corresponding Secret. |
AssociateEip | Boolean | true | Indicates whether an elastic IP address (EIP) is associated with the application. Valid values:
|
KafkaConfigs | String | {"kafkaEndpoint":"10.0.X.XXX:XXXX,10.0.X.XXX:XXXX,10.0.X.XXX:XXXX","kafkaInstanceId":"alikafka_pre-cn-7pp2l8kr****","kafkaConfigs":[{"logType":"file_log","logDir":"/tmp/a.log","kafkaTopic":"test2"},{"logType":"stdout","logDir":"","kafkaTopic":"test"}]} | The logging configurations of ApsaraMQ for Kafka. The following parameters are involved:
|
ProgrammingLanguage | String | java | The programming language that is used to create the application. Valid values:
|
PvtzDiscovery | String | { "serviceName": "bwm-poc-sc-gateway-cn-beijing-front", "namespaceId": "cn-beijing:front", "portAndProtocol": { "18012": "TCP" }, "portProtocols": [ { "port": "18012", "protocol": "TCP" } ], "enable": true } | The configurations of Kubernetes Service-based service registration and discovery. |
MicroRegistration | String | "0" | The Nacos registry. Valid values:
|
NasConfigs | String | [{"mountPath":"/test1","readOnly":false,"nasId":"nasId1","mountDomain":"nasId1.cn-shenzhen.nas.aliyuncs.com","nasPath":"/test1"},{"nasId":"nasId2","mountDomain":"nasId2.cn-shenzhen.nas.aliyuncs.com","readOnly":false,"nasPath":"/test2","mountPath":"/test2"}] | The configurations for mounting the NAS file system. |
Python | String | PYTHON 3.9.15 | The Python environment. Valid value: PYTHON 3.9.15. |
PythonModules | String | Flask==2.0 | The configurations for installing custom module dependencies. By default, the dependencies defined by the requirements.txt file in the root directory are installed. If no software package is configured or customized, you can specify dependencies based on your business requirements. |
MseApplicationName | String | cn-shenzhen-alb-demo-5c**** | The application name that is registered in Microservices Engine (MSE). |
ErrorCode | String | Null | The error code. Valid values:
|
Code | String | 200 | The HTTP status code. Valid values:
|
Success | Boolean | true | Indicates whether the configurations of an application were obtained. Valid values:
|
Examples
Sample requests
GET /pop/v1/sam/app/describeApplicationConfig?AppId=7171a6ca-d1cd-4928-8642-7d5cfe69****&VersionId=0026ff7f-2b57-4127-bdd0-9bf202bb**** HTTP/1.1
Host:sae.aliyuncs.com
Content-Type:application/json
Sample success responses
XML
format
HTTP/1.1 200 OK
Content-Type:application/xml
<DescribeApplicationConfigResponse>
<RequestId>01CF26C7-00A3-4AA6-BA76-7E95F2A3****</RequestId>
<Message>success</Message>
<TraceId>ac1a0b2215622246421415014e****</TraceId>
<Data>
<VpcId>vpc-2ze0i263cnn311nvj****</VpcId>
<Readiness>{"exec":{"command":["curl http://localhost:8080"]},"initialDelaySeconds":20,"timeoutSeconds":5}</Readiness>
<ConfigMapMountDesc>
<Key>k1</Key>
<ConfigMapName>test</ConfigMapName>
<MountPath>/tmp</MountPath>
<ConfigMapId>1</ConfigMapId>
</ConfigMapMountDesc>
<SecurityGroupId>sg-wz969ngg2e49q5i4****</SecurityGroupId>
<BatchWaitTime>10</BatchWaitTime>
<Jdk>Open JDK 8</Jdk>
<ImageUrl>docker.io/library/nginx:1.14.2</ImageUrl>
<SlsConfigs>[{"logDir":"","logType":"stdout"},{"logDir":"/tmp/a.log"}]</SlsConfigs>
<Liveness>{"exec":{"command":["curl http://localhost:8080"]},"initialDelaySeconds":20,"timeoutSeconds":3}</Liveness>
<Tags>
<Key>k1</Key>
<Value>v1</Value>
</Tags>
<PackageUrl>https://edas-bj.oss-cn-beijing.aliyuncs.com/apps/K8s_APP_ID/d4c97c37-aba3-403e-ae1e-6f7d8742****/hello-sae.war</PackageUrl>
<PackageType>War</PackageType>
<PreStop>{"exec":{"command":["cat","/etc/group"]}}</PreStop>
<PackageVersion>1.0</PackageVersion>
<JarStartArgs>start</JarStartArgs>
<AppName>demo-app</AppName>
<AppId>7171a6ca-d1cd-4928-8642-7d5cfe69****</AppId>
<JarStartOptions>-Dtest=true</JarStartOptions>
<Replicas>2</Replicas>
<UpdateStrategy>{"type":"GrayBatchUpdate","batchUpdate":{"batch":2,"releaseType":"auto","batchWaitTime":1},"grayUpdate":{"gray":1}}</UpdateStrategy>
<MinReadyInstances>1</MinReadyInstances>
<MinReadyInstanceRatio>-1</MinReadyInstanceRatio>
<Memory>2048</Memory>
<Php>PHP-FPM 7.0</Php>
<PhpConfig>k1=v1</PhpConfig>
<PhpConfigLocation>/usr/local/etc/php/php.ini</PhpConfigLocation>
<PostStart>{"exec":{"command":["cat","/etc/group"]}}</PostStart>
<TerminationGracePeriodSeconds>10</TerminationGracePeriodSeconds>
<CommandArgs>["a","b"]</CommandArgs>
<NamespaceId>cn-beijing:test</NamespaceId>
<MountHost>example.com</MountHost>
<TomcatConfig>{"port":8080,"contextPath":"/","maxThreads":400,"uriEncoding":"ISO-8859-1","useBodyEncodingForUri":true}</TomcatConfig>
<RegionId>cn-beijing</RegionId>
<VSwitchId>vsw-2ze559r1z1bpwqxwp****</VSwitchId>
<Cpu>1000</Cpu>
<Envs>[{"name":"TEST_ENV_KEY","value":"TEST_ENV_VAR"}]</Envs>
<MountDesc>
<MountPath>/tmp</MountPath>
<NasPath>/</NasPath>
</MountDesc>
<EnableAhas>true</EnableAhas>
<CustomHostAlias>[{"hostName":"test.host.name","ip":"0.0.0.0"}]</CustomHostAlias>
<WebContainer>apache-tomcat-7.0.91</WebContainer>
<Command>echo</Command>
<WarStartOptions>custom-option</WarStartOptions>
<PhpArmsConfigLocation>/usr/local/etc/php/conf.d/arms.ini</PhpArmsConfigLocation>
<NasId>AKSN89**</NasId>
<OssAkId>xxxxxx</OssAkId>
<OssAkSecret>xxxxxx</OssAkSecret>
<OssMountDescs>
<bucketName>oss-bucket</bucketName>
<bucketPath>data/user.data</bucketPath>
<mountPath>/usr/data/user.data</mountPath>
<readOnly>true</readOnly>
</OssMountDescs>
<EdasContainerVersion>3.5.3</EdasContainerVersion>
<Timezone>Asia/Shanghai</Timezone>
<AppDescription>Sample application</AppDescription>
<EnableGreyTagRoute>false</EnableGreyTagRoute>
<MseApplicationId>xxxxxxx@xxxxx</MseApplicationId>
<AcrInstanceId>cri-xxxxxx</AcrInstanceId>
<AcrAssumeRoleArn>acs:ram::123456789012****:role/adminrole</AcrAssumeRoleArn>
<ImagePullSecrets>10</ImagePullSecrets>
<AssociateEip>true</AssociateEip>
<KafkaConfigs>{"kafkaEndpoint":"10.0.X.XXX:XXXX,10.0.X.XXX:XXXX,10.0.X.XXX:XXXX","kafkaInstanceId":"alikafka_pre-cn-7pp2l8kr****","kafkaConfigs":[{"logType":"file_log","logDir":"/tmp/a.log","kafkaTopic":"test2"},{"logType":"stdout","logDir":"","kafkaTopic":"test"}]}</KafkaConfigs>
<ProgrammingLanguage>java</ProgrammingLanguage>
<PvtzDiscovery>{ "serviceName": "bwm-poc-sc-gateway-cn-beijing-front", "namespaceId": "cn-beijing:front", "portAndProtocol": { "18012": "TCP" }, "portProtocols": [ { "port": "18012", "protocol": "TCP" } ], "enable": true }</PvtzDiscovery>
<MicroRegistration>"0"</MicroRegistration>
<NasConfigs>[{"mountPath":"/test1","readOnly":false,"nasId":"nasId1","mountDomain":"nasId1.cn-shenzhen.nas.aliyuncs.com","nasPath":"/test1"},{"nasId":"nasId2","mountDomain":"nasId2.cn-shenzhen.nas.aliyuncs.com","readOnly":false,"nasPath":"/test2","mountPath":"/test2"}]</NasConfigs>
<Python>PYTHON 3.9.15</Python>
<PythonModules>Flask==2.0</PythonModules>
<MseApplicationName>cn-shenzhen-alb-demo-5c****</MseApplicationName>
</Data>
<Code>200</Code>
<Success>true</Success>
</DescribeApplicationConfigResponse>
JSON
format
HTTP/1.1 200 OK
Content-Type:application/json
{
"RequestId" : "01CF26C7-00A3-4AA6-BA76-7E95F2A3****",
"Message" : "success",
"TraceId" : "ac1a0b2215622246421415014e****",
"Data" : {
"VpcId" : "vpc-2ze0i263cnn311nvj****",
"Readiness" : "{\"exec\":{\"command\":[\"curl http://localhost:8080\"]},\"initialDelaySeconds\":20,\"timeoutSeconds\":5}",
"ConfigMapMountDesc" : [ {
"Key" : "k1",
"ConfigMapName" : "test",
"MountPath" : "/tmp",
"ConfigMapId" : 1
} ],
"SecurityGroupId" : "sg-wz969ngg2e49q5i4****",
"BatchWaitTime" : 10,
"Jdk" : "Open JDK 8",
"ImageUrl" : "docker.io/library/nginx:1.14.2",
"SlsConfigs" : "[{\"logDir\":\"\",\"logType\":\"stdout\"},{\"logDir\":\"/tmp/a.log\"}]",
"Liveness" : "{\"exec\":{\"command\":[\"curl http://localhost:8080\"]},\"initialDelaySeconds\":20,\"timeoutSeconds\":3}",
"Tags" : [ {
"Key" : "k1",
"Value" : "v1"
} ],
"PackageUrl" : "https://edas-bj.oss-cn-beijing.aliyuncs.com/apps/K8s_APP_ID/d4c97c37-aba3-403e-ae1e-6f7d8742****/hello-sae.war",
"PackageType" : "War",
"PreStop" : "{\"exec\":{\"command\":[\"cat\",\"/etc/group\"]}}",
"PackageVersion" : "1.0",
"JarStartArgs" : "start",
"AppName" : "demo-app",
"AppId" : "7171a6ca-d1cd-4928-8642-7d5cfe69****",
"JarStartOptions" : "-Dtest=true",
"Replicas" : 2,
"UpdateStrategy" : "{\"type\":\"GrayBatchUpdate\",\"batchUpdate\":{\"batch\":2,\"releaseType\":\"auto\",\"batchWaitTime\":1},\"grayUpdate\":{\"gray\":1}}",
"MinReadyInstances" : 1,
"MinReadyInstanceRatio" : -1,
"Memory" : 2048,
"Php" : "PHP-FPM 7.0",
"PhpConfig" : "k1=v1",
"PhpConfigLocation" : "/usr/local/etc/php/php.ini",
"PostStart" : "{\"exec\":{\"command\":[\"cat\",\"/etc/group\"]}}",
"TerminationGracePeriodSeconds" : 10,
"CommandArgs" : "[\"a\",\"b\"]",
"NamespaceId" : "cn-beijing:test",
"MountHost" : "example.com",
"TomcatConfig" : "{\"port\":8080,\"contextPath\":\"/\",\"maxThreads\":400,\"uriEncoding\":\"ISO-8859-1\",\"useBodyEncodingForUri\":true}",
"RegionId" : "cn-beijing",
"VSwitchId" : "vsw-2ze559r1z1bpwqxwp****",
"Cpu" : 1000,
"Envs" : "[{\"name\":\"TEST_ENV_KEY\",\"value\":\"TEST_ENV_VAR\"}]",
"MountDesc" : [ {
"MountPath" : "/tmp",
"NasPath" : "/"
} ],
"EnableAhas" : "true",
"CustomHostAlias" : "[{\"hostName\":\"test.host.name\",\"ip\":\"0.0.0.0\"}]",
"WebContainer" : "apache-tomcat-7.0.91",
"Command" : "echo",
"WarStartOptions" : "custom-option",
"PhpArmsConfigLocation" : "/usr/local/etc/php/conf.d/arms.ini",
"NasId" : "AKSN89**",
"OssAkId" : "xxxxxx",
"OssAkSecret" : "xxxxxx",
"OssMountDescs" : [ {
"bucketName" : "oss-bucket",
"bucketPath" : "data/user.data",
"mountPath" : "/usr/data/user.data",
"readOnly" : true
} ],
"EdasContainerVersion" : "3.5.3",
"Timezone" : "Asia/Shanghai",
"AppDescription": "Sample application",
"EnableGreyTagRoute" : false,
"MseApplicationId" : "xxxxxxx@xxxxx",
"AcrInstanceId" : "cri-xxxxxx",
"AcrAssumeRoleArn" : "acs:ram::123456789012****:role/adminrole",
"ImagePullSecrets" : "10",
"AssociateEip" : true,
"KafkaConfigs" : "{\"kafkaEndpoint\":\"10.0.X.XXX:XXXX,10.0.X.XXX:XXXX,10.0.X.XXX:XXXX\",\"kafkaInstanceId\":\"alikafka_pre-cn-7pp2l8kr****\",\"kafkaConfigs\":[{\"logType\":\"file_log\",\"logDir\":\"/tmp/a.log\",\"kafkaTopic\":\"test2\"},{\"logType\":\"stdout\",\"logDir\":\"\",\"kafkaTopic\":\"test\"}]}",
"ProgrammingLanguage" : "java",
"PvtzDiscovery" : "{ \"serviceName\": \"bwm-poc-sc-gateway-cn-beijing-front\", \"namespaceId\": \"cn-beijing:front\", \"portAndProtocol\": { \"18012\": \"TCP\" }, \"portProtocols\": [ { \"port\": \"18012\", \"protocol\": \"TCP\" } ], \"enable\": true }",
"MicroRegistration" : "\"0\"",
"NasConfigs" : "[{\"mountPath\":\"/test1\",\"readOnly\":false,\"nasId\":\"nasId1\",\"mountDomain\":\"nasId1.cn-shenzhen.nas.aliyuncs.com\",\"nasPath\":\"/test1\"},{\"nasId\":\"nasId2\",\"mountDomain\":\"nasId2.cn-shenzhen.nas.aliyuncs.com\",\"readOnly\":false,\"nasPath\":\"/test2\",\"mountPath\":\"/test2\"}]",
"Python" : "PYTHON 3.9.15",
"PythonModules" : "Flask==2.0",
"MseApplicationName" : "cn-shenzhen-alb-demo-5c****"
},
"Code" : "200",
"Success" : true
}
Error codes
HttpCode | Error code | Error message | Description |
400 | InvalidApplication.NotFound | The current application does not exist. | The specified application is not found. |
404 | InvalidAppId.NotFound | The specified AppId does not exist. | The specified application ID does not exist. |
For a list of error codes, see Service error codes.