getVpcList
- Print
- PDF
getVpcList
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Available in VPC
View the VPC types that can be created when creating Notebooks.
Requests
Request headers
Request bodies
- JSON
{}
- XML
<?xml version="1.0" encoding="UTF-8"?> <!-- XML example cannot be generated; root element name is undefined -->
Errors
HTTP Status | Description |
---|---|
400 | invalid request parameters |
403 | not allowed to access |
404 | no such element |
500 | unexpected error |
Examples
Request Examples
POST https://df.apigw.ntruss.com/api/v2/notebooks/getVpcList
HOST: df.apigw.ntruss.com
Content-Type: application/json
x-ncp-apigw-signature-v2: Azm1WBMWDgEONUCUbsVkB4tRIpc053uOHU8bitbQRtU=
x-ncp-apigw-timestamp: 1658898041497
x-ncp-iam-access-key: F5O55GOTR4CqYJqPDnCu
curl -X POST "https://df.apigw.ntruss.com/api/v2/notebooks/getVpcList" \
-H "accept: application/json" \
-H "Content-Type: application/json" \
-H "x-ncp-iam-access-key: F5O55GOTR4CqYJqPDnCu" \
-H "x-ncp-apigw-timestamp: 1684742591846" \
-H "x-ncp-apigw-signature-v2: A044wbqEzU0gtEHWxtkP94d47KcmUXFE79Re+19wOSM=" \
-d "{}"
Response examples
HTTP
HTTP Status Description 200 OK BASH
{ "success": true, "total": 2, "contents": [ { "vpcNo": 9166, "vpcName": "vpc2", "regionNo": 1 }, { "vpcNo": 8717, "vpcName": "test-vpc", "regionNo": 1 } ] }
Was this article helpful?