getCloudMssqlTargetVpcList
    • PDF

    getCloudMssqlTargetVpcList

    • PDF

    Article summary

    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.

    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 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?

    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.