KDDIクラウドプラットフォームサービス ナレッジサイト

  • HOME
  • 提供API一覧
  • listFirewallRules

listFirewallRules

処理概要

標準ファイアーウォールルールを取得

 

注意事項

・なし

 

リクエスト

・リクエストパラメータ

Parameter Name Description Required
id Lists rule with the specified ID. false
ipaddressid the id of IP address of the firwall services false
keyword List by keyword false
networkid list firewall rules for ceratin network false

・リクエストサンプル

$ ./kick_api.sh command=listFirewallRules id=ebfbec5a-1e4e-4a91-8c7e-a689259ed6dd

 

レスポンス

・レスポンスボディ

Response Name Description
id the ID of the firewall rule
cidrlist the cidr list to forward traffic from
endport the ending port of firewall rule’s port range
icmpcode error code for this icmp message
icmptype type of the icmp message being sent
ipaddress the public ip address for the firewall rule
ipaddressid the public ip address id for the firewall rule
networkid the network id of the firewall rule
protocol the protocol of the firewall rule
startport the starting port of firewall rule’s port range
state the state of the rule
tags(*) the list of resource tags associated with the rule
account the account associated with the tag
customer customer associated with the tag
domain the domain associated with the tag
domainid the ID of the domain associated with the tag
key tag key name
project the project name where tag belongs to
projectid the project id the tag belongs to
resourceid id of the resource
resourcetype resource type
value tag value

 

 

・レスポンスサンプル
【API実行結果】
<?xml version=”1.0″ encoding=”UTF-8″?>
<listfirewallrulesresponse cloud-stack-version=”4.3.0.2″>
<count>1</count>
<firewallrule>
<id>ebfbec5a-1e4e-4a91-8c7e-a689259ed6dd</id>
<protocol>tcp</protocol>
<startport>22</startport>
<endport>22</endport>
<ipaddressid>fe4bde01-2412-4e9e-b1b5-ac76b0e178bb</ipaddressid>
<networkid>efa508f3-bfa1-4e0c-891a-2f6e7d15f201</networkid>
<ipaddress>27.80.251.119</ipaddress>
<state>Active</state>
<cidrlist>210.230.128.252/32</cidrlist>
</firewallrule>
</listfirewallrulesresponse>

提供API一覧

2024/04/11 2024/04/11