修改套餐实例相关功能配置。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| InstanceId |
string |
是 |
套餐实例 ID,可通过调用 ListSites 接口获取。 |
esa-site-b6ga97vfo64g |
| SiteFeatures |
array<object> |
是 |
站点功能信息列表。 |
|
|
object |
否 |
站点功能信息。 |
||
| SiteId |
integer |
否 |
站点 ID,可通过调用 ListSites 接口获取。 |
151097616427232 |
| Features |
string |
否 |
修改的站点功能信息。 |
network_optimization|smart_routing,loadbalance |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
Schema of Response |
||
| RequestId |
string |
请求 ID。 |
2430E05E-1340-5773-B5E1-B743929F46F2 |
| FailedFeatures |
string |
失败的站点功能信息。 |
loadbalance |
示例
正常返回示例
JSON格式
{
"RequestId": "2430E05E-1340-5773-B5E1-B743929F46F2",
"FailedFeatures": "loadbalance"
}
错误码
|
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. | 当前套餐不支持该操作,请使用正确的套餐实例进行重试。 |
| 404 | SiteNotFound | The website does not exist or does not belong to you. | 站点不存在,或者不属于你。 |
| 404 | UnsupportQuota | Unsupported quota is specified. Check and try again. | 当前操作不支持该配额,请检查传入的配额是否有效。 |
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。