NAT情報一覧取得
API情報
| API種別 | メソッド | URI | 対象 | 名称 | 実行 |
|---|---|---|---|---|---|
| 設定 | GET | /:GisServiceCode/firewalls/:IfwServiceCode/nats.json | ファイアウォール | NAT情報一覧取得 | 同期 |
- 指定されたファイアウォールのNATルール一覧を取得します
リクエストパラメータ
| パラメータ | 必須 | 意味 | 値 | |
|---|---|---|---|---|
| URL | GisServiceCode | ○ | P2契約のサービスコード | gis######## |
| IfwServiceCode | ○ | ファイアウォールのサービスコード | ifw######## |
レスポンス
| フィールド | タイプ | 意味 | 値 |
|---|---|---|---|
| NatRuleList | Array | NATの一覧 | オブジェクトの配列 |
| NatRuleList.Id | String | NATルールを一意に識別するID | 数字 |
| NatRuleList.DestinationIpAddress | String | 変換元IPアドレス | IPv4アドレス, IPv6アドレス |
| NatRuleList.ToDestinationIpAddress | String | 変換先IPアドレス | IPv4アドレス |
| NatRuleList.NetworkType | String | 変換先IPアドレスの宛先ネットワーク種別 | "PrivateStandard", "Private" |
| NatRuleList.ServiceCode | String | 変換先IPアドレスの宛先ネットワークのサービスコード | ivl######## |
制限
- 特になし
サンプル
リクエストボディ
無し
レスポンス (JSON)
{
"RequestId": "xxxxxxxx-xxxxxxxx-xxxxxxxx-xxxxxxxx-xxxxxxxx",
"NatRuleList": [
{
"Id": "1",
"DestinationIpAddress": "203.0.113.21",
"ToDestinationIpAddress": "192.168.2.11",
"NetworkType": "Private",
"ServiceCode": "ivl#######1"
},
{
"Id": "2",
"DestinationIpAddress": "2001:db8::21",
"ToDestinationIpAddress": "192.168.2.11",
"NetworkType": "Private",
"ServiceCode": "ivl#######1"
}
]
}