Modifica a largura de banda máxima de um plano de largura de banda.
Experimente agora
Testar
Autorização RAM
|
Ação |
Nível de acesso |
Tipo de recurso |
Chave de condição |
Ação dependente |
|
cen:ModifyCenBandwidthPackageSpec |
update |
*CenBandwidthPackage
|
Nenhuma | Nenhuma |
Parâmetros da solicitação
|
Parâmetro |
Tipo |
Obrigatório |
Descrição |
Exemplo |
| CenBandwidthPackageId |
string |
Sim |
O ID do plano de largura de banda. |
cenbwp-4c2zaavbvh5x**** |
| Bandwidth |
integer |
Não |
A nova largura de banda máxima do plano de largura de banda. Unidade: Mbps. Valores válidos: 2 a 10000. |
2 |
Elementos de resposta
|
Elemento |
Tipo |
Descrição |
Exemplo |
|
object |
|||
| RequestId |
string |
O ID da solicitação. |
0C2EE7A8-74D4-4081-8236-CEBDE3BBCF50 |
Exemplos
Resposta de sucesso
JSON formato
{
"RequestId": "0C2EE7A8-74D4-4081-8236-CEBDE3BBCF50"
}
Códigos de erro
|
Código de status HTTP |
Código de erro |
Mensagem de erro |
Descrição |
|---|---|---|---|
| 400 | Operation.Failed | Spec of the specified bandwidth package is not changed, please check again. | The error message returned because the specification of the bandwidth plan is not modified. |
| 400 | InvalidStatus.Resource | The status of the specified resource is invalid. The resource cannot be renewed. | The error message returned because the status of the specified resource is invalid. The resource cannot be renewed. |
| 400 | OperationFailed.InsufficientBalance | Your account does not have enough balance. | The error message returned because your Alibaba Cloud account has overdue payments. |
| 400 | OperationFailed.OperationIsProcessing | The operation failed because another operation is being processed. | The error message returned because another operation is being performed. |
| 400 | OperationFailed.OrderIsProcessing | The operation failed because the order is being processed. | The error message returned because the order is being processed. |
| 400 | OperationFailed.UpDownRadeConfigNoChange | The operation failed because the config not change. | The error message returned because the configurations are not modified. |
| 400 | InvalidOperation.SaleValidateFailed | Sales expression validation system error. | Sales expression validation system error. |
| 400 | InvalidParameter | Invalid parameter. | The error message returned because the parameter is set to an invalid value. |
| 400 | Unauthorized | The AccessKeyId is unauthorized. | The error message returned because you do not have the permissions to perform this operation. |
Consulte Códigos de Erro para uma lista completa.
Notas de versão
Consulte Notas de Versão para uma lista completa.