Querying the Configurations of Automatic Big Key Analysis
Function
This API is used to query configurations of automatic big key analysis.
URI
GET /v2/{project_id}/instances/{instance_id}/bigkey/autoscan
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
project_id |
Yes |
String |
Parameter description: Project ID. For details, see Obtaining a Project ID. Constraints: N/A Value range: N/A Default value: N/A |
|
instance_id |
Yes |
String |
Parameter description: Instance ID. It can be viewed on the instance details page on the DCS console. Constraints: N/A Value range: N/A Default value: N/A |
Request Parameters
None
Response Parameters
Status code: 200
|
Parameter |
Type |
Description |
|---|---|---|
|
instance_id |
String |
Parameter description: Instance ID. Value range: N/A |
|
enable_auto_scan |
Boolean |
Parameter description: Whether to enable scheduled cache analysis. Value range:
|
|
schedule_at |
Array of strings |
Parameter description: UTC time of the day that analysis is scheduled for. Example: 21:00. Value range: N/A |
|
updated_at |
String |
Parameter description: Time when the configuration is updated. The time format is 2020-06-15T02:21:18.669Z. Value range: N/A |
Status code: 400
|
Parameter |
Type |
Description |
|---|---|---|
|
error_msg |
String |
Parameter description: Error information. Value range: N/A |
|
error_code |
String |
Parameter description: Error code. Value range: For details, see Error Codes. |
|
error_ext_msg |
String |
Parameter description: Extended error information. This parameter is not used currently and is set to null. Value range: N/A |
Status code: 401
|
Parameter |
Type |
Description |
|---|---|---|
|
error_msg |
String |
Parameter description: Error information. Value range: N/A |
|
error_code |
String |
Parameter description: Error code. Value range: For details, see Error Codes. |
|
error_ext_msg |
String |
Parameter description: Extended error information. This parameter is not used currently and is set to null. Value range: N/A |
Status code: 403
|
Parameter |
Type |
Description |
|---|---|---|
|
error_msg |
String |
Parameter description: Error information. Value range: N/A |
|
error_code |
String |
Parameter description: Error code. Value range: For details, see Error Codes. |
|
error_ext_msg |
String |
Parameter description: Extended error information. This parameter is not used currently and is set to null. Value range: N/A |
Status code: 404
|
Parameter |
Type |
Description |
|---|---|---|
|
error_msg |
String |
Parameter description: Error information. Value range: N/A |
|
error_code |
String |
Parameter description: Error code. Value range: For details, see Error Codes. |
|
error_ext_msg |
String |
Parameter description: Extended error information. This parameter is not used currently and is set to null. Value range: N/A |
Status code: 500
|
Parameter |
Type |
Description |
|---|---|---|
|
error_msg |
String |
Parameter description: Error information. Value range: N/A |
|
error_code |
String |
Parameter description: Error code. Value range: For details, see Error Codes. |
|
error_ext_msg |
String |
Parameter description: Extended error information. This parameter is not used currently and is set to null. Value range: N/A |
Example Requests
GET https://{dcs_endpoint}/v2/a4d31cb6-3d72-4fdc-8ec9-6e3a41e47f71/instances/5560df16-cebf-4473-95c4-d1b573c16e79/bigkey/autoscan
Example Responses
Status code: 200
This API is used to query configurations of automatic big key analysis.
{
"instance_id" : "5f9057b5-c330-4ee2-8138-7e69896eeec3",
"enable_auto_scan" : true,
"schedule_at" : [ "21:00" ],
"updated_at" : "2020-06-17T02:42:40.793Z"
}
Status code: 400
Invalid request.
{
"error_code" : "DCS.4919",
"error_msg" : "Does not support bigkey analyze."
}
Status Codes
|
Status Code |
Description |
|---|---|
|
200 |
This API is used to query configurations of automatic big key analysis. |
|
400 |
Invalid request. |
|
401 |
Invalid authentication information. |
|
403 |
The request is rejected. |
|
404 |
The requested resource is not found. |
|
500 |
Internal service error. |
Error Codes
See Error Codes.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot