computing / Client / nifty_associate_route_table_with_vpn_gateway

nifty_associate_route_table_with_vpn_gateway

computing.Client.nifty_associate_route_table_with_vpn_gateway(**kwargs)

指定した拠点間VPNゲートウェイへルートテーブル設定する。

ルートテーブルを指定するためには、ルートテーブルIDが必要です。また拠点間VPNゲートウェイを指定するためには、拠点間VPNゲートウェイユニークIDまたは拠点間VPNゲートウェイ名が必要です。

拠点間VPNゲートウェイがバックアップを保持している場合は、パラメーター「Agreement」に「true」を設定し、バックアップを解除する必要があります。バックアップを保持しているかどうかはAPI「DescribeVpnGateways」のレスポンス値「isBackup」で確認できます。

See also: NIFCLOUD API Documentation

Request Syntax

response = client.nifty_associate_route_table_with_vpn_gateway(
    Agreement=True|False,
    NiftyVpnGatewayName='string',
    RouteTableId='string',
    VpnGatewayId='string'
)
Parameters:
  • Agreement (boolean) –

  • NiftyVpnGatewayName (string) –

  • RouteTableId (string) – [REQUIRED]

  • VpnGatewayId (string) –

Return type:

dict

Returns:

Response Syntax

{
    'AssociationId': 'string',
    'RequestId': 'string'
}

Response Structure

  • (dict) –

    • AssociationId (string) –

    • RequestId (string) –