tencent cloud



最后更新时间:2023-03-16 16:19:00

    1. API Description

    This API will be disused soon.

    Planned disuse time: 2023-05-17 10:22:37

    Domain name for API request: cbs.tencentcloudapi.com.

    This API has been disused. Use the CloudAudit API instead, For more information, visit https://tapd.woa.com/pro/prong/stories/view/1010114221880719007.

    This API is used to query the operation logs of a snapshot. It will be disused soon. Use LookUpEvents instead.

    A maximum of 20 requests can be initiated per second for this API.

    2. Input Parameters

    The following request parameter list only provides API request parameters and some common parameters. For the complete common parameter list, see Common Request Parameters.

    Parameter Name Required Type Description
    Action Yes String Common Params. The value used for this API: DescribeSnapshotOperationLogs.
    Version Yes String Common Params. The value used for this API: 2017-03-12.
    Region No String Common Params. This parameter is not required for this API.
    Filters.N Yes Array of Filter Filter conditions. The following conditions are supported:
  • snapshot-id - Array of String - Required or not: Yes - Filter by snapshot ID, with maximum of 10 snapshot IDs able to be specified per request.
  • BeginTime No Date The start time of the operation logs to be queried, for example: '2019-11-22 00:00:00"
    EndTime No Date The end time of the operation logs to be queried, for example: '2019-11-22 23:59:59"

    3. Output Parameters

    Parameter Name Type Description
    SnapshotOperationLogSet Array of SnapshotOperationLog List of snapshot operation logs.
    RequestId String The unique request ID, which is returned for each request. RequestId is required for locating a problem.

    4. Example

    Example1 Querying the operation logs of a snapshot

    Input Example

    POST / HTTP/1.1
    Host: cbs.tencentcloudapi.com
    Content-Type: application/json
    X-TC-Action: DescribeSnapshotOperationLogs
    <Common request parameters>
        "Filters": [
                "Values": [
                "Name": "snapshot-id"

    Output Example

        "Response": {
            "SnapshotOperationLogSet": [
                    "OperationState": "SUCCESS",
                    "StartTime": "2018-12-18 17:52:37",
                    "Operator": "546816713",
                    "SnapshotId": "snap-0y61iiyj",
                    "Operation": "SNAP_OPERATION_ROLLBACK",
                    "EndTime": "2018-12-18 17:52:38"
                    "OperationState": "SUCCESS",
                    "StartTime": "2018-12-18 17:51:47",
                    "Operator": "546816713",
                    "SnapshotId": "snap-0y61iiyj",
                    "Operation": "SNAP_OPERATION_ROLLBACK",
                    "EndTime": "2018-12-18 17:51:48"
                    "OperationState": "SUCCESS",
                    "StartTime": "2018-12-18 11:57:46",
                    "Operator": "",
                    "SnapshotId": "snap-0y61iiyj",
                    "Operation": "ASP_OPERATION_CREATE_SNAP",
                    "EndTime": "2018-12-18 11:57:47"
            "RequestId": "0dc7b07a-5f6b-46c4-b1d9-048e37d1c33c"

    5. Developer Resources


    TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.

    Command Line Interface

    6. Error Code

    The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.

    Error Code Description
    InternalError.ComponentError Dependent component request failed. Please contact customer service.
    InvalidParameter Incorrect parameter.
    InvalidParameterValue Invalid parameter value.
    InvalidParameterValue.LimitExceeded Number of parameter values exceeds the limit.
    InvalidSnapshotId.NotFound The ‘SnapshotId’ entered does not exist.
    MissingParameter Missing parameter.




    7x24 电话支持