Disassociating Instances from an LTS Log Stream
Function
After you have disassociated instances from an LTS log stream, logs of these instances are not automatically uploaded to the associated LTS log stream.
Constraints
- This function supports only slow query logs and audit logs of GeminiDB Redis instances.
URI
DELETE https://{Endpoint}/v3/{project_id}/instances/logs/lts-configs
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
project_id |
Yes |
String |
Project ID of a tenant in a region. To obtain this value, see Obtaining a Project ID. |
Request Parameters
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
X-Auth-Token |
Yes |
String |
User token. |
X-Language |
No |
String |
Language. |
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
instance_ids |
Yes |
Array of strings |
IDs of the instances to be disassociated from an LTS log stream. |
log_type |
Yes |
String |
Log type. The value can be:
|
Response Parameters
Status code: 200
No response parameters
Example Requests
- URI example
DELETE https://{Endpoint}/v3/0549b4a43100d4f32f51c01c2fe4acdb/instances/logs/lts-configs
- Disassociating instances from an LTS log stream that supports slow query logs
{ "instance_ids" : [ "fe45815ce8a6413ab7fa290da1db1614in12", "362b42f769ff45d884e1866f8ee00bb4in12" ], "log_type" : "slow_log" }
- Disassociating instances from an LTS log stream that supports audit logs
{ "instance_ids" : [ "fe45815ce8a6413ab7fa290da1db1614in12", "362b42f769ff45d884e1866f8ee00bb4in12" ], "log_type" : "audit_log" }
Example Responses
Status code: 200
Success
{}
Status Codes
For details, see Status Codes.
Error Codes
For details, 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