MENU
      getInstanceTagList
        • PDF

        getInstanceTagList

        • PDF

        記事の要約

        概要

        インスタンスタグ照会

        説明

        インスタンスタグを照会します。

        リクエストパラメータ

        パラメータ名必須タイプ制約事項説明
        instanceNoListNoList<String>重複不可インスタンスタグを照会するインスタンス番号リスト(サーバ限定)
        tagKeyListNoList<String>重複不可タグキーリスト
        tagValueListNoList<String>重複不可タグ値リスト
        pageNoNoInteger件数が多い場合、ページサイズに該当するページ番号
        pageSizeNoInteger一つのページで照会するページサイズ

        レスポンスデータタイプ

        • 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;

        例示

        呼び出し

        ncloud server getInstanceTagList --instanceNoList 713768 --tagKeyList penguin
        Plain text

        レスポンス

        {
          "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"
              }
            ]
          }
        }
        JSON
        <?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>
        XML

        この記事は役に立ちましたか?

        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.