MENU
      getCloudHadoopTargetSubnetList
        • PDF

        getCloudHadoopTargetSubnetList

        • PDF

        記事の要約

        VPC環境で利用できます。

        Subnetリストを照会します。

        リクエスト

        リクエストパラメータ

        パラメータ名要否タイプ制約事項説明
        regionCodeNoStringリージョンコード
        regionCodeは、getRegionListアクションを通じて取得可能
        Default: getRegionList照会結果の最初のリージョンを選択
        vpcNoYesString照会する Subnetの VPC番号
        vpcNoは、getCloudHadoopTargetVpcListアクションを通じて取得可能
        cloudHadoopImageProductCodeYesStringCloud Hadoopイメージのサービスコード
        cloudHadoopImageProductCodeは、getCloudHadoopImageProductListアクションを通じて取得可能
        isPublicNoBooleanPublic Subnetの照会有無
        responseFormatTypeNoStringレスポンス結果のフォーマットタイプ
        Options: xml | json
        Default: xml

        リクエストボディ

        {
          "regionCode": "string",
          "vpcNo": "string",
          "cloudHadoopImageProductCode": "string",
          "isPublic":true,
          "responseFormatType": "string"
        }
        JSON

        レスポンス

        レスポンスボディ

        エラーコード

        Cloud Hadoop(VPC) の概要を参照

        リクエスト例

        GET {API_URL}/getCloudHadoopTargetSubnetList
        ?regionCode=KR
        ?vpcNo=39**
        ?cloudHadoopImageProductCode=SW.VCHDP.LNX64.CNTOS.0708.HDP.15.B050
        HTTP

        レスポンス例

        {
          "getCloudHadoopTargetSubnetListResponse": {
            "totalRows": 3,
            "targetSubnetList": [
              {
                "subnetNo": "75912",
                "subnetName": "private-hadoop",
                "vpcNo": "35002",
                "vpcName": "vpc4hadoop",
                "zoneCode": "KR-2",
                "subnet": "172.16.0.0/24",
                "isPublic": false,
                "createdDate": "2023-03-02T18:42:45+0900"
              },
              {
                "subnetNo": "75910",
                "subnetName": "public-hadoop-2",
                "vpcNo": "35002",
                "vpcName": "vpc4hadoop",
                "zoneCode": "KR-2",
                "subnet": "172.16.2.0/28",
                "isPublic": true,
                "createdDate": "2023-03-02T18:36:51+0900"
              },
              {
                "subnetNo": "75909",
                "subnetName": "public-hadoop",
                "vpcNo": "35002",
                "vpcName": "vpc4hadoop",
                "zoneCode": "KR-2",
                "subnet": "172.16.1.0/28",
                "isPublic": true,
                "createdDate": "2023-03-02T18:36:27+0900"
              }
            ],
            "requestId": "97180821-cdf3-4e27-a875-c8ad3684b8d7",
            "returnCode": "0",
            "returnMessage": "success"
          }
        }
        JSON
        <getCloudHadoopTargetSubnetListResponse>
            <requestId>3d4f057b-fa19-4baa-9cbc-d49074665ae9</requestId>
            <returnCode>0</returnCode>
            <returnMessage>success</returnMessage>
            <totalRows>1</totalRows>
            <targetSubnetList>
                <targetSubnet>
                    <subnetNo>57**</subnetNo>
                    <subnetName>f**</subnetName>
                    <vpcNo>39**</vpcNo>
                    <vpcName>exercise2</vpcName>
                    <zoneCode>KR-1</zoneCode>
                    <subnet>10.2.1.0/24</subnet>
                    <isPublic>false</isPublic>
                    <createdDate>2022-03-24T18:00:00+0900</createdDate>
                </targetSubnet>
            </targetSubnetList>
        </getCloudHadoopTargetSubnetListResponse>
        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.