List firewall rules#
ベアメタル用のファイアーウォールルールを一覧表示します。
APIエンドポイント#
| リージョン | APIエンドポイント |
|---|---|
| 西日本リージョン3の場合 | https://nfv.jp-west-3.cloud.global.fujitsu.com |
| 東日本リージョン3の場合 | https://nfv.jp-east-3.cloud.global.fujitsu.com |
HTTPメソッドとURI#
GET
/fw/nfv/firewall_rules
HTTPステータスコード#
正常時:200
レスポンスボディ(正常系)の説明#
| 名前 | Type | Description |
|---|---|---|
| firewall_rule | object | ファイアーウォールルールのオブジェクト |
| action | string | ファイアーウォールルールに適合した場合の動作 |
| description | string | ファイアーウォールルールの説明 |
| destination_ip_address | string | 宛先IPアドレスまたはCIDR |
| destination_port | string | 宛先のポート番号 |
| active | boolean | ファイアーウォールルールの有効/無効 |
| ip_version | string | IPアドレスのバージョン IPv4だけが表示されます。 |
| name | string | ファイアーウォールルールの名前 |
| firewall_policy_id | string | ファイアーウォールルールを利用しているファイアーウォールポリシーのID |
| id | string | ファイアーウォールルールのID |
| protocol | string | ファイアーウォールルールに指定されているプロトコル |
| shared | boolean | 常に「false」です。 |
| source_ip_address | string | 送信元IPアドレスまたはCIDR |
| source_port | string | 送信元ポート番号 |
| status | string | 設定ステータス ACTIVE / BUILD / DELETING / CREATE_ERROR / UPDATE_ERROR / DELETE_ERROR |
| tenant_id | string | ファイアーウォールルールが所属するプロジェクトID |
レスポンス例#
{ "firewall_rule": [ { "action": "allow", "description": "Description", "destination_ip_address": "172.0.11.8", "destination_port": 80, "active": true, "ip_version": "IPv4", "name": "FW RuleName", "id": "115", "protocol": "icmp", "shared": false, "source_ip_address": "192.168.123.1", "source_port": 80 } ] }