Modifies the feature configurations of a plan instance.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
The plan instance ID. You can call the ListSites operation to obtain the ID. |
esa-site-b6ga97vfo64g |
| SiteFeatures |
array<object> |
Yes |
The list of site feature configurations. |
|
|
object |
No |
The site feature information. |
||
| SiteId |
integer |
No |
The site ID. You can call the ListSites operation to obtain the ID. |
151097616427232 |
| Features |
string |
No |
The site feature configurations to modify. |
network_optimization|smart_routing,loadbalance |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The request ID. |
2430E05E-1340-5773-B5E1-B743929F46F2 |
| FailedFeatures |
string |
The site feature configurations that failed to be modified. |
loadbalance |
Examples
Success response
JSON format
{
"RequestId": "2430E05E-1340-5773-B5E1-B743929F46F2",
"FailedFeatures": "loadbalance"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InternalException | Failed to call the service. Try again later or contact technical support. | 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. | 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. | The current plan does not support the configuration of restricted functions, please check the plan related function description. |
| 400 | InstanceNotExist | The instance does not exist. Check whether the specified instance ID is correct or whether the instance belongs to your account. | The instance does not exist. Check whether the specified instance ID is correct or whether the instance belongs to your account. |
| 400 | Instance.NotOnline | Your plan is unavailable due to an overdue payment. Complete the payment first. | 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. | 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. |
| 400 | CheckPlanFailed | Invalid plan name or code. Check and try again. | Invalid plan name or code. Check and try again. |
| 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. | Failed to call the service. Please try again later 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. | 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. | The website does not exist or does not belong to you. |
| 404 | UnsupportQuota | Unsupported quota is specified. Check and try again. | Unsupported quota is specified. Check and try again. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.