修改单个站点的加速区域。更新站点的加速配置,以适应流量分布变化或提升特定地区用户的访问体验。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
授权信息
当前API暂无授权信息透出。
请求参数
| 名称 | 类型 | 必填 | 描述 | 示例值 |
|---|---|---|---|---|
| SiteId | long | 是 | 站点 ID。可通过调用 ListSites 接口查询获取。 | 1234567890123 |
| Coverage | string | 是 | 修改到的目标加速区域。取值:
| global |
返回参数
示例
正常返回示例
JSON格式
{
"RequestId": "65C66B7B-671A-8297-9187-2R5477247B76"
}错误码
| HTTP status code | 错误码 | 错误信息 | 描述 |
|---|---|---|---|
| 400 | InternalException | Failed to call the service. Try again later or contact technical support. | 调用服务失败,请稍后重试或联系客服咨询详情。 |
| 400 | Site.ServiceBusy | This website is being configured. Try again later. | 该站点正在配置中,请稍后再试。 |
| 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 | SiteHasTransportLayerApplications | The current site has an existing four-layer accelerated application, and the current operation is not allowed. If necessary, please contact customer service. | 当前站点有已经存在的四层加速应用,不允许进行当前操作,如有需要,请联系客服。 |
| 400 | IpaNotActive | The ipa application is not active. | 当前应用正在部署中。 |
| 500 | InternalError | Failed to call the service. Try again later or contact technical support. | 调用服务失败,请稍后重试或联系客服咨询详情。 |
访问错误中心查看更多错误码。
变更历史
| 变更时间 | 变更内容概要 | 操作 |
|---|---|---|
| 2024-10-15 | OpenAPI 错误码发生变更 | 查看变更详情 |
| 2024-09-24 | OpenAPI 错误码发生变更 | 查看变更详情 |
| 2024-09-18 | OpenAPI 错误码发生变更 | 查看变更详情 |
