MENU
      getCloudHadoopTargetSubnetList

        getCloudHadoopTargetSubnetList


        Article summary

        Available in VPC

        Searches the list of subnets.

        Requests

        Request Parameters

        Parameter NameRequirement StatusTypeRestrictionsDescription
        regionCodeNoStringRegion code
        The regionCode can be obtained via the getRegionList action.
        Default: selects the first region of the getRegionList search results.
        vpcNoYesStringVPC number of the subnet to be searched
        The vpcNo can be obtained via the getCloudHadoopTargetVpcList action.
        cloudHadoopImageProductCodeYesStringCloud Hadoop image product code
        The cloudHadoopImageProductCode can be obtained with the getCloudHadoopImageProductList action.
        isPublicNoBooleanPublic subnet search status
        responseFormatTypeNoStringFormat type of the response result
        Options: xml | json
        Default: xml

        Request bodies

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

        Responses

        Response bodies

        Errors

        See Cloud Hadoop(VPC) overview.

        Examples

        Request Examples

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

        Response examples

        {
          "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

        Was this article helpful?

        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.