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 |
Project ID. |
|
instance_id |
Yes |
String |
Instance ID. |
Request Parameters
None
Response Parameters
Status code: 200
|
Parameter |
Type |
Description |
|---|---|---|
|
instance_id |
String |
Instance ID. |
|
enable_auto_scan |
Boolean |
Whether to enable scheduled cache analysis. |
|
schedule_at |
Array of strings |
UTC time of the day that analysis is scheduled for. Example: 21:00. |
|
updated_at |
String |
Time when the configuration is updated. The time format is 2020-06-15T02:21:18.669Z. |
Status code: 400
|
Parameter |
Type |
Description |
|---|---|---|
|
error_msg |
String |
Error message. Maximum: 1024 |
|
error_code |
String |
Error code. Maximum: 9 |
|
error_ext_msg |
String |
Extended error information. This parameter is not used currently and is set to null. Maximum: 1024 |
Status code: 401
|
Parameter |
Type |
Description |
|---|---|---|
|
error_msg |
String |
Error message. Maximum: 1024 |
|
error_code |
String |
Error code. Maximum: 9 |
|
error_ext_msg |
String |
Extended error information. This parameter is not used currently and is set to null. Maximum: 1024 |
Status code: 403
|
Parameter |
Type |
Description |
|---|---|---|
|
error_msg |
String |
Error message. Maximum: 1024 |
|
error_code |
String |
Error code. Maximum: 9 |
|
error_ext_msg |
String |
Extended error information. This parameter is not used currently and is set to null. Maximum: 1024 |
Status code: 404
|
Parameter |
Type |
Description |
|---|---|---|
|
error_msg |
String |
Error message. Maximum: 1024 |
|
error_code |
String |
Error code. Maximum: 9 |
|
error_ext_msg |
String |
Extended error information. This parameter is not used currently and is set to null. Maximum: 1024 |
Status code: 500
|
Parameter |
Type |
Description |
|---|---|---|
|
error_msg |
String |
Error message. Maximum: 1024 |
|
error_code |
String |
Error code. Maximum: 9 |
|
error_ext_msg |
String |
Extended error information. This parameter is not used currently and is set to null. Maximum: 1024 |
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