getCloudMssqlLogFileList
    • PDF

    getCloudMssqlLogFileList

    • PDF

    Article Summary

    VPC環境で利用できます。

    使用可能な Cloud DB for MSSQLのログファイルリストを照会します。

    リクエスト

    リクエストパラメータ

    パラメータタイプ必須有無説明制限事項
    regionCodeStringNリージョンコード
    - regionCodeは、getRegionListアクションを通じて取得
    - default: getRegionList照会結果の最初のリージョンを選択
    -
    cloudMssqlInstanceNoStringYログファイルリストを照会するための Cloud DB for MSSQLインスタンス番号
    - cloudMssqlInstanceNoは、getCloudMssqlInstanceListアクションを通じて取得
    -
    cloudMssqlServerInstanceNoStringYログファイルリストを照会するための Cloud DB for MSSQLサーバインスタンス番号
    - cloudMssqlServerInstanceNoは、getCloudMssqlInstanceListアクションを通じて取得
    -
    fileTypeStringYログファイルタイプ
    - ex) errorLog, agentLog, traceLog, auditLog
    -
    responseFormatTypeStringNレスポンス結果のフォーマットタイプ
    - options: xml | json
    - default: xml
    -

    レスポンス

    レスポンスボディ

    レスポンスボディは、CloudMssqlLogFileListをご参照ください。

    リクエスト例

    リクエスト構文例は次の通りです。

    GET {API_URL}/getCloudMssqlLogFileList
    ?regionCode=KR
    &cloudMssqlInstanceNo=****890
    &cloudMssqlServerInstanceNo=****890
    &fileType=errorLog
    

    レスポンス例

    レスポンス構文例は、次の通りです。

    レスポンス結果のフォーマットタイプ(responseFormatType)が jsonの場合

    {
      "getCloudMssqlLogFileListResponse": {
        "requestId": "d5e980a0-15b5-4c77-8b12-a70b8673142c",
        "returnCode": 0,
        "returnMessage": "success",
        "totalRows": 1,
        "cloudMssqlLogFileList": [
          {
            "fileName": "ERRORLOG",
            "fileSize": 100000,
            "fileDate": "2022-12-11T06:30:09+0900"
          }
        ]
      }
    }
    

    レスポンス結果のフォーマットタイプ(responseFormatType)が xmlの場合

    <getCloudMssqlLogFileListResponse>
        <requestId>d5e980a0-15b5-4c77-8b12-a70b8673142c</requestId>
        <returnCode>0</returnCode>
        <returnMessage>success</returnMessage>
        <totalRows>1</totalRows>
        <cloudMssqlLogFileList>
            <cloudMssqlLogFile>
                <fileName>ERRORLOG</fileName>
                <fileSize>100000</fileSize>
                <fileDate>2022-12-11T06:30:09+0900</fileDate>
            </cloudMssqlLogFile>
        </cloudMssqlLogFileList>
    </getCloudMssqlLogFileListResponse>
    

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

    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.