getCloudPostgresqlTargetVpcList
    • PDF

    getCloudPostgresqlTargetVpcList

    • PDF

    Article Summary

    Available in VPC

    Views available VPC lists in Cloud DB for PostgreSQL.

    Commands

    The text of the command is as follows:

    ncloud vpostgresql getCloudPostgresqlTargetVpcList [regionCode] [output]
    

    Parameter

    The following is a description on parameters.

    ParameterTypeRequirement statusDescriptionRestrictions
    regionCodeStringNRegion code
    - regionCode can be obtained via the getRegionList action
    - Default: selects the first region of the getRegionList search results
    -
    outputStringNFormat type of the response result
    - options: xml | json
    - default: json
    -

    Responses

    Response data type

    • TargetVpcList type
    TargetVpcList extends CommonResponseDescription
    private Integer totalRows;Total number of items viewed
    private List<TargetVpc> targetVpcList = new ArrayList<>();VPC list
    • TargetVpc type
    TargetVpcDescription
    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 vpostgresql getCloudPostgresqlTargetVpcList --regionCode KR
    

    Response examples

    The following are examples of responses.

    If the response shows that format type (output) is json

    {
      "getCloudPostgresqlTargetVpcListResponse": {
        "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 (output) is xml

    <getCloudPostgresqlTargetVpcListResponse>
      <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>
    </getCloudPostgresqlTargetVpcListResponse>
    

    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.