CheckSiteFeaturesMatchPlan - 站点迁移套餐时校验是否跟套餐相匹配

更新时间:
复制 MD 格式

站点迁移套餐时校验是否跟套餐相匹配。

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

调试

授权信息

当前API暂无授权信息透出。

请求语法

GET  HTTP/1.1

请求参数

名称

类型

必填

描述

示例值

NewInstanceId

string

是

目标实例 ID。

esa-site-b0bivjxucjk0

SiteId

integer

是

站点 ID,可通过调用 ListSites 接口获取。

861405331573200

返回参数

名称

类型

描述

示例值

object

Schema of Response

RequestId

string

请求 ID。

65705631-908C-5D24-997C-17E0397721C8

IsPassed

boolean

校验当前站点的功能,符合目标实例。

true

UnPassedSiteQuotas

array<object>

不符合的站点 Quota 信息。

object

QuotaName

string

配额名称。

cache_reserve

CurrentQuotaValue

string

当前站点的配额值。

true

DestQuotaValue

string

目标实例的配额值。

false

示例

正常返回示例

JSON格式

{
  "RequestId": "65705631-908C-5D24-997C-17E0397721C8",
  "IsPassed": true,
  "UnPassedSiteQuotas": [
    {
      "QuotaName": "cache_reserve",
      "CurrentQuotaValue": "true",
      "DestQuotaValue": "false"
    }
  ]
}

错误码

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 SubSiteUnavailable Subdomains are allowed only in Enterprise plans. Upgrade your plan to add a subdomain to ESA. 仅企业版支持以子域名创建站点,请升级您的套餐。
400 Site.QuotaFull The instance site count quota is full. 实例站点数量配额已满。
400 QuotaCheckFailed.CustomPort The current package does not support configuring custom ports. Please check the package description and upgrade your package. 当前套餐不支持配置自定义端口,请查看套餐描述,并升级您的套餐。
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. 站点下有四层代理应用开启了连接保持防护,不允许站点切换加速区域或切换套餐。

访问错误中心查看更多错误码。

变更历史

更多信息,参考变更详情。