更换站点的套餐实例。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
请求语法
POST HTTP/1.1
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| SiteId |
integer |
是 |
站点 ID,可以通过调用 ListSites 获取。 |
901109460617712 |
| NewInstanceId |
string |
是 |
目标实例 ID。 |
esa-site-bckh96ri1eyo |
| ResourceOwner |
integer |
否 |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
Schema of Response |
||
| RequestId |
string |
请求 ID。 |
0E50DBC5-0F50-583C-AC2D-87B2764776CF |
示例
正常返回示例
JSON格式
{
"RequestId": "0E50DBC5-0F50-583C-AC2D-87B2764776CF"
}
错误码
|
HTTP status code |
错误码 |
错误信息 |
描述 |
|---|---|---|---|
| 400 | InternalException | Failed to call the service. Try again later or contact technical support. | 调用服务失败,请稍后重试或联系客服咨询详情。 |
| 400 | InvalidParameter.FunctionName | The specified feature does not exist. Specify a valid feature name based on the related documentation. | 您所输入的功能名称不存在,请参照功能配置文档选择正确的功能名进行操作。 |
| 400 | FunctionQuotaCheckFailed | The quota verification for this function fails. It may be that the configuration of this function exceeds the limit of the site plan. Please check the plan introduction document corresponding to this site. | 当前套餐不支持配置受限功能,请检查套餐相关的功能描述。 |
| 400 | InstanceNotExist | The instance does not exist. Check whether the specified instance ID is correct or whether the instance belongs to your account. | 实例不存在,请检查提供的实例ID是否正确或该实例是否属于您的账户。 |
| 400 | Instance.NotOnline | Your plan is unavailable due to an overdue payment. Complete the payment first. | 您的套餐实例因欠费当前处于非上线状态,请先完成续费操作以继续使用。 |
| 400 | NoPermission | You do not have permissions to access or operate on the resource.Contact your account administrator to attach the AliyunESAFullAccess policy to the current user. | 对当前资源无权限访问或者操作。请联系您阿里云账户的管理员,以授予您 AliyunESAFullAccess 策略。 |
| 400 | CheckPlanFailed | Invalid plan name or code. Check and try again. | 您配置的套餐名或套餐Code不正确,请确保已传入正确的套餐名或套餐Code后重试。 |
| 400 | ServiceInvokeFailed | The call to the internal service failed. The engineer is resolving the problem. Please wait a moment before trying, or contact customer service for details. | 调用服务失败,请稍后重试或联系客服咨询详情。 |
| 400 | OperationDenied.UnsupportPlan | The current plan does not support this operation. Use the correct plan instance to try again. | 当前套餐不支持该操作,请使用正确的套餐实例进行重试。 |
| 400 | ForbidUpdateSite.PlanUnallowed | Site migration between preset plans and customized enterprise plans is not supported. | 官网套餐和企业套餐内站点暂不支持互相迁移。 |
| 400 | ForbidUpdateSite.ConfigurationsUnclosed | If there are unclosed configurations, please close them before migrating. | 有未关闭的配置,请关闭后再迁移。 |
| 400 | Site.QuotaFull | The instance site count quota is full. | 实例站点数量配额已满。 |
| 400 | InvalidParameter.Coverage | The selected location is unavailable in your plan. Change the location to one that is covered by the plan and try again. | 您选择的加速区域不在当前套餐支持范围内,请更换为套餐支持的加速区域后重试。 |
| 400 | Site.HasIpaEnableKeepAliveProtection | The site has one or more TCP/UDP proxied applications with keep-alive-protection enabled. Its acceleration region or plan can't be edited. | 站点下有四层代理应用开启了连接保持防护,不允许站点切换加速区域或切换套餐。 |
| 400 | SubSiteUnavailable | Subdomains are allowed only in Enterprise plans. Upgrade your plan to add a subdomain to ESA. | 您的套餐不支持以子域名创建站点,请升级您的套餐。 |
| 404 | SiteNotFound | The website does not exist or does not belong to you. | 站点不存在,或者不属于你。 |
| 404 | UnsupportQuota | Unsupported quota is specified. Check and try again. | 当前操作不支持该配额,请检查传入的配额是否有效。 |
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。
该文章对您有帮助吗?