computing / Client / replace_route_table_association
replace_route_table_association
- computing.Client.replace_route_table_association(**kwargs)
ルーターに設定されたルートテーブルを解除し、指定したルートテーブルに入れ替える。
ルートテーブルを指定するためには、ルートテーブルIDが必要です。
ルーターがバックアップを保持している場合は、パラメーター「Agreement」に「true」を設定し、バックアップを解除する必要があります。バックアップを保持しているかどうかはAPI「NiftyDescribeRouters」のレスポンス値「isBackup」で確認できます。
See also: NIFCLOUD API Documentation
Request Syntax
response = client.replace_route_table_association( 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) –