getCloudHadoopTargetSubnetList
- Print
- PDF
getCloudHadoopTargetSubnetList
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Available in VPC
Searches the list of subnets.
Requests
Request Parameters
Parameter Name | Requirement Status | Type | Restrictions | Description |
---|---|---|---|---|
regionCode | No | String | Region code The regionCode can be obtained via the getRegionList action. Default: selects the first region of the getRegionList search results. | |
vpcNo | Yes | String | VPC number of the subnet to be searched The vpcNo can be obtained via the getCloudHadoopTargetVpcList action. | |
cloudHadoopImageProductCode | Yes | String | Cloud Hadoop image product code The cloudHadoopImageProductCode can be obtained with the getCloudHadoopImageProductList action. | |
isPublic | No | Boolean | Public subnet search status | |
responseFormatType | No | String | Format type of the response result Options: xml | json Default: xml |
Request bodies
{
"regionCode": "string",
"vpcNo": "string",
"cloudHadoopImageProductCode": "string",
"isPublic":true,
"responseFormatType": "string"
}
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
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"
}
}
<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>
Was this article helpful?