Modifica a região de aceleração de um site. Atualiza a configuração de aceleração de um site para se adaptar a mudanças na distribuição de tráfego ou melhorar a experiência de acesso para usuários em regiões específicas.
Experimente agora
Testar
Autorização RAM
|
Ação |
Nível de acesso |
Tipo de recurso |
Chave de condição |
Ação dependente |
|
esa:UpdateSiteCoverage |
update |
*Site
|
Nenhuma | Nenhuma |
Parâmetros da solicitação
|
Parâmetro |
Tipo |
Obrigatório |
Descrição |
Exemplo |
| SiteId |
integer |
Sim |
O ID do site. Você pode chamar a operação ListSites para consultar o ID do site. |
1234567890123 |
| Coverage |
string |
Sim |
A região de aceleração de destino para a qual alterar. Valores válidos:
. |
overseas |
Elementos de resposta
|
Elemento |
Tipo |
Descrição |
Exemplo |
|
object |
|||
| RequestId |
string |
O ID da solicitação. |
65C66B7B-671A-8297-9187-2R5477247B76 |
Exemplos
Resposta de sucesso
JSON formato
{
"RequestId": "65C66B7B-671A-8297-9187-2R5477247B76"
}
Códigos de erro
|
Código de status HTTP |
Código de erro |
Mensagem de erro |
Descrição |
|---|---|---|---|
| 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. | |
| 400 | InvalidSiteICP | The specified website does not have an ICP filing or the filing information is invalid. Make sure your website is filed and try again. | |
| 400 | NotEnoughResource.CustomPort | Resource verification failed because there are not enough IP resources. | |
| 400 | Site.HasStaticIP | This operation is not allowed because the site has static IP enabled. | |
| 400 | Site.HasCN2 | The website has enabled CN2, and this operation is not allowed. | |
| 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. | |
| 500 | InternalError | Failed to call the service. Try again later or contact technical support. |
Consulte Códigos de Erro para uma lista completa.
Notas de versão
Consulte Notas de Versão para uma lista completa.