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

2 lines
6.8 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="CreateApplicationScalingRule" showJsonItemName="false" status="online"><IsvProtocol pattern="/pop/v1/sam/scale/applicationScalingRule" protocol="HTTP|HTTPS" method="POST" /><ErrorMapping exceptionExpress="success=false,errorCode,message,httpStatusCode"><ErrorCodes><ErrorCode code="sae.errorcode.InstanceExist.ScalingRuleName.message" errorCode="InstanceExist.ScalingRuleName" type="user" httpCode="400" errorMessage="The specified ScalingRuleName already exists." /><ErrorCode code="sae.errorcode.ParameterInvalid.ScalingRuleTime.EndBeforeBegin.message" errorCode="InvalidScalingRuleDate.BeginAfterEnd" type="user" httpCode="400" errorMessage="The specified beginning time is later than the ending time." /><ErrorCode code="sae.errorcode.ParameterInvalid.ScalingRuleDate.Format.message" errorCode="InvalidScalingRuleDate.Format" type="user" httpCode="400" errorMessage="The specified date is invalid." /><ErrorCode code="sae.errorcode.ParameterInvalid.ScalingRuleName.message" errorCode="InvalidScalingRuleName.NotFound" type="user" httpCode="400" errorMessage="The specified ScalingRuleName does not exist." /><ErrorCode code="sae.errorcode.ParameterInvalid.ScalingRule.TimeConflict.message" errorCode="InvalidScalingRuleTime.Conflict" type="user" httpCode="400" errorMessage="The specified scaling rule time is invalid. Another schedule has been set for the specified time range. Please set a different time." /><ErrorCode code="sae.errorcode.ParameterInvalid.ScalingRuleTime.Format.message" errorCode="InvalidScalingRuleTime.Format" type="user" httpCode="400" errorMessage="The specified time is invalid." /><ErrorCode code="sae.errorcode.QuotaExceeded.ScalingRule.message" errorCode="QuotaExceeded.ScalingRule" type="user" httpCode="400" errorMessage="The maximum number of application scaling rules is exceeded." /><ErrorCode code="sae.errorcode.QuotaExceeded.ScalingRuleTime.message" errorCode="QuotaExceeded.ScalingRuleTime" type="user" httpCode="400" errorMessage="The maximum number of scaling policy trigger time is exceeded." /><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.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.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.OperationDenied.SDKNotSupported.message" errorCode="OperationDenied.SDKNotSupported" type="user" httpCode="400" errorMessage="Metrics is not supported in SDK" /></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="scalingRuleName" tagName="ScalingRuleName" type="String" required="true" tagPosition="Query" checkBlank="false" visibility="Public"/><Parameter name="scalingRuleType" tagName="ScalingRuleType" type="String" required="true" tagPosition="Query" checkBlank="false" visibility="Public"/><Parameter name="scalingRuleTimer" tagName="ScalingRuleTimer" type="String" required="false" tagPosition="Query" checkBlank="false" visibility="Public"/><Parameter name="scalingRuleMetric" tagName="ScalingRuleMetric" type="String" required="false" tagPosition="Query" checkBlank="false" visibility="Private"/><Parameter name="minReadyInstances" tagName="MinReadyInstances" type="String" required="false" tagPosition="Query" checkBlank="false" visibility="Private"/></Parameters><FlowControl controlUnit="Minute" userDefault="20" apiDefault="2000" 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="RequestId" visibility="Public" type="String" name="requestId"/><Member tagName="TraceId" visibility="Public" type="String" name="traceId"/><Struct tagName="Data" visibility="Public" name="data"><Member tagName="ScaleRuleEnabled" visibility="Public" type="Boolean" name="scaleRuleEnabled"/><Member tagName="LastDisableTime" visibility="Private" type="Long" name="lastDisableTime"/><Member tagName="AppId" visibility="Public" type="String" name="appId"/><Member tagName="CreateTime" visibility="Public" type="Long" name="createTime"/><Member tagName="UpdateTime" visibility="Public" type="Long" name="updateTime"/><Member tagName="ScaleRuleName" visibility="Public" type="String" name="scaleRuleName"/><Member tagName="ScaleRuleType" visibility="Public" type="String" name="scaleRuleType"/><Struct tagName="Timer" visibility="Public" name="timer"><Member tagName="Period" visibility="Public" type="String" name="period"/><Member tagName="EndDate" visibility="Public" type="String" name="endDate"/><Member tagName="BeginDate" visibility="Public" type="String" name="beginDate"/><Array tagName="Schedules" visibility="Public" itemName="Schedule" name="schedules"><Member tagName="TargetReplicas" visibility="Public" type="Integer" name="targetReplicas"/><Member tagName="AtTime" visibility="Public" type="String" name="atTime"/></Array></Struct><Struct tagName="Metric" visibility="Private" name="metric"><Member tagName="MinReplicas" visibility="Private" type="Integer" name="minReplicas"/><Member tagName="MaxReplicas" visibility="Private" type="Integer" name="maxReplicas"/><Array tagName="Metrics" visibility="Private" itemName="Metric" name="metrics"><Member tagName="MetricType" visibility="Private" type="String" name="metricType"/><Member tagName="MetricTargetAverageUtilization" visibility="Private" type="Integer" name="metricTargetAverageUtilization"/></Array></Struct></Struct></ResultMapping></Api>