huawei-cloud-api-definitions-GaussDB 0.1.20250124

Huawei Cloud API definitions, generated from OpenAPI spec
Documentation
1
{"base_path":"/","components":null,"consumes":"[\"application/json;charset=UTF-8\"]","definitions":{"MysqlErrorResponse":{"properties":{"error_code":{"description":"错误码。","example":"DBS.200022","type":"string"},"error_msg":{"description":"错误消息。","example":"实例不存在","type":"string"}},"required":["error_code","error_msg"]},"QueryAuditLogStatusResponseV3Body":{"description":"查询全量SQL开关状态","properties":{"switch_status":{"description":"全量SQL开关状态。\n取值:\n- ON,表示开启\n- OFF,表示关闭","example":"ON","type":"string"}},"required":["switch_status"]}},"description":null,"group_id":"1bf15763f8164608918d180a9b1aa137","host":"gaussdb.cn-north-4.myhuaweicloud.com","id":"aa83387edc724d898b50991de51e3249","info_version":"v3","method":"get","name":"ShowAuditLog","parameters":{},"paths":{"/v3/{project_id}/instance/{instance_id}/audit-log/switch-status":{"get":{"description":"查询全量SQL开关状态。","operationId":"ShowAuditLog","parameters":[{"description":"用户Token。","in":"header","name":"X-Auth-Token","required":true,"type":"string","x-example":"******"},{"description":"语言。","in":"header","name":"X-Language","type":"string","x-example":"zh-cn"},{"description":"租户在某一region下的project ID。\n\n获取方法请参见[获取项目ID](https://support.huaweicloud.com/api-gaussdbformysql/gaussdbformysql_10_0004.html)。\n","in":"path","name":"project_id","required":true,"type":"string","x-example":"619d3e78f61b4be68bc5aa0b59edcf7b"},{"description":"实例ID。","in":"path","name":"instance_id","required":true,"type":"string","x-example":"61a4ea66210545909d74a05c27a7179ein07"}],"responses":{"200":{"description":"Success.","examples":{"application/json":{"switch_status":"ON"}},"schema":{"$ref":"#/definitions/QueryAuditLogStatusResponseV3Body"}},"400":{"description":"Client error.","schema":{"$ref":"#/definitions/MysqlErrorResponse"}},"500":{"description":"Server error.","schema":{"$ref":"#/definitions/MysqlErrorResponse"}}},"summary":"查询全量SQL开关状态","tags":["日志管理"],"x-is-registered":"N","x-request-examples-description-1":"查询审计日志开关状态。","x-request-examples-url-1":"GET https://{endpoint}/v3/054e292c9880d4992f02c0196d3ea468/instance/61a4ea66210545909d74a05c27a7179ein07/audit-log/switch-status","x-support-sdk":"Y"}}},"product_short":"GaussDB","region_id":"cn-north-4","schemes":["HTTPS"],"security_definitions":null,"summary":"查询全量SQL开关状态","tags":"日志管理","uri":null,"version":"2.0"}