@alicloud/das20200116 2.7.4 → 2.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +39 -16
- package/dist/client.js +139 -22
- package/dist/client.js.map +1 -1
- package/dist/models/CreateCacheAnalysisJobResponseBody.d.ts +0 -60
- package/dist/models/CreateCacheAnalysisJobResponseBody.js.map +1 -1
- package/dist/models/CreateCloudBenchTasksResponseBody.d.ts +0 -4
- package/dist/models/CreateCloudBenchTasksResponseBody.js.map +1 -1
- package/dist/models/DescribeCacheAnalysisJobResponseBody.d.ts +0 -321
- package/dist/models/DescribeCacheAnalysisJobResponseBody.js.map +1 -1
- package/dist/models/DescribeCacheAnalysisJobsResponseBody.d.ts +0 -108
- package/dist/models/DescribeCacheAnalysisJobsResponseBody.js.map +1 -1
- package/dist/models/DescribeCloudBenchTasksResponseBody.d.ts +0 -386
- package/dist/models/DescribeCloudBenchTasksResponseBody.js.map +1 -1
- package/dist/models/DescribeHotBigKeysResponseBody.d.ts +0 -85
- package/dist/models/DescribeHotBigKeysResponseBody.js.map +1 -1
- package/dist/models/DescribeHotKeysResponseBody.d.ts +0 -39
- package/dist/models/DescribeHotKeysResponseBody.js.map +1 -1
- package/dist/models/DescribeTopBigKeysResponseBody.d.ts +0 -41
- package/dist/models/DescribeTopBigKeysResponseBody.js.map +1 -1
- package/dist/models/DescribeTopHotKeysResponseBody.d.ts +0 -46
- package/dist/models/DescribeTopHotKeysResponseBody.js.map +1 -1
- package/dist/models/GetAutonomousNotifyEventsInRangeResponseBody.d.ts +0 -4
- package/dist/models/GetAutonomousNotifyEventsInRangeResponseBody.js.map +1 -1
- package/dist/models/GetDasAgentSseresponse.d.ts +2 -0
- package/dist/models/GetDasAgentSseresponse.js +4 -0
- package/dist/models/GetDasAgentSseresponse.js.map +1 -1
- package/dist/models/GetRunningSqlConcurrencyControlRulesResponseBody.d.ts +0 -84
- package/dist/models/GetRunningSqlConcurrencyControlRulesResponseBody.js.map +1 -1
- package/dist/models/GetSqlConcurrencyControlRulesHistoryResponseBody.d.ts +0 -87
- package/dist/models/GetSqlConcurrencyControlRulesHistoryResponseBody.js.map +1 -1
- package/dist/models/GetYaoChiAgentRequest.d.ts +36 -0
- package/dist/models/GetYaoChiAgentRequest.js +64 -0
- package/dist/models/GetYaoChiAgentRequest.js.map +1 -0
- package/dist/models/GetYaoChiAgentResponse.d.ts +21 -0
- package/dist/models/GetYaoChiAgentResponse.js +73 -0
- package/dist/models/GetYaoChiAgentResponse.js.map +1 -0
- package/dist/models/GetYaoChiAgentResponseBody.d.ts +99 -0
- package/dist/models/GetYaoChiAgentResponseBody.js +124 -0
- package/dist/models/GetYaoChiAgentResponseBody.js.map +1 -0
- package/dist/models/RunCloudBenchTaskResponseBody.d.ts +0 -59
- package/dist/models/RunCloudBenchTaskResponseBody.js.map +1 -1
- package/dist/models/model.d.ts +5 -0
- package/dist/models/model.js +18 -8
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +138 -26
- package/src/models/CreateCacheAnalysisJobResponseBody.ts +0 -60
- package/src/models/CreateCloudBenchTasksResponseBody.ts +0 -4
- package/src/models/DescribeCacheAnalysisJobResponseBody.ts +0 -321
- package/src/models/DescribeCacheAnalysisJobsResponseBody.ts +0 -108
- package/src/models/DescribeCloudBenchTasksResponseBody.ts +0 -386
- package/src/models/DescribeHotBigKeysResponseBody.ts +0 -85
- package/src/models/DescribeHotKeysResponseBody.ts +0 -39
- package/src/models/DescribeTopBigKeysResponseBody.ts +0 -41
- package/src/models/DescribeTopHotKeysResponseBody.ts +0 -46
- package/src/models/GetAutonomousNotifyEventsInRangeResponseBody.ts +0 -4
- package/src/models/GetDasAgentSseresponse.ts +6 -0
- package/src/models/GetRunningSqlConcurrencyControlRulesResponseBody.ts +0 -84
- package/src/models/GetSqlConcurrencyControlRulesHistoryResponseBody.ts +0 -87
- package/src/models/GetYaoChiAgentRequest.ts +55 -0
- package/src/models/GetYaoChiAgentResponse.ts +46 -0
- package/src/models/GetYaoChiAgentResponseBody.ts +160 -0
- package/src/models/RunCloudBenchTaskResponseBody.ts +0 -59
- package/src/models/model.ts +5 -0
package/dist/client.d.ts
CHANGED
|
@@ -169,7 +169,7 @@ export default class Client extends OpenApi {
|
|
|
169
169
|
*/
|
|
170
170
|
createKillInstanceSessionTaskWithMaintainUser(request: $_model.CreateKillInstanceSessionTaskWithMaintainUserRequest): Promise<$_model.CreateKillInstanceSessionTaskWithMaintainUserResponse>;
|
|
171
171
|
/**
|
|
172
|
-
*
|
|
172
|
+
* Creates a recent deadlock analysis task.
|
|
173
173
|
*
|
|
174
174
|
* @param request - CreateLatestDeadLockAnalysisRequest
|
|
175
175
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -177,7 +177,7 @@ export default class Client extends OpenApi {
|
|
|
177
177
|
*/
|
|
178
178
|
createLatestDeadLockAnalysisWithOptions(request: $_model.CreateLatestDeadLockAnalysisRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateLatestDeadLockAnalysisResponse>;
|
|
179
179
|
/**
|
|
180
|
-
*
|
|
180
|
+
* Creates a recent deadlock analysis task.
|
|
181
181
|
*
|
|
182
182
|
* @param request - CreateLatestDeadLockAnalysisRequest
|
|
183
183
|
* @returns CreateLatestDeadLockAnalysisResponse
|
|
@@ -694,7 +694,7 @@ export default class Client extends OpenApi {
|
|
|
694
694
|
*/
|
|
695
695
|
describeInstanceDasPro(request: $_model.DescribeInstanceDasProRequest): Promise<$_model.DescribeInstanceDasProResponse>;
|
|
696
696
|
/**
|
|
697
|
-
*
|
|
697
|
+
* Queries the execution plan of an SQL statement.
|
|
698
698
|
*
|
|
699
699
|
* @param request - DescribeQueryExplainRequest
|
|
700
700
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -702,7 +702,7 @@ export default class Client extends OpenApi {
|
|
|
702
702
|
*/
|
|
703
703
|
describeQueryExplainWithOptions(request: $_model.DescribeQueryExplainRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeQueryExplainResponse>;
|
|
704
704
|
/**
|
|
705
|
-
*
|
|
705
|
+
* Queries the execution plan of an SQL statement.
|
|
706
706
|
*
|
|
707
707
|
* @param request - DescribeQueryExplainRequest
|
|
708
708
|
* @returns DescribeQueryExplainResponse
|
|
@@ -739,7 +739,7 @@ export default class Client extends OpenApi {
|
|
|
739
739
|
*/
|
|
740
740
|
describeSecurityIPGroupRelation(request: $_model.DescribeSecurityIPGroupRelationRequest): Promise<$_model.DescribeSecurityIPGroupRelationResponse>;
|
|
741
741
|
/**
|
|
742
|
-
*
|
|
742
|
+
* Asynchronously queries the trend data of slow query logs of an instance.
|
|
743
743
|
*
|
|
744
744
|
* @param request - DescribeSlowLogHistogramAsyncRequest
|
|
745
745
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -747,14 +747,14 @@ export default class Client extends OpenApi {
|
|
|
747
747
|
*/
|
|
748
748
|
describeSlowLogHistogramAsyncWithOptions(request: $_model.DescribeSlowLogHistogramAsyncRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeSlowLogHistogramAsyncResponse>;
|
|
749
749
|
/**
|
|
750
|
-
*
|
|
750
|
+
* Asynchronously queries the trend data of slow query logs of an instance.
|
|
751
751
|
*
|
|
752
752
|
* @param request - DescribeSlowLogHistogramAsyncRequest
|
|
753
753
|
* @returns DescribeSlowLogHistogramAsyncResponse
|
|
754
754
|
*/
|
|
755
755
|
describeSlowLogHistogramAsync(request: $_model.DescribeSlowLogHistogramAsyncRequest): Promise<$_model.DescribeSlowLogHistogramAsyncResponse>;
|
|
756
756
|
/**
|
|
757
|
-
*
|
|
757
|
+
* Queries the slow logs of a database instance. You can filter and sort data by multiple conditions.
|
|
758
758
|
*
|
|
759
759
|
* @param request - DescribeSlowLogRecordsRequest
|
|
760
760
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -762,14 +762,14 @@ export default class Client extends OpenApi {
|
|
|
762
762
|
*/
|
|
763
763
|
describeSlowLogRecordsWithOptions(request: $_model.DescribeSlowLogRecordsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeSlowLogRecordsResponse>;
|
|
764
764
|
/**
|
|
765
|
-
*
|
|
765
|
+
* Queries the slow logs of a database instance. You can filter and sort data by multiple conditions.
|
|
766
766
|
*
|
|
767
767
|
* @param request - DescribeSlowLogRecordsRequest
|
|
768
768
|
* @returns DescribeSlowLogRecordsResponse
|
|
769
769
|
*/
|
|
770
770
|
describeSlowLogRecords(request: $_model.DescribeSlowLogRecordsRequest): Promise<$_model.DescribeSlowLogRecordsResponse>;
|
|
771
771
|
/**
|
|
772
|
-
*
|
|
772
|
+
* Queries statistical information about slow query logs.
|
|
773
773
|
*
|
|
774
774
|
* @param request - DescribeSlowLogStatisticRequest
|
|
775
775
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -777,7 +777,7 @@ export default class Client extends OpenApi {
|
|
|
777
777
|
*/
|
|
778
778
|
describeSlowLogStatisticWithOptions(request: $_model.DescribeSlowLogStatisticRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeSlowLogStatisticResponse>;
|
|
779
779
|
/**
|
|
780
|
-
*
|
|
780
|
+
* Queries statistical information about slow query logs.
|
|
781
781
|
*
|
|
782
782
|
* @param request - DescribeSlowLogStatisticRequest
|
|
783
783
|
* @returns DescribeSlowLogStatisticResponse
|
|
@@ -1520,7 +1520,7 @@ export default class Client extends OpenApi {
|
|
|
1520
1520
|
*/
|
|
1521
1521
|
getDasSQLLogHotData(request: $_model.GetDasSQLLogHotDataRequest): Promise<$_model.GetDasSQLLogHotDataResponse>;
|
|
1522
1522
|
/**
|
|
1523
|
-
*
|
|
1523
|
+
* Queries the details of a deadlock.
|
|
1524
1524
|
*
|
|
1525
1525
|
* @param request - GetDeadLockDetailRequest
|
|
1526
1526
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1528,7 +1528,7 @@ export default class Client extends OpenApi {
|
|
|
1528
1528
|
*/
|
|
1529
1529
|
getDeadLockDetailWithOptions(request: $_model.GetDeadLockDetailRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetDeadLockDetailResponse>;
|
|
1530
1530
|
/**
|
|
1531
|
-
*
|
|
1531
|
+
* Queries the details of a deadlock.
|
|
1532
1532
|
*
|
|
1533
1533
|
* @param request - GetDeadLockDetailRequest
|
|
1534
1534
|
* @returns GetDeadLockDetailResponse
|
|
@@ -1560,7 +1560,7 @@ export default class Client extends OpenApi {
|
|
|
1560
1560
|
*/
|
|
1561
1561
|
getDeadLockDetailList(request: $_model.GetDeadLockDetailListRequest): Promise<$_model.GetDeadLockDetailListResponse>;
|
|
1562
1562
|
/**
|
|
1563
|
-
*
|
|
1563
|
+
* Queries the historical tasks of recent deadlock analysis and full deadlock analysis.
|
|
1564
1564
|
*
|
|
1565
1565
|
* @param request - GetDeadLockHistoryRequest
|
|
1566
1566
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1568,14 +1568,14 @@ export default class Client extends OpenApi {
|
|
|
1568
1568
|
*/
|
|
1569
1569
|
getDeadLockHistoryWithOptions(request: $_model.GetDeadLockHistoryRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetDeadLockHistoryResponse>;
|
|
1570
1570
|
/**
|
|
1571
|
-
*
|
|
1571
|
+
* Queries the historical tasks of recent deadlock analysis and full deadlock analysis.
|
|
1572
1572
|
*
|
|
1573
1573
|
* @param request - GetDeadLockHistoryRequest
|
|
1574
1574
|
* @returns GetDeadLockHistoryResponse
|
|
1575
1575
|
*/
|
|
1576
1576
|
getDeadLockHistory(request: $_model.GetDeadLockHistoryRequest): Promise<$_model.GetDeadLockHistoryResponse>;
|
|
1577
1577
|
/**
|
|
1578
|
-
*
|
|
1578
|
+
* Queries the trend of the number of deadlocks in full deadlock analysis within a specified period of time.
|
|
1579
1579
|
*
|
|
1580
1580
|
* @param request - GetDeadlockHistogramRequest
|
|
1581
1581
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1583,7 +1583,7 @@ export default class Client extends OpenApi {
|
|
|
1583
1583
|
*/
|
|
1584
1584
|
getDeadlockHistogramWithOptions(request: $_model.GetDeadlockHistogramRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetDeadlockHistogramResponse>;
|
|
1585
1585
|
/**
|
|
1586
|
-
*
|
|
1586
|
+
* Queries the trend of the number of deadlocks in full deadlock analysis within a specified period of time.
|
|
1587
1587
|
*
|
|
1588
1588
|
* @param request - GetDeadlockHistogramRequest
|
|
1589
1589
|
* @returns GetDeadlockHistogramResponse
|
|
@@ -2580,6 +2580,29 @@ export default class Client extends OpenApi {
|
|
|
2580
2580
|
* @returns GetStorageAnalysisResultResponse
|
|
2581
2581
|
*/
|
|
2582
2582
|
getStorageAnalysisResult(request: $_model.GetStorageAnalysisResultRequest): Promise<$_model.GetStorageAnalysisResultResponse>;
|
|
2583
|
+
/**
|
|
2584
|
+
* 瑶池AI助理大模型能力接口
|
|
2585
|
+
*
|
|
2586
|
+
* @param request - GetYaoChiAgentRequest
|
|
2587
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2588
|
+
* @returns GetYaoChiAgentResponse
|
|
2589
|
+
*/
|
|
2590
|
+
getYaoChiAgentWithSSE(request: $_model.GetYaoChiAgentRequest, runtime: $dara.RuntimeOptions): AsyncGenerator<$_model.GetYaoChiAgentResponse, any, unknown>;
|
|
2591
|
+
/**
|
|
2592
|
+
* 瑶池AI助理大模型能力接口
|
|
2593
|
+
*
|
|
2594
|
+
* @param request - GetYaoChiAgentRequest
|
|
2595
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2596
|
+
* @returns GetYaoChiAgentResponse
|
|
2597
|
+
*/
|
|
2598
|
+
getYaoChiAgentWithOptions(request: $_model.GetYaoChiAgentRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetYaoChiAgentResponse>;
|
|
2599
|
+
/**
|
|
2600
|
+
* 瑶池AI助理大模型能力接口
|
|
2601
|
+
*
|
|
2602
|
+
* @param request - GetYaoChiAgentRequest
|
|
2603
|
+
* @returns GetYaoChiAgentResponse
|
|
2604
|
+
*/
|
|
2605
|
+
getYaoChiAgent(request: $_model.GetYaoChiAgentRequest): Promise<$_model.GetYaoChiAgentResponse>;
|
|
2583
2606
|
/**
|
|
2584
2607
|
* Terminates all sessions on an instance.
|
|
2585
2608
|
*
|
package/dist/client.js
CHANGED
|
@@ -548,7 +548,7 @@ class Client extends openapi_core_1.default {
|
|
|
548
548
|
return await this.createKillInstanceSessionTaskWithMaintainUserWithOptions(request, runtime);
|
|
549
549
|
}
|
|
550
550
|
/**
|
|
551
|
-
*
|
|
551
|
+
* Creates a recent deadlock analysis task.
|
|
552
552
|
*
|
|
553
553
|
* @param request - CreateLatestDeadLockAnalysisRequest
|
|
554
554
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -580,7 +580,7 @@ class Client extends openapi_core_1.default {
|
|
|
580
580
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateLatestDeadLockAnalysisResponse({}));
|
|
581
581
|
}
|
|
582
582
|
/**
|
|
583
|
-
*
|
|
583
|
+
* Creates a recent deadlock analysis task.
|
|
584
584
|
*
|
|
585
585
|
* @param request - CreateLatestDeadLockAnalysisRequest
|
|
586
586
|
* @returns CreateLatestDeadLockAnalysisResponse
|
|
@@ -1714,7 +1714,7 @@ class Client extends openapi_core_1.default {
|
|
|
1714
1714
|
return await this.describeInstanceDasProWithOptions(request, runtime);
|
|
1715
1715
|
}
|
|
1716
1716
|
/**
|
|
1717
|
-
*
|
|
1717
|
+
* Queries the execution plan of an SQL statement.
|
|
1718
1718
|
*
|
|
1719
1719
|
* @param request - DescribeQueryExplainRequest
|
|
1720
1720
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1755,7 +1755,7 @@ class Client extends openapi_core_1.default {
|
|
|
1755
1755
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeQueryExplainResponse({}));
|
|
1756
1756
|
}
|
|
1757
1757
|
/**
|
|
1758
|
-
*
|
|
1758
|
+
* Queries the execution plan of an SQL statement.
|
|
1759
1759
|
*
|
|
1760
1760
|
* @param request - DescribeQueryExplainRequest
|
|
1761
1761
|
* @returns DescribeQueryExplainResponse
|
|
@@ -1846,7 +1846,7 @@ class Client extends openapi_core_1.default {
|
|
|
1846
1846
|
return await this.describeSecurityIPGroupRelationWithOptions(request, runtime);
|
|
1847
1847
|
}
|
|
1848
1848
|
/**
|
|
1849
|
-
*
|
|
1849
|
+
* Asynchronously queries the trend data of slow query logs of an instance.
|
|
1850
1850
|
*
|
|
1851
1851
|
* @param request - DescribeSlowLogHistogramAsyncRequest
|
|
1852
1852
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1887,7 +1887,7 @@ class Client extends openapi_core_1.default {
|
|
|
1887
1887
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeSlowLogHistogramAsyncResponse({}));
|
|
1888
1888
|
}
|
|
1889
1889
|
/**
|
|
1890
|
-
*
|
|
1890
|
+
* Asynchronously queries the trend data of slow query logs of an instance.
|
|
1891
1891
|
*
|
|
1892
1892
|
* @param request - DescribeSlowLogHistogramAsyncRequest
|
|
1893
1893
|
* @returns DescribeSlowLogHistogramAsyncResponse
|
|
@@ -1897,7 +1897,7 @@ class Client extends openapi_core_1.default {
|
|
|
1897
1897
|
return await this.describeSlowLogHistogramAsyncWithOptions(request, runtime);
|
|
1898
1898
|
}
|
|
1899
1899
|
/**
|
|
1900
|
-
*
|
|
1900
|
+
* Queries the slow logs of a database instance. You can filter and sort data by multiple conditions.
|
|
1901
1901
|
*
|
|
1902
1902
|
* @param request - DescribeSlowLogRecordsRequest
|
|
1903
1903
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1952,7 +1952,7 @@ class Client extends openapi_core_1.default {
|
|
|
1952
1952
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeSlowLogRecordsResponse({}));
|
|
1953
1953
|
}
|
|
1954
1954
|
/**
|
|
1955
|
-
*
|
|
1955
|
+
* Queries the slow logs of a database instance. You can filter and sort data by multiple conditions.
|
|
1956
1956
|
*
|
|
1957
1957
|
* @param request - DescribeSlowLogRecordsRequest
|
|
1958
1958
|
* @returns DescribeSlowLogRecordsResponse
|
|
@@ -1962,7 +1962,7 @@ class Client extends openapi_core_1.default {
|
|
|
1962
1962
|
return await this.describeSlowLogRecordsWithOptions(request, runtime);
|
|
1963
1963
|
}
|
|
1964
1964
|
/**
|
|
1965
|
-
*
|
|
1965
|
+
* Queries statistical information about slow query logs.
|
|
1966
1966
|
*
|
|
1967
1967
|
* @param request - DescribeSlowLogStatisticRequest
|
|
1968
1968
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2021,7 +2021,7 @@ class Client extends openapi_core_1.default {
|
|
|
2021
2021
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeSlowLogStatisticResponse({}));
|
|
2022
2022
|
}
|
|
2023
2023
|
/**
|
|
2024
|
-
*
|
|
2024
|
+
* Queries statistical information about slow query logs.
|
|
2025
2025
|
*
|
|
2026
2026
|
* @param request - DescribeSlowLogStatisticRequest
|
|
2027
2027
|
* @returns DescribeSlowLogStatisticResponse
|
|
@@ -3556,12 +3556,16 @@ class Client extends openapi_core_1.default {
|
|
|
3556
3556
|
_c = sseResp_1_1.value;
|
|
3557
3557
|
_d = false;
|
|
3558
3558
|
let resp = _c;
|
|
3559
|
-
|
|
3560
|
-
|
|
3561
|
-
|
|
3562
|
-
|
|
3563
|
-
|
|
3564
|
-
|
|
3559
|
+
if (!$dara.isNull(resp.event) && !$dara.isNull(resp.event.data)) {
|
|
3560
|
+
let data = JSON.parse(resp.event.data);
|
|
3561
|
+
yield yield __await($dara.cast({
|
|
3562
|
+
statusCode: resp.statusCode,
|
|
3563
|
+
headers: resp.headers,
|
|
3564
|
+
id: resp.event.id,
|
|
3565
|
+
event: resp.event.event,
|
|
3566
|
+
body: data,
|
|
3567
|
+
}, new $_model.GetDasAgentSSEResponse({})));
|
|
3568
|
+
}
|
|
3565
3569
|
}
|
|
3566
3570
|
}
|
|
3567
3571
|
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
@@ -3812,7 +3816,7 @@ class Client extends openapi_core_1.default {
|
|
|
3812
3816
|
return await this.getDasSQLLogHotDataWithOptions(request, runtime);
|
|
3813
3817
|
}
|
|
3814
3818
|
/**
|
|
3815
|
-
*
|
|
3819
|
+
* Queries the details of a deadlock.
|
|
3816
3820
|
*
|
|
3817
3821
|
* @param request - GetDeadLockDetailRequest
|
|
3818
3822
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3850,7 +3854,7 @@ class Client extends openapi_core_1.default {
|
|
|
3850
3854
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetDeadLockDetailResponse({}));
|
|
3851
3855
|
}
|
|
3852
3856
|
/**
|
|
3853
|
-
*
|
|
3857
|
+
* Queries the details of a deadlock.
|
|
3854
3858
|
*
|
|
3855
3859
|
* @param request - GetDeadLockDetailRequest
|
|
3856
3860
|
* @returns GetDeadLockDetailResponse
|
|
@@ -3924,7 +3928,7 @@ class Client extends openapi_core_1.default {
|
|
|
3924
3928
|
return await this.getDeadLockDetailListWithOptions(request, runtime);
|
|
3925
3929
|
}
|
|
3926
3930
|
/**
|
|
3927
|
-
*
|
|
3931
|
+
* Queries the historical tasks of recent deadlock analysis and full deadlock analysis.
|
|
3928
3932
|
*
|
|
3929
3933
|
* @param request - GetDeadLockHistoryRequest
|
|
3930
3934
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3971,7 +3975,7 @@ class Client extends openapi_core_1.default {
|
|
|
3971
3975
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetDeadLockHistoryResponse({}));
|
|
3972
3976
|
}
|
|
3973
3977
|
/**
|
|
3974
|
-
*
|
|
3978
|
+
* Queries the historical tasks of recent deadlock analysis and full deadlock analysis.
|
|
3975
3979
|
*
|
|
3976
3980
|
* @param request - GetDeadLockHistoryRequest
|
|
3977
3981
|
* @returns GetDeadLockHistoryResponse
|
|
@@ -3981,7 +3985,7 @@ class Client extends openapi_core_1.default {
|
|
|
3981
3985
|
return await this.getDeadLockHistoryWithOptions(request, runtime);
|
|
3982
3986
|
}
|
|
3983
3987
|
/**
|
|
3984
|
-
*
|
|
3988
|
+
* Queries the trend of the number of deadlocks in full deadlock analysis within a specified period of time.
|
|
3985
3989
|
*
|
|
3986
3990
|
* @param request - GetDeadlockHistogramRequest
|
|
3987
3991
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4022,7 +4026,7 @@ class Client extends openapi_core_1.default {
|
|
|
4022
4026
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetDeadlockHistogramResponse({}));
|
|
4023
4027
|
}
|
|
4024
4028
|
/**
|
|
4025
|
-
*
|
|
4029
|
+
* Queries the trend of the number of deadlocks in full deadlock analysis within a specified period of time.
|
|
4026
4030
|
*
|
|
4027
4031
|
* @param request - GetDeadlockHistogramRequest
|
|
4028
4032
|
* @returns GetDeadlockHistogramResponse
|
|
@@ -6381,6 +6385,119 @@ class Client extends openapi_core_1.default {
|
|
|
6381
6385
|
let runtime = new $dara.RuntimeOptions({});
|
|
6382
6386
|
return await this.getStorageAnalysisResultWithOptions(request, runtime);
|
|
6383
6387
|
}
|
|
6388
|
+
/**
|
|
6389
|
+
* 瑶池AI助理大模型能力接口
|
|
6390
|
+
*
|
|
6391
|
+
* @param request - GetYaoChiAgentRequest
|
|
6392
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
6393
|
+
* @returns GetYaoChiAgentResponse
|
|
6394
|
+
*/
|
|
6395
|
+
getYaoChiAgentWithSSE(request, runtime) {
|
|
6396
|
+
return __asyncGenerator(this, arguments, function* getYaoChiAgentWithSSE_1() {
|
|
6397
|
+
var _a, e_2, _b, _c;
|
|
6398
|
+
request.validate();
|
|
6399
|
+
let query = {};
|
|
6400
|
+
if (!$dara.isNull(request.extraInfo)) {
|
|
6401
|
+
query["ExtraInfo"] = request.extraInfo;
|
|
6402
|
+
}
|
|
6403
|
+
if (!$dara.isNull(request.query)) {
|
|
6404
|
+
query["Query"] = request.query;
|
|
6405
|
+
}
|
|
6406
|
+
if (!$dara.isNull(request.sessionId)) {
|
|
6407
|
+
query["SessionId"] = request.sessionId;
|
|
6408
|
+
}
|
|
6409
|
+
if (!$dara.isNull(request.source)) {
|
|
6410
|
+
query["Source"] = request.source;
|
|
6411
|
+
}
|
|
6412
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
6413
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
6414
|
+
});
|
|
6415
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
6416
|
+
action: "GetYaoChiAgent",
|
|
6417
|
+
version: "2020-01-16",
|
|
6418
|
+
protocol: "HTTPS",
|
|
6419
|
+
pathname: "/",
|
|
6420
|
+
method: "POST",
|
|
6421
|
+
authType: "AK",
|
|
6422
|
+
style: "RPC",
|
|
6423
|
+
reqBodyType: "formData",
|
|
6424
|
+
bodyType: "json",
|
|
6425
|
+
});
|
|
6426
|
+
let sseResp = yield __await(this.callSSEApi(params, req, runtime));
|
|
6427
|
+
try {
|
|
6428
|
+
for (var _d = true, sseResp_2 = __asyncValues(sseResp), sseResp_2_1; sseResp_2_1 = yield __await(sseResp_2.next()), _a = sseResp_2_1.done, !_a; _d = true) {
|
|
6429
|
+
_c = sseResp_2_1.value;
|
|
6430
|
+
_d = false;
|
|
6431
|
+
let resp = _c;
|
|
6432
|
+
if (!$dara.isNull(resp.event) && !$dara.isNull(resp.event.data)) {
|
|
6433
|
+
let data = JSON.parse(resp.event.data);
|
|
6434
|
+
yield yield __await($dara.cast({
|
|
6435
|
+
statusCode: resp.statusCode,
|
|
6436
|
+
headers: resp.headers,
|
|
6437
|
+
id: resp.event.id,
|
|
6438
|
+
event: resp.event.event,
|
|
6439
|
+
body: data,
|
|
6440
|
+
}, new $_model.GetYaoChiAgentResponse({})));
|
|
6441
|
+
}
|
|
6442
|
+
}
|
|
6443
|
+
}
|
|
6444
|
+
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
|
6445
|
+
finally {
|
|
6446
|
+
try {
|
|
6447
|
+
if (!_d && !_a && (_b = sseResp_2.return)) yield __await(_b.call(sseResp_2));
|
|
6448
|
+
}
|
|
6449
|
+
finally { if (e_2) throw e_2.error; }
|
|
6450
|
+
}
|
|
6451
|
+
});
|
|
6452
|
+
}
|
|
6453
|
+
/**
|
|
6454
|
+
* 瑶池AI助理大模型能力接口
|
|
6455
|
+
*
|
|
6456
|
+
* @param request - GetYaoChiAgentRequest
|
|
6457
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
6458
|
+
* @returns GetYaoChiAgentResponse
|
|
6459
|
+
*/
|
|
6460
|
+
async getYaoChiAgentWithOptions(request, runtime) {
|
|
6461
|
+
request.validate();
|
|
6462
|
+
let query = {};
|
|
6463
|
+
if (!$dara.isNull(request.extraInfo)) {
|
|
6464
|
+
query["ExtraInfo"] = request.extraInfo;
|
|
6465
|
+
}
|
|
6466
|
+
if (!$dara.isNull(request.query)) {
|
|
6467
|
+
query["Query"] = request.query;
|
|
6468
|
+
}
|
|
6469
|
+
if (!$dara.isNull(request.sessionId)) {
|
|
6470
|
+
query["SessionId"] = request.sessionId;
|
|
6471
|
+
}
|
|
6472
|
+
if (!$dara.isNull(request.source)) {
|
|
6473
|
+
query["Source"] = request.source;
|
|
6474
|
+
}
|
|
6475
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
6476
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
6477
|
+
});
|
|
6478
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
6479
|
+
action: "GetYaoChiAgent",
|
|
6480
|
+
version: "2020-01-16",
|
|
6481
|
+
protocol: "HTTPS",
|
|
6482
|
+
pathname: "/",
|
|
6483
|
+
method: "POST",
|
|
6484
|
+
authType: "AK",
|
|
6485
|
+
style: "RPC",
|
|
6486
|
+
reqBodyType: "formData",
|
|
6487
|
+
bodyType: "json",
|
|
6488
|
+
});
|
|
6489
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetYaoChiAgentResponse({}));
|
|
6490
|
+
}
|
|
6491
|
+
/**
|
|
6492
|
+
* 瑶池AI助理大模型能力接口
|
|
6493
|
+
*
|
|
6494
|
+
* @param request - GetYaoChiAgentRequest
|
|
6495
|
+
* @returns GetYaoChiAgentResponse
|
|
6496
|
+
*/
|
|
6497
|
+
async getYaoChiAgent(request) {
|
|
6498
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
6499
|
+
return await this.getYaoChiAgentWithOptions(request, runtime);
|
|
6500
|
+
}
|
|
6384
6501
|
/**
|
|
6385
6502
|
* Terminates all sessions on an instance.
|
|
6386
6503
|
*
|