Classic Application Server Launcherリストの照会
    • PDF

    Classic Application Server Launcherリストの照会

    • PDF

    記事の要約

    Cloud Log Analyticsサービスで確認できるサーバリストを照会します。

    Classic Application Server Launcherリストの照会

    Classic Platformにあるサーバインスタンス(VM)リストを照会します。ログ収集設定状態の照会やページング処理ができます。

    リクエスト URL

    GET https://cloudloganalytics.apigw.ntruss.com/api/{regionCode}-v1/classic/servers/asl
    

    リクエストヘッダ

    ヘッダ名説明
    x-ncp-apigw-timestamp1970年1月1日00:00:00協定世界時(UTC)からの経過時間をミリ秒(Millisecond)で表し、
    API Gatewayサーバとの時間差が5分以上の場合は無効なリクエストとみなす
    x-ncp-apigw-timestamp:{Timestamp}
    x-ncp-apigw-api-keyAPIGWから発行されたキー
    x-ncp-apigw-api-key:{API Gateway API Key}
    x-ncp-iam-access-keyNAVERクラウドプラットフォームポータルから発行された Access Key ID
    x-ncp-iam-access-key:{Account Access Key}
    x-ncp-apigw-signature-v2Access Key IDと Secret Keyで暗号化した署名
    x-ncp-apigw-signature-v2:{API Gateway Signature}
    Content-TypeRequest body content typeを application/jsonに指定
    Content-Type: application/json

    リクエストパラメータ

    パラメータタイプ必須の有無説明
    pageNoIntegerNページ番号
    • <例> 1、2
    pageSizeIntegerNページサイズ
    • <例> 10、20

    リクエスト例

    GET https://cloudloganalytics.apigw.ntruss.com/api/kr-v1/classic/servers/asl?pageNo=1&pageSize=10
    HOST: cloudloganalytics.apigw.ntruss.com
    Content-Type: application/json
    x-ncp-apigw-signature-v2: FJSBB4K3XnaGAvVe0Hzj3/2hfNWvgLHR1rQHW2Et2Rs=
    x-ncp-apigw-timestamp: 1593848345548
    x-ncp-iam-access-key: 11IKBWgQegM4DwiJL4mo
    
    curl -X 'GET' \
      'https://cloudloganalytics.apigw.ntruss.com/api/kr-v1/classic/servers/asl' \
      -H 'accept: application/json' \
      -H 'x-ncp-iam-access-key: hu5ULDRS1TZMwAMzRhMy' \
      -H 'x-ncp-apigw-timestamp: 1718121465991' \
      -H 'x-ncp-apigw-signature-v2: tSuylUAqCWD8jfru9rgL/Nue9/oIcXMfKao3TQ9clkg=' \
      -H 'cache-control: no-cache' \
      -H 'pragma: no-cache'
    
    

    レスポンス例

    {
      "code": 0,
      "message": "リクエストが正常に処理されました。",
      "result": {
        "pageSize": 10,
        "currentPage": 1,
        "totalPage": 1,
        "totalCount": 1,
        "isPaged": true,
        "serverInfos": [
          {
            "servername": "s1849830d70c",
            "publicIp": null,
            "osName": "Ubuntu 16.04 (64-bit) with Joomla!",
            "createYmdt": 1669000649409,
            "privateIp": "10.41.17.195",
            "serverStatusCode": "NSTOP",
            "serverStatusName": "STOPPED",
            "serverStatusKorean": "정지",
            "serverStatusValue": "정지",
            "serverStatusColor": "grey",
            "serverImageName": "Joomla!-Ubuntu-16.04-64",
            "uptime": 1669001476000,
            "message": null,
            "occuredTime": null,
            "logType": null,
            "zoneNo": "3",
            "zoneName": "KR-2",
            "secureZoneNo": null,
            "platformTypeCode": "UBS64",
            "platformDetailTypeCode": "JUMLA",
            "cpuCount": 1,
            "osDiskType2Code": "NET",
            "virtualNetworkInterfaceIp": null,
            "portForwardingIp": "106.10.46.157",
            "virtualNetworkDomainNo": null,
            "hostName": "s1849830d70c",
            "gpuCount": null,
            "softwareProductCode": "SW.ASL.APP.LNX64.UBNTU.SVR1604.JUMLA.LATEST.B050",
            "virtualNetworkDomainName": null,
            "virtualNetworkInterfaceNo": null,
            "internalDnsHostName": null,
            "regionName": "Korea",
            "serverInstanceDetailTypeCode": null,
            "operationCode": "NULL",
            "macAddr": "F2:20:CD:82:93:8E",
            "alisRaidTypeName": null,
            "networkMonitoringYn": null,
            "lastServerStateSyncYmdt": null,
            "instanceProductType2Code": "MICRO",
            "accessControlGroupList": [],
            "lastLbServerStatusSyncYmdt": null,
            "objectMonitoringInstanceNo": null,
            "secureZoneName": null,
            "loginKeyName": "kjs-cla",
            "publicIpInstanceNo": null,
            "serverInstanceTypeCode": "SVR",
            "instanceNo": 14782489,
            "portForwardingIpBackboneCode": "PUBLC",
            "osDiskType2DetailCode": "HDD",
            "feeChargingMonitoringYn": "N",
            "regionCode": "KR",
            "internalPort": null,
            "productCode": "SPSVRSTAND000056",
            "memorySize": {
              "json.expansion@key": "json.bigdecimal",
              "json.expansion@value": "1073741824"
            },
            "instanceDesc": "",
            "regionNo": "1",
            "isSsdStorageAddable": false,
            "externalPort": null,
            "baseBlockStorageSize": {
              "json.expansion@key": "json.bigdecimal",
              "json.expansion@value": "53687091200"
            },
            "backboneCode": "PUBLC",
            "isSupportOS": true,
            "collectingInfo": {
              "collectorAgentVersion": null,
              "logTypeCount": null,
              "collectionStatus": "未収集状態",
              "settingStatus": "未設定",
              "settingStatusColor": "grey",
              "servername": null,
              "logCollectorDate": null,
              "logTypeList": null,
              "configKey": null,
              "isCollecting": false
            }
          }
        ],
        "collectingCount": 0
      }
    }
    
    

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

    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.