Files
aliyun-openapi-cpp-sdk/sae/2019-05-06/CreateApplication.xml
2021-03-25 07:14:27 +00:00

2 lines
16 KiB
XML

<?xml version='1.0' encoding='UTF-8'?><Api responseBodyIsOriginalObject="" authType="AK" responseLog="enable" isolationType="outer" parameterType="Single" product="sae" visibility="Public" akProvenStatus="Disable" version="2019-05-06" keepClientResourceOwnerId="false" name="CreateApplication" showJsonItemName="false" status="online"><IsvProtocol pattern="/pop/v1/sam/app/createApplication" protocol="HTTP|HTTPS" method="POST" /><ErrorMapping exceptionExpress="success=false,code,message,httpStatusCode"><ErrorCodes><ErrorCode code="sae.errorcode.application.missing.jdk.message" errorCode="Application.MissingJdk" type="user" httpCode="400" errorMessage="Your application must at least contain a JDK component." /><ErrorCode code="sae.errorcode.package.type.not.found.message" errorCode="InvalidPackageType.NotFound" type="user" httpCode="400" errorMessage="The package type must be War, FatJar, or Image." /><ErrorCode code="sae.errorcode.ParameterInvalid.FileName.message" errorCode="InvalidParameter.FileName" type="user" httpCode="400" errorMessage="The application deployment package name is invalid. This name can contain only alphanumeric characters, hyphens (-), and underscores (_). In addition, you can upload JAR files only if the selected deployment version supports JAR file. Otherwise, upload WAR files only." /><ErrorCode code="sae.errorcode.invalid.params.not.empty.message" errorCode="InvalidParameter.NotEmpty" type="user" httpCode="400" errorMessage="You must specify the parameter %s." /><ErrorCode code="sae.errorcode.invalid.params.message" errorCode="InvalidParameter.Obviously" type="user" httpCode="400" errorMessage="The specified parameter is invalid {%s}." /><ErrorCode code="sae.errorcode.jar.application.missing.jdk.message" errorCode="JarApplication.MissingJdk" type="user" httpCode="400" errorMessage="A FatJar application must contain JDK." /><ErrorCode code="sae.errorcode.no.available.cluster.message" errorCode="NoAvailableCluster.NotFound" type="user" httpCode="400" errorMessage="No clusters are available for the current region." /><ErrorCode code="sae.errorcode.compute.resource.quota.exceed.message" errorCode="NoComputeResourceQuota.Exceed" type="user" httpCode="400" errorMessage="Your compute resource is insufficient. Please submit a ticket to raise the quota." /><ErrorCode code="sae.errorcode.pandora.application.missing.jdk.message" errorCode="PandoraApplication.MissingJdk" type="user" httpCode="400" errorMessage="The Pandora application is missing a JDK component." /><ErrorCode code="sae.errorcode.pandora.application.only.jdk.message" errorCode="PandoraApplication.OnlyJdk" type="user" httpCode="400" errorMessage="A Pandora application only requires JDK component." /><ErrorCode code="sae.errorcode.invalid.params.with.msg.message" errorCode="InvalidParameter.WithMessage" type="user" httpCode="400" errorMessage="The parameter is invalid {%s}: %s" /><ErrorCode code="sae.errorcode.component.not.exist.message" errorCode="InvalidComponent.NotFound" type="user" httpCode="400" errorMessage="The current component (such as JDK, Tomcat, or EDASWebContainer) does not exist." /><ErrorCode code="sae.errorcode.invalid.hostname.ip.message" errorCode="InvalidHostnameIp.Invalid" type="user" httpCode="400" errorMessage="The hostname and/or IP is invalid: Hostname [%s], IP [%s]." /><ErrorCode code="sae.errorcode.unsupported.instance.specification.message" errorCode="InvalidInstanceSpecification.Unsupported" type="user" httpCode="400" errorMessage="The instance specification is not supported: CPU [%s], memory [%s]." /><ErrorCode code="sae.errorcode.unsupported.region.message" errorCode="InvalidServerlessRegion.Unsupported" type="user" httpCode="400" errorMessage="The current region is not supported: %s" /><ErrorCode code="sae.errorcode.war.application.missing.jdk.webcontainer.message" errorCode="WarApplication.MissingJdkWebcontainer" type="user" httpCode="400" errorMessage="A War application must contain JDK and Tomcat." /><ErrorCode code="sae.errorcode.Namespace.InvalidName.message" errorCode="InvalidNamespace.WithUppercase" type="user" httpCode="400" errorMessage="This namespace does not support creating SAE apps because it contains uppercase letters." /><ErrorCode code="sae.errorcode.sls.config.quota.is.exceeded.message" errorCode="LogService.ConfigQuotaExceed" type="user" httpCode="400" errorMessage="The maximum number of Log Service configs is exceeded." /><ErrorCode code="sae.errorcode.user.sls.service.error.message" errorCode="LogService.InternalError" type="user" httpCode="400" errorMessage="An exception occurred while calling Log Service. Please submit a ticket to solve the problem." /><ErrorCode code="sae.errorcode.sls.log.dir.is.not.valid.message" errorCode="LogService.LogDirInvalid" type="user" httpCode="400" errorMessage="The log collection path is invalid." /><ErrorCode code="sae.errorcode.user.sls.service.is.not.available.message" errorCode="LogService.NotAvailable" type="user" httpCode="400" errorMessage="Log Service is unavailable. Please activate Log Service first." /><ErrorCode code="sae.errorcode.sls.quota.is.exceeded.message" errorCode="LogService.ProjectNumQuotaExceed" type="user" httpCode="400" errorMessage="The maximum number of Log Service projects is exceeded." /><ErrorCode code="sae.errorcode.vswitch.not.exist.message" errorCode="vswitch.not.exist" type="user" httpCode="400" errorMessage="The specified VSwitch does not exist." /><ErrorCode code="sae.errorcode.user.indebt.message" errorCode="user.indebt" type="user" httpCode="400" errorMessage="The user has an outstanding payment." /><ErrorCode code="sae.errorcode.compute.resource.quota.app.exceed.message" errorCode="NoComputeResourceQuota.App.Exceed" type="user" httpCode="400" errorMessage="You can create %s instances for each application. Please submit a ticket to raise the quota." /><ErrorCode code="sae.errorcode.compute.resource.quota.user.exceed.message" errorCode="NoComputeResourceQuota.User.Exceed" type="user" httpCode="400" errorMessage="Your account is limited to create %s instances. Please submit a ticket to raise the quota." /><ErrorCode code="sae.errorcode.system.upgrading.message" errorCode="System.Upgrading" type="user" httpCode="400" errorMessage="The system is being upgraded. Please try again later." /><ErrorCode code="sae.errorcode.invalid.path.conflict.message" errorCode="VolumnPath.Conflict" type="user" httpCode="400" errorMessage="Conflict between log collection directory and persistent storage directory." /><ErrorCode code="sae.errorcode.configmap.mountpath.conflict.message" errorCode="MountConflict.ConfigMap" type="user" httpCode="400" errorMessage="Conflict detected for ConfigMap path %s." /><ErrorCode code="sae.errorcode.configmap.not.found.message" errorCode="NotFound.ConfigMap" type="user" httpCode="400" errorMessage="The ConfigMap object (ID: %s) does not exist." /><ErrorCode code="sae.errorcode.configmap.key.not.found.message" errorCode="NotFound.ConfigMapKey" type="user" httpCode="400" errorMessage="The key %s of ConfigMap object (ID: %s) does not exist." /><ErrorCode code="sae.errorcode.sls.config.mixed.multi.project.message" errorCode="Sls.Config.Mixed.Multi.Project" type="user" httpCode="400" errorMessage="The specified Config contains multiple projects." /><ErrorCode code="sae.errorcode.sls.config.user.defined.missing.logstore.info.message" errorCode="Sls.Config.User.Defined.Missing.Logstore.Info" type="user" httpCode="400" errorMessage="The specified Config is invalid. Both Project and Logstore must be specified." /><ErrorCode code="sae.errorcode.sls.config.user.defined.missing.project.info.message" errorCode="Sls.Config.User.Defined.Missing.Project.Info" type="user" httpCode="400" errorMessage="The specified Config is invalid. Both Project and Logstore must be specified." /><ErrorCode code="sae.errorcode.sls.logstore.name.invalid.message" errorCode="Sls.Logstore.Name.Invalid" type="user" httpCode="400" errorMessage="The specified name of Logstore is invalid. The Logstore name must not contain the prefix &quot;sae-&quot;." /><ErrorCode code="sae.errorcode.sls.logstore.user.defined.not.exist.message" errorCode="Sls.Logstore.User.Defined.Not.Exist" type="user" httpCode="400" errorMessage="The user defined Logstore does not exist." /><ErrorCode code="sae.errorcode.sls.project.name.invalid.message" errorCode="Sls.Project.Name.Invalid" type="user" httpCode="400" errorMessage="The specified project name is invalid. The project name must not contain the prefix &quot;sae-&quot;." /><ErrorCode code="sae.errorcode.sls.project.user.defined.not.exist.message" errorCode="Sls.Project.User.Defined.Not.Exist" type="user" httpCode="400" errorMessage="The user defined project does not exist." /><ErrorCode code="sae.errorcode.ParameterInvalid.NamespaceId.message" errorCode="InvalidNamespaceId.NotFound" type="user" httpCode="404" errorMessage="The specified NamespaceId does not exist." /><ErrorCode code="sae.errorcode.ParameterInvalid.VpcId.message" errorCode="InvalidVpcId.NotFound" type="user" httpCode="404" errorMessage="The specified VpcId does not exist." /></ErrorCodes></ErrorMapping><IspProtocol sign="true" signKeyName="SaeTest" timeout="10000" protocol="http" httpHost="http://sae_pop_publish/#vpc" resultType="Object" signPolicy="Local" httpsValidation="true" retries="-1" /><Parameters><Parameter name="appName" tagName="AppName" type="String" required="true" tagPosition="Query" checkBlank="false" visibility="Public"/><Parameter name="namespaceId" tagName="NamespaceId" type="String" required="false" tagPosition="Query" checkBlank="false" visibility="Public"/><Parameter name="appDescription" tagName="AppDescription" type="String" required="false" tagPosition="Query" checkBlank="false" visibility="Public"/><Parameter name="vpcId" tagName="VpcId" type="String" required="false" tagPosition="Query" checkBlank="false" visibility="Public"/><Parameter name="vSwitchId" tagName="VSwitchId" type="String" required="false" tagPosition="Query" checkBlank="false" visibility="Public"/><Parameter name="packageType" tagName="PackageType" type="String" required="true" tagPosition="Query" checkBlank="false" visibility="Public"/><Parameter name="packageVersion" tagName="PackageVersion" type="String" required="false" tagPosition="Query" checkBlank="false" visibility="Public"/><Parameter name="packageUrl" tagName="PackageUrl" type="String" required="false" tagPosition="Query" checkBlank="false" visibility="Public"/><Parameter name="imageUrl" tagName="ImageUrl" type="String" required="false" tagPosition="Query" checkBlank="false" visibility="Public"/><Parameter name="jdk" tagName="Jdk" type="String" required="false" tagPosition="Query" checkBlank="false" visibility="Public"/><Parameter name="webContainer" tagName="WebContainer" type="String" required="false" tagPosition="Query" checkBlank="false" visibility="Public"/><Parameter name="cpu" tagName="Cpu" type="Integer" required="false" tagPosition="Query" checkBlank="false" visibility="Public"/><Parameter name="memory" tagName="Memory" type="Integer" required="false" tagPosition="Query" checkBlank="false" visibility="Public"/><Parameter name="replicas" tagName="Replicas" type="Integer" required="true" tagPosition="Query" checkBlank="false" visibility="Public"/><Parameter name="command" tagName="Command" type="String" required="false" tagPosition="Query" checkBlank="false" visibility="Public"/><Parameter name="commandArgs" tagName="CommandArgs" type="String" required="false" tagPosition="Query" checkBlank="false" visibility="Public"/><Parameter name="envs" tagName="Envs" type="String" required="false" tagPosition="Query" checkBlank="false" visibility="Public"/><Parameter name="customHostAlias" tagName="CustomHostAlias" type="String" required="false" tagPosition="Query" checkBlank="false" visibility="Public"/><Parameter name="jarStartOptions" tagName="JarStartOptions" type="String" required="false" tagPosition="Query" checkBlank="false" visibility="Public"/><Parameter name="jarStartArgs" tagName="JarStartArgs" type="String" required="false" tagPosition="Query" checkBlank="false" visibility="Public"/><Parameter name="liveness" tagName="Liveness" type="String" required="false" tagPosition="Query" checkBlank="false" visibility="Public"/><Parameter name="readiness" tagName="Readiness" type="String" required="false" tagPosition="Query" checkBlank="false" visibility="Public"/><Parameter name="deploy" tagName="Deploy" type="Boolean" required="false" tagPosition="Query" checkBlank="false" visibility="Public"/><Parameter name="edasContainerVersion" tagName="EdasContainerVersion" type="String" required="false" tagPosition="Query" checkBlank="false" visibility="Public"/><Parameter name="timezone" tagName="Timezone" type="String" required="false" tagPosition="Query" checkBlank="false" visibility="Public"/><Parameter name="slsConfigs" tagName="SlsConfigs" type="String" required="false" tagPosition="Query" checkBlank="false" visibility="Public"/><Parameter name="nasId" tagName="NasId" type="String" required="false" tagPosition="Query" checkBlank="false" visibility="Public"/><Parameter name="mountHost" tagName="MountHost" type="String" required="false" tagPosition="Query" checkBlank="false" visibility="Public"/><Parameter name="mountDesc" tagName="MountDesc" type="String" required="false" tagPosition="Query" checkBlank="false" visibility="Public"/><Parameter name="preStop" tagName="PreStop" type="String" required="false" tagPosition="Query" checkBlank="false" visibility="Public"/><Parameter name="postStart" tagName="PostStart" type="String" required="false" tagPosition="Query" checkBlank="false" visibility="Public"/><Parameter name="warStartOptions" tagName="WarStartOptions" type="String" required="false" tagPosition="Query" checkBlank="false" visibility="Public"/><Parameter name="configMapMountDesc" tagName="ConfigMapMountDesc" type="String" required="false" tagPosition="Body" checkBlank="false" visibility="Public"/><Parameter name="securityGroupId" tagName="SecurityGroupId" type="String" required="false" tagPosition="Query" checkBlank="false" visibility="Public"/><Parameter name="autoConfig" tagName="AutoConfig" type="Boolean" required="false" tagPosition="Query" checkBlank="false" visibility="Public"/><Parameter name="terminationGracePeriodSeconds" tagName="TerminationGracePeriodSeconds" type="Integer" required="false" tagPosition="Query" checkBlank="false" defaultValue="30" minValue="0" maxValue="6000" visibility="Public"/><Parameter name="phpArmsConfigLocation" tagName="PhpArmsConfigLocation" type="String" required="false" tagPosition="Query" checkBlank="false" visibility="Public"/><Parameter name="phpConfigLocation" tagName="PhpConfigLocation" type="String" required="false" tagPosition="Query" checkBlank="false" visibility="Public"/><Parameter name="phpConfig" tagName="PhpConfig" type="String" required="false" tagPosition="Body" checkBlank="false" visibility="Public"/><Parameter name="tomcatConfig" tagName="TomcatConfig" type="String" required="false" tagPosition="Query" checkBlank="false" visibility="Public"/><Parameter name="acrAssumeRoleArn" tagName="AcrAssumeRoleArn" type="String" required="false" tagPosition="Query" checkBlank="false"/></Parameters><FlowControl controlUnit="Minute" userDefault="40" apiDefault="3000" special="test-account-quota" /><PreIspProtocol sign="true" signKeyName="SaeTest" timeout="10000" protocol="http" httpHost="http://sae_pop_pre/#vpc" resultType="Object" signPolicy="Local" httpsValidation="true" retries="-1" /><ResultMapping><Member tagName="Message" visibility="Public" type="String" name="message"/><Member tagName="RequestId" visibility="Public" type="String" name="requestId"/><Member tagName="TraceId" visibility="Public" type="String" name="traceId"/><Member tagName="ErrorCode" visibility="Public" type="String" name="errorCode"/><Member tagName="Code" visibility="Public" type="String" name="code"/><Member tagName="Success" visibility="Public" type="Boolean" name="success"/><Struct tagName="Data" visibility="Public" name="data"><Member tagName="AppId" visibility="Public" type="String" name="appId"/><Member tagName="ChangeOrderId" visibility="Public" type="String" name="changeOrderId"/></Struct></ResultMapping></Api>