getCloudMssqlLogFileList
    • PDF

    getCloudMssqlLogFileList

    • PDF

    Article Summary

    Available in VPC

    Views a list of cloud DB for MSSQL log files.

    Commands

    The text of the command is as follows:

    ncloud vmssql getCloudMssqlLogFileList [regionCode] [cloudMssqlInstanceNo] [cloudMssqlServerInstanceNo] [fileType] [output]
    

    Parameter

    The following is a description on parameters.

    ParameterTypeRequiredDescriptionRestrictions
    regionCodeStringN
    - regionCode can be obtained via the getRegionList action
    - default: Selects the first region of the getRegionList query results
    -
    cloudMssqlInstanceNoStringYCloud DB for MSSQL instance number for finding log files
    - cloudMssqlInstanceNo can be obtained via the getCloudMssqlInstanceList action
    -
    cloudMssqlServerInstanceNoStringYCloud DB for MSSQL server instance number for finding log files
    - cloudMssqlServerInstanceNo can be obtained via the getCloudMssqlInstanceList action
    -
    fileTypeStringYLog file type
    - example: errorLog, agentLog, traceLog, auditLog
    -
    outputStringNFormat type of the response
    - options: xml | json
    - default: json
    -

    Responses

    Response data type

    • CloudMssqlLogFileList type
    CloudMssqlLogFileList extends CommonResponseDescription
    private Integer totalRows;Total number of items viewed
    private List<CloudMssqlLogFile> cloudMssqlLogFileList = new ArrayList<>();Cloud DB for MSSQL log file list
    • CloudMssqlLogFile type
    CloudMssqlLogFileDescription
    private String fileName;Database server log file name
    private Long fileSize;Database server log file size
    private Date fileDate;Date and time when database server log file was edited

    Examples

    Describes examples of recalls and responses.

    Recall examples

    The following are examples of recalls.

    ncloud vmssql getCloudMssqlLogFileList --regionCode KR --cloudMssqlInstanceNo ******2 --cloudMssqlServerInstanceNo *******3 --fileType errorLog
    

    Response examples

    The following are examples of responses.

    If the response shows that format type (output) is 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"
          }
        ]
      }
    }
    

    If the response shows that format type (responseFormatType) is 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>
    

    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.