huawei-cloud-api-definitions-DAS 0.1.20260918

Huawei Cloud API definitions, generated from OpenAPI spec
Documentation
1
{"base_path":"/","components":null,"consumes":"","definitions":{"ErrorResp":{"description":"失败时返回的错误对象","properties":{"error_code":{"description":"错误码","maxLength":36,"minLength":8,"type":"string"},"error_msg":{"description":"错误描述","maxLength":512,"minLength":2,"type":"string"}},"required":["error_code","error_msg"]},"TransactionSwitchResp":{"properties":{"switch_status":{"description":"开关状态","enum":["Enabled","Disabled"],"example":"Enabled","type":"string"}},"required":["switch_status"],"type":"object"}},"description":null,"group_id":"7f831fc0dd494cfe86eff0b79e4f207d","host":"das.cn-north-4.myhuaweicloud.com","id":"8063a428d96a4a4d89777d188d551385","info_version":"v3","method":"get","name":"ShowTransactionSwitchStatus","parameters":{},"paths":{"/v3/{project_id}/instances/{instance_id}/transaction/switch":{"get":{"description":"查询历史事务开关。\n目前仅支持MySQL实例。","operationId":"ShowTransactionSwitchStatus","parameters":[{"description":"项目ID","in":"path","name":"project_id","required":true,"type":"string"},{"description":"实例ID","in":"path","name":"instance_id","required":true,"type":"string"},{"description":"数据库类型。仅支持MySQL","enum":["MySQL"],"in":"query","name":"datastore_type","required":true,"type":"string"},{"description":"用户token","in":"header","name":"X-Auth-Token","required":true,"type":"string"},{"description":"语言","enum":["zh-cn","en-us"],"in":"header","name":"X-Language","required":false,"type":"string"}],"responses":{"200":{"description":"Success.","examples":{"application/json":{"switch_status":"Enabled"}},"schema":{"$ref":"#/definitions/TransactionSwitchResp"}},"400":{"description":"Client error.","schema":{"$ref":"#/definitions/ErrorResp"}},"500":{"description":"Server error.","schema":{"$ref":"#/definitions/ErrorResp"}}},"summary":"查询历史事务开关","tags":["云DBA"],"x-das-is-publish":"#GetTransactionSwitch_Placeholder#","x-is-registered":"Y","x-request-examples-description-1":"获取历史事务开关","x-request-examples-url-1":"GET https://das.cn-north-1.myhuaweicloud.com/v3/054c630ff780d4cc2f40c00d7f6fb21d/instances/a77c88dcfd404a64a466ca2cd2f5b8e5in01/transaction/switch?datastore_type=MySQL","x-support-sdk":"Y"}}},"product_short":"DAS","region_id":"cn-north-4","schemes":["HTTPS"],"security_definitions":null,"summary":"查询历史事务开关","tags":"云DBA","uri":null,"version":"2.0"}