Creates 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
POST /pop/v1/sam/app/createApplication HTTP/1.1
Request parameters
Parameter | Type | Position | Required | Example | Description |
AppName | String | Query | Yes | test | The name of the application. The name can contain digits, letters, and hyphens (-). The name must start with a letter and cannot end with a hyphen (-). It cannot exceed 36 characters in length. |
NamespaceId | String | Query | No | cn-beijing:test | The ID of the Serverless App Engine (SAE) namespace. The ID can contain only lowercase letters and hyphens (-). It must start with a lowercase letter. You can call the DescribeNamespaceList operation to obtain the information about a namespace. |
AppDescription | String | Query | No | This is a test description. | The description of the application. The description cannot exceed 1,024 characters in length. |
VpcId | String | Query | No | vpc-bp1aevy8sofi8mh1q**** | The ID of the virtual private cloud (VPC) that is bound to the SAE namespace. You can bind only one VPC to a namespace. You cannot specify the ID of another VPC. The first time you create an application in the namespace, you must specify a VPC. Then, the specified VPC is bound to the namespace. Multiple namespaces can use the same VPC. The default value of this parameter is the ID of the VPC that is bound to the namespace. |
VSwitchId | String | Query | No | vsw-bp12mw1f8k3jgygk9**** | The ID of the vSwitch to which the elastic network interface (ENI) of an application instance is connected. You can specify only a vSwitch that resides in the VPC specified by the VpcId parameter. All vSwitches that reside in the associated VPC are bound to the SAE namespace. The default value of this parameter is the ID of a vSwitch that is bound to the namespace. |
PackageType | String | Query | Yes | FatJar | The type of the deployment package. Valid values:
|
PackageVersion | String | Query | No | 1.0.0 | The version of the deployment package. This parameter is required if the PackageType parameter is set to FatJar, War, or PythonZip. |
PackageUrl | String | Query | No | http://myoss.oss-cn-****.aliyuncs.com/my-buc/2019-06-30/****.jar | The URL of the deployment package. This parameter is required if the PackageType parameter is set to FatJar, War, or PythonZip. |
ImageUrl | String | Query | No | registry.cn-hangzhou.aliyuncs.com/sae_test/ali_sae_test:0.0.1 | The URL of the image. This parameter is required if the PackageType parameter is set to Image. |
Jdk | String | Query | No | Open JDK 8 | The version of the JDK on which the deployment package of the application depends. Valid values:
This parameter is unavailable if the PackageType parameter is set to Image. |
WebContainer | String | Query | No | apache-tomcat-7.0.91 | The version of the Tomcat container on which the deployment package depends. Valid values:
This parameter is unavailable if the PackageType parameter is set to Image. |
Cpu | Integer | Query | No | 1000 | The CPU specifications that are required for each instance. Unit: millicores. You cannot set this parameter to 0. Valid values:
|
Memory | Integer | Query | No | 1024 | The size of memory that is required by each instance. Unit: MB. You cannot set this parameter to 0. The values of this parameter correspond to the values of the Cpu parameter:
|
Replicas | Integer | Query | Yes | 1 | The number of application instances to be created. |
Command | String | Query | No | 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 |
CommandArgs | String | Query | No | ["a","b"] | The parameters of the image startup command. The CommandArgs parameter specifies the parameters that are required for the Command parameter. Format:
In the preceding example, the CommandArgs parameter is set to |
Envs | String | Query | No | [ { "name": "sae-sys-configmap-all-hello", "valueFrom": { "configMapRef": { "configMapId": 100, "key": "" } } }, { "name": "hello", "valueFrom": { "configMapRef": { "configMapId": 101, "key": "php-fpm" } } }, { "name": "envtmp", "value": "newenv" } ] | 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:
|
CustomHostAlias | String | Query | No | [{"hostName":"samplehost","ip":"127.0.0.1"}] | The custom mapping between the hostname and IP address in the container. The following parameters are involved:
|
JarStartOptions | String | Query | No | -Xms4G -Xmx4G | The option settings in the JAR package. The settings are used to start the application container. The default startup command is |
JarStartArgs | String | Query | No | custom-args | The arguments in the JAR package. The arguments are used to start the application container. The default startup command is |
Liveness | String | Query | No | {"exec":{"command":["sh","-c","cat /home/admin/start.sh"]},"initialDelaySeconds":30,"periodSeconds":30,"timeoutSeconds":2} | 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:
|
Readiness | String | Query | No | {"exec":{"command":["sh","-c","cat /home/admin/start.sh"]},"initialDelaySeconds":30,"periodSeconds":30,"timeoutSeconds":2} | 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. |
Deploy | Boolean | Query | No | true | Specifies whether to deploy the application immediately after it is created. Valid values:
|
EdasContainerVersion | String | Query | No | 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 | Query | No | Asia/Shanghai | The time zone. Default value: Asia/Shanghai. |
SlsConfigs | String | Query | No | [{"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. Note The projects that are automatically created by SAE when you create applications are deleted when you delete the corresponding applications. Therefore, when you create an application, we recommend that you do not select an existing project that is automatically created by SAE for log collection. |
NasId | String | Query | No | KSAK**** | We recommend that you configure NasConfigs instead of this parameter. The ID of the Apsara File Storage NAS (NAS) file system that is mounted to the application. The NAS file system must be in the same region as the cluster. The NAS file system must have an available mount target, or have a mount target on the vSwitch in the VPC where the application resides. If you do not configure this parameter but configure the MountDesc parameter, a NAS file system is automatically purchased and mounted to the vSwitch in the VPC. If you do not need to modify the NAS configurations when you deploy the application, configure the NASId 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 NASId parameter empty in the request. |
MountHost | String | Query | No | example.com | We recommend that you configure NasConfigs instead of this parameter. The mount target of the NAS file system in the VPC where 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. |
MountDesc | String | Query | No | [{mountPath: "/tmp", nasPath: "/"}] | We recommend that you configure NasConfigs instead of this parameter. The description of the mounted NAS file system. If you do not need to modify the NAS configurations when you deploy the application, configure the MountDesc 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 MountDesc parameter empty in the request. |
PreStop | String | Query | No | {"exec":{"command":["cat","/etc/group"]}} | The script that is run before the container is stopped. Example: |
PostStart | String | Query | No | {"exec":{"command":["cat","/etc/group"]}} | The script that is run immediately after the container is started. Example: |
WarStartOptions | String | Query | No | CATALINA_OPTS=\"$CATALINA_OPTS $Options\" catalina.sh run | The startup command of the WAR package. For information about how to configure the startup command, see Configure a startup command. |
ConfigMapMountDesc | String | FormData | No | [{"configMapId":16,"key":"test","mountPath":"/tmp"}] | The description of the ConfigMap that is mounted to the application. A ConfigMap that is created on the ConfigMaps page of a namespace is used to inject configurations into containers. The following parameters are involved:
Note You can specify
|
SecurityGroupId | String | Query | No | sg-wz969ngg2e49q5i4**** | The ID of the security group. |
AutoConfig | Boolean | Query | No | true | Specifies whether to automatically configure the network environment. Valid values:
|
TerminationGracePeriodSeconds | Integer | Query | No | 30 | The timeout period for a graceful shutdown. Default value: 30. Unit: seconds. Valid values: 1 to 300. |
PhpArmsConfigLocation | String | Query | No | /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. |
PhpConfigLocation | String | Query | No | /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. |
PhpConfig | String | FormData | No | k1=v1 | The details of the PHP configuration file. |
TomcatConfig | String | Query | No | {"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:
|
OssMountDescs | String | FormData | No | [{"bucketName": "oss-bucket", "bucketPath": "data/user.data", "mountPath": "/usr/data/user.data", "readOnly": true}] | The description of the mounted Object Storage Service (OSS) bucket. The following parameters are involved:
|
OssAkId | String | FormData | No | xxxxxx | The AccessKey ID that is used to read data from and write data to OSS. |
OssAkSecret | String | FormData | No | xxxxxx | The AccessKey secret that is used to read data from and write data to OSS. |
Php | String | FormData | No | PHP-FPM 7.0 | The PHP version on which the PHP deployment package depends. This parameter is unavailable if you deploy applications by using images. |
AcrInstanceId | String | FormData | No | cri-xxxxxx | The ID of the Container Registry Enterprise Edition instance. This parameter is required if the ImageUrl parameter is set to the URL of an image in a Container Registry Enterprise Edition instance. |
AcrAssumeRoleArn | String | Query | No | 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 Grant permissions across Alibaba Cloud accounts by using a RAM role. |
ImagePullSecrets | String | Query | No | 10 | The ID of the corresponding Secret. |
AssociateEip | Boolean | FormData | No | true | Specifies whether to associate an elastic IP address (EIP) with the application. Valid values:
|
ProgrammingLanguage | String | Query | No | java | The programming language that is used to create the application. Valid values:
|
KafkaConfigs | String | Query | No | {"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:
|
PvtzDiscoverySvc | String | Query | No | {"serviceName":"bwm-poc-sc-gateway-cn-beijing-front","namespaceId":"cn-beijing:front","portAndProtocol":{"18012":"TCP"},"enable":true,"portProtocols":[{"port":18012,"protocol":"TCP"}]} | The configurations of Kubernetes Service-based service registration and discovery. The following parameters are involved:
|
MicroRegistration | String | Query | No | "0" | The Nacos registry. Valid values:
|
NasConfigs | String | Query | No | [{"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. The following parameters are involved:
|
Python | String | Query | No | PYTHON 3.9.15 | The Python environment. Valid value: PYTHON 3.9.15. |
PythonModules | String | Query | No | 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. |
EnableEbpf | String | Query | No | false | Specifies whether to enable application monitoring for non-Java applications based on the Extended Berkeley Packet Filter (eBPF) technology. Valid values:
|
Response parameters
Parameter | Type | Example | Description |
RequestId | String | 91F93257-7A4A-4BD3-9A7E-2F6EAE6D**** | The request ID. |
Message | String | success | The returned message. Valid values:
|
TraceId | String | 0a98a02315955564772843261e**** | The trace ID that is used to query the details of the request. |
Data | Object | The returned result. | |
ChangeOrderId | String | 01db03d3-3ee9-48b3-b3d0-dfce2d88**** | The ID of the change order. The ID can be used to query the status of the change task. |
AppId | String | 017f39b8-dfa4-4e16-a84b-1dcee4b1**** | The ID of the application. |
ErrorCode | String | Null | The error code. Valid values:
|
Code | String | 200 | The HTTP status code. Valid values:
|
Success | Boolean | true | Indicates whether the application was created. Valid values:
|
Examples
Sample requests
POST /pop/v1/sam/app/createApplication?AppName=test&NamespaceId=cn-beijing:test&AppDescription=This is a test description.&VpcId=vpc-bp1aevy8sofi8mh1q****&VSwitchId=vsw-bp12mw1f8k3jgygk9****&PackageType=FatJar&PackageVersion=1.0.0&PackageUrl=http://myoss.oss-cn-****.aliyuncs.com/my-buc/2019-06-30/****.jar&ImageUrl=registry.cn-hangzhou.aliyuncs.com/sae_test/ali_sae_test:0.0.1&Jdk=Open JDK 8&WebContainer=apache-tomcat-7.0.91&Cpu=1000&Memory=1024&Replicas=1&Command=echo&CommandArgs=["a","b"]&Envs=[ { "name": "sae-sys-configmap-all-hello", "valueFrom": { "configMapRef": { "configMapId": 100, "key": "" } } }, { "name": "hello", "valueFrom": { "configMapRef": { "configMapId": 101, "key": "php-fpm" } } }, { "name": "envtmp", "value": "newenv" } ]&CustomHostAlias=[{"hostName":"samplehost","ip":"127.0.0.1"}]&JarStartOptions=-Xms4G -Xmx4G&JarStartArgs=custom-args&Liveness={"exec":{"command":["sh","-c","cat /home/admin/start.sh"]},"initialDelaySeconds":30,"periodSeconds":30,"timeoutSeconds":2}&Readiness={"exec":{"command":["sh","-c","cat /home/admin/start.sh"]},"initialDelaySeconds":30,"periodSeconds":30,"timeoutSeconds":2}&Deploy=true&EdasContainerVersion=3.5.3&Timezone=Asia/Shanghai&SlsConfigs=[{"logDir":"","logType":"stdout"},{"logDir":"/tmp/a.log"}]&NasId=KSAK****&MountHost=example.com&MountDesc=[{mountPath: "/tmp", nasPath: "/"}]&PreStop={"exec":{"command":["cat","/etc/group"]}}&PostStart={"exec":{"command":["cat","/etc/group"]}}&WarStartOptions=CATALINA_OPTS=\"$CATALINA_OPTS $Options\" catalina.sh run&SecurityGroupId=sg-wz969ngg2e49q5i4****&AutoConfig=true&TerminationGracePeriodSeconds=30&PhpArmsConfigLocation=/usr/local/etc/php/conf.d/arms.ini&PhpConfigLocation=/usr/local/etc/php/php.ini&TomcatConfig={"port":8080,"contextPath":"/","maxThreads":400,"uriEncoding":"ISO-8859-1","useBodyEncodingForUri":true}&AcrAssumeRoleArn=acs:ram::123456789012****:role/adminrole&ImagePullSecrets=10&ProgrammingLanguage=java&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"}]}&PvtzDiscoverySvc={"serviceName":"bwm-poc-sc-gateway-cn-beijing-front","namespaceId":"cn-beijing:front","portAndProtocol":{"18012":"TCP"},"enable":true,"portProtocols":[{"port":18012,"protocol":"TCP"}]}&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&EnableEbpf=false HTTP/1.1
Host:sae.aliyuncs.com
Content-Type:application/json
ConfigMapMountDesc=[{"configMapId":16,"key":"test","mountPath":"/tmp"}]&PhpConfig=k1=v1&OssMountDescs=[{"bucketName": "oss-bucket", "bucketPath": "data/user.data", "mountPath": "/usr/data/user.data", "readOnly": true}]&OssAkId=xxxxxx&OssAkSecret=xxxxxx&Php=PHP-FPM 7.0&AcrInstanceId=cri-xxxxxx&AssociateEip=true
Sample success responses
XML
format
HTTP/1.1 200 OK
Content-Type:application/xml
<CreateApplicationResponse>
<RequestId>91F93257-7A4A-4BD3-9A7E-2F6EAE6D****</RequestId>
<Message>success</Message>
<TraceId>0a98a02315955564772843261e****</TraceId>
<Data>
<ChangeOrderId>01db03d3-3ee9-48b3-b3d0-dfce2d88****</ChangeOrderId>
<AppId>017f39b8-dfa4-4e16-a84b-1dcee4b1****</AppId>
</Data>
<Code>200</Code>
<Success>true</Success>
</CreateApplicationResponse>
JSON
format
HTTP/1.1 200 OK
Content-Type:application/json
{
"RequestId" : "91F93257-7A4A-4BD3-9A7E-2F6EAE6D****",
"Message" : "success",
"TraceId" : "0a98a02315955564772843261e****",
"Data" : {
"ChangeOrderId" : "01db03d3-3ee9-48b3-b3d0-dfce2d88****",
"AppId" : "017f39b8-dfa4-4e16-a84b-1dcee4b1****"
},
"Code" : "200",
"Success" : true
}
Error codes
HttpCode | Error code | Error message | Description |
400 | Application.MissingJdk | Your application must at least contain a JDK component. | No JDK component is specified. |
400 | InvalidPackageType.NotFound | The package type must be War, FatJar, or Image. | The PackageType parameter is not set to War, FatJar, or Image. |
400 | InvalidParameter.NotEmpty | You must specify the parameter %s. | The value of the %s parameter is invalid. This parameter cannot be left empty. |
400 | InvalidParameter.Obviously | The specified parameter is invalid {%s}. | The value of the {%s} parameter is invalid. |
400 | JarApplication.MissingJdk | A FatJar application must contain JDK. | No JDK is specified for the application whose package type is FatJar. |
400 | NoAvailableCluster.NotFound | No clusters are available for the current region. | No clusters are available in the specified region. |
400 | PandoraApplication.MissingJdk | The Pandora application is missing a JDK component. | No JDK is found for the Pandora application. |
400 | PandoraApplication.OnlyJdk | A Pandora application only requires JDK component. | Components other than JDK were specified for the Pandora application. |
400 | InvalidParameter.WithMessage | The parameter is invalid {%s}: %s | The value %s of the {%s} parameter is invalid. |
400 | InvalidComponent.NotFound | The current component (such as JDK, Tomcat, or EDASWebContainer) does not exist. | The specified component (JDK, Tomcat, or EDASWebContainer) is not found. |
400 | InvalidHostnameIp.Invalid | The hostname and/or IP is invalid: Hostname [%s], IP [%s]. | The hostname [%s] or the IP address [%s] is invalid. |
400 | InvalidInstanceSpecification.Unsupported | The instance specification is not supported: CPU [%s], memory [%s]. | The following instance type is not supported: CPU[%s], Memory[%s]. |
400 | InvalidServerlessRegion.Unsupported | The current region is not supported: %s | The specified %s region is not supported. |
400 | WarApplication.MissingJdkWebcontainer | A War application must contain JDK and Tomcat. | No JDK or Tomcat is specified for the WAR application. You must specify both JDK and Tomcat. |
400 | InvalidNamespace.WithUppercase | This namespace does not support creating SAE apps because it contains uppercase letters. | The specified namespace ID contains uppercase letters. |
400 | LogService.ConfigQuotaExceed | The maximum number of Log Service configs is exceeded. | The number of logging configurations of Simple Log Service exceeds the limit. Join the DingTalk group 32874633 for technical support. |
400 | LogService.InternalError | An exception occurred while calling Log Service. Please submit a ticket to solve the problem. | Simple Log Service failed to be called. Join the DingTalk group 32874633 for technical support. |
400 | LogService.LogDirInvalid | The log collection path is invalid. | The path for log collection is invalid. |
400 | LogService.NotAvailable | Log Service is unavailable. Please activate Log Service first. | Simple Log Service is unavailable. Activate Simple Log Service. |
400 | LogService.ProjectNumQuotaExceed | The maximum number of Log Service projects is exceeded. | The number of Simple Log Service projects exceeds the limit. Join the DingTalk group 32874633 for technical support. |
400 | user.indebt | The user has an outstanding payment. | The current user has overdue payments. |
400 | NoComputeResourceQuota.App.Exceed | You can create %s instances for each application. Please submit a ticket to raise the quota. | A maximum of %s instances can be created for each application. Join the DingTalk group 32874633 for technical support. |
400 | NoComputeResourceQuota.User.Exceed | Your account is limited to create %s instances. Please submit a ticket to raise the quota. | A maximum of %s instances can be created within your account. Join the DingTalk group 32874633 for technical support. |
400 | System.Upgrading | The system is being upgraded. Please try again later. | The system is being upgraded. Try again later. |
400 | VolumnPath.Conflict | Conflict between log collection directory and persistent storage directory. | The log collection directory conflicts with the persistent storage directory. |
400 | MountConflict.ConfigMap | Conflict detected for ConfigMap path %s. | The %s path on which you want to mount the ConfigMap is occupied. |
400 | NotFound.ConfigMap | The ConfigMap object (ID: %s) does not exist. | The specified ConfigMap whose ID is %s does not exist. |
400 | NotFound.ConfigMapKey | The key %s of ConfigMap object (ID: %s) does not exist. | The %s key of the ConfigMap whose ID is %s does not exist. |
400 | Sls.Config.Mixed.Multi.Project | The specified Config contains multiple projects. | Multiple projects are specified in the SlsConfigs parameter. |
400 | Sls.Config.User.Defined.Missing.Logstore.Info | The specified Config is invalid. Both Project and Logstore must be specified. | The logstoreName parameter is not specified in the custom configurations of the SlsConfigs parameter. |
400 | Sls.Config.User.Defined.Missing.Project.Info | The specified Config is invalid. Both Project and Logstore must be specified. | The projectName parameter is not specified in the custom configurations of the SlsConfigs parameter. |
400 | Sls.Logstore.Name.Invalid | The specified name of Logstore is invalid. The Logstore name must not contain the prefix "sae-". | The specified Logstore name is prefixed by "sae-". This prefix can only be used for the Logstores automatically created by SAE. |
400 | Sls.Logstore.User.Defined.Not.Exist | The user defined Logstore does not exist. | The specified Logstore does not exist. |
400 | Sls.Project.Name.Invalid | The specified project name is invalid. The project name must not contain the prefix "sae-". | The specified project name is prefixed by "sae-". This prefix can only be used for the projects automatically created by SAE. |
400 | Sls.Project.User.Defined.Not.Exist | The user defined project does not exist. | The specified project does not exist. |
400 | InvalidImageUrl.AcrInstanceId.Domain.NotMatch | The specified domain of ImageUrl does not match AcrInstanceId domains. | The domain name in the value of the ImageURL parameter does not match the domain name in the value of the AcrInstanceId parameter. |
400 | PhpApplication.MissingPhpRuntime | A PHP application must contain PHP Runtime. | The PHP runtime is not specified for the PHP application. |
400 | InvalidParameter.FileName | The application deployment package name is invalid. This name can contain only alphanumeric characters, hyphens (-), and underscores (_). For deploying java package, you can upload JAR files only if the selected deployment version supports JAR file. Otherwise, upload WAR files only. For deploying php package, you can upload ZIP files only if the selected deployment version supports ZIP file. | The name of the application package is invalid. The name can contain only letters, digits, hyphens (-), and underscores (_). To use JAR packages, make sure that the specified version supports JAR packages. Otherwise, you can only use WAR packages to deploy Java applications. To use zip files to deploy PHP packages, make sure that the specified version supports using zip files. |
400 | Sls.Logtail.Name.Invalid | The specified name of Logtail is invalid. The Logtail name must not contain the prefix sae-. | The specified Logtail configuration name is prefixed by "sae-". This prefix can only be used for the Logtail configurations automatically created by SAE. |
400 | vswitch.not.exist | The specified vSwitch does not exist. | The specified vSwitch does not exist. |
400 | InvalidImageUrl.MissingAcrInstanceId | The specified domain of ImageUrl is from ACREE, but you are not specified AcrInstanceId. | The domain name in the value of the ImageUrl parameter is the domain name of a Container Registry Enterprise Edition instance, but the AcrInstanceId parameter is not configured. |
404 | Associate.Eip.Not.Enough | No sufficient EIPs are available. | No EIP is available to be associated with the application. Purchase EIPs. |
404 | InvalidNamespaceId.NotFound | The specified NamespaceId does not exist. | The specified namespace ID does not exist. |
404 | InvalidVpcId.NotFound | The specified VpcId does not exist. | The specified VPC ID does not exist. |
404 | InvalidAcrInstanceId.NotFound | The specified AcrInstanceId does not exist. | The specified Container Registry instance ID does not exist. |
For a list of error codes, see Service error codes.