{"openapi":"3.1.0","info":{"title":"Apizie","version":"2.0.0","description":"One API key, one envelope, many public data sources."},"servers":[{"url":"https://zieapi.vercel.app"}],"security":[{"ApiKeyAuth":[]}],"paths":{"/v1/cloud:aliyun-das/add-hdminstance":{"post":{"operationId":"cloud_aliyun_das_add_hdminstance","summary":"Calls the AddHDMInstance operation to connect a database instance to Database Autonomy Service (DAS)","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["InstanceArea"],"properties":{"endpoint":{"type":"string","enum":["https://das.aliyuncs.com","https://das.cn-shanghai.aliyuncs.com"],"default":"https://das.aliyuncs.com","description":"Regional endpoint, for example https://das.aliyuncs.com"},"__context":{"type":"string","description":"The reserved parameter"},"InstanceArea":{"type":"string","description":"The database product to which the instance belongs. Valid values: RDS: cloud instance. ECS: self-managed instance on ECS. IDC:…"},"InstanceId":{"type":"string","description":"The instance ID"},"Ip":{"type":"string","description":"The internal endpoint of the instance to be connected"},"Port":{"type":"string","description":"The internal network connection port of the instance"},"Engine":{"type":"string","description":"The database engine. Valid values: MySQL PostgreSQL SQLServer PolarDBMySQL PolarDBPostgreSQL Redis MongoDB PolarDBOracle PolarDBX"},"Username":{"type":"string","description":"The username"},"Password":{"type":"string","description":"The password of the username"},"InstanceAlias":{"type":"string","description":"The instance name"},"NetworkType":{"type":"string","description":"The network type of the instance"},"VpcId":{"type":"string","description":"VPC ID"},"Region":{"type":"string","description":"The region in which the instance resides"},"FlushAccount":{"type":"string","description":"The reserved parameter"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-das/chat":{"post":{"operationId":"cloud_aliyun_das_chat","summary":"Invokes the asynchronous logic interface for DAS large model capabilities","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"endpoint":{"type":"string","enum":["https://das.aliyuncs.com","https://das.cn-shanghai.aliyuncs.com"],"default":"https://das.aliyuncs.com","description":"Regional endpoint, for example https://das.aliyuncs.com"},"Message":{"type":"string","description":"The message"},"SessionId":{"type":"string","description":"Optional. The session ID, which is a UUID string. If not specified, a new session is created by default. The same session ID must be…"},"AgentId":{"type":"string","description":"Optional. The agent ID used for the service. You can specify the agent generated after enabling the DAS Agent or a manually created agent.…"},"Summary":{"type":"string","description":"Specifies whether to output summary information"},"Resume":{"type":"string","description":"The user interaction feedback"},"ForwardedProps":{"type":"string","description":"The forwarded properties"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-das/create-cache-analysis-job":{"post":{"operationId":"cloud_aliyun_das_create_cache_analysis_job","summary":"Creates a cache analysis task by calling the CreateCacheAnalysisJob operation","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["InstanceId"],"properties":{"endpoint":{"type":"string","enum":["https://das.aliyuncs.com","https://das.cn-shanghai.aliyuncs.com"],"default":"https://das.aliyuncs.com","description":"Regional endpoint, for example https://das.aliyuncs.com"},"InstanceId":{"type":"string","description":"The instance ID of the Redis instance"},"NodeId":{"type":"string","description":"The ID of the data node in the instance. Specify this parameter to query monitoring information of a specific node. If you specify the…"},"BackupSetId":{"type":"string","description":"The ID of the backup file. You can call the https://help.aliyun.com/document_detail/473823.html operation to obtain the backup file ID. To…"},"Separators":{"type":"string","description":"The delimiters used to identify key prefixes. You do not need to specify this parameter if the default delimiters `:;,_-+@=|#` are used"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-das/create-cloud-bench-tasks":{"post":{"operationId":"cloud_aliyun_das_create_cloud_bench_tasks","summary":"You can call the CreateCloudBenchTasks operation to create a stress testing task","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["TaskType","SrcInstanceId","Description","ClientType"],"properties":{"endpoint":{"type":"string","enum":["https://das.aliyuncs.com","https://das.cn-shanghai.aliyuncs.com"],"default":"https://das.aliyuncs.com","description":"Regional endpoint, for example https://das.aliyuncs.com"},"TaskType":{"type":"string","description":"The type of stress testing task. Valid values: pressure test (default): Intelligent stress testing, which replays the traffic captured…"},"SrcInstanceId":{"type":"string","description":"The ID of the source instance. Only RDS MySQL and PolarDB MySQL instances are supported. You can call the…"},"Description":{"type":"string","description":"The description of the stress testing task"},"SrcPublicIp":{"type":"string","description":"Reserved parameter"},"DstInstanceId":{"type":"string","description":"The ID of the target instance. Only RDS MySQL and PolarDB MySQL instances are supported. You can call the…"},"GatewayVpcId":{"type":"string","description":"The virtual private cloud (VPC) ID of the Database Gateway. This parameter is required when ClientType is set to ECS"},"GatewayVpcIp":{"type":"string","description":"The IP address or domain name of the Database Gateway. This parameter is required when ClientType is set to ECS"},"ClientType":{"type":"string","description":"The type of stress testing machine. Valid values: ECS: You need to prepare a https://help.aliyun.com/document_detail/64905.html yourself.…"},"RequestStartTime":{"type":"string","description":"The start time of the stress testing task. The time is in the UNIX timestamp format. Unit: milliseconds"},"RequestEndTime":{"type":"string","description":"The end time of the stress testing task. The time is in the UNIX timestamp format. Unit: milliseconds"},"RequestDuration":{"type":"string","description":"The duration of the stress testing task. Unit: milliseconds"},"Rate":{"type":"string","description":"The replay speed of the source instance traffic on the target instance. The replay speed must be a positive integer. Valid values: 1 to…"},"SmartPressureTime":{"type":"string","description":"The duration of the generated stress testing. Unit: milliseconds. This parameter is required when TaskType is set to smart pressure test"},"DtsJobClass":{"type":"string","description":"The specification of the DTS migration task. You can call the https://help.aliyun.com/document_detail/230669.html operation to obtain the…"},"DtsJobId":{"type":"string","description":"The ID of the DTS migration task. You can call the https://help.aliyun.com/document_detail/208399.html operation to obtain the ID. This…"},"SrcSuperAccount":{"type":"string","description":"The privileged account of the source instance. Value: admin. This parameter is required when DstType is set to Instance"},"SrcSuperPassword":{"type":"string","description":"The password of the privileged account of the source instance. This parameter is required when DstType is set to Instance"},"DstSuperAccount":{"type":"string","description":"The privileged account of the target instance"},"DstSuperPassword":{"type":"string","description":"The password of the privileged account of the target instance"},"DstType":{"type":"string","description":"The type of the target instance. Valid values: Instance (default): instance ID. ConnectionString: connection address of the instance"},"DstConnectionString":{"type":"string","description":"The connection address of the target instance. Only RDS MySQL and PolarDB MySQL instances are supported. This parameter takes effect when…"},"DstPort":{"type":"string","description":"The port of the target instance. This parameter takes effect when DstType is set to ConnectionString"},"WorkDir":{"type":"string","description":"The temporary directory generated by the stress testing"},"BackupId":{"type":"string","description":"The ID of the backup set. You can call the https://help.aliyun.com/document_detail/26273.html operation to query the backup list and…"},"BackupTime":{"type":"string","description":"The time of the backup. Format: yyyy-MM-ddTHH:mm:ssZ (UTC time)"},"Amount":{"type":"string","description":"The total number of stress testing tasks to create. Valid values: 0 to 30. Default value: 1"},"EndState":{"type":"string","description":"The status after the stress testing task ends. Valid values: WAIT_TARGET: Prepare the target instance for stress testing. WAIT_DBGATEWAY:…"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-das/create-diagnostic-report":{"post":{"operationId":"cloud_aliyun_das_create_diagnostic_report","summary":"Creates a diagnostic report","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["DBInstanceId","StartTime","EndTime"],"properties":{"endpoint":{"type":"string","enum":["https://das.aliyuncs.com","https://das.cn-shanghai.aliyuncs.com"],"default":"https://das.aliyuncs.com","description":"Regional endpoint, for example https://das.aliyuncs.com"},"DBInstanceId":{"type":"string","description":"The instance ID"},"StartTime":{"type":"string","description":"The beginning of the time range to create the diagnostic report. This value is a UNIX timestamp representing the number of milliseconds…"},"EndTime":{"type":"string","description":"The end of the time range to create the diagnostic report. This value is a UNIX timestamp representing the number of milliseconds that…"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-das/create-kill-instance-session-task":{"post":{"operationId":"cloud_aliyun_das_create_kill_instance_session_task","summary":"Calls the CreateKillInstanceSessionTask operation to create a task that terminates sessions","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["InstanceId","DbUser","DbUserPassword","KillAllSessions"],"properties":{"endpoint":{"type":"string","enum":["https://das.aliyuncs.com","https://das.cn-shanghai.aliyuncs.com"],"default":"https://das.aliyuncs.com","description":"Regional endpoint, for example https://das.aliyuncs.com"},"InstanceId":{"type":"string","description":"The instance ID"},"NodeId":{"type":"string","description":"The node ID. For PolarDB for MySQL instances, provide the node ID. If no node ID is provided and the KillAllSessions request parameter is…"},"DbUser":{"type":"string","description":"The database account that has the permission to terminate sessions"},"DbUserPassword":{"type":"string","description":"The password of the database account"},"IgnoredUsers":{"type":"string","description":"The list of accounts whose sessions will not be terminated. The data is in JSONArray format, such as…"},"KillAllSessions":{"type":"string","description":"Specifies whether to terminate all sessions. true: Yes. false: No. When this parameter is set to true, sessions of accounts specified in…"},"SessionIds":{"type":"string","description":"The list of session IDs to be terminated. The data is in JSONArray format, such as [SessionID1,SessionID2]. Separate multiple session IDs…"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-das/create-latest-dead-lock-analysis":{"post":{"operationId":"cloud_aliyun_das_create_latest_dead_lock_analysis","summary":"Creates a recent deadlock analysis task","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["InstanceId"],"properties":{"endpoint":{"type":"string","enum":["https://das.aliyuncs.com","https://das.cn-shanghai.aliyuncs.com"],"default":"https://das.aliyuncs.com","description":"Regional endpoint, for example https://das.aliyuncs.com"},"InstanceId":{"type":"string","description":"The instance ID"},"NodeId":{"type":"string","description":"The node ID. For PolarDB for MySQL instances, you must specify the node ID"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-das/create-query-optimize-tag":{"post":{"operationId":"cloud_aliyun_das_create_query_optimize_tag","summary":"Calls the CreateQueryOptimizeTag operation to add tags to target SQL statements","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["Engine","SqlIds","Tags","Status","InstanceId"],"properties":{"endpoint":{"type":"string","enum":["https://das.aliyuncs.com","https://das.cn-shanghai.aliyuncs.com"],"default":"https://das.aliyuncs.com","description":"Regional endpoint, for example https://das.aliyuncs.com"},"Engine":{"type":"string","description":"The database engine. Valid values: MySQL: RDS MySQL PolarDBMySQL: PolarDB for MySQL PostgreSQL: RDS PostgreSQL"},"SqlIds":{"type":"string","description":"The SQL template ID. You can call the https://help.aliyun.com/document_detail/405261.html operation to query SQL template IDs. You can…"},"Tags":{"type":"string","description":"The SQL tag. You can specify multiple values separated by commas (,). DAS_IMPORTANT: important SQL. DAS_NOT_IMPORTANT: unimportant SQL.…"},"Status":{"type":"integer","description":"The status of the Tags request parameter. 0: Clears all tags for the SQL template IDs specified by SqlIds and ignores the Tags parameter.…"},"Comments":{"type":"string","description":"The remarks. The value must be 1 to 300 characters in length"},"InstanceId":{"type":"string","description":"The instance ID"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-das/create-request-diagnosis":{"post":{"operationId":"cloud_aliyun_das_create_request_diagnosis","summary":"Initiates an SQL statement diagnostics request","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["InstanceId","Database","Sql"],"properties":{"endpoint":{"type":"string","enum":["https://das.aliyuncs.com","https://das.cn-shanghai.aliyuncs.com"],"default":"https://das.aliyuncs.com","description":"Regional endpoint, for example https://das.aliyuncs.com"},"InstanceId":{"type":"string","description":"The instance ID"},"NodeId":{"type":"string","description":"The node ID. This parameter must be specified for PolarDB for MySQL, PolarDB for PostgreSQL (Compatible with Oracle), and ApsaraDB for…"},"Database":{"type":"string","description":"The name of the database"},"Sql":{"type":"string","description":"The SQL statement that you want to diagnose"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-das/create-security-ipgroup":{"post":{"operationId":"cloud_aliyun_das_create_security_ipgroup","summary":"Creates a cross-service whitelist template for a user","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["RegionName","GlobalIgName","GIpList"],"properties":{"endpoint":{"type":"string","enum":["https://das.aliyuncs.com","https://das.cn-shanghai.aliyuncs.com"],"default":"https://das.aliyuncs.com","description":"Regional endpoint, for example https://das.aliyuncs.com"},"RegionName":{"type":"string","description":"The region ID"},"GlobalIgName":{"type":"string","description":"The name of the IP whitelist template. The name must meet the following requirements: Contains only lowercase letters, digits, and…"},"GIpList":{"type":"string","description":"The IP addresses in the whitelist template. Separate multiple IP addresses with commas (,). IP addresses cannot be duplicated. A maximum…"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-das/create-sql-log-task":{"post":{"operationId":"cloud_aliyun_das_create_sql_log_task","summary":"Creates an asynchronous task for detailed data","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["StartTime","EndTime"],"properties":{"endpoint":{"type":"string","enum":["https://das.aliyuncs.com","https://das.cn-shanghai.aliyuncs.com"],"default":"https://das.aliyuncs.com","description":"Regional endpoint, for example https://das.aliyuncs.com"},"InstanceId":{"type":"string","description":"The database instance ID"},"NodeId":{"type":"string","description":"The node ID. This parameter is applicable only to cluster instances. You can specify this parameter to query the batch task of a specific…"},"Type":{"type":"string","description":"The task type. Export: export task. For the filter parameters and values supported by Export, see Request parameters description. Query:…"},"Name":{"type":"string","description":"The task name"},"Filters":{"type":"string","description":"The list of filter conditions (JSON-encoded)"},"StartTime":{"type":"integer","description":"The start time of the task. Specify the value as a UNIX timestamp. Unit: milliseconds"},"EndTime":{"type":"integer","description":"The end time of the task. Specify the value as a UNIX timestamp. Unit: milliseconds"},"Role":{"type":"string","description":"The node information of the PolarDB-X 2.0 database instance. polarx_cn: compute node. polarx_dn: data node"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-das/create-storage-analysis-task":{"post":{"operationId":"cloud_aliyun_das_create_storage_analysis_task","summary":"Creates a storage analysis task to query the usage details of one or more databases and tables","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["InstanceId"],"properties":{"endpoint":{"type":"string","enum":["https://das.aliyuncs.com","https://das.cn-shanghai.aliyuncs.com"],"default":"https://das.aliyuncs.com","description":"Regional endpoint, for example https://das.aliyuncs.com"},"InstanceId":{"type":"string","description":"The instance ID"},"NodeId":{"type":"string","description":"The node ID. For ApsaraDB for MongoDB instances, you can use this parameter to specify a node for storage analysis. You can call the…"},"DbName":{"type":"string","description":"The database name. If you specify a database, the operation analyzes the storage usage of the specified database"},"TableName":{"type":"string","description":"The table name. If you specify a table in the specified database, the operation analyzes the storage usage of the specified table. If you…"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-das/delete-cloud-bench-task":{"post":{"operationId":"cloud_aliyun_das_delete_cloud_bench_task","summary":"Deletes a stress testing task","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["TaskId"],"properties":{"endpoint":{"type":"string","enum":["https://das.aliyuncs.com","https://das.cn-shanghai.aliyuncs.com"],"default":"https://das.aliyuncs.com","description":"Regional endpoint, for example https://das.aliyuncs.com"},"TaskId":{"type":"string","description":"The unique task ID. You can call the https://help.aliyun.com/document_detail/230670.html API to get this task ID"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-das/delete-security-ipgroup":{"post":{"operationId":"cloud_aliyun_das_delete_security_ipgroup","summary":"Deletes a cross-product whitelist template for a user","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["RegionName","GlobalSecurityGroupId"],"properties":{"endpoint":{"type":"string","enum":["https://das.aliyuncs.com","https://das.cn-shanghai.aliyuncs.com"],"default":"https://das.aliyuncs.com","description":"Regional endpoint, for example https://das.aliyuncs.com"},"RegionName":{"type":"string","description":"The region ID"},"GlobalSecurityGroupId":{"type":"string","description":"The ID of the IP whitelist template"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-das/delete-stop-gateway":{"post":{"operationId":"cloud_aliyun_das_delete_stop_gateway","summary":"Deletes the metadata of a stopped database gateway","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["GatewayId"],"properties":{"endpoint":{"type":"string","enum":["https://das.aliyuncs.com","https://das.cn-shanghai.aliyuncs.com"],"default":"https://das.aliyuncs.com","description":"Regional endpoint, for example https://das.aliyuncs.com"},"GatewayId":{"type":"string","description":"The unique ID of the database gateway. Note: You can get this ID from the `ClientGatewayId` field in the response of the…"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-das/describe-audit-logs":{"post":{"operationId":"cloud_aliyun_das_describe_audit_logs","summary":"Queries the list of data audit alert logs to facilitate alert search and processing","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"endpoint":{"type":"string","enum":["https://das.aliyuncs.com","https://das.cn-shanghai.aliyuncs.com"],"default":"https://das.aliyuncs.com","description":"Regional endpoint, for example https://das.aliyuncs.com"},"Lang":{"type":"string","description":"The language type of the request and response messages. Default value: zh_cn. Valid values: zh_cn: Chinese. en_us: English"},"UserName":{"type":"string","description":"The username"},"ClientIp":{"type":"string","description":"The IP address of the client that sends the request"},"ClientUa":{"type":"string","description":"The client type"},"InstanceName":{"type":"string","description":"The name of the asset instance"},"DatabaseName":{"type":"string","description":"The name of the database"},"StartTime":{"type":"integer","description":"The start time of the alert logs. Unit: milliseconds"},"EndTime":{"type":"integer","description":"The end time of the alert logs. The value is a UNIX timestamp in milliseconds"},"ProductCode":{"type":"string","description":"The name of the product to which the data asset belongs. Valid values include RDS, PolarDB, and PolarDB-X 2.0"},"ProductId":{"type":"integer","description":"The ID of the product to which the data object belongs. Valid values: 3: ADB-MYSQL 5: RDS 7: PolarDB-X 8: PolarDB 9: ADB-PG 11: MongoDB…"},"SqlText":{"type":"string","description":"The content of the SQL statement"},"ExecuteTimeRange":{"type":"string","description":"The execution time range"},"EffectRowRange":{"type":"string","description":"The range of affected rows"},"RuleName":{"type":"string","description":"The name of the audit rule"},"OperateType":{"type":"string","description":"The operation type"},"OssObjectKey":{"type":"string","description":"The key of the OSS object"},"AsyncRequestId":{"type":"string","description":"The request ID"},"PageSize":{"type":"integer","description":"The maximum number of entries per page. Default value: 10"},"CurrentPage":{"type":"integer","description":"The current page number"},"RuleCategory":{"type":"string","description":"The rule type"},"LoadWhiteList":{"type":"string","description":"Specifies whether to load the whitelist status"},"IpType":{"type":"string","description":"The network type. Valid values: default: Non-Alibaba Cloud services. This is the default value. aliyun: Alibaba Cloud services"},"LogSource":{"type":"string","description":"The data source"},"RuleAggQuery":{"type":"string","description":"Specifies whether to perform an aggregate query"},"RuleId":{"type":"string","description":"The rule ID"},"LogQueryOpJson":{"type":"string","description":"The LogQueryOpJson"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-das/describe-auto-scaling-config":{"post":{"operationId":"cloud_aliyun_das_describe_auto_scaling_config","summary":"Invokes the DescribeAutoScalingConfig operation to query the elastic scaling feature configuration of an…","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["InstanceId"],"properties":{"endpoint":{"type":"string","enum":["https://das.aliyuncs.com","https://das.cn-shanghai.aliyuncs.com"],"default":"https://das.aliyuncs.com","description":"Regional endpoint, for example https://das.aliyuncs.com"},"InstanceId":{"type":"string","description":"The instance ID"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-das/describe-auto-scaling-history":{"post":{"operationId":"cloud_aliyun_das_describe_auto_scaling_history","summary":"Queries the elastic scaling history of an instance","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["InstanceId","AutoScalingTaskType","StartTime","EndTime"],"properties":{"endpoint":{"type":"string","enum":["https://das.aliyuncs.com","https://das.cn-shanghai.aliyuncs.com"],"default":"https://das.aliyuncs.com","description":"Regional endpoint, for example https://das.aliyuncs.com"},"InstanceId":{"type":"string","description":"The instance ID. Currently, only ApsaraDB RDS for MySQL instances are supported"},"AutoScalingTaskType":{"type":"string","description":"The type of elastic scaling task to query. Currently, only SPEC is supported, which indicates querying the automatic performance scaling…"},"StartTime":{"type":"integer","description":"The start time of the query task. Specify the value as a UNIX timestamp. Unit: milliseconds. The start time cannot be earlier than 45 days…"},"EndTime":{"type":"integer","description":"The end time of the query task. Specify the value as a UNIX timestamp. Unit: milliseconds. The end time must be later than the start time"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-das/describe-cache-analysis-job":{"post":{"operationId":"cloud_aliyun_das_describe_cache_analysis_job","summary":"Returns details of a cache analysis task","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["InstanceId","JobId"],"properties":{"endpoint":{"type":"string","enum":["https://das.aliyuncs.com","https://das.cn-shanghai.aliyuncs.com"],"default":"https://das.aliyuncs.com","description":"Regional endpoint, for example https://das.aliyuncs.com"},"InstanceId":{"type":"string","description":"The ID of the instance"},"JobId":{"type":"string","description":"The ID of the cache analysis task. You can obtain the task ID from the response parameters of the…"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-das/describe-cache-analysis-jobs":{"post":{"operationId":"cloud_aliyun_das_describe_cache_analysis_jobs","summary":"Queries a list of cache analysis tasks","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["InstanceId","StartTime","EndTime"],"properties":{"endpoint":{"type":"string","enum":["https://das.aliyuncs.com","https://das.cn-shanghai.aliyuncs.com"],"default":"https://das.aliyuncs.com","description":"Regional endpoint, for example https://das.aliyuncs.com"},"InstanceId":{"type":"string","description":"The instance ID"},"StartTime":{"type":"string","description":"The beginning of the time range to query. Set this parameter to a UNIX timestamp representing the number of milliseconds that have elapsed…"},"EndTime":{"type":"string","description":"The end of the time range to query. Set this parameter to a UNIX timestamp representing the number of milliseconds that have elapsed since…"},"PageNo":{"type":"string","description":"The page number. The value must be an integer that is greater than 0. Default value: 1"},"PageSize":{"type":"string","description":"The number of entries per page. Default value: 10"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-das/describe-cloud-bench-tasks":{"post":{"operationId":"cloud_aliyun_das_describe_cloud_bench_tasks","summary":"Queries the list of stress testing tasks","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"endpoint":{"type":"string","enum":["https://das.aliyuncs.com","https://das.cn-shanghai.aliyuncs.com"],"default":"https://das.aliyuncs.com","description":"Regional endpoint, for example https://das.aliyuncs.com"},"Status":{"type":"string","description":"The running status of the task. Valid values: SUCCESS: Successful. IGNORED: Ignored. RUNNING: Running. EXCEPTION: Exception"},"TaskType":{"type":"string","description":"The type of the stress testing task. Valid values: pressure test (default): intelligent stress testing. Traffic captured from the target…"},"StartTime":{"type":"string","description":"The start time of the query task. Specify the value as a UNIX timestamp. Unit: milliseconds"},"EndTime":{"type":"string","description":"The end time of the query task. Specify the value as a UNIX timestamp. Unit: milliseconds. The end time of the query task must be later…"},"PageNo":{"type":"string","description":"The page number. The value must be greater than 0 and cannot exceed the maximum value of the Integer data type. Default value: 1"},"PageSize":{"type":"string","description":"The maximum number of records per page. The value must be greater than 0 and cannot exceed the maximum value of the Integer data type.…"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-das/describe-cloudbench-task":{"post":{"operationId":"cloud_aliyun_das_describe_cloudbench_task","summary":"Queries a stress testing task","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["TaskId"],"properties":{"endpoint":{"type":"string","enum":["https://das.aliyuncs.com","https://das.cn-shanghai.aliyuncs.com"],"default":"https://das.aliyuncs.com","description":"Regional endpoint, for example https://das.aliyuncs.com"},"TaskId":{"type":"string","description":"The task ID. You can call the https://help.aliyun.com/document_detail/230670.html operation to obtain the task ID"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-das/describe-cloudbench-task-config":{"post":{"operationId":"cloud_aliyun_das_describe_cloudbench_task_config","summary":"Retrieves the detailed configuration, file paths, and execution commands for a specific stress test task","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["TaskId"],"properties":{"endpoint":{"type":"string","enum":["https://das.aliyuncs.com","https://das.cn-shanghai.aliyuncs.com"],"default":"https://das.aliyuncs.com","description":"Regional endpoint, for example https://das.aliyuncs.com"},"TaskId":{"type":"string","description":"The unique ID of the stress test task. You can call the https://help.aliyun.com/document_detail/230670.html API to get the task ID"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-das/describe-das-ops-config":{"post":{"operationId":"cloud_aliyun_das_describe_das_ops_config","summary":"Queries the enabled items of Alibaba Cloud Managed Services","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["InstanceId"],"properties":{"endpoint":{"type":"string","enum":["https://das.aliyuncs.com","https://das.cn-shanghai.aliyuncs.com"],"default":"https://das.aliyuncs.com","description":"Regional endpoint, for example https://das.aliyuncs.com"},"InstanceId":{"type":"string","description":"The instance ID"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-das/describe-diagnostic-report-list":{"post":{"operationId":"cloud_aliyun_das_describe_diagnostic_report_list","summary":"Queries diagnostics reports","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["DBInstanceId","StartTime","EndTime"],"properties":{"endpoint":{"type":"string","enum":["https://das.aliyuncs.com","https://das.cn-shanghai.aliyuncs.com"],"default":"https://das.aliyuncs.com","description":"Regional endpoint, for example https://das.aliyuncs.com"},"DBInstanceId":{"type":"string","description":"The instance ID"},"PageNo":{"type":"string","description":"The page number. The value must be a positive integer. Default value: 1"},"PageSize":{"type":"string","description":"The number of entries per page. Default value: 10"},"StartTime":{"type":"string","description":"The beginning of the time range to query. Set this parameter to a UNIX timestamp representing the number of milliseconds that have elapsed…"},"EndTime":{"type":"string","description":"The end of the time range to query. Set this parameter to a UNIX timestamp representing the number of milliseconds that have elapsed since…"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-das/describe-error-log-records":{"post":{"operationId":"cloud_aliyun_das_describe_error_log_records","summary":"Queries the error log details of an instance within a specified time range","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["InstanceId","StartTime","EndTime"],"properties":{"endpoint":{"type":"string","enum":["https://das.aliyuncs.com","https://das.cn-shanghai.aliyuncs.com"],"default":"https://das.aliyuncs.com","description":"Regional endpoint, for example https://das.aliyuncs.com"},"InstanceId":{"type":"string","description":"The instance ID"},"NodeId":{"type":"string","description":"The node ID"},"Role":{"type":"string","description":"The node role. Valid values: db mongos Only ApsaraDB for MongoDB instances are supported"},"StartTime":{"type":"integer","description":"The start time of the query. The value is in the format of a UNIX timestamp, in milliseconds. The data type of this parameter is Long.…"},"EndTime":{"type":"integer","description":"The end time of the query. The value is in the format of a UNIX timestamp, in milliseconds. The data type of this parameter is Long.…"},"PageNumber":{"type":"integer","description":"The page number"},"PageSize":{"type":"integer","description":"The number of entries per page. Maximum value: 100"},"Filters":{"type":"string","description":"The filter conditions. Only error log filtering for ApsaraDB RDS for MySQL, ApsaraDB RDS for PostgreSQL, PolarDB for MySQL, PolarDB for…"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-das/describe-hot-big-keys":{"post":{"operationId":"cloud_aliyun_das_describe_hot_big_keys","summary":"Calls the DescribeHotBigKeys operation to retrieve the hot keys and big keys in the current memory in real…","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["InstanceId"],"properties":{"endpoint":{"type":"string","enum":["https://das.aliyuncs.com","https://das.cn-shanghai.aliyuncs.com"],"default":"https://das.aliyuncs.com","description":"Regional endpoint, for example https://das.aliyuncs.com"},"ConsoleContext":{"type":"string","description":"The reserved parameter"},"InstanceId":{"type":"string","description":"The instance ID of the Redis instance"},"NodeId":{"type":"string","description":"The ID of the data shard in the Redis instance"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-das/describe-hot-keys":{"post":{"operationId":"cloud_aliyun_das_describe_hot_keys","summary":"Queries the hot keys of a Redis instance by calling the DescribeHotKeys operation","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["InstanceId"],"properties":{"endpoint":{"type":"string","enum":["https://das.aliyuncs.com","https://das.cn-shanghai.aliyuncs.com"],"default":"https://das.aliyuncs.com","description":"Regional endpoint, for example https://das.aliyuncs.com"},"InstanceId":{"type":"string","description":"The instance ID of the Redis instance"},"NodeId":{"type":"string","description":"The ID of the data shard in the Redis instance"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-das/describe-instance-das-pro":{"post":{"operationId":"cloud_aliyun_das_describe_instance_das_pro","summary":"Queries whether Database Autonomy Service (DAS) Enterprise Edition V1 or V2 is enabled for a database instance","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["InstanceId"],"properties":{"endpoint":{"type":"string","enum":["https://das.aliyuncs.com","https://das.cn-shanghai.aliyuncs.com"],"default":"https://das.aliyuncs.com","description":"Regional endpoint, for example https://das.aliyuncs.com"},"InstanceId":{"type":"string","description":"The database instance ID"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-das/describe-query-explain":{"post":{"operationId":"cloud_aliyun_das_describe_query_explain","summary":"Queries the execution plan of an SQL statement","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["InstanceId","Sql"],"properties":{"endpoint":{"type":"string","enum":["https://das.aliyuncs.com","https://das.cn-shanghai.aliyuncs.com"],"default":"https://das.aliyuncs.com","description":"Regional endpoint, for example https://das.aliyuncs.com"},"InstanceId":{"type":"string","description":"The instance ID"},"NodeId":{"type":"string","description":"The instance ID. For a PolarDB for MySQL instance, if a instance ID is specified, the execution plan is queried on the specified node.…"},"Sql":{"type":"string","description":"The SQL statement for which to query the execution plan"},"DbName":{"type":"string","description":"The database name"},"Schema":{"type":"string","description":"The schema information. This is a reserved parameter"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-das/describe-security-ipgroup":{"post":{"operationId":"cloud_aliyun_das_describe_security_ipgroup","summary":"Displays the details of a cross-engine whitelist template for a user","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["RegionName"],"properties":{"endpoint":{"type":"string","enum":["https://das.aliyuncs.com","https://das.cn-shanghai.aliyuncs.com"],"default":"https://das.aliyuncs.com","description":"Regional endpoint, for example https://das.aliyuncs.com"},"RegionName":{"type":"string","description":"The region ID"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-das/describe-security-ipgroup-relation":{"post":{"operationId":"cloud_aliyun_das_describe_security_ipgroup_relation","summary":"Displays the binding information between a cross-engine whitelist template and instances for a user","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["RegionName","InstanceId"],"properties":{"endpoint":{"type":"string","enum":["https://das.aliyuncs.com","https://das.cn-shanghai.aliyuncs.com"],"default":"https://das.aliyuncs.com","description":"Regional endpoint, for example https://das.aliyuncs.com"},"RegionName":{"type":"string","description":"The region ID"},"InstanceId":{"type":"string","description":"The instance ID"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-das/describe-slow-log-histogram-async":{"post":{"operationId":"cloud_aliyun_das_describe_slow_log_histogram_async","summary":"Asynchronously retrieves the slow log trends data of an instance","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["InstanceId","StartTime","EndTime"],"properties":{"endpoint":{"type":"string","enum":["https://das.aliyuncs.com","https://das.cn-shanghai.aliyuncs.com"],"default":"https://das.aliyuncs.com","description":"Regional endpoint, for example https://das.aliyuncs.com"},"InstanceId":{"type":"string","description":"The database instance ID"},"NodeId":{"type":"string","description":"The ID of the node. For a PolarDB for MySQL instance, you must specify the node ID"},"StartTime":{"type":"integer","description":"The start time of the query task. Specify the time as a UNIX timestamp in milliseconds"},"EndTime":{"type":"integer","description":"The end time of the query. Specify the time as a UNIX timestamp in milliseconds. The end time must be later than the start time"},"Filters":{"type":"string","description":"The list of query filter conditions (JSON-encoded)"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-das/describe-slow-log-records":{"post":{"operationId":"cloud_aliyun_das_describe_slow_log_records","summary":"Queries slow query log records of a database instance. You can filter and sort the results by multiple…","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["InstanceId","StartTime","EndTime"],"properties":{"endpoint":{"type":"string","enum":["https://das.aliyuncs.com","https://das.cn-shanghai.aliyuncs.com"],"default":"https://das.aliyuncs.com","description":"Regional endpoint, for example https://das.aliyuncs.com"},"InstanceId":{"type":"string","description":"The instance ID"},"NodeId":{"type":"string","description":"The node ID"},"StartTime":{"type":"integer","description":"The start time"},"EndTime":{"type":"integer","description":"The end time"},"PageNumber":{"type":"integer","description":"The page number. Pages start from page 1"},"PageSize":{"type":"integer","description":"The number of entries per page"},"Filters":{"type":"string","description":"The list of filter conditions (JSON-encoded)"},"OrderBy":{"type":"string","enum":["","DocsExamined","KeysExamined","LockTimeSeconds","QueryTime","QueryTimeSeconds","ReturnNum","RowsCountAffected","RowsExamined","RowsSent","Timestamp"],"description":"Common to all engines QueryTimeSeconds: query duration (seconds). Timestamp: timestamp. SQL-based engines (MySQL / PolarDB for MySQL /…"},"Asc":{"type":"string","description":"Specifies whether to sort the results in ascending order. Default value: true. true: Sort in ascending order. false: Sort in descending…"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-das/describe-slow-log-statistic":{"post":{"operationId":"cloud_aliyun_das_describe_slow_log_statistic","summary":"Retrieves slow query log statistics information","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["InstanceId","StartTime","EndTime"],"properties":{"endpoint":{"type":"string","enum":["https://das.aliyuncs.com","https://das.cn-shanghai.aliyuncs.com"],"default":"https://das.aliyuncs.com","description":"Regional endpoint, for example https://das.aliyuncs.com"},"InstanceId":{"type":"string","description":"The instance ID"},"NodeId":{"type":"string","description":"The node ID. For ApsaraDB RDS for MySQL and PolarDB for MySQL, this parameter applies only to Cluster Edition instances. If you do not…"},"Type":{"type":"string","description":"The task type. Specific to SQL engines: SlowLogRequestOrigin: aggregates logs by source IP address. SlowLogRequestUser: aggregates logs by…"},"TemplateId":{"type":"string","description":"The template ID"},"StartTime":{"type":"integer","description":"The start time of the query task. The time is a UNIX timestamp in UTC. Unit: milliseconds"},"EndTime":{"type":"integer","description":"The end time of the query. The time is a UNIX timestamp in UTC. Unit: milliseconds"},"OrderBy":{"type":"string","description":"The sorting method. Valid values: Count QueryTime LockTime RowsExamined RowsSent"},"Asc":{"type":"string","description":"Specifies whether to sort the results in ascending order. Default value: false"},"PageNumber":{"type":"integer","description":"The page number. Pages start from 1. Default value: 1"},"PageSize":{"type":"integer","description":"The maximum number of entries per page. Default value: 10"},"Filters":{"type":"string","description":"The list of query filter conditions (JSON-encoded)"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-das/describe-sql-insight-statistic":{"post":{"operationId":"cloud_aliyun_das_describe_sql_insight_statistic","summary":"Invokes the DescribeSqlInsightStatistic operation to perform aggregation of SQL Explorer statistics for a…","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["InstanceId","StartTime","EndTime"],"properties":{"endpoint":{"type":"string","enum":["https://das.aliyuncs.com","https://das.cn-shanghai.aliyuncs.com"],"default":"https://das.aliyuncs.com","description":"Regional endpoint, for example https://das.aliyuncs.com"},"ConsoleContext":{"type":"string","description":"The reserved parameter"},"InstanceId":{"type":"string","description":"The database instance ID. This operation supports ApsaraDB RDS for MySQL, PolarDB for MySQL, PolarDB-X, ApsaraDB RDS for PostgreSQL,…"},"NodeId":{"type":"string","description":"The ID of the node in the instance. This parameter is used to narrow the statistics scope to the specified node. Only a single node ID is…"},"Type":{"type":"string","description":"The aggregation or filter dimension for statistics. The value is not case-sensitive. If this parameter is not specified, the statistics…"},"TemplateId":{"type":"string","description":"The identifier of the statistics object. The meaning varies based on the value of Type. Valid values: When Type is set to SQL: specify the…"},"Keyword":{"type":"string","description":"The keywords used to retrieve SQL templates by fuzzy match based on the SQL template content. Separate multiple keywords with spaces. The…"},"StartTime":{"type":"integer","description":"The start time of the query. The value is a UNIX timestamp in milliseconds. The system rounds down the value to the nearest minute. The…"},"EndTime":{"type":"integer","description":"The end time of the query. The value is a UNIX timestamp in milliseconds. The system rounds up the value to the nearest minute. The time…"},"OrderBy":{"type":"string","description":"The field by which to sort the results. If this parameter is not specified or an unsupported value is specified, the results are sorted by…"},"Asc":{"type":"string","description":"The sort order. Default value: false (descending order). Valid values: true: ascending order. false: descending order"},"PageNo":{"type":"integer","description":"The page number. Pages start from page 1. If this parameter is not specified, the default value 1 is used"},"PageSize":{"type":"integer","description":"The number of statistical entries to return on each page. If this parameter is not specified, the default value 10 is used. The maximum…"},"DoFillTrend":{"type":"string","description":"Specifies whether to populate time series trend data for each statistical result, which corresponds to the Trend field in the response.…"},"SqlType":{"type":"string","description":"The SQL statement type used to filter the results. Valid values: select insert update delete The values must be in lowercase. In the…"},"DbName":{"type":"string","description":"The name of the database used to filter the results. In the aggregation storage links of some instances, you can specify multiple database…"},"Role":{"type":"string","description":"The role of the instance node. The value is not case-sensitive. If this parameter is not specified, the role is automatically parsed based…"},"JobId":{"type":"string","description":"The idempotent ID for querying SQL Explorer data. You do not need to specify this parameter for common queries"},"Filters":{"type":"string","description":"The list of structured filter conditions. The conditions are passed as key-value pairs. The POP format is Filters.N.Key and…"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-das/describe-sql-log-config":{"post":{"operationId":"cloud_aliyun_das_describe_sql_log_config","summary":"Queries the DAS Enterprise Edition configuration of a database instance","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["InstanceId"],"properties":{"endpoint":{"type":"string","enum":["https://das.aliyuncs.com","https://das.cn-shanghai.aliyuncs.com"],"default":"https://das.aliyuncs.com","description":"Regional endpoint, for example https://das.aliyuncs.com"},"InstanceId":{"type":"string","description":"The database instance ID"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-das/describe-sql-log-records":{"post":{"operationId":"cloud_aliyun_das_describe_sql_log_records","summary":"Queries the log details of DAS Enterprise Edition","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["InstanceId","StartTime","EndTime"],"properties":{"endpoint":{"type":"string","enum":["https://das.aliyuncs.com","https://das.cn-shanghai.aliyuncs.com"],"default":"https://das.aliyuncs.com","description":"Regional endpoint, for example https://das.aliyuncs.com"},"InstanceId":{"type":"string","description":"The ID of the database instance"},"NodeId":{"type":"string","description":"The node ID. For ApsaraDB RDS for MySQL and PolarDB for MySQL, this parameter applies only to Cluster Edition instances. If you do not…"},"Role":{"type":"string","description":"The role of the node in the PolarDB-X 2.0 instance. Valid values: polarx_cn: compute node. polarx_dn: data node"},"Filters":{"type":"string","description":"The list of filter conditions (JSON-encoded)"},"StartTime":{"type":"integer","description":"The start time. The value is a UNIX timestamp in milliseconds"},"EndTime":{"type":"integer","description":"The end time. The value is a UNIX timestamp in milliseconds"},"PageNo":{"type":"integer","description":"The page number for paging. Pages start from 1. Default value: 1"},"PageSize":{"type":"integer","description":"The maximum number of entries per page. Maximum value: 100. Default value: 10"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-das/describe-sql-log-statistic":{"post":{"operationId":"cloud_aliyun_das_describe_sql_log_statistic","summary":"Invokes the DescribeSqlLogStatistic operation to query the statistics information of DAS Enterprise Edition","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["InstanceId"],"properties":{"endpoint":{"type":"string","enum":["https://das.aliyuncs.com","https://das.cn-shanghai.aliyuncs.com"],"default":"https://das.aliyuncs.com","description":"Regional endpoint, for example https://das.aliyuncs.com"},"InstanceId":{"type":"string","description":"The database instance ID"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-das/describe-sql-log-task":{"post":{"operationId":"cloud_aliyun_das_describe_sql_log_task","summary":"Queries the details of a DAS Enterprise Edition batch task by calling the DescribeSqlLogTask operation","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"endpoint":{"type":"string","enum":["https://das.aliyuncs.com","https://das.cn-shanghai.aliyuncs.com"],"default":"https://das.aliyuncs.com","description":"Regional endpoint, for example https://das.aliyuncs.com"},"InstanceId":{"type":"string","description":"The database instance ID"},"TaskId":{"type":"string","description":"The task ID"},"PageNo":{"type":"integer","description":"The page number for the paging query. Pages start from page 1. Default value: 1"},"PageSize":{"type":"integer","description":"The maximum number of records per page for the paging query. Maximum value: 100. Default value: 10"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-das/describe-sql-log-tasks":{"post":{"operationId":"cloud_aliyun_das_describe_sql_log_tasks","summary":"Queries the list of audit log tasks for an instance","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"endpoint":{"type":"string","enum":["https://das.aliyuncs.com","https://das.cn-shanghai.aliyuncs.com"],"default":"https://das.aliyuncs.com","description":"Regional endpoint, for example https://das.aliyuncs.com"},"InstanceId":{"type":"string","description":"The database instance ID"},"NodeId":{"type":"string","description":"The node ID. This parameter is applicable only to Cluster Edition instances. You can specify a node to query its batch tasks. If you do…"},"Filters":{"type":"string","description":"The list of query filter conditions (JSON-encoded)"},"StartTime":{"type":"integer","description":"The start time of the query. Specify a UNIX timestamp in milliseconds"},"EndTime":{"type":"integer","description":"The end time of the query. Specify a UNIX timestamp in milliseconds"},"PageNo":{"type":"integer","description":"The page number for the paging query. Pages start from 1. Default value: 1"},"PageSize":{"type":"integer","description":"The maximum number of records per page. Maximum value: 100. Default value: 10"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-das/describe-top-big-keys":{"post":{"operationId":"cloud_aliyun_das_describe_top_big_keys","summary":"Queries the top 100 large keys over a period of time","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["InstanceId","StartTime","EndTime"],"properties":{"endpoint":{"type":"string","enum":["https://das.aliyuncs.com","https://das.cn-shanghai.aliyuncs.com"],"default":"https://das.aliyuncs.com","description":"Regional endpoint, for example https://das.aliyuncs.com"},"ConsoleContext":{"type":"string","description":"The reserved parameter"},"InstanceId":{"type":"string","description":"The ID of the ApsaraDB for Redis instance"},"NodeId":{"type":"string","description":"The ID of the data shard on the ApsaraDB for Redis instance"},"StartTime":{"type":"string","description":"The beginning of the time range to query. Set this parameter to a UNIX timestamp representing the number of milliseconds that have elapsed…"},"EndTime":{"type":"string","description":"The end of the time range to query. Set this parameter to a UNIX timestamp representing the number of milliseconds that have elapsed since…"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-das/describe-top-hot-keys":{"post":{"operationId":"cloud_aliyun_das_describe_top_hot_keys","summary":"Queries the top 100 hot keys within a specified time period","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["InstanceId","StartTime","EndTime"],"properties":{"endpoint":{"type":"string","enum":["https://das.aliyuncs.com","https://das.cn-shanghai.aliyuncs.com"],"default":"https://das.aliyuncs.com","description":"Regional endpoint, for example https://das.aliyuncs.com"},"ConsoleContext":{"type":"string","description":"A reserved parameter"},"InstanceId":{"type":"string","description":"The ID of the Redis instance"},"NodeId":{"type":"string","description":"The ID of the data shard of the Redis instance"},"StartTime":{"type":"string","description":"The start of the query time range, specified as a UNIX timestamp in milliseconds"},"EndTime":{"type":"string","description":"The end of the query time range, specified as a UNIX timestamp in milliseconds. The end time must be later than the start time. You can…"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-das/disable-all-sql-concurrency-control-rules":{"post":{"operationId":"cloud_aliyun_das_disable_all_sql_concurrency_control_rules","summary":"Disables all throttling rules that are in effect","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["InstanceId"],"properties":{"endpoint":{"type":"string","enum":["https://das.aliyuncs.com","https://das.cn-shanghai.aliyuncs.com"],"default":"https://das.aliyuncs.com","description":"Regional endpoint, for example https://das.aliyuncs.com"},"ConsoleContext":{"type":"string","description":"The reserved parameter"},"InstanceId":{"type":"string","description":"The instance ID. You must specify this parameter only if your database instance is an ApsaraDB RDS for MySQL instance or a PolarDB for…"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-das/disable-auto-resource-optimize-rules":{"post":{"operationId":"cloud_aliyun_das_disable_auto_resource_optimize_rules","summary":"Disables the automatic tablespace fragment recycling feature for database instances at a time","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["InstanceIds"],"properties":{"endpoint":{"type":"string","enum":["https://das.aliyuncs.com","https://das.cn-shanghai.aliyuncs.com"],"default":"https://das.aliyuncs.com","description":"Regional endpoint, for example https://das.aliyuncs.com"},"ConsoleContext":{"type":"string","description":"The reserved parameter"},"InstanceIds":{"type":"string","description":"The database instance ID. Set this parameter to a JSON array that consists of multiple instance IDs. Separate instance IDs with commas…"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-das/disable-auto-throttle-rules":{"post":{"operationId":"cloud_aliyun_das_disable_auto_throttle_rules","summary":"Disables the automatic SQL throttling feature for multiple database instances at a time","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["InstanceIds"],"properties":{"endpoint":{"type":"string","enum":["https://das.aliyuncs.com","https://das.cn-shanghai.aliyuncs.com"],"default":"https://das.aliyuncs.com","description":"Regional endpoint, for example https://das.aliyuncs.com"},"ConsoleContext":{"type":"string","description":"The reserved parameter"},"InstanceIds":{"type":"string","description":"The database instance IDs. Set this parameter to a JSON array that consists of multiple instance IDs. Separate instance IDs with commas…"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-das/disable-das-pro":{"post":{"operationId":"cloud_aliyun_das_disable_das_pro","summary":"Deactivates Database Autonomy Service (DAS) Professional Edition","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["InstanceId"],"properties":{"endpoint":{"type":"string","enum":["https://das.aliyuncs.com","https://das.cn-shanghai.aliyuncs.com"],"default":"https://das.aliyuncs.com","description":"Regional endpoint, for example https://das.aliyuncs.com"},"UserId":{"type":"string","description":"The ID of the Alibaba Cloud account that is used to create the database instance. This parameter is optional. The system can automatically…"},"InstanceId":{"type":"string","description":"The database instance ID"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-das/disable-instance-das-config":{"post":{"operationId":"cloud_aliyun_das_disable_instance_das_config","summary":"Disables the auto scaling feature for a database instance","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["InstanceId","Engine","ScaleType"],"properties":{"endpoint":{"type":"string","enum":["https://das.aliyuncs.com","https://das.cn-shanghai.aliyuncs.com"],"default":"https://das.aliyuncs.com","description":"Regional endpoint, for example https://das.aliyuncs.com"},"InstanceId":{"type":"string","description":"The database instance ID"},"Engine":{"type":"string","description":"The database engine. Set the value to Redis"},"ScaleType":{"type":"string","enum":["specScale","shardScale","bandwidthScale"],"description":"The type of auto scaling. Valid values: specScale: The specifications of a database instance are automatically scaled up or down.…"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-das/disable-sql-concurrency-control":{"post":{"operationId":"cloud_aliyun_das_disable_sql_concurrency_control","summary":"Disables a throttling rule","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["InstanceId","ItemId"],"properties":{"endpoint":{"type":"string","enum":["https://das.aliyuncs.com","https://das.cn-shanghai.aliyuncs.com"],"default":"https://das.aliyuncs.com","description":"Regional endpoint, for example https://das.aliyuncs.com"},"ConsoleContext":{"type":"string","description":"The reserved parameter"},"InstanceId":{"type":"string","description":"The instance ID. The database instance must be an ApsaraDB RDS for MySQL instance or a PolarDB for MySQL cluster"},"ItemId":{"type":"integer","description":"The ID of the throttling rule that is applied to the instance. You can call the https://help.aliyun.com/document_detail/223538.html…"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-das/enable-das-pro":{"post":{"operationId":"cloud_aliyun_das_enable_das_pro","summary":"Enables DAS Professional Edition for a specified instance","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["InstanceId"],"properties":{"endpoint":{"type":"string","enum":["https://das.aliyuncs.com","https://das.cn-shanghai.aliyuncs.com"],"default":"https://das.aliyuncs.com","description":"Regional endpoint, for example https://das.aliyuncs.com"},"UserId":{"type":"string","description":"The instance ID, which is the ID of the Alibaba Cloud account that created the database instance. This parameter is optional. After you…"},"InstanceId":{"type":"string","description":"The instance ID of the database"},"SqlRetention":{"type":"integer","description":"The storage duration of SQL Explorer data. Unit: days. Default value: 30. Valid values: 30 180 365 1095 1825"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-das/enable-sql-concurrency-control":{"post":{"operationId":"cloud_aliyun_das_enable_sql_concurrency_control","summary":"Enables SQL throttling to control the numbers of database access requests and concurrent SQL statements","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["InstanceId","SqlType","MaxConcurrency","SqlKeywords","ConcurrencyControlTime"],"properties":{"endpoint":{"type":"string","enum":["https://das.aliyuncs.com","https://das.cn-shanghai.aliyuncs.com"],"default":"https://das.aliyuncs.com","description":"Regional endpoint, for example https://das.aliyuncs.com"},"ConsoleContext":{"type":"string","description":"The reserved parameter"},"InstanceId":{"type":"string","description":"The instance ID. You must specify the instance ID only if your database instance is an ApsaraDB RDS for MySQL instance or a PolarDB for…"},"SqlType":{"type":"string","description":"The type of the SQL statements. Valid values: SELECT UPDATE DELETE"},"MaxConcurrency":{"type":"integer","description":"The maximum number of concurrent SQL statements. Set this parameter to a positive integer. When the number of concurrent SQL statements…"},"SqlKeywords":{"type":"string","description":"The keywords that are used to identify the SQL statements that need to be throttled. If you specify multiple SQL keywords, separate them…"},"ConcurrencyControlTime":{"type":"integer","description":"The duration within which the SQL throttling rule takes effect. Unit: seconds. The throttling rule takes effect only within this duration"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-das/get-async-error-request-list-by-code":{"post":{"operationId":"cloud_aliyun_das_get_async_error_request_list_by_code","summary":"Asynchronously queries the IDs of SQL statements that generate a MySQL error code in the SQL Explorer…","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["InstanceId"],"properties":{"endpoint":{"type":"string","enum":["https://das.aliyuncs.com","https://das.cn-shanghai.aliyuncs.com"],"default":"https://das.aliyuncs.com","description":"Regional endpoint, for example https://das.aliyuncs.com"},"InstanceId":{"type":"string","description":"The instance ID"},"NodeId":{"type":"string","description":"The node ID. This parameter must be specified if the database instance is a PolarDB for MySQL cluster"},"Start":{"type":"integer","description":"The beginning of the time range to query. Set this parameter to a UNIX timestamp representing the number of milliseconds that have elapsed…"},"End":{"type":"integer","description":"The end of the time range to query. Set this parameter to a UNIX timestamp representing the number of milliseconds that have elapsed since…"},"ErrorCode":{"type":"string","description":"The error code. You can call the https://help.aliyun.com/document_detail/409804.html operation to query the MySQL error codes that may be…"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-das/get-async-error-request-stat-by-code":{"post":{"operationId":"cloud_aliyun_das_get_async_error_request_stat_by_code","summary":"Asynchronously queries the MySQL error codes in SQL Explorer data and the number of SQL queries…","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["InstanceId"],"properties":{"endpoint":{"type":"string","enum":["https://das.aliyuncs.com","https://das.cn-shanghai.aliyuncs.com"],"default":"https://das.aliyuncs.com","description":"Regional endpoint, for example https://das.aliyuncs.com"},"InstanceId":{"type":"string","description":"The instance ID"},"NodeId":{"type":"string","description":"The node ID. This parameter must be specified for PolarDB for MySQL clusters"},"Start":{"type":"integer","description":"The beginning of the time range to query. Set this parameter to a UNIX timestamp representing the number of milliseconds that have elapsed…"},"End":{"type":"integer","description":"The end of the time range to query. Set this parameter to a UNIX timestamp representing the number of milliseconds that have elapsed since…"},"DbName":{"type":"string","description":"The name of a database"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-das/get-async-error-request-stat-result":{"post":{"operationId":"cloud_aliyun_das_get_async_error_request_stat_result","summary":"Call GetAsyncErrorRequestStatResult to asynchronously get the execution error count for a specific SQL…","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["InstanceId"],"properties":{"endpoint":{"type":"string","enum":["https://das.aliyuncs.com","https://das.cn-shanghai.aliyuncs.com"],"default":"https://das.aliyuncs.com","description":"Regional endpoint, for example https://das.aliyuncs.com"},"InstanceId":{"type":"string","description":"The ID of the instance"},"NodeId":{"type":"string","description":"The ID of the node. This parameter is required for PolarDB for MySQL instances"},"SqlIdList":{"type":"string","description":"One or more SQL IDs. Separate multiple SQL IDs with commas. You can call the https://help.aliyun.com/document_detail/410746.html operation…"},"Start":{"type":"integer","description":"The start time of the query, specified as a Unix timestamp in milliseconds. The start time must be within the data retention period of SQL…"},"End":{"type":"integer","description":"The end time of the query, specified as a Unix timestamp in milliseconds. The end time must be later than the start time. The interval…"},"DbName":{"type":"string","description":"The name of the database"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-das/get-auto-increment-usage-statistic":{"post":{"operationId":"cloud_aliyun_das_get_auto_increment_usage_statistic","summary":"Queries the usage of auto-increment table IDs","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["InstanceId","RatioFilter","RealTime"],"properties":{"endpoint":{"type":"string","enum":["https://das.aliyuncs.com","https://das.cn-shanghai.aliyuncs.com"],"default":"https://das.aliyuncs.com","description":"Regional endpoint, for example https://das.aliyuncs.com"},"InstanceId":{"type":"string","description":"The instance ID"},"DbNames":{"type":"string","description":"The database name. If you specify a database, the operation queries the usage of auto-increment table IDs in the specified database.…"},"RatioFilter":{"type":"number","description":"The usage threshold of auto-increment IDs. Only usage that exceeds the threshold can be returned. Valid values are decimals that range…"},"RealTime":{"type":"string","description":"Specifies whether to query real-time data. Valid values: true: queries data in real time except for data generated in the last 10…"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-das/get-auto-resource-optimize-rules":{"post":{"operationId":"cloud_aliyun_das_get_auto_resource_optimize_rules","summary":"Queries the automatic fragment recycling rules of database instances","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"endpoint":{"type":"string","enum":["https://das.aliyuncs.com","https://das.cn-shanghai.aliyuncs.com"],"default":"https://das.aliyuncs.com","description":"Regional endpoint, for example https://das.aliyuncs.com"},"ConsoleContext":{"type":"string","description":"The reserved parameter"},"InstanceIds":{"type":"string","description":"The database instance IDs. Specify the parameter value as a JSON array, such as `['Database account 1','Database account 2']`. Separate…"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-das/get-auto-throttle-rules":{"post":{"operationId":"cloud_aliyun_das_get_auto_throttle_rules","summary":"Queries the automatic SQL throttling rules of a database instance","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"endpoint":{"type":"string","enum":["https://das.aliyuncs.com","https://das.cn-shanghai.aliyuncs.com"],"default":"https://das.aliyuncs.com","description":"Regional endpoint, for example https://das.aliyuncs.com"},"ConsoleContext":{"type":"string","description":"The reserved parameter"},"InstanceIds":{"type":"string","description":"The database instance IDs. Set this parameter to a JSON array that consists of multiple instance IDs. Separate instance IDs with commas…"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-das/get-autonomous-notify-event-content":{"post":{"operationId":"cloud_aliyun_das_get_autonomous_notify_event_content","summary":"Returns details of autonomous notification events for a database instance","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["InstanceId","SpanId"],"properties":{"endpoint":{"type":"string","enum":["https://das.aliyuncs.com","https://das.cn-shanghai.aliyuncs.com"],"default":"https://das.aliyuncs.com","description":"Regional endpoint, for example https://das.aliyuncs.com"},"__context":{"type":"string","description":"The reserved parameter"},"InstanceId":{"type":"string","description":"The instance ID"},"SpanId":{"type":"string","description":"The unique identifier of the event. You can call the https://help.aliyun.com/document_detail/288371.html operation to query the unique…"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-das/get-autonomous-notify-events-in-range":{"post":{"operationId":"cloud_aliyun_das_get_autonomous_notify_events_in_range","summary":"Queries the notification events of one or more urgency levels within a period","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["StartTime","EndTime"],"properties":{"endpoint":{"type":"string","enum":["https://das.aliyuncs.com","https://das.cn-shanghai.aliyuncs.com"],"default":"https://das.aliyuncs.com","description":"Regional endpoint, for example https://das.aliyuncs.com"},"__context":{"type":"string","description":"The reserved parameter"},"InstanceId":{"type":"string","description":"The instance ID"},"StartTime":{"type":"string","description":"The beginning of the time range to query. Set this parameter to a UNIX timestamp representing the number of milliseconds that have elapsed…"},"EndTime":{"type":"string","description":"The end of the time range to query. Set this parameter to a UNIX timestamp representing the number of milliseconds that have elapsed since…"},"NodeId":{"type":"string","description":"The ID of the node in a PolarDB for MySQL cluster. You can call the https://help.aliyun.com/document_detail/98094.html operation to query…"},"EventContext":{"type":"string","description":"The reserved parameter"},"Level":{"type":"string","description":"The urgency level of the events. If you specify this parameter, the MinLevel parameter does not take effect. Valid values: Notice: events…"},"MinLevel":{"type":"string","description":"The minimum urgency level of the events. Valid values: Notice: events for which the system sends notifications. Optimization: events that…"},"PageOffset":{"type":"string","description":"The page number. The value must be a positive integer. Default value: 1"},"PageSize":{"type":"string","description":"The number of entries per page"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-das/get-blocking-detail-list":{"post":{"operationId":"cloud_aliyun_das_get_blocking_detail_list","summary":"Queries the blocking data of an ApsaraDB RDS for SQL Server instance","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["InstanceId","StartTime","EndTime"],"properties":{"endpoint":{"type":"string","enum":["https://das.aliyuncs.com","https://das.cn-shanghai.aliyuncs.com"],"default":"https://das.aliyuncs.com","description":"Regional endpoint, for example https://das.aliyuncs.com"},"InstanceId":{"type":"string","description":"The ID of the database instance"},"StartTime":{"type":"string","description":"The beginning of the time range to query. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since…"},"EndTime":{"type":"string","description":"The end of the time range to query. Set this parameter to a UNIX timestamp representing the number of milliseconds that have elapsed since…"},"PageNo":{"type":"string","description":"The page number. The value must be an integer that is greater than 0. Default value: 1"},"PageSize":{"type":"string","description":"The number of entries per page. The value must be an integer that is greater than 0. Default value: 10"},"QueryHash":{"type":"string","description":"The hash value of the SQL statement. The hash values of SQL statements of the same type are the same"},"DbNameList":{"type":"string","description":"The name of the database. Separate multiple database names with commas (,)"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-das/get-dbinstance-connectivity-diagnosis":{"post":{"operationId":"cloud_aliyun_das_get_dbinstance_connectivity_diagnosis","summary":"Retrieves the network connectivity diagnosis result from a user-specified IP address to a specified database…","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["InstanceId","SrcIp"],"properties":{"endpoint":{"type":"string","enum":["https://das.aliyuncs.com","https://das.cn-shanghai.aliyuncs.com"],"default":"https://das.aliyuncs.com","description":"Regional endpoint, for example https://das.aliyuncs.com"},"InstanceId":{"type":"string","description":"The instance ID"},"SrcIp":{"type":"string","description":"The source IP address"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-das/get-das-agent-sse":{"post":{"operationId":"cloud_aliyun_das_get_das_agent_sse","summary":"Provides a DAS large model interactive SSE interface. Supports features such as AI chat and performance…","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["Query"],"properties":{"endpoint":{"type":"string","enum":["https://das.aliyuncs.com","https://das.cn-shanghai.aliyuncs.com"],"default":"https://das.aliyuncs.com","description":"Regional endpoint, for example https://das.aliyuncs.com"},"Query":{"type":"string","description":"The natural language description for the query"},"InstanceId":{"type":"string","description":"Deprecated parameter. The instance ID is passed through the Query field"},"SessionId":{"type":"string","description":"Optional. The session ID in UUID string format. If not specified, a new session is created. To maintain context across conversations, use…"},"AgentId":{"type":"string","description":"Optional. By default, the default agent is used. You can also specify an agent that was generated after enabling the DAS Agent service or…"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-das/get-das-pro-service-usage":{"post":{"operationId":"cloud_aliyun_das_get_das_pro_service_usage","summary":"Queries the storage usage of DAS Enterprise Edition V1 or V2 for a database instance","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["InstanceId"],"properties":{"endpoint":{"type":"string","enum":["https://das.aliyuncs.com","https://das.cn-shanghai.aliyuncs.com"],"default":"https://das.aliyuncs.com","description":"Regional endpoint, for example https://das.aliyuncs.com"},"UserId":{"type":"string","description":"The user ID, which is the ID of the Alibaba Cloud account that is used to create the database instance. This parameter is optional. If you…"},"InstanceId":{"type":"string","description":"The database instance ID"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-das/get-das-sqllog-hot-data":{"post":{"operationId":"cloud_aliyun_das_get_das_sqllog_hot_data","summary":"Retrieves the hot data of audit logs","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["InstanceId","Start","End"],"properties":{"endpoint":{"type":"string","enum":["https://das.aliyuncs.com","https://das.cn-shanghai.aliyuncs.com"],"default":"https://das.aliyuncs.com","description":"Regional endpoint, for example https://das.aliyuncs.com"},"InstanceId":{"type":"string","description":"The database instance ID"},"Start":{"type":"integer","description":"The start time of the query. The time is in the UNIX timestamp format. Unit: milliseconds. You can only query data generated after DAS…"},"End":{"type":"integer","description":"The end time of the query. The time is in the UNIX timestamp format. Unit: milliseconds. The end time must be later than the start time,…"},"QueryKeyword":{"type":"string","description":"The keyword. Fuzzy match is supported. You can use a maximum of 10 keywords for a combined query. Separate multiple keywords with spaces.…"},"AccountName":{"type":"string","description":"The database account. You can use multiple database accounts for a combined query. Separate multiple database accounts with spaces.…"},"DBName":{"type":"string","description":"The database name. You can use multiple database names for a combined query. Separate multiple database names with spaces. Example: `DB1…"},"HostAddress":{"type":"string","description":"The IP address of the client. You can use multiple client IP addresses for a combined query. Separate multiple client IP addresses with…"},"LogicalOperator":{"type":"string","description":"The logical relationship between multiple keywords. Valid values: or: OR. and: AND"},"MaxLatancy":{"type":"integer","description":"The maximum execution duration. Unit: microseconds. This parameter is used to query SQL statements whose execution duration is less than…"},"MaxScanRows":{"type":"integer","description":"The maximum number of scanned rows. This parameter is used to query SQL statements whose number of scanned rows is less than the specified…"},"MinLatancy":{"type":"integer","description":"The minimum execution duration. Unit: microseconds. This parameter is used to query SQL statements whose execution duration is greater…"},"MinScanRows":{"type":"integer","description":"The minimum number of scanned rows. This parameter is used to query SQL statements whose number of scanned rows is greater than or equal…"},"SqlType":{"type":"string","description":"The type of the SQL statement. Valid values: select update delete"},"State":{"type":"string","description":"The execution result. If you enter 0, the system queries SQL statements that are successfully executed. You can also enter a specific…"},"ThreadID":{"type":"string","description":"The thread ID. You can use multiple thread IDs for a combined query. Separate multiple thread IDs with spaces. Example: `ThreadID1…"},"PageNumbers":{"type":"integer","description":"The page number for the paging query. Pages start from 1. Default value: 1"},"MaxRecordsPerPage":{"type":"integer","description":"The maximum number of records per page for the paging query. Valid values: 5 to 100"},"SortKey":{"type":"string","description":"The sort key. Valid values: ScanRows: the number of scanned rows. UpdateRows: the number of updated rows. Consume: the execution duration.…"},"SortMethod":{"type":"string","description":"The sort order. Valid values: ASC: ascending order. DESC: descending order"},"ChildDBInstanceIDs":{"type":"string","description":"The node ID. For a PolarDB for MySQL instance, you must specify the node ID"},"Role":{"type":"string","description":"The reserved parameter. This parameter is not supported"},"TraceId":{"type":"string","description":"The reserved parameter. This parameter is not supported"},"MinRows":{"type":"integer","description":"The reserved parameter. This parameter is not supported"},"MaxRows":{"type":"integer","description":"The reserved parameter. This parameter is not supported"},"MinSpillCnt":{"type":"integer","description":"The reserved parameter. This parameter is not supported"},"MaxSpillCnt":{"type":"integer","description":"The reserved parameter. This parameter is not supported"},"TransactionId":{"type":"string","description":"The transaction ID"},"Fail":{"type":"string","description":"The error code returned when the SQL statement is executed. You can call the https://help.aliyun.com/document_detail/409804.html operation…"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-das/get-dead-lock-detail":{"post":{"operationId":"cloud_aliyun_das_get_dead_lock_detail","summary":"Retrieves the detailed information for a single deadlock event","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["InstanceId","TextId"],"properties":{"endpoint":{"type":"string","enum":["https://das.aliyuncs.com","https://das.cn-shanghai.aliyuncs.com"],"default":"https://das.aliyuncs.com","description":"Regional endpoint, for example https://das.aliyuncs.com"},"InstanceId":{"type":"string","description":"The ID of the database instance"},"NodeId":{"type":"string","description":"The node ID. Required for PolarDB for MySQL cluster instances"},"TextId":{"type":"string","description":"The ID of the deadlock text. This value is returned from the GetDeadLockHistory operation"},"Source":{"type":"string","description":"The source of the analysis task: MANUAL or not specified: queries the recent deadlock analysis task. AUTO: queries the full deadlock…"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-das/get-dead-lock-detail-list":{"post":{"operationId":"cloud_aliyun_das_get_dead_lock_detail_list","summary":"Queries the deadlock details of an ApsaraDB RDS for SQL Server instance","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["InstanceId","StartTime","EndTime"],"properties":{"endpoint":{"type":"string","enum":["https://das.aliyuncs.com","https://das.cn-shanghai.aliyuncs.com"],"default":"https://das.aliyuncs.com","description":"Regional endpoint, for example https://das.aliyuncs.com"},"InstanceId":{"type":"string","description":"The ID of the database instance"},"StartTime":{"type":"string","description":"The beginning of the time range to query. Set this parameter to a UNIX timestamp representing the number of milliseconds that have elapsed…"},"EndTime":{"type":"string","description":"The end of the time range to query. Set this parameter to a UNIX timestamp representing the number of milliseconds that have elapsed since…"},"PageNo":{"type":"string","description":"The page number. The value must be an integer that is greater than 0. Default value: 1"},"PageSize":{"type":"string","description":"The number of entries per page. Default value: 10"},"DbNameList":{"type":"string","description":"The name of the database. When you specify multiple databases, you must separate the database names with commas (,)"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-das/get-dead-lock-history":{"post":{"operationId":"cloud_aliyun_das_get_dead_lock_history","summary":"Retrieves the historical analysis tasks for recent and full deadlock analysis","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["InstanceId","StartTime","EndTime"],"properties":{"endpoint":{"type":"string","enum":["https://das.aliyuncs.com","https://das.cn-shanghai.aliyuncs.com"],"default":"https://das.aliyuncs.com","description":"Regional endpoint, for example https://das.aliyuncs.com"},"InstanceId":{"type":"string","description":"The instance ID"},"NodeId":{"type":"string","description":"The node ID. Specify the node ID for a PolarDB for MySQL instance"},"PageNo":{"type":"integer","description":"The page number"},"PageSize":{"type":"integer","description":"The number of entries per page. The maximum value is 100"},"StartTime":{"type":"integer","description":"The start time of the query. This value is a UNIX timestamp. Unit: milliseconds. This parameter is a Long value. To prevent precision loss…"},"EndTime":{"type":"integer","description":"The end time of the query. This value is a UNIX timestamp. Unit: milliseconds. This parameter is a Long value. To prevent precision loss…"},"Source":{"type":"string","description":"The source of the task: MANUAL or unspecified: queries tasks for recent deadlock analysis. AUTO: queries tasks for full deadlock analysis.…"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-das/get-deadlock-histogram":{"post":{"operationId":"cloud_aliyun_das_get_deadlock_histogram","summary":"Queries the trend of deadlock counts based on full deadlock analysis of error logs within a specified time…","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["InstanceId","StartTime","EndTime"],"properties":{"endpoint":{"type":"string","enum":["https://das.aliyuncs.com","https://das.cn-shanghai.aliyuncs.com"],"default":"https://das.aliyuncs.com","description":"Regional endpoint, for example https://das.aliyuncs.com"},"InstanceId":{"type":"string","description":"The instance ID"},"NodeId":{"type":"string","description":"The node ID. For a PolarDB for MySQL instance, you must specify the node ID"},"StartTime":{"type":"integer","description":"The start time of the query. The format is a UNIX timestamp in milliseconds. The start time cannot be more than 7 days earlier than the…"},"EndTime":{"type":"integer","description":"The end time of the query. The format is a UNIX timestamp in milliseconds. This field is of the Long type. Precision loss may occur during…"},"Status":{"type":"string","description":"The analysis status of the task"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-das/get-error-request-sample":{"post":{"operationId":"cloud_aliyun_das_get_error_request_sample","summary":"Asynchronously queries information about failed SQL queries in SQL Explorer data. You can query up to 20…","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["InstanceId"],"properties":{"endpoint":{"type":"string","enum":["https://das.aliyuncs.com","https://das.cn-shanghai.aliyuncs.com"],"default":"https://das.aliyuncs.com","description":"Regional endpoint, for example https://das.aliyuncs.com"},"InstanceId":{"type":"string","description":"The instance ID"},"NodeId":{"type":"string","description":"The node ID. You must specify the node ID if your database instance is a PolarDB for MySQL cluster"},"SqlId":{"type":"string","description":"The SQL query ID. You can call the https://help.aliyun.com/document_detail/410746.html operation to query the ID of the SQL query for…"},"Start":{"type":"integer","description":"The beginning of the time range to query. Set this parameter to a UNIX timestamp representing the number of milliseconds that have elapsed…"},"End":{"type":"integer","description":"The end of the time range to query. Set this parameter to a UNIX timestamp representing the number of milliseconds that have elapsed since…"},"DbName":{"type":"string","description":"The name of the database"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-das/get-event-subscription":{"post":{"operationId":"cloud_aliyun_das_get_event_subscription","summary":"Queries the event subscription settings of a database instance","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["InstanceId"],"properties":{"endpoint":{"type":"string","enum":["https://das.aliyuncs.com","https://das.cn-shanghai.aliyuncs.com"],"default":"https://das.aliyuncs.com","description":"Regional endpoint, for example https://das.aliyuncs.com"},"InstanceId":{"type":"string","description":"The instance ID"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-das/get-full-request-origin-stat-by-instance-id":{"post":{"operationId":"cloud_aliyun_das_get_full_request_origin_stat_by_instance_id","summary":"Collects the full request statistics in the SQL Explorer results of a database instance by access source","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["InstanceId","Start","End","PageNo","PageSize"],"properties":{"endpoint":{"type":"string","enum":["https://das.aliyuncs.com","https://das.cn-shanghai.aliyuncs.com"],"default":"https://das.aliyuncs.com","description":"Regional endpoint, for example https://das.aliyuncs.com"},"UserId":{"type":"string","description":"The ID of the Alibaba Cloud account that is used to create the database instance. This parameter is optional. The system can automatically…"},"InstanceId":{"type":"string","description":"The instance ID"},"NodeId":{"type":"string","description":"The node ID. This parameter must be specified if the database instance is a PolarDB for MySQL cluster"},"Start":{"type":"integer","description":"The beginning of the time range to query. Set this parameter to a UNIX timestamp representing the number of milliseconds that have elapsed…"},"End":{"type":"integer","description":"The end of the time range to query. Set this parameter to a UNIX timestamp representing the number of milliseconds that have elapsed since…"},"OrderBy":{"type":"string","description":"The field by which the results to be returned are sorted. Default value: count. Valid values: count: the number of executions. avgRt: the…"},"Asc":{"type":"string","description":"Specifies whether to sort the results in ascending order. By default, the results are not sorted in ascending order"},"PageNo":{"type":"integer","description":"The page number. Pages start from page 1. Default value: 1"},"PageSize":{"type":"integer","description":"The number of entries per page. Default value: 20"},"SqlType":{"type":"string","description":"The type of the SQL statement. Valid values: SELECT, INSERT, UPDATE, DELETE, MERGE, ALTER, CREATEINDEX, DROPINDEX, CREATE, DROP, SET,…"},"Role":{"type":"string","description":"The role of the PolarDB-X 2.0 node. Valid values: polarx_cn: compute node. polarx_en: data node"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-das/get-full-request-sample-by-instance-id":{"post":{"operationId":"cloud_aliyun_das_get_full_request_sample_by_instance_id","summary":"Queries SQL sample data from the SQL Explorer results of a database instance by SQL ID by calling the…","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["InstanceId","SqlId","Start","End"],"properties":{"endpoint":{"type":"string","enum":["https://das.aliyuncs.com","https://das.cn-shanghai.aliyuncs.com"],"default":"https://das.aliyuncs.com","description":"Regional endpoint, for example https://das.aliyuncs.com"},"InstanceId":{"type":"string","description":"The instance ID"},"SqlId":{"type":"string","description":"SQL ID"},"Start":{"type":"integer","description":"The beginning of the time range to query. Specify a UNIX timestamp in milliseconds. The start time must be within the storage duration of…"},"End":{"type":"integer","description":"The end of the time range to query. Specify a UNIX timestamp in milliseconds. The end time must be later than the start time, and the…"},"Role":{"type":"string","description":"The node information of a PolarDB-X 2.0 database instance. polarx_cn: compute node. polarx_en: data node"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-das/get-full-request-stat-result-by-instance-id":{"post":{"operationId":"cloud_aliyun_das_get_full_request_stat_result_by_instance_id","summary":"Asynchronously aggregates the full request data in the SQL Explorer results of a database instance by SQL ID","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["InstanceId","Start","End","PageNo","PageSize"],"properties":{"endpoint":{"type":"string","enum":["https://das.aliyuncs.com","https://das.cn-shanghai.aliyuncs.com"],"default":"https://das.aliyuncs.com","description":"Regional endpoint, for example https://das.aliyuncs.com"},"UserId":{"type":"string","description":"The instance ID, which is the ID of the Alibaba Cloud account that created the database instance. This parameter is optional. After you…"},"InstanceId":{"type":"string","description":"The instance ID"},"NodeId":{"type":"string","description":"The node ID. For PolarDB for MySQL instances, the node ID is required"},"SqlId":{"type":"string","description":"The SQL ID. If you specify an SQL ID, the full request data of the specified SQL ID is aggregated. If you leave this parameter empty, the…"},"OriginHost":{"type":"string","description":"The IP address of the client that executed the SQL statement. This parameter is optional. If you specify a client IP address, the full…"},"Keyword":{"type":"string","description":"The query keyword"},"Start":{"type":"integer","description":"The start time of the query. The format is a UNIX timestamp, in milliseconds. The start time must be within the SQL Explorer storage…"},"End":{"type":"integer","description":"The end time of the query. The time is a UNIX timestamp in milliseconds. The end time must be later than the start time, and the interval…"},"OrderBy":{"type":"string","description":"The field by which to sort the results. Default value: count. count: the number of executions. avgRt: the average execution time. rtRate:…"},"Asc":{"type":"string","description":"Specifies whether to sort the results in ascending order. Default value: false"},"PageNo":{"type":"integer","description":"The page number for the paged query. The paging starts from 1. Default value: 1"},"PageSize":{"type":"integer","description":"The data volume per page for paging in a paged query. Default value: 20"},"SqlType":{"type":"string","description":"The type of the SQL statement. Valid values: SELECT, INSERT, UPDATE, DELETE, LOGIN, LOGOUT, MERGE, ALTER, CREATEINDEX, DROPINDEX, CREATE,…"},"DbName":{"type":"string","description":"The name of the database"},"Role":{"type":"string","description":"The node information of the PolarDB-X 2.0 database instance. Valid values: polarx_cn: compute node. polarx_dn: data node"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-das/get-instance-group-inspect-report-detail":{"post":{"operationId":"cloud_aliyun_das_get_instance_group_inspect_report_detail","summary":"Retrieves the details of a DAS Agent automated operations report","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["ReportId"],"properties":{"endpoint":{"type":"string","enum":["https://das.aliyuncs.com","https://das.cn-shanghai.aliyuncs.com"],"default":"https://das.aliyuncs.com","description":"Regional endpoint, for example https://das.aliyuncs.com"},"ReportId":{"type":"string","description":"The ID of the operations report"},"AgentId":{"type":"string","description":"The ID of the agent that the user purchased"},"ReportType":{"type":"string","description":"The type of the report"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-das/get-instance-group-inspect-report-list":{"post":{"operationId":"cloud_aliyun_das_get_instance_group_inspect_report_list","summary":"Queries the list of O&M reports generated by DAS Agent","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["StartTime","EndTime"],"properties":{"endpoint":{"type":"string","enum":["https://das.aliyuncs.com","https://das.cn-shanghai.aliyuncs.com"],"default":"https://das.aliyuncs.com","description":"Regional endpoint, for example https://das.aliyuncs.com"},"GroupId":{"type":"string","description":"The reserved parameter"},"AgentId":{"type":"string","description":"Optional. The default agent is used by default. Alternatively, you can specify an agent that was generated after DAS Agent was activated…"},"StartTime":{"type":"integer","description":"The start time of the query, which is a UNIX timestamp in milliseconds"},"EndTime":{"type":"integer","description":"The end time of the query, which is a UNIX timestamp in milliseconds"},"ReportType":{"type":"string","description":"The type of the inspection report"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-das/get-instance-inspections":{"post":{"operationId":"cloud_aliyun_das_get_instance_inspections","summary":"Queries the result of an inspection that is performed on a database instance by using the inspection and…","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["Engine","StartTime","EndTime","PageNo","PageSize","InstanceArea"],"properties":{"endpoint":{"type":"string","enum":["https://das.aliyuncs.com","https://das.cn-shanghai.aliyuncs.com"],"default":"https://das.aliyuncs.com","description":"Regional endpoint, for example https://das.aliyuncs.com"},"Engine":{"type":"string","description":"The database engine. Valid values: MySQL Redis PolarDBMySQL"},"StartTime":{"type":"string","description":"The beginning of the time range to query. Set this parameter to a UNIX timestamp representing the number of milliseconds that have elapsed…"},"EndTime":{"type":"string","description":"The end of the time range to query. Set this parameter to a UNIX timestamp representing the number of milliseconds that have elapsed since…"},"PageNo":{"type":"string","description":"The page number. The value must be a positive integer. Default value: 1"},"PageSize":{"type":"string","description":"The number of entries per page. Default value: 10"},"InstanceArea":{"type":"string","description":"The type of the instance on which the database is deployed. Valid values: RDS: an Alibaba Cloud database instance. ECS: an ECS instance on…"},"SearchMap":{"type":"string","description":"The filter condition, which can be specified in one of the following formats: Specify the ID of a single instance in the…"},"ResourceGroupId":{"type":"string","description":"The resource group ID"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-das/get-instance-missing-index-list":{"post":{"operationId":"cloud_aliyun_das_get_instance_missing_index_list","summary":"Returns details of all missing indexes for an instance","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["InstanceId"],"properties":{"endpoint":{"type":"string","enum":["https://das.aliyuncs.com","https://das.cn-shanghai.aliyuncs.com"],"default":"https://das.aliyuncs.com","description":"Regional endpoint, for example https://das.aliyuncs.com"},"InstanceId":{"type":"string","description":"The database instance ID. Only ApsaraDB RDS for SQL Server instances are supported"},"PageNo":{"type":"string","description":"The page number. Pages start from page 1. Default value: 1"},"PageSize":{"type":"string","description":"The number of entries per page. Default value: 10"},"ObjectName":{"type":"string","description":"The object name"},"ReservedSize":{"type":"string","description":"The query condition based on the table size"},"RowCount":{"type":"string","description":"The query condition based on the number of table rows"},"ReservedPages":{"type":"string","description":"The query condition based on the total number of pages"},"IndexCount":{"type":"string","description":"The query condition based on the number of indexes"},"UniqueCompiles":{"type":"string","description":"The query condition based on the number of compilations"},"UserSeeks":{"type":"string","description":"The query condition based on the number of seeks"},"UserScans":{"type":"string","description":"The query condition based on the number of scans"},"AvgTotalUserCost":{"type":"string","description":"The query condition based on the average cost savings"},"AvgUserImpact":{"type":"string","description":"The query condition based on the performance improvement"},"StartTime":{"type":"string","description":"The start time of the last seek"},"EndTime":{"type":"string","description":"The end time of the last seek"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-das/get-instance-sql-optimize-statistic":{"post":{"operationId":"cloud_aliyun_das_get_instance_sql_optimize_statistic","summary":"Queries statistics on automatic SQL optimization events within a period of time, such as the total number of…","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["InstanceId","StartTime","EndTime"],"properties":{"endpoint":{"type":"string","enum":["https://das.aliyuncs.com","https://das.cn-shanghai.aliyuncs.com"],"default":"https://das.aliyuncs.com","description":"Regional endpoint, for example https://das.aliyuncs.com"},"InstanceId":{"type":"string","description":"The database instance ID. The database instance must be an ApsaraDB RDS for MySQL instance or a PolarDB for MySQL cluster"},"StartTime":{"type":"string","description":"The beginning of the time range to query. Set this parameter to a UNIX timestamp representing the number of milliseconds that have elapsed…"},"EndTime":{"type":"string","description":"The end of the time range to query. Set this parameter to a UNIX timestamp representing the number of milliseconds that have elapsed since…"},"NodeId":{"type":"string","description":"The node ID. For ApsaraDB RDS for MySQL Cluster Edition instances or PolarDB for MySQL clusters, you must specify the node ID"},"Threshold":{"type":"string","description":"The duration threshold for automatic SQL optimization events. After this parameter is specified, the system collects statistics on…"},"FilterEnable":{"type":"string","description":"Specifies whether to filter instances for which DAS Enterprise Edition is enabled. Valid values: true false If you set this parameter to…"},"UseMerging":{"type":"string","description":"Specifies whether to merge automatic SQL optimization events. Valid values: true: merges automatic SQL optimization events. false: does…"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-das/get-kill-instance-session-task-result":{"post":{"operationId":"cloud_aliyun_das_get_kill_instance_session_task_result","summary":"Queries the results of a task that terminates sessions","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["InstanceId","TaskId"],"properties":{"endpoint":{"type":"string","enum":["https://das.aliyuncs.com","https://das.cn-shanghai.aliyuncs.com"],"default":"https://das.aliyuncs.com","description":"Regional endpoint, for example https://das.aliyuncs.com"},"InstanceId":{"type":"string","description":"The instance ID"},"NodeId":{"type":"string","description":"The node ID. You must specify this parameter if your database instance is a PolarDB for MySQL cluster"},"TaskId":{"type":"string","description":"The task ID. You can obtain the task ID from the response parameters of the https://help.aliyun.com/document_detail/609246.html operation"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-das/get-mongo-dbcurrent-op":{"post":{"operationId":"cloud_aliyun_das_get_mongo_dbcurrent_op","summary":"Queries the current sessions of an ApsaraDB for MongoDB (MongoDB) instance","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["InstanceId"],"properties":{"endpoint":{"type":"string","enum":["https://das.aliyuncs.com","https://das.cn-shanghai.aliyuncs.com"],"default":"https://das.aliyuncs.com","description":"Regional endpoint, for example https://das.aliyuncs.com"},"InstanceId":{"type":"string","description":"The instance ID"},"NodeId":{"type":"string","description":"The node ID. If you do not specify a node ID, the sessions of the primary node are queried by default"},"Role":{"type":"string","description":"A reserved parameter. You do not need to specify the parameter"},"FilterDoc":{"type":"string","description":"The `db.currentOp()` command that is used to filter sessions. For more information, see db.currentOp()…"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-das/get-my-sqlall-session-async":{"post":{"operationId":"cloud_aliyun_das_get_my_sqlall_session_async","summary":"Asynchronously queries the sessions of an instance and collects statistics on the sessions based on dimensions","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["InstanceId"],"properties":{"endpoint":{"type":"string","enum":["https://das.aliyuncs.com","https://das.cn-shanghai.aliyuncs.com"],"default":"https://das.aliyuncs.com","description":"Regional endpoint, for example https://das.aliyuncs.com"},"InstanceId":{"type":"string","description":"The instance ID. Only ApsaraDB RDS for MySQL, PolarDB for MySQL, and PolarDB-X 2.0 instances are supported"},"NodeId":{"type":"string","description":"The node ID. You must specify this parameter for PolarDB for MySQL clusters. If you do not specify a node ID, the session data of the…"},"ResultId":{"type":"string","description":"The asynchronous request ID. GetMySQLAllSessionAsync is an asynchronous operation. After a request is sent, the system does not return…"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-das/get-partitions-heatmap":{"post":{"operationId":"cloud_aliyun_das_get_partitions_heatmap","summary":"Queries access frequency statistics and hot data on partitions of a PolarDB-X 2.0 instance","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"endpoint":{"type":"string","enum":["https://das.aliyuncs.com","https://das.cn-shanghai.aliyuncs.com"],"default":"https://das.aliyuncs.com","description":"Regional endpoint, for example https://das.aliyuncs.com"},"ConsoleContext":{"type":"string","description":"The reserved parameter"},"InstanceId":{"type":"string","description":"The instance ID"},"TimeRange":{"type":"string","description":"The time range to be queried. Valid values: LAST_ONE_HOURS: the last hour. LAST_SIX_HOURS: the last six hours. LAST_ONE_DAYS: the last…"},"Type":{"type":"string","description":"The type of the data to be queried. Valid values: READ_ROWS: the read rows. WRITTEN_ROWS: the written rows. READ_WRITTEN_ROWS: the read…"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-das/get-pfs-metric-trends":{"post":{"operationId":"cloud_aliyun_das_get_pfs_metric_trends","summary":"Queries the trend of a metric for the new version of the performance insight feature of a database instance","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"endpoint":{"type":"string","enum":["https://das.aliyuncs.com","https://das.cn-shanghai.aliyuncs.com"],"default":"https://das.aliyuncs.com","description":"Regional endpoint, for example https://das.aliyuncs.com"},"InstanceId":{"type":"string","description":"The instance ID"},"NodeId":{"type":"string","description":"The node ID. This parameter is required if the database instance is an ApsaraDB RDS for MySQL Cluster Edition instance or a PolarDB for…"},"Metric":{"type":"string","description":"The metric whose trend you want to query. Valid values: count: the number of executions. avgRt: the average execution duration. rtRate:…"},"StartTime":{"type":"integer","description":"The beginning of the time range to query. Set this parameter to a UNIX timestamp representing the number of milliseconds that have elapsed…"},"EndTime":{"type":"integer","description":"The end of the time range to query. Set this parameter to a UNIX timestamp representing the number of milliseconds that have elapsed since…"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-das/get-pfs-sql-sample":{"post":{"operationId":"cloud_aliyun_das_get_pfs_sql_sample","summary":"Retrieves the SQL sample data for the Performance Insight (New Version) feature","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["InstanceId","StartTime","EndTime"],"properties":{"endpoint":{"type":"string","enum":["https://das.aliyuncs.com","https://das.cn-shanghai.aliyuncs.com"],"default":"https://das.aliyuncs.com","description":"Regional endpoint, for example https://das.aliyuncs.com"},"InstanceId":{"type":"string","description":"The instance ID. Only ApsaraDB RDS for MySQL and PolarDB for MySQL instances are supported"},"NodeId":{"type":"string","description":"The node ID. For an ApsaraDB RDS for MySQL Cluster Edition instance or a PolarDB for MySQL cluster, you must specify the node ID"},"SqlId":{"type":"string","description":"The SQL ID"},"StartTime":{"type":"integer","description":"The start time of the query. The time is a UNIX timestamp in milliseconds"},"EndTime":{"type":"integer","description":"The end time of the query. The time is a UNIX timestamp in milliseconds. The end time must be later than the start time. You can query…"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-das/get-pfs-sql-summaries":{"post":{"operationId":"cloud_aliyun_das_get_pfs_sql_summaries","summary":"Call the GetPfsSqlSummaries API to query all request data using the SQL ID dimension in Performance Insight…","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"endpoint":{"type":"string","enum":["https://das.aliyuncs.com","https://das.cn-shanghai.aliyuncs.com"],"default":"https://das.aliyuncs.com","description":"Regional endpoint, for example https://das.aliyuncs.com"},"InstanceId":{"type":"string","description":"Database instance ID"},"NodeId":{"type":"string","description":"Node ID. Provide a node ID for RDS MySQL Cluster Edition or PolarDB for MySQL database instances"},"SqlId":{"type":"string","description":"SQL ID. If you specify an SQL ID, the system returns statistics for that SQL ID only. If you leave this parameter empty, the system…"},"Keywords":{"type":"string","description":"Keywords in the SQL text. Separate multiple keywords with spaces"},"StartTime":{"type":"integer","description":"Start time of the query, in Unix timestamp format, in milliseconds"},"EndTime":{"type":"integer","description":"End time of the query, in Unix timestamp format, in milliseconds. The end time must be later than the start time. You can query data for…"},"OrderBy":{"type":"string","description":"Field to sort by. Default is count. count: Number of executions. avgLatency: Average execution time. rowsExamined: Total number of scanned…"},"Asc":{"type":"string","description":"Sort in ascending order. Default is false. true: Yes. false: No"},"PageNo":{"type":"integer","description":"Page number for paged queries. Start from 1. Default is 1"},"PageSize":{"type":"integer","description":"Maximum number of records per page for paged queries. Default is 10. Maximum is 100"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-das/get-query-optimize-data-stats":{"post":{"operationId":"cloud_aliyun_das_get_query_optimize_data_stats","summary":"Returns SQL template statistics from query governance data","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["Engine","Time"],"properties":{"endpoint":{"type":"string","enum":["https://das.aliyuncs.com","https://das.cn-shanghai.aliyuncs.com"],"default":"https://das.aliyuncs.com","description":"Regional endpoint, for example https://das.aliyuncs.com"},"Engine":{"type":"string","description":"The database engine. Valid values: MySQL PolarDBMySQL PostgreSQL"},"InstanceIds":{"type":"string","description":"The instance IDs. Separate multiple IDs with commas (,)"},"TagNames":{"type":"string","description":"The reserved parameter"},"Keywords":{"type":"string","description":"The keywords of the SQL template. Separate multiple keywords with spaces"},"LogicalOperator":{"type":"string","description":"The logical relationship between multiple keywords. Valid values: or and"},"Rules":{"type":"string","description":"The tags that are used to filter SQL templates. Separate multiple tags with commas (,). For more information, see…"},"DbNames":{"type":"string","description":"The name of the database to be queried"},"Time":{"type":"string","description":"The time range to query. Specify the time in the UNIX timestamp format. Unit: milliseconds"},"PageSize":{"type":"string","description":"The number of entries per page. Default value: 10"},"PageNo":{"type":"string","description":"The page number. Pages start from page 1. Default value: 1"},"OrderBy":{"type":"string","description":"The field by which to sort the returned entries. Default value: count. Valid values: count: the number of executions. maxQueryTime: the…"},"Asc":{"type":"string","description":"Specifies whether to sort the returned entries in ascending order. Default value: true. Valid values: true: sorts the returned entries in…"},"OnlyOptimizedSql":{"type":"string","description":"Specifies whether to query only SQL templates that need to be optimized. Default value: false. Valid values: true: queries only SQL…"},"SqlIds":{"type":"string","description":"The SQL template ID. You can query the ID of a template by calling the https://help.aliyun.com/document_detail/405235.html operation"},"Region":{"type":"string","description":"The region in which the instance resides. Valid values: cn-china: Chinese mainland cn-hongkong: China (Hong Kong) ap-southeast-1:…"},"User":{"type":"string","description":"The account of the database to be queried"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-das/get-query-optimize-data-top":{"post":{"operationId":"cloud_aliyun_das_get_query_optimize_data_top","summary":"Returns the best- and worst-performing instances based on query governance data","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["Engine","Time","Type"],"properties":{"endpoint":{"type":"string","enum":["https://das.aliyuncs.com","https://das.cn-shanghai.aliyuncs.com"],"default":"https://das.aliyuncs.com","description":"Regional endpoint, for example https://das.aliyuncs.com"},"Engine":{"type":"string","description":"The database engine. Valid values: MySQL PolarDBMySQL PostgreSQL"},"InstanceIds":{"type":"string","description":"The instance IDs. Separate multiple IDs with commas (,)"},"TagNames":{"type":"string","description":"The reserved parameter"},"Time":{"type":"string","description":"The time range to query. Set this parameter to a UNIX timestamp representing the number of milliseconds that have elapsed since January 1,…"},"Type":{"type":"string","description":"The type of instances that you want to query. Valid values: RED: the best-performing instances BLACK: the worst-performing instances"},"Region":{"type":"string","description":"The region in which the instance resides. Valid values: cn-china: Chinese mainland cn-hongkong: China (Hong Kong) ap-southeast-1:…"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-das/get-query-optimize-data-trend":{"post":{"operationId":"cloud_aliyun_das_get_query_optimize_data_trend","summary":"Queries query governance trend data","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["Engine","Start","End"],"properties":{"endpoint":{"type":"string","enum":["https://das.aliyuncs.com","https://das.cn-shanghai.aliyuncs.com"],"default":"https://das.aliyuncs.com","description":"Regional endpoint, for example https://das.aliyuncs.com"},"Engine":{"type":"string","description":"The database engine. Valid values: MySQL PolarDBMySQL PostgreSQL"},"InstanceIds":{"type":"string","description":"The instance IDs. Separate multiple IDs with commas (,)"},"TagNames":{"type":"string","description":"The reserved parameter"},"Start":{"type":"string","description":"The beginning of the time range to query. Set this parameter to a UNIX timestamp representing the number of milliseconds that have elapsed…"},"End":{"type":"string","description":"The end of the time range to query. Set this parameter to a UNIX timestamp representing the number of milliseconds that have elapsed since…"},"Region":{"type":"string","description":"The region in which the instance resides. Valid values: cn-china: Chinese mainland. cn-hongkong: China (Hong Kong). ap-southeast-1:…"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-das/get-query-optimize-exec-error-sample":{"post":{"operationId":"cloud_aliyun_das_get_query_optimize_exec_error_sample","summary":"Queries the failed SQL statements under a SQL template","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["Engine","InstanceId","SqlId","Time"],"properties":{"endpoint":{"type":"string","enum":["https://das.aliyuncs.com","https://das.cn-shanghai.aliyuncs.com"],"default":"https://das.aliyuncs.com","description":"Regional endpoint, for example https://das.aliyuncs.com"},"Engine":{"type":"string","description":"The database engine. Valid values: MySQL PolarDBMySQL PostgreSQL"},"InstanceId":{"type":"string","description":"The instance ID"},"SqlId":{"type":"string","description":"The SQL template ID. You can call the https://help.aliyun.com/document_detail/405235.html operation to obtain the SQL template ID"},"Time":{"type":"string","description":"The date to query. Set this parameter to a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970,…"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-das/get-query-optimize-exec-error-stats":{"post":{"operationId":"cloud_aliyun_das_get_query_optimize_exec_error_stats","summary":"Queries SQL templates that failed to be executed","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["Engine","Time","PageSize","PageNo"],"properties":{"endpoint":{"type":"string","enum":["https://das.aliyuncs.com","https://das.cn-shanghai.aliyuncs.com"],"default":"https://das.aliyuncs.com","description":"Regional endpoint, for example https://das.aliyuncs.com"},"Engine":{"type":"string","description":"The database engine. Valid values: MySQL PolarDBMySQL PostgreSQL"},"InstanceIds":{"type":"string","description":"The instance IDs. Separate multiple IDs with commas (,)"},"Keywords":{"type":"string","description":"The keywords of the SQL template. Separate multiple keywords with spaces"},"LogicalOperator":{"type":"string","description":"The logical relationship between multiple keywords. Valid values: or and"},"DbNames":{"type":"string","description":"The name of the database to be queried"},"Time":{"type":"string","description":"The time range to query. Specify the time in the UNIX timestamp format. Unit: milliseconds"},"PageSize":{"type":"string","description":"The number of entries per page. Default value: 10"},"PageNo":{"type":"string","description":"The page number. Pages start from page 1. Default value: 1"},"OrderBy":{"type":"string","description":"The field by which to sort the returned entries. Only error_count is supported, which specifies that the entries are sorted based on the…"},"Asc":{"type":"string","description":"Specifies whether to sort the returned entries in ascending order. Default value: true. Valid values: true: sorts the returned entries in…"},"Region":{"type":"string","description":"The region in which the instance resides. Valid values: cn-china: Chinese mainland cn-hongkong: China (Hong Kong) ap-southeast-1:…"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-das/get-query-optimize-rule-list":{"post":{"operationId":"cloud_aliyun_das_get_query_optimize_rule_list","summary":"Queries the tags added by the query governance feature to specified database instances","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["Engine"],"properties":{"endpoint":{"type":"string","enum":["https://das.aliyuncs.com","https://das.cn-shanghai.aliyuncs.com"],"default":"https://das.aliyuncs.com","description":"Regional endpoint, for example https://das.aliyuncs.com"},"Engine":{"type":"string","description":"The database engine. Valid values: MySQL PolarDBMySQL PostgreSQL"},"InstanceIds":{"type":"string","description":"The instance IDs. Separate multiple IDs with commas (,)"},"TagNames":{"type":"string","description":"A reserved parameter"},"Region":{"type":"string","description":"The region in which the instance resides. Valid values: cn-china: Chinese mainland cn-hongkong: China (Hong Kong) ap-southeast-1:…"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-das/get-query-optimize-share-url":{"post":{"operationId":"cloud_aliyun_das_get_query_optimize_share_url","summary":"Retrieves the share URL for Query Governance","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["Engine","Time"],"properties":{"endpoint":{"type":"string","enum":["https://das.aliyuncs.com","https://das.cn-shanghai.aliyuncs.com"],"default":"https://das.aliyuncs.com","description":"Regional endpoint, for example https://das.aliyuncs.com"},"Engine":{"type":"string","description":"The database engine. Valid values: MySQL: RDS MySQL PolarDBMySQL: PolarDB for MySQL PostgreSQL: RDS PostgreSQL"},"InstanceIds":{"type":"string","description":"The instance IDs. Separate multiple instance IDs with commas"},"TagNames":{"type":"string","description":"The reserved parameter"},"Keywords":{"type":"string","description":"The keywords in the SQL text. Separate multiple keywords with spaces"},"LogicalOperator":{"type":"string","description":"The logical relationship between multiple keywords in the SQL text. Valid values: or: The OR logical relationship. and: The AND logical…"},"Rules":{"type":"string","description":"The rules to be filtered. Separate multiple rules with commas. For more information, see https://help.aliyun.com/document_detail/290038.html"},"DbNames":{"type":"string","description":"The names of the databases to be queried"},"Time":{"type":"integer","description":"The date when the data is queried. The value is a UNIX timestamp in milliseconds"},"PageSize":{"type":"integer","description":"The maximum number of records per page in a paging query. Default value: 10"},"PageNo":{"type":"integer","description":"The page number of the paging query. Pages start from 1. Default value: 1"},"OrderBy":{"type":"string","description":"The field by which to sort the results. Default value: count. Valid values: count: The number of executions. maxQueryTime: The maximum…"},"Asc":{"type":"string","description":"Specifies whether to sort the results in ascending order. Default value: true. Valid values: true: Yes. false: No"},"OnlyOptimizedSql":{"type":"string","description":"Specifies whether to query only the SQL statements that need to be optimized. Default value: false. Valid values: true: Yes. false: No"},"SqlIds":{"type":"string","description":"The SQL template IDs. You can call the https://help.aliyun.com/document_detail/405261.html operation to query the SQL template IDs"},"Region":{"type":"string","description":"The region where the instance resides. Valid values: cn-china: The Chinese mainland. cn-hongkong: Hong Kong (China). ap-southeast-1:…"},"User":{"type":"string","description":"The database account to be queried"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-das/get-query-optimize-solution":{"post":{"operationId":"cloud_aliyun_das_get_query_optimize_solution","summary":"Queries suggestions provided by query governance for optimizing an SQL template","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["Engine","SqlId","RuleIds"],"properties":{"endpoint":{"type":"string","enum":["https://das.aliyuncs.com","https://das.cn-shanghai.aliyuncs.com"],"default":"https://das.aliyuncs.com","description":"Regional endpoint, for example https://das.aliyuncs.com"},"Engine":{"type":"string","description":"The database engine. Valid values: MySQL PolarDBMySQL PostgreSQL"},"SqlId":{"type":"string","description":"The SQL template ID. You can call the https://help.aliyun.com/document_detail/405261.html operation to query the SQL template ID"},"RuleIds":{"type":"string","description":"The tag ID. For more information, see https://help.aliyun.com/document_detail/290038.html"},"InstanceId":{"type":"string","description":"The instance ID. You can call the https://help.aliyun.com/document_detail/405261.html operation to query the instance ID"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-das/get-query-optimize-tag":{"post":{"operationId":"cloud_aliyun_das_get_query_optimize_tag","summary":"Queries the tags of a specified SQL statement by calling the GetQueryOptimizeTag operation","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["Engine","SqlId","InstanceId"],"properties":{"endpoint":{"type":"string","enum":["https://das.aliyuncs.com","https://das.cn-shanghai.aliyuncs.com"],"default":"https://das.aliyuncs.com","description":"Regional endpoint, for example https://das.aliyuncs.com"},"Engine":{"type":"string","description":"The database engine. Valid values: MySQL: RDS MySQL PolarDBMySQL: PolarDB for MySQL PostgreSQL: RDS PostgreSQL"},"SqlId":{"type":"string","description":"The SQL template ID. You can call the https://help.aliyun.com/document_detail/405261.html operation to query the SQL template ID"},"InstanceId":{"type":"string","description":"The instance ID"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-das/get-redis-all-session":{"post":{"operationId":"cloud_aliyun_das_get_redis_all_session","summary":"Queries the current session on an ApsaraDB for Redis instance","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["InstanceId"],"properties":{"endpoint":{"type":"string","enum":["https://das.aliyuncs.com","https://das.cn-shanghai.aliyuncs.com"],"default":"https://das.aliyuncs.com","description":"Regional endpoint, for example https://das.aliyuncs.com"},"ConsoleContext":{"type":"string","description":"The reserved parameter"},"InstanceId":{"type":"string","description":"The database instance ID"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-das/get-request-diagnosis-page":{"post":{"operationId":"cloud_aliyun_das_get_request_diagnosis_page","summary":"Queries SQL diagnostics records by pages","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["InstanceId","PageNo","PageSize","StartTime","EndTime"],"properties":{"endpoint":{"type":"string","enum":["https://das.aliyuncs.com","https://das.cn-shanghai.aliyuncs.com"],"default":"https://das.aliyuncs.com","description":"Regional endpoint, for example https://das.aliyuncs.com"},"InstanceId":{"type":"string","description":"The instance ID"},"NodeId":{"type":"string","description":"The node ID. You must specify the node ID if your database instance is a PolarDB for MySQL, PolarDB for PostgreSQL (Compatible with…"},"PageNo":{"type":"integer","description":"The page number. The value must be a positive integer. Default value: 1"},"PageSize":{"type":"integer","description":"The number of entries per page. The value must be a positive integer. Default value: 10"},"StartTime":{"type":"integer","description":"The beginning of the time range to query. Set this parameter to a UNIX timestamp representing the number of milliseconds that have elapsed…"},"EndTime":{"type":"integer","description":"The end of the time range to query. Set this parameter to a UNIX timestamp representing the number of milliseconds that have elapsed since…"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-das/get-request-diagnosis-result":{"post":{"operationId":"cloud_aliyun_das_get_request_diagnosis_result","summary":"Call GetRequestDiagnosisResult to retrieve the SQL diagnosis results","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["InstanceId","MessageId"],"properties":{"endpoint":{"type":"string","enum":["https://das.aliyuncs.com","https://das.cn-shanghai.aliyuncs.com"],"default":"https://das.aliyuncs.com","description":"Regional endpoint, for example https://das.aliyuncs.com"},"InstanceId":{"type":"string","description":"The instance ID"},"NodeId":{"type":"string","description":"The node ID. This parameter is required for cluster instances such as PolarDB for MySQL, PolarDB for PostgreSQL (Oracle-compatible), and…"},"MessageId":{"type":"string","description":"The unique diagnosis ID returned by the https://help.aliyun.com/document_detail/341609.html operation. If `MessageId` is the diagnosis ID…"},"SqlId":{"type":"string","description":"The SQL template ID. This parameter is for internal use by the DAS console. You do not need to specify this parameter"},"Source":{"type":"string","description":"The source of the task. This parameter is for internal use by the DAS console. You do not need to specify this parameter"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-das/get-running-sql-concurrency-control-rules":{"post":{"operationId":"cloud_aliyun_das_get_running_sql_concurrency_control_rules","summary":"Queries the throttling rules that are in effect","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["InstanceId"],"properties":{"endpoint":{"type":"string","enum":["https://das.aliyuncs.com","https://das.cn-shanghai.aliyuncs.com"],"default":"https://das.aliyuncs.com","description":"Regional endpoint, for example https://das.aliyuncs.com"},"ConsoleContext":{"type":"string","description":"The reserved parameter"},"InstanceId":{"type":"string","description":"The instance ID. You must specify this parameter only if your database instance is an ApsaraDB RDS for MySQL instance or a PolarDB for…"},"PageNo":{"type":"integer","description":"The page number. The value must be a positive integer. Default value: 1"},"PageSize":{"type":"integer","description":"The number of entries per page. The value must be a positive integer. Default value: 10"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-das/get-sql-concurrency-control-keywords-from-sql-text":{"post":{"operationId":"cloud_aliyun_das_get_sql_concurrency_control_keywords_from_sql_text","summary":"Generates a throttling keyword string based on an SQL statement","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["InstanceId","SqlText"],"properties":{"endpoint":{"type":"string","enum":["https://das.aliyuncs.com","https://das.cn-shanghai.aliyuncs.com"],"default":"https://das.aliyuncs.com","description":"Regional endpoint, for example https://das.aliyuncs.com"},"ConsoleContext":{"type":"string","description":"The reserved parameter"},"InstanceId":{"type":"string","description":"The instance ID"},"SqlText":{"type":"string","description":"The SQL statement based on which a throttling keyword string is to be generated"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-das/get-sql-concurrency-control-rules-history":{"post":{"operationId":"cloud_aliyun_das_get_sql_concurrency_control_rules_history","summary":"Queries the throttling rules that are being executed or have been triggered","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["InstanceId"],"properties":{"endpoint":{"type":"string","enum":["https://das.aliyuncs.com","https://das.cn-shanghai.aliyuncs.com"],"default":"https://das.aliyuncs.com","description":"Regional endpoint, for example https://das.aliyuncs.com"},"ConsoleContext":{"type":"string","description":"The reserved parameter"},"InstanceId":{"type":"string","description":"The instance ID. Only ApsaraDB RDS for MySQL instances and PolarDB for MySQL clusters are supported"},"PageNo":{"type":"integer","description":"The page number. The value must be an integer that is greater than 0. Default value: 1"},"PageSize":{"type":"integer","description":"The number of entries per page. The value must be an integer that is greater than 0. Default value: 10"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-das/get-sql-optimize-advice":{"post":{"operationId":"cloud_aliyun_das_get_sql_optimize_advice","summary":"Queries the diagnostic suggestions generated by the DAS automatic SQL optimization feature","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"endpoint":{"type":"string","enum":["https://das.aliyuncs.com","https://das.cn-shanghai.aliyuncs.com"],"default":"https://das.aliyuncs.com","description":"Regional endpoint, for example https://das.aliyuncs.com"},"ConsoleContext":{"type":"string","description":"A reserved parameter"},"Engine":{"type":"string","description":"The database engine. Valid values: MySQL: RDS MySQL. PolarDBMySQL: PolarDB for MySQL"},"InstanceIds":{"type":"string","description":"The instance ID. Only RDS MySQL and PolarDB for MySQL instances are supported"},"StartDt":{"type":"string","description":"The start date of the query. Format: yyyyMMdd (UTC). If this parameter is left empty, the default value is the day before the current…"},"EndDt":{"type":"string","description":"The end date of the query. Format: yyyyMMdd (UTC). If this parameter is left empty, the default value is the day before the current date.…"},"Region":{"type":"string","description":"The region to which the instance belongs. Valid values: cn-china: the Chinese mainland. cn-hongkong: Hong Kong (China). ap-southeast-1:…"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-das/get-storage-analysis-result":{"post":{"operationId":"cloud_aliyun_das_get_storage_analysis_result","summary":"Queries the status and results of a storage analysis task","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["InstanceId","TaskId"],"properties":{"endpoint":{"type":"string","enum":["https://das.aliyuncs.com","https://das.cn-shanghai.aliyuncs.com"],"default":"https://das.aliyuncs.com","description":"Regional endpoint, for example https://das.aliyuncs.com"},"InstanceId":{"type":"string","description":"The instance ID"},"NodeId":{"type":"string","description":"The node ID. This parameter is reserved"},"TaskId":{"type":"string","description":"The task ID. You can obtain the task ID from the response of the https://help.aliyun.com/document_detail/2639140.html operation"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-das/get-yao-chi-agent":{"post":{"operationId":"cloud_aliyun_das_get_yao_chi_agent","summary":"Invokes the ApsaraDB Agent large language model API to perform tasks such as knowledge Q&A and performance…","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["Query"],"properties":{"endpoint":{"type":"string","enum":["https://das.aliyuncs.com","https://das.cn-shanghai.aliyuncs.com"],"default":"https://das.aliyuncs.com","description":"Regional endpoint, for example https://das.aliyuncs.com"},"Query":{"type":"string","description":"The natural language description of the query"},"SessionId":{"type":"string","description":"Optional. The session ID, which is a UUID string. If this parameter is not specified, a new session is created. To maintain context in a…"},"Source":{"type":"string","description":"Optional. The source cloud service. Specifies the cloud service to which the Q&A belongs. Default value: yaochi"},"ExtraInfo":{"type":"string","description":"Optional. The additional information, which is a JSON string"},"ImageKeys":{"type":"string","description":"The ImageKeys"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-das/kill-instance-all-session":{"post":{"operationId":"cloud_aliyun_das_kill_instance_all_session","summary":"Calls the KillInstanceAllSession operation to terminate all sessions on a specified instance","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["InstanceId"],"properties":{"endpoint":{"type":"string","enum":["https://das.aliyuncs.com","https://das.cn-shanghai.aliyuncs.com"],"default":"https://das.aliyuncs.com","description":"Regional endpoint, for example https://das.aliyuncs.com"},"ConsoleContext":{"type":"string","description":"The reserved parameter"},"InstanceId":{"type":"string","description":"The instance ID"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-das/modify-auto-scaling-config":{"post":{"operationId":"cloud_aliyun_das_modify_auto_scaling_config","summary":"Modifies the elastic scaling configuration of an instance","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["InstanceId"],"properties":{"endpoint":{"type":"string","enum":["https://das.aliyuncs.com","https://das.cn-shanghai.aliyuncs.com"],"default":"https://das.aliyuncs.com","description":"Regional endpoint, for example https://das.aliyuncs.com"},"InstanceId":{"type":"string","description":"The instance ID"},"Spec":{"type":"string","description":"The configuration items for the specification elastic scaling feature (JSON-encoded)"},"Storage":{"type":"string","description":"The configuration items for the automatic storage expansion feature (JSON-encoded)"},"Bandwidth":{"type":"string","description":"The configuration items for the bandwidth elastic scaling feature (JSON-encoded)"},"Shard":{"type":"string","description":"The configuration items for the shard elastic scaling feature (JSON-encoded)"},"Resource":{"type":"string","description":"The configuration items for the resource elastic scaling feature (JSON-encoded)"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-das/modify-das-ops-config":{"post":{"operationId":"cloud_aliyun_das_modify_das_ops_config","summary":"Modifies the configuration items of Alibaba Cloud Managed Services","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["InstanceId"],"properties":{"endpoint":{"type":"string","enum":["https://das.aliyuncs.com","https://das.cn-shanghai.aliyuncs.com"],"default":"https://das.aliyuncs.com","description":"Regional endpoint, for example https://das.aliyuncs.com"},"InstanceId":{"type":"string","description":"The database instance ID"},"Enable":{"type":"string","description":"Specifies whether to enable DAS Alibaba Cloud Managed Services. Valid values: true: Enabled. false: Disabled. Note that shutdown only…"},"Filters":{"type":"string","description":"The reserved parameter (JSON-encoded)"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-das/modify-forward-sql-log-config":{"post":{"operationId":"cloud_aliyun_das_modify_forward_sql_log_config","summary":"Modifies the audit forwarding configuration","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["InstanceId","Service","Source","Enable"],"properties":{"endpoint":{"type":"string","enum":["https://das.aliyuncs.com","https://das.cn-shanghai.aliyuncs.com"],"default":"https://das.aliyuncs.com","description":"Regional endpoint, for example https://das.aliyuncs.com"},"InstanceId":{"type":"string","description":"The database instance ID"},"Service":{"type":"string","description":"The service type. Valid values: DAS_OPS: enables top key delivery"},"Source":{"type":"string","description":"The source of the task. Valid values: TOP_KEY: enables top key delivery"},"Enable":{"type":"string","description":"Specifies whether to enable the feature. Valid values: true: yes. false: no"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-das/modify-security-ipgroup":{"post":{"operationId":"cloud_aliyun_das_modify_security_ipgroup","summary":"Modifies a cross-product whitelist template","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["RegionName","GlobalIgName","GIpList","GlobalSecurityGroupId"],"properties":{"endpoint":{"type":"string","enum":["https://das.aliyuncs.com","https://das.cn-shanghai.aliyuncs.com"],"default":"https://das.aliyuncs.com","description":"Regional endpoint, for example https://das.aliyuncs.com"},"RegionName":{"type":"string","description":"The region ID"},"GlobalIgName":{"type":"string","description":"The name of the IP address whitelist template. The name must meet the following requirements: It can contain lowercase letters, digits,…"},"GIpList":{"type":"string","description":"The IP addresses in the whitelist template. Separate multiple IP addresses with commas (,). A maximum of 1,000 IP addresses or CIDR blocks…"},"GlobalSecurityGroupId":{"type":"string","description":"The ID of the IP address whitelist template"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-das/modify-security-ipgroup-relation":{"post":{"operationId":"cloud_aliyun_das_modify_security_ipgroup_relation","summary":"Attaches or detaches a cross-engine whitelist template to or from a user","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["RegionName","InstanceId","GlobalSecurityGroupId"],"properties":{"endpoint":{"type":"string","enum":["https://das.aliyuncs.com","https://das.cn-shanghai.aliyuncs.com"],"default":"https://das.aliyuncs.com","description":"Regional endpoint, for example https://das.aliyuncs.com"},"RegionName":{"type":"string","description":"The region ID"},"InstanceId":{"type":"string","description":"The database instance ID"},"GlobalSecurityGroupId":{"type":"string","description":"The ID of the IP whitelist template"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-das/modify-sql-log-config":{"post":{"operationId":"cloud_aliyun_das_modify_sql_log_config","summary":"Enables or configures DAS Enterprise Edition for a database instance","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["InstanceId"],"properties":{"endpoint":{"type":"string","enum":["https://das.aliyuncs.com","https://das.cn-shanghai.aliyuncs.com"],"default":"https://das.aliyuncs.com","description":"Regional endpoint, for example https://das.aliyuncs.com"},"InstanceId":{"type":"string","description":"The ID of the database instance"},"Enable":{"type":"string","description":"Specifies whether to enable DAS Enterprise Edition. Valid values: true: Yes. false: No. This parameter is required when you enable DAS…"},"RequestEnable":{"type":"string","description":"Specifies whether to enable SQL Explorer. Valid values: true: Yes. false: No. This parameter is required only when you enable DAS…"},"Retention":{"type":"integer","description":"The total data storage duration. Unit: days. Valid values: 7 30 180 365 When you enable DAS Enterprise Edition V3, the value of this…"},"HotRetention":{"type":"integer","description":"The hot data storage duration. Unit: days. The value is an integer in the range of [1, 7]. This parameter is required only when you enable…"},"Filters":{"type":"string","description":"A reserved parameter (JSON-encoded)"},"EnableAudit":{"type":"string","description":"Specifies whether to enable security auditing"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-das/run-cloud-bench-task":{"post":{"operationId":"cloud_aliyun_das_run_cloud_bench_task","summary":"Calls the RunCloudBenchTask operation to execute a stress testing task","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["TaskId"],"properties":{"endpoint":{"type":"string","enum":["https://das.aliyuncs.com","https://das.cn-shanghai.aliyuncs.com"],"default":"https://das.aliyuncs.com","description":"Regional endpoint, for example https://das.aliyuncs.com"},"TaskId":{"type":"string","description":"The ID of the stress testing task. You can call the https://help.aliyun.com/document_detail/230670.html operation to obtain the task ID"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-das/set-event-subscription":{"post":{"operationId":"cloud_aliyun_das_set_event_subscription","summary":"Configures the event subscription settings for a database instance","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["InstanceId"],"properties":{"endpoint":{"type":"string","enum":["https://das.aliyuncs.com","https://das.cn-shanghai.aliyuncs.com"],"default":"https://das.aliyuncs.com","description":"Regional endpoint, for example https://das.aliyuncs.com"},"InstanceId":{"type":"string","description":"The instance ID"},"EventContext":{"type":"string","description":"The supported event scenarios. You can set the value to AllContext, which indicates that all scenarios are supported"},"Lang":{"type":"string","description":"The language of event notifications. You can set the value to zh-CN, which indicates that event notifications are sent in Chinese"},"MinInterval":{"type":"string","description":"The minimum interval between consecutive event notifications. Unit: seconds"},"ContactName":{"type":"string","description":"The name of the contact who receives alert notifications. Separate multiple names with commas (,)"},"ChannelType":{"type":"string","description":"The notification method. Valid values: hdm_alarm_sms: text message. dingtalk: DingTalk chatbot. hdm_alarm_sms_and_email: text message and…"},"ContactGroupName":{"type":"string","description":"The name of the contact group that receives alert notifications. Separate multiple names with commas (,)"},"Level":{"type":"string","description":"The risk level of the events. Valid values: Notice: events that trigger notifications, including events at the Notice, Optimization, Warn,…"},"Active":{"type":"string","description":"Specifies whether to enable the event subscription feature. Valid values: 0: disables the event subscription feature. 1: enables the event…"},"Severity":{"type":"string","description":"The alert severity based on the event type. Specify this parameter in the following format: `{\"Event type 1\":\"Alert severity\", \"Event type…"},"DispatchRule":{"type":"string","description":"The notification rules based on the event type. If you leave this parameter empty, the values of MinInterval and ChannelType prevail.…"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-das/update-auto-resource-optimize-rules-async":{"post":{"operationId":"cloud_aliyun_das_update_auto_resource_optimize_rules_async","summary":"Asynchronously configures parameters related to the automatic fragment recycling feature for multiple…","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["InstanceIds","TableSpaceSize","TableFragmentationRatio"],"properties":{"endpoint":{"type":"string","enum":["https://das.aliyuncs.com","https://das.cn-shanghai.aliyuncs.com"],"default":"https://das.aliyuncs.com","description":"Regional endpoint, for example https://das.aliyuncs.com"},"ConsoleContext":{"type":"string","description":"The reserved parameter"},"InstanceIds":{"type":"string","description":"The database instance IDs. Set this parameter to a JSON array that consists of multiple instance IDs. Separate instance IDs with commas…"},"TableSpaceSize":{"type":"number","description":"The minimum storage usage that triggers automatic fragment recycling of a single physical table. Valid values: 5 to 100. Unit: GB"},"TableFragmentationRatio":{"type":"number","description":"The fragmentation rate that triggers automatic fragment recycling of a single physical table. Valid values: 0.10 to 0.99"},"ResultId":{"type":"string","description":"The ID of the asynchronous request. Asynchronous calls do not immediately return the complete results. To obtain the complete results, you…"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-das/update-auto-sql-optimize-status":{"post":{"operationId":"cloud_aliyun_das_update_auto_sql_optimize_status","summary":"Enables, modifies, or disables the automatic SQL optimization feature for multiple database instances at a…","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["Instances","Status"],"properties":{"endpoint":{"type":"string","enum":["https://das.aliyuncs.com","https://das.cn-shanghai.aliyuncs.com"],"default":"https://das.aliyuncs.com","description":"Regional endpoint, for example https://das.aliyuncs.com"},"Instances":{"type":"string","description":"The database instance IDs. Separate multiple IDs with commas (,). You can specify up to 50 instance IDs"},"Status":{"type":"integer","description":"The status of the automatic SQL optimization feature. Valid values: 0: The automatic SQL optimization feature is disabled. 1: SQL…"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-das/update-auto-throttle-rules-async":{"post":{"operationId":"cloud_aliyun_das_update_auto_throttle_rules_async","summary":"Calls the UpdateAutoThrottleRulesAsync operation to asynchronously configure automatic SQL throttling…","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["InstanceIds","CpuUsage","CpuSessionRelation","ActiveSessions","AbnormalDuration","MaxThrottleTime","AllowThrottleStartTime","AllowThrottleEndTime","AutoKillSession"],"properties":{"endpoint":{"type":"string","enum":["https://das.aliyuncs.com","https://das.cn-shanghai.aliyuncs.com"],"default":"https://das.aliyuncs.com","description":"Regional endpoint, for example https://das.aliyuncs.com"},"ConsoleContext":{"type":"string","description":"A reserved parameter"},"InstanceIds":{"type":"string","description":"The database instance IDs. The data format is JSONArray, such as `['Instance ID 1','Instance ID 2']`. Separate instance IDs with commas (,)"},"CpuUsage":{"type":"number","description":"The CPU utilization threshold. Valid values: 70% to 100%"},"CpuSessionRelation":{"type":"string","description":"The logical relationship between the CPU utilization threshold and the active sessions threshold. Valid values: AND: both conditions must…"},"ActiveSessions":{"type":"integer","description":"The active sessions threshold. If the relationship with the CPU utilization threshold is OR, the value must be greater than or equal to…"},"AbnormalDuration":{"type":"number","description":"The duration threshold of the anomaly that triggers automatic SQL throttling. The value must be a positive integer greater than or equal…"},"MaxThrottleTime":{"type":"number","description":"The maximum throttling duration. The value must be a positive integer. Unit: minutes"},"AllowThrottleStartTime":{"type":"string","description":"The start time of the throttling time window (UTC)"},"AllowThrottleEndTime":{"type":"string","description":"The end time of the throttling time window (UTC)"},"AutoKillSession":{"type":"string","description":"Specifies whether to simultaneously kill abnormal SQL statements that are being executed. Abnormal SQL statements are those that match the…"},"ResultId":{"type":"string","description":"The ID of the asynchronous request. An asynchronous call does not immediately return complete results. First, call this operation to…"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-das/version":{"post":{"operationId":"cloud_aliyun_das_version","summary":"version","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"endpoint":{"type":"string","enum":["https://das.aliyuncs.com","https://das.cn-shanghai.aliyuncs.com"],"default":"https://das.aliyuncs.com","description":"Regional endpoint, for example https://das.aliyuncs.com"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}}},"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"x-api-key"}},"schemas":{"RunEnvelope":{"type":"object","required":["project","data","timestamp"],"properties":{"project":{"type":"string","example":"dev-tools:hash"},"data":{},"timestamp":{"type":"string","format":"date-time"}}},"ErrorEnvelope":{"type":"object","properties":{"content":{},"message":{"type":"string"},"errors":{"type":"array","items":{}},"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}},"responses":{"Error":{"description":"Invalid key, plan gate, rate limit or upstream failure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}}