computing / Client / nifty_replace_route_table_association_with_vpn_gateway
nifty_replace_route_table_association_with_vpn_gateway
- computing.Client.nifty_replace_route_table_association_with_vpn_gateway(**kwargs)
拠点間VPNゲートウェイへのルートテーブル設定入れ替えを行う。
拠点間VPNゲートウェイに設定されたルートテーブルを解除し、指定したルートテーブルに入れ替える。ルートテーブルを指定するためには、ルートテーブルIDが必要です。
拠点間VPNゲートウェイがバックアップを保持している場合は、パラメーター「Agreement」に「true」を設定し、バックアップを解除する必要があります。バックアップを保持しているかどうかはAPI「DescribeVpnGateways」のレスポンス値「isBackup」で確認できます。
See also: NIFCLOUD API Documentation
Request Syntax
response = client.nifty_replace_route_table_association_with_vpn_gateway( Agreement=True|False, AssociationId='string', RouteTableId='string' )
- Parameters:
Agreement (boolean) –
AssociationId (string) – [REQUIRED]
RouteTableId (string) – [REQUIRED]
- Return type:
dict
- Returns:
Response Syntax
{ 'NewAssociationId': 'string', 'RequestId': 'string' }
Response Structure
(dict) –
NewAssociationId (string) –
RequestId (string) –