API種別 | メソッド | URI | 対象 | 名称 | 実行 |
---|---|---|---|---|---|
設定 | POST | /:GisServiceCode/firewalls/:IfwServiceCode/nats.json | ファイアウォール |
NAT追加 |
同期 |
パラメータ | 必須 | 意味 | 値 | |
---|---|---|---|---|
URL | GisServiceCode | ○ | P2契約のサービスコード | gis######## |
IfwServiceCode | ○ | ファイアウォールのサービスコード | ifw######## | |
ボディ | DestinationIpAddress | ○ | 変換元IPアドレス | IPv4アドレス, IPv6アドレス |
ToDestinationIpAddress | ○ | 変換先IPアドレス | IPv4アドレス | |
NetworkType | ○ | 変換先IPアドレスの宛先ネットワーク種別 | "PrivateStandard", "Private" | |
ServiceCode | 変換先IPアドレスの宛先ネットワークのサービスコード | ivl######## |
フィールド | タイプ | 意味 | 値 |
---|---|---|---|
Id | String | NATルールを一意に識別するID | 数字 |
DestinationIpAddress | String | 変換元IPアドレス | IPv4アドレス, IPv6アドレス |
ToDestinationIpAddress | String | 変換先IPアドレス | IPv4アドレス |
NetworkType | String | 変換先IPアドレスの宛先ネットワーク種別 | "PrivateStandard", "Private" |
ServiceCode | String | 変換先IPアドレスの宛先ネットワークのサービスコード | ivl######## |
リクエストボディ
{ "DestinationIpAddress": "203.0.113.22", "ToDestinationIpAddress": "192.168.2.13", "NetworkType": "Private", "ServiceCode": "ivl#######1" }
レスポンス (JSON)
{ "RequestId": "xxxxxxxx-xxxxxxxx-xxxxxxxx-xxxxxxxx-xxxxxxxx", "Id": "1", "DestinationIpAddress": "203.0.113.22", "ToDestinationIpAddress": "192.168.2.13", "NetworkType": "Private", "ServiceCode": "ivl#######1" }