RollbackApplication.xml 11 KB

1
  1. <?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="RollbackApplication" showJsonItemName="false" status="online"><IsvProtocol pattern="/pop/v1/sam/app/rollbackApplication" protocol="HTTP|HTTPS" method="PUT" /><ErrorMapping exceptionExpress="success=false,code,message,httpStatusCode"><ErrorCodes><ErrorCode code="sae.errorcode.app.not.found.message" errorCode="InvalidApplication.NotFound" type="user" httpCode="400" errorMessage="The current application does not exist." /><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.invalid.params.with.msg.message" errorCode="InvalidParameter.WithMessage" type="user" httpCode="400" errorMessage="The parameter is invalid {%s}: %s" /><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.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.Application.ChangerOrderRunning.message" errorCode="Application.ChangerOrderRunning" type="user" httpCode="400" errorMessage="An application change process is in progress. Please try again later." /><ErrorCode code="sae.errorcode.Application.InvalidStatus.message" errorCode="Application.InvalidStatus" type="user" httpCode="400" errorMessage="The application status is abnormal. Please try again later." /><ErrorCode code="sae.errorcode.Application.NotDeployYet.message" errorCode="Application.NotDeployYet" type="user" httpCode="400" errorMessage="The application has not been deployed. Please deploy it and try again." /><ErrorCode code="sae.errorcode.rollback.error.message" errorCode="rollback.error" type="user" httpCode="400" errorMessage="Failed to roll back." /><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.jar.application.missing.jdk.message" errorCode="JarApplication.MissingJdk" type="user" httpCode="400" errorMessage="A FatJar application must contain JDK." /><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.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.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.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.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.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.minReadyInstances.not.smaller.replicas.message" errorCode="MinReadyInstances.Not.Smaller.Replicas" type="user" httpCode="400" errorMessage="The minimum number of available instances must be less than the number of application instances." /><ErrorCode code="sae.errorcode.package.version.too.long.message" errorCode="Package.Version.Too.Long" type="user" httpCode="400" errorMessage="The maximum length of package version is exceeded." /><ErrorCode code="sae.errorcode.app.package.version.exists.message" errorCode="App.Package.Version.Exists" type="user" httpCode="400" errorMessage="The package version of application already exists." /><ErrorCode code="sae.errorcode.slb.occupied.message" errorCode="Slb.Occupied" type="user" httpCode="400" errorMessage="The SLB instance is occupied." /><ErrorCode code="sae.errorcode.slb.tag.not.qualified.message" errorCode="Slb.Tag.Not.Qualified" type="user" httpCode="400" errorMessage="The current SLB instance cannot be reused because it may have been occupied by %s." /><ErrorCode code="sae.errorcode.ParameterInvalid.NamespaceId.message" errorCode="InvalidNamespaceId.NotFound" type="user" httpCode="404" errorMessage="The specified NamespaceId 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="requestId" tagName="RequestId" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="appId" tagName="AppId" type="String" required="true" tagPosition="Query" checkBlank="false" visibility="Public"/><Parameter name="versionId" tagName="VersionId" type="String" required="true" tagPosition="Query" checkBlank="false" visibility="Public"/><Parameter name="batchWaitTime" tagName="BatchWaitTime" type="Integer" required="false" tagPosition="Query" checkBlank="false" visibility="Public"/><Parameter name="minReadyInstances" tagName="MinReadyInstances" type="Integer" required="false" tagPosition="Query" checkBlank="false" visibility="Public"/><Parameter name="updateStrategy" tagName="UpdateStrategy" type="String" required="false" tagPosition="Query" checkBlank="false" visibility="Public"/><Parameter name="autoEnableApplicationScalingRule" tagName="AutoEnableApplicationScalingRule" type="String" required="false" tagPosition="Query" checkBlank="false" visibility="Public"/></Parameters><FlowControl controlUnit="Minute" userDefault="20" apiDefault="1000" 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" nullToEmpty="false"/><Member tagName="RequestId" visibility="Public" type="String" name="requestId" nullToEmpty="false"/><Member tagName="TraceId" visibility="Public" type="String" name="traceId" nullToEmpty="false"/><Member tagName="ErrorCode" visibility="Public" type="String" name="errorCode" nullToEmpty="false"/><Member tagName="Code" visibility="Public" type="String" name="code" nullToEmpty="false"/><Member tagName="Success" visibility="Public" type="Boolean" name="success" nullToEmpty="false"/><Struct tagName="Data" visibility="Public" name="data" nullToEmpty="false"><Member tagName="ChangeOrderId" visibility="Public" type="String" name="changeOrderId" nullToEmpty="false"/></Struct></ResultMapping></Api>