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