getLoadBalancerRuleList
    • PDF

    getLoadBalancerRuleList

    • PDF

    Article Summary

    VPC環境で利用できます。

    概要

    ロードバランサリスナーに登録されたルールリストを照会します。

    リクエスト

    リクエストパラメータ

    パラメータ名必須有無タイプ制約事項説明
    regionCodeNoStringリージョンコード
    ルールリストが照会されるロードバランサインスタンスのリージョン(Region)を決定できます。
    regionCodeはgetRegionListアクションを通じて取得できます。
    Default:getRegionList照会結果の最初のリージョンを選択
    loadBalancerListenerNoYesStringルールリストを照会するロードバランサリスナー番号
    loadBalancerListenerNoはgetLoadBalancerListenerListアクションを通じて取得できます。
    responseFormatTypeNoStringレスポンス結果のフォーマットタイプ
    Options : xml | json
    Default : xml

    レスポンス

    レスポンスボディ

    リクエスト例

    GET {API_URL}/getLoadBalancerRuleList
    ?regionCode=KR
    &loadBalancerListenerNo=***961
    

    レスポンス例

    <getLoadBalancerRuleListResponse>
      <requestId>884a2d69-3fd2-4237-8ae9-b9bce9fc98d4</requestId>
      <returnCode>0</returnCode>
      <returnMessage>success</returnMessage>
      <totalRows>1</totalRows>
      <loadBalancerRuleList>
        <loadBalancerRule>
          <loadBalancerListenerNo>***961</loadBalancerListenerNo>
          <loadBalancerRuleNo>***444</loadBalancerRuleNo>
          <priority>10000</priority>
          <loadBalancerRuleConditionList>
            <loadBalancerRuleCondition>
              <ruleConditionType>
                <code>DEFAULT</code>
                <codeName>Default condition</codeName>
              </ruleConditionType>
            </loadBalancerRuleCondition>
          </loadBalancerRuleConditionList>
          <loadBalancerRuleActionList>
            <loadBalancerRuleAction>
              <ruleActionType>
                <code>TARGET_GROUP</code>
                <codeName>Target Group action</codeName>
              </ruleActionType>
              <targetGroupAction>
                <targetGroupWeightList>
                  <targetGroupWeight>
                    <targetGroupNo>***095</targetGroupNo>
                    <weight>1</weight>
                  </targetGroupWeight>
                </targetGroupWeightList>
                <useStickySession>false</useStickySession>
              </targetGroupAction>
            </loadBalancerRuleAction>
          </loadBalancerRuleActionList>
        </loadBalancerRule>
      </loadBalancerRuleList>
    </getLoadBalancerRuleListResponse>
    

    この記事は役に立ちましたか?

    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.