MENU
      getTargetList

        getTargetList


        記事の要約

        VPC環境で利用できます。

        概要

        ターゲットグループに適用されたターゲットリストを照会します。

        リクエスト

        リクエストパラメータ

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

        レスポンス

        レスポンスデータのタイプ

        • TargetListタイプ
        TargetList extends CommonResponse
        private Integer totalRows;
        private List targetList = new ArrayList<>();
        Target
        private String targetNo;
        private String targetName;
        private String targetIp;
        private CommonCode healthCheckStatus;
        private String healthCheckResponse;

        リクエスト例

        ncloud vloadbalancer getTargetList --regionCode KR --targetGroupNo ***095
        Plain text

        レスポンス例

        <getTargetListResponse>
          <requestId>a4f8aa8d-aab1-4bb8-bad6-1d9006453945</requestId>
          <returnCode>0</returnCode>
          <returnMessage>success</returnMessage>
          <totalRows>1</totalRows>
          <targetList>
            <target>
              <targetNo>***4299</targetNo>
              <targetName>test-***</targetName>
              <targetIp>***.***.1.6</targetIp>
              <healthCheckStatus>
                <code>UNUSED</code>
                <codeName>unused Target</codeName>
              </healthCheckStatus>
              <healthCheckResponse></healthCheckResponse>
            </target>
          </targetList>
        </getTargetListResponse>
        XML

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

        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.