getCloudMssqlTargetVpcList
- Print
- PDF
getCloudMssqlTargetVpcList
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Available in VPC
Views available VPC list.
Commands
The text of the command is as follows:
ncloud vmssql getCloudMssqlTargetVpcList [regionCode] [output]
Parameter
The following is a description on parameters.
Parameter | Type | Requirement status | Description | Restrictions |
---|---|---|---|---|
regionCode | String | N | Region code - regionCode can be obtained via the getRegionList action - Default: selects the first region of the getRegionList search results | - |
output | String | N | Format type of the response result - options: xml | json - default: json | - |
Responses
Response data type
TargetVpcList type
TargetVpcList extends CommonResponse Description private Integer totalRows; Total number of items viewed private List<TargetVpc> targetVpcList = new ArrayList<>(); VPC list TargetVpc type
TargetVpc Description private String vpcNo; VPC number private String vpcName; VPC name private String ipv4Cidr; VPC description private String regionCode; Region code where VPC is located private Date createdDate; Creation date
Examples
Describes examples of recalls and responses.
Recall examples
The following are examples of recalls.
ncloud vmssql getCloudMssqlTargetVpcList --regionCode KR
Response examples
The following are examples of responses.
If the response shows that format type (output) is json
The following is when the response shows that format type (output) is json.
{
"getCloudMssqlTargetVpcListResponse": {
"requestId": "4ea62ae7-b127-4c02-9a71-2a36f3190a55",
"returnCode": 0,
"returnMessage": "success",
"totalRows": 1,
"targetVpcList": [
{
"vpcNo": "25****",
"vpcName": "test-****",
"ipv4Cidr": "192.168.0.0/16",
"regionCode": "KR",
"createdDate": "2022-03-24T18:00:00+0900"
}
]
}
}
If the response shows that format type (responseFormatType) is xml
The following is when the response shows that format type (responseFormatType) is xml:
<getCloudMssqlTargetVpcListResponse>
<requestId>4ea62ae7-b127-4c02-9a71-2a36f3190a55</requestId>
<returnCode>0</returnCode>
<returnMessage>success</returnMessage>
<totalRows>1</totalRows>
<targetVpcList>
<targetVpc>
<vpcNo>25****</vpcNo>
<vpcName>test-****</vpcName>
<ipv4Cidr>192.168.0.0/16</ipv4Cidr>
<regionCode>KR</regionCode>
<createdDate>2022-03-24T18:00:00+0900</createdDate>
</targetVpc>
</targetVpcList>
</getCloudMssqlTargetVpcListResponse>
Was this article helpful?