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.
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: |
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" |
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. |
POST / HTTP/1.1
Host: cbs.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: DescribeSnapshotOperationLogs
<Common request parameters>
{
"Filters": [
{
"Values": [
"snap-0y61iiyj"
],
"Name": "snapshot-id"
}
]
}
{
"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"
}
}
TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.
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. |
本页内容是否解决了您的问题?