Domain name for API request: cbs.intl.tencentcloudapi.com.
This API (DescribeDiskAssociatedAutoSnapshotPolicy) is used to query the scheduled snapshot policy bound to a cloud disk.
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: DescribeDiskAssociatedAutoSnapshotPolicy. |
| Version | Yes | String | Common Params. The value used for this API: 2017-03-12. |
| Region | Yes | String | Common Params. For more information, please see the list of regions supported by the product. |
| DiskId | Yes | String | Specifies the cloud disk ID to query. can be queried via the DescribeDisks api. |
| Parameter Name | Type | Description |
|---|---|---|
| TotalCount | Integer | The quantity of scheduled snapshots binded to cloud disk. |
| AutoSnapshotPolicySet | Array of AutoSnapshotPolicy | List of scheduled snapshots bound to cloud disk. |
| RequestId | String | The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. |
This example shows you how to query the regular snapshot policy bound to a cloud disk by its ID.
https://cbs.intl.tencentcloudapi.com/?Action=DescribeDiskAssociatedAutoSnapshotPolicy
&DiskId=disk-dw0bbzws
&<Common request parameters>
{
"Response": {
"AutoSnapshotPolicySet": [
{
"DiskIdSet": [],
"IsActivated": true,
"AdvancedRetentionPolicy": null,
"IsCopyToRemote": 0,
"IsPermanent": false,
"AutoSnapshotPolicyState": "NORMAL",
"NextTriggerTime": "2023-02-24 23:00:00",
"AutoSnapshotPolicyName": "Orch-data-1h-3d",
"AutoSnapshotPolicyId": "asp-3drodm1k",
"CopyFromAccountUin": null,
"InstanceIdSet": [],
"RetentionAmount": 0,
"RetentionDays": 3,
"Tags": [],
"Policy": [
{
"IntervalDays": 2,
"DayOfMonth": [],
"DayOfWeek": [
0,
1,
2,
3,
4,
5,
6
],
"Hour": [
0,
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15,
16,
17,
18,
19,
20,
21,
22,
23
]
}
],
"RetentionMonths": 0,
"CreateTime": "2023-02-15 16:56:04",
"CopyToAccountUin": null
}
],
"TotalCount": 1,
"RequestId": "a9f6fd41-242f-4053-89c2-73ac5465ed9c"
}
}
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 |
|---|---|
| InvalidParameterValue | Invalid parameter value. |
| MissingParameter | Missing parameter. |
| UnauthorizedOperation.InvalidToken | CAM authentication Token is unavailable. |
| UnsupportedOperation | Unsupported operation |
Apakah halaman ini membantu?
Anda juga dapat Menghubungi Penjualan atau Mengirimkan Tiket untuk meminta bantuan.
masukan