getCloudCacheTargetVpcList

Prev Next

Available in VPC

Note

Cloud DB for Cache CLI offers two versions based on the supported DBMS range.

  • getCloudCacheTargetVpcList CLI: Support for Valkey and Redis DBMS
  • getCloudRedisTargetVpcList CLI: Support for Redis DBMS

getCloudCacheTargetVpcList CLI

This section describes the request and response formats for the getCloudCacheTargetVpcList CLI.

Request

Request parameters

Parameter name Required Type Restrictions Description
regionCode No String - Region code
regionCode can be obtained through the getRegionList action.
Default: Select the first Region of the getRegionList search results.
output No String - Format type of the response result
Options: xml | json
Default: json

Examples

Call examples

ncloud vcache getCloudCacheTargetVpcList --regionCode KR

Response example


<getCloudCacheTargetVpcListResponse>
    <requestId>cd819e87-d0b6-42cc-bdea-a311d422e091</requestId>
    <returnCode>0</returnCode>
    <returnMessage>success</returnMessage>
    <totalRows>2</totalRows>
    <targetVpcList>
        <targetVpc>
            <vpcNo>39**</vpcNo>
            <vpcName>exer****</vpcName>
            <ipv4Cidr>10.2.0.0/16</ipv4Cidr>
            <regionCode>KR</regionCode>
            <createdDate>2022-02-09T18:29:04+0900</createdDate>
        </targetVpc>
        <targetVpc>
            <vpcNo>18**</vpcNo>
            <vpcName>te**</vpcName>
            <ipv4Cidr>10.3.1.0/24</ipv4Cidr>
            <regionCode>KR</regionCode>
            <createdDate>2021-01-14T23:00:32+0900</createdDate>
        </targetVpc>
    </targetVpcList>
</getCloudCacheTargetVpcListResponse>