getInstanceTagList
    • PDF

    getInstanceTagList

    • PDF

    Article Summary

    Overview

    Searching instance tags

    Description

    Searching instance tags.

    Request Parameters

    Parameter NameRequirednessTypeLimitationDescription
    instanceNoListNoListRepeat not allowedinstance No list for searching tags
    tagKeyListNoListRepeat not allowedtag key list
    tagValueListNoListRepeat not allowedtag value list
    pageNoNoIntegerPage No. for each page size when there are multiple cases
    pageSizeNoIntegerPage size for one search page

    Response Data Type

    • InstanceTagList type
    InstanceTagList extends CommonResponse
    private Integer totalRows;
    private List instanceTagList = new ArrayList();
    InstanceTag
    private String instanceNo;
    private CommonCode instanceType;
    private String tagKey;
    private String tagValue;

    Examples

    Request

    ncloud server getInstanceTagList --instanceNoList 713768 --tagKeyList penguin
    

    Response

    {
      "getInstanceTagListResponse": {
        "requestId": "6c852800-4d84-4616-bf8e-2ccdf5cd81c9",
        "returnCode": "0",
        "returnMessage": "success",
        "totalRows": 1,
        "instanceTagList": [
          {
            "instanceNo": "713768",
            "instanceType": {
              "code": "SVR",
              "codeName": "Server"
            },
            "tagKey": "penguin",
            "tagValue": "999999"
          }
        ]
      }
    }
    
    <?xml version="1.0" encoding="UTF-8" ?>
    <getInstanceTagListResponse>
      <requestId>6c852800-4d84-4616-bf8e-2ccdf5cd81c9</requestId>
      <returnCode>0</returnCode>
      <returnMessage>success</returnMessage>
      <totalRows>1</totalRows>
      <instanceTagList>
        <instanceNo>713768</instanceNo>
        <instanceType>
          <code>SVR</code>
          <codeName>Server</codeName>
        </instanceType>
        <tagKey>penguin</tagKey>
        <tagValue>999999</tagValue>
      </instanceTagList>
    </getInstanceTagListResponse>
    

    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.