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