Modifica o pagador de uma conexão de instância de rede entre contas para um transit router.
Descrição da operação
Você pode usar esta operação para modificar o pagador de uma conexão entre contas para um transit router, mas somente se a instância de rede conectada for uma Virtual Private Cloud (VPC), um virtual border router (VBR) ou uma instância IPsec.
Experimente agora
Testar
Autorização RAM
|
Ação |
Nível de acesso |
Tipo de recurso |
Chave de condição |
Ação dependente |
|
cen:ModifyGrantInstanceToTransitRouter |
update |
*All Resource
|
Nenhuma | Nenhuma |
Sintaxe da solicitação
POST HTTP/1.1
Parâmetros da solicitação
|
Parâmetro |
Tipo |
Obrigatório |
Descrição |
Exemplo |
| CenId |
string |
Sim |
O ID da instância CEN. |
cen-dc4vwznpwbobrl**** |
| InstanceId |
string |
Sim |
O ID da instância de rede. |
vpc-bp1h8vbrbcgohcju5**** |
| OrderType |
string |
Sim |
O pagador da instância de rede. |
PayByCenOwner |
| ClientToken |
string |
Não |
Um token usado para garantir a idempotência da solicitação. Você pode gerar esse token a partir do seu cliente, mas deve garantir que ele seja exclusivo para cada solicitação. O token do cliente pode conter apenas caracteres ASCII. Nota
Se você não especificar este parâmetro, o sistema usará o RequestId da solicitação como o ClientToken. O RequestId é exclusivo para cada solicitação de API. |
123e4567-e89b-12d3-a456-42665544**** |
Elementos de resposta
|
Elemento |
Tipo |
Descrição |
Exemplo |
|
object |
Corpo da resposta. |
||
| RequestId |
string |
O ID da solicitação. |
F7DDDC17-FA06-4AC2-8F35-59D2470FCFC1 |
Exemplos
Resposta de sucesso
JSON formato
{
"RequestId": "F7DDDC17-FA06-4AC2-8F35-59D2470FCFC1"
}
Códigos de erro
|
Código de status HTTP |
Código de erro |
Mensagem de erro |
Descrição |
|---|---|---|---|
| 400 | OperationUnsupported.action | This action is not support. | The error message returned because this operation is not supported in the specified region. |
| 400 | OperationFailed.GrantCrossAccountNotExist | Cross-account authorization does not exist. | Cross-account authorization does not exist. |
| 400 | MissingParameter.CenId | The parameter CenId is mandatory. | The parameter CenId is mandatory. |
| 400 | MissingParameter.InstanceId | The parameter InstanceId is mandatory. | The parameter InstanceId is mandatory. |
| 400 | MissingParameter.OrderType | The parameter OrderType is mandatory. | The parameter OrderType is mandatory. |
| 400 | InvalidParameter.OrderType | The specified parameter OrderType is invalid. | The specified parameter OrderType is invalid. |
| 400 | Forbbiden.TransitRouterServiceNotOpen | The user has not open transit router service. | The error message returned because the transit router is disabled. Enable the transit router and try again. |
| 400 | Forbidden.TransitRouterServiceExpired | The transit router service is out of service. | The transit router service has been suspended due for payment. Please renew the service and try again. |
| 400 | Forbidden.CenOwnerTransitRouterServiceNotOpen | The cen owner user has not opened transit router service. | The transit router service for the cen owner's account is not currently opened. Please inform them to open the transit router service and then try again. |
| 400 | Forbidden.CenOwnerTransitRouterServiceExpired | The transit router service of the account to which the cen belongs has been suspended due to arrears. Please notify the other party to renew the service and try again. | The transit router service of the account to which the cen belongs has been suspended. Please notify the other party to renew the service and try again. |
Consulte Códigos de Erro para uma lista completa.
Notas de versão
Consulte Notas de Versão para uma lista completa.