Mengambil hasil pemeriksaan untuk aturan perlindungan data.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
bdrc:DescribeCheckDetails |
none |
*全部资源
|
None | None |
Sintaks permintaan
GET /api/v1/check-details HTTP/1.1
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| ResourceArn |
string |
Yes |
Identifier unik Sumber daya. |
acs:ecs:123***890:cn-shanghai:instance/i-001***90 |
| RuleId |
string |
No |
ID unik aturan perlindungan data. |
rule-000***dav |
| NextToken |
string |
No |
Token yang digunakan untuk mengambil halaman hasil berikutnya. Setel parameter ini ke nilai NextToken yang dikembalikan dari panggilan API terakhir. Untuk informasi selengkapnya tentang cara menyetel parameter ini, lihat deskripsi API. |
cae**********699 |
| MaxResults |
integer |
No |
Jumlah maksimum entri yang dikembalikan per halaman. Nilai default: 10. |
10 |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
BaseResponse<ListResult> |
||
| Data |
object |
The data returned. |
|
| Content |
array<object> |
The collection of records returned by this request. |
|
|
object |
|||
| ResourceArn |
string |
The ARN of the resource (globally unique). |
acs:ecs:123***890:cn-shanghai:instance/i-001***90 |
| RuleId |
string |
The unique identifier of the rule. |
rule-xxxxxxxx |
| ProductType |
string |
The cloud product type. |
ecs |
| ResourceType |
string |
The resource type. |
ACS::ECS::Instance |
| ResourceId |
string |
The unique identifier of the resource. |
i-xxxxxxxx |
| ResourceName |
string |
The name of the resource. |
test server |
| RuleTemplate |
string |
The rule template. |
ecs-backup |
| CheckStatus |
string |
The check status. Valid values: NOT_CHECKED, PASSED, FAILED, CHECKING, CHECK_FAILED |
PASSED |
| CheckTime |
integer |
The check time. |
1701725715 |
| Detail |
string |
The check details. |
{"ecsAutoSnapshotPolicyIds":[],"hbrBackupPlans":[{"planId":"po-xxxxxxxx","sourceType":"UDM_ECS"}]} |
| ResourceOwnerId |
integer |
123***7890 |
|
| NextToken |
string |
The token that is used to retrieve the next page of results. If this parameter is empty, it indicates that all data has been retrieved. |
CAESGgoSChAKDGNvbXBsZXRlVGltZRABCgQiAggAGAAiQAoJAOTzWWYAAAAACjMDLgAAADFTNzMyZDMwMzAzMDM4NzA3NTcwMzY2MjMwNzY2ODcyMzAzMTY2Nzg3ODY5MzY= |
| MaxResults |
integer |
The maximum number of entries returned in this response. |
10 |
| TotalCount |
integer |
The total number of entries that meet the query conditions. This parameter is optional and is not returned by default. |
100 |
| RequestId |
string |
The unique ID of the request. |
92793A50-0B97-59F1-BAEA-EAED83BA1998 |
Contoh
Respons sukses
JSONformat
{
"Data": {
"Content": [
{
"ResourceArn": "acs:ecs:123***890:cn-shanghai:instance/i-001***90\n",
"RuleId": "rule-xxxxxxxx",
"ProductType": "ecs",
"ResourceType": "ACS::ECS::Instance",
"ResourceId": "i-xxxxxxxx",
"ResourceName": "test server",
"RuleTemplate": "ecs-backup",
"CheckStatus": "PASSED",
"CheckTime": 1701725715,
"Detail": "{\"ecsAutoSnapshotPolicyIds\":[],\"hbrBackupPlans\":[{\"planId\":\"po-xxxxxxxx\",\"sourceType\":\"UDM_ECS\"}]}",
"ResourceOwnerId": 0
}
],
"NextToken": "CAESGgoSChAKDGNvbXBsZXRlVGltZRABCgQiAggAGAAiQAoJAOTzWWYAAAAACjMDLgAAADFTNzMyZDMwMzAzMDM4NzA3NTcwMzY2MjMwNzY2ODcyMzAzMTY2Nzg3ODY5MzY=",
"MaxResults": 10,
"TotalCount": 100
},
"RequestId": "92793A50-0B97-59F1-BAEA-EAED83BA1998"
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.