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

  • HOME
  • 提供API一覧
  • listLoadBalancerRules

listLoadBalancerRules

処理概要

標準ロードバランサーの設定情報を取得

 

注意事項

・なし

 

リクエスト

・リクエストパラメータ

Parameter Name Description Required
id the ID of the load balancer rule false
keyword List by keyword false
name the name of the load balancer rule false
networkid list by network ID the rule belongs to false
publicipid the public IP address ID of the load balancer rule false
virtualmachineid the ID of the virtual machine of the load balancer rule false
zoneid the availability zone ID false

 

・リクエストサンプル

$ ./kick_api.sh  command=listLoadBalancerRules publicipid=23897133-7ec2-4719-abec-a1990c183be0

 

レスポンス

・レスポンスボディ

Response Name Description
id the load balancer rule ID
account the account of the load balancer rule
algorithm the load balancer algorithm (source, roundrobin, leastconn)
cidrlist the cidr list to forward traffic from
description the description of the load balancer
domain the domain of the load balancer rule
domainid the domain ID of the load balancer rule
fordisplay is rule for display to the regular user
name the name of the load balancer
networkid the id of the guest network the lb rule belongs to
privateport the private port
project the project name of the load balancer
projectid the project id of the load balancer
protocol the protocol of the loadbalanacer rule
publicip the public ip address
publicipid the public ip address id
publicport the public port
state the state of the rule
zoneid the id of the zone the rule belongs to
tags(*) the list of resource tags associated with load balancer
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″?>
<listloadbalancerrulesresponse cloud-stack-version=”4.3.0.2″>
<count>1</count>
<loadbalancerrule>
<id>10c00c09-8e47-499b-85c8-f6eb29f46c8e</id>
<name>test1</name>
<publicipid>23897133-7ec2-4719-abec-a1990c183be0</publicipid>
<publicip>27.89.251.16</publicip>
<publicport>1002</publicport>
<privateport>1000</privateport>
<algorithm>source</algorithm>
<networkid>dfab0cf8-c56f-437c-9816-14e47d127235</networkid>
<cidrlist/>
<account>kenshou02</account>
<domainid>57edb9da-0279-45f0-842a-d768c4ed0d47</domainid>
<domain>M00000002</domain>
<state>Active</state>
<zoneid>7d4b9647-356d-49a8-8e1a-28862b9c9082</zoneid>
</loadbalancerrule>
</listloadbalancerrulesresponse>

提供API一覧

2022/07/06 2022/07/06