Disassociating an Instance from an LTS Log Stream
API Description
After you have disassociated an instance from an LTS log stream, logs of the instance are not uploaded to the LTS log stream.
URI
- URI format
DELETE https://{Endpoint}/v3/{project_id}/instances/logs/lts-configs
- URI example
https://dds.cn-north-1.myhuaweicloud.com/v3/619d3e78f61b4be68bc5aa0b59edcf7b/instances/logs/lts-configs
Table 1 Request parameters Parameter
Mandatory
Type
Description
X-Auth-Token
Yes
String
User token obtained from IAM. For details, see Authentication.
project_id
Yes
String
Project ID of a tenant in a region. Obtain the project ID by following the instructions in Obtaining a Project ID.
Requests
- Parameter description
Table 2 Request body parameters Parameter
Type
Mandatory
Description
lts_configs
Array of Table 3 objects
Yes
List of LTS configurations to be disabled. To disable multiple log configurations for an instance, you need to specify multiple items.
- Example request
Disabling audit log reporting to LTS for a DB instance
DELETE https://{endpoint}/v3/619d3e78f61b4be68bc5aa0b59edcf7b/instances/logs/lts-configs
{ "lts_configs" : [ { "instance_id" : "520c58ba00a3497e97ce0b9604874dd6in02", "log_type" : "audit_log" } ] }
Status Code
For details, see Status Code.
Error Code
For details, see Error Code.
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