@alicloud/polardb20170801 7.8.0 → 7.9.0
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 +45 -0
- package/dist/client.js +132 -0
- package/dist/client.js.map +1 -1
- package/dist/models/CreateApplicationAgentRelationRequest.d.ts +43 -0
- package/dist/models/CreateApplicationAgentRelationRequest.js +62 -0
- package/dist/models/CreateApplicationAgentRelationRequest.js.map +1 -0
- package/dist/models/CreateApplicationAgentRelationResponse.d.ts +19 -0
- package/dist/models/CreateApplicationAgentRelationResponse.js +69 -0
- package/dist/models/CreateApplicationAgentRelationResponse.js.map +1 -0
- package/dist/models/CreateApplicationAgentRelationResponseBody.d.ts +29 -0
- package/dist/models/CreateApplicationAgentRelationResponseBody.js +60 -0
- package/dist/models/CreateApplicationAgentRelationResponseBody.js.map +1 -0
- package/dist/models/GetLakebaseTenantTokenRequest.d.ts +49 -0
- package/dist/models/GetLakebaseTenantTokenRequest.js +64 -0
- package/dist/models/GetLakebaseTenantTokenRequest.js.map +1 -0
- package/dist/models/GetLakebaseTenantTokenResponse.d.ts +19 -0
- package/dist/models/GetLakebaseTenantTokenResponse.js +69 -0
- package/dist/models/GetLakebaseTenantTokenResponse.js.map +1 -0
- package/dist/models/GetLakebaseTenantTokenResponseBody.d.ts +61 -0
- package/dist/models/GetLakebaseTenantTokenResponseBody.js +68 -0
- package/dist/models/GetLakebaseTenantTokenResponseBody.js.map +1 -0
- package/dist/models/RestartAidbclusterRequest.d.ts +21 -0
- package/dist/models/RestartAidbclusterRequest.js +58 -0
- package/dist/models/RestartAidbclusterRequest.js.map +1 -0
- package/dist/models/RestartAidbclusterResponse.d.ts +19 -0
- package/dist/models/RestartAidbclusterResponse.js +69 -0
- package/dist/models/RestartAidbclusterResponse.js.map +1 -0
- package/dist/models/RestartAidbclusterResponseBody.d.ts +21 -0
- package/dist/models/RestartAidbclusterResponseBody.js +58 -0
- package/dist/models/RestartAidbclusterResponseBody.js.map +1 -0
- package/dist/models/model.d.ts +9 -0
- package/dist/models/model.js +43 -24
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +146 -0
- package/src/models/CreateApplicationAgentRelationRequest.ts +60 -0
- package/src/models/CreateApplicationAgentRelationResponse.ts +40 -0
- package/src/models/CreateApplicationAgentRelationResponseBody.ts +44 -0
- package/src/models/GetLakebaseTenantTokenRequest.ts +68 -0
- package/src/models/GetLakebaseTenantTokenResponse.ts +40 -0
- package/src/models/GetLakebaseTenantTokenResponseBody.ts +84 -0
- package/src/models/RestartAidbclusterRequest.ts +34 -0
- package/src/models/RestartAidbclusterResponse.ts +40 -0
- package/src/models/RestartAidbclusterResponseBody.ts +34 -0
- package/src/models/model.ts +9 -0
package/dist/client.d.ts
CHANGED
|
@@ -684,6 +684,21 @@ export default class Client extends OpenApi {
|
|
|
684
684
|
* @returns CreateApplicationResponse
|
|
685
685
|
*/
|
|
686
686
|
createApplication(request: $_model.CreateApplicationRequest): Promise<$_model.CreateApplicationResponse>;
|
|
687
|
+
/**
|
|
688
|
+
* Binds an Agent to a Squad.
|
|
689
|
+
*
|
|
690
|
+
* @param request - CreateApplicationAgentRelationRequest
|
|
691
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
692
|
+
* @returns CreateApplicationAgentRelationResponse
|
|
693
|
+
*/
|
|
694
|
+
createApplicationAgentRelationWithOptions(request: $_model.CreateApplicationAgentRelationRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateApplicationAgentRelationResponse>;
|
|
695
|
+
/**
|
|
696
|
+
* Binds an Agent to a Squad.
|
|
697
|
+
*
|
|
698
|
+
* @param request - CreateApplicationAgentRelationRequest
|
|
699
|
+
* @returns CreateApplicationAgentRelationResponse
|
|
700
|
+
*/
|
|
701
|
+
createApplicationAgentRelation(request: $_model.CreateApplicationAgentRelationRequest): Promise<$_model.CreateApplicationAgentRelationResponse>;
|
|
687
702
|
/**
|
|
688
703
|
* Creates a connection address for a specified application.
|
|
689
704
|
*
|
|
@@ -5051,6 +5066,21 @@ export default class Client extends OpenApi {
|
|
|
5051
5066
|
* @returns GenerateUpgradeReportForSyncCloneResponse
|
|
5052
5067
|
*/
|
|
5053
5068
|
generateUpgradeReportForSyncClone(request: $_model.GenerateUpgradeReportForSyncCloneRequest): Promise<$_model.GenerateUpgradeReportForSyncCloneResponse>;
|
|
5069
|
+
/**
|
|
5070
|
+
* Retrieves the Lakebase tenant token (SPG tenant mount URL).
|
|
5071
|
+
*
|
|
5072
|
+
* @param request - GetLakebaseTenantTokenRequest
|
|
5073
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5074
|
+
* @returns GetLakebaseTenantTokenResponse
|
|
5075
|
+
*/
|
|
5076
|
+
getLakebaseTenantTokenWithOptions(request: $_model.GetLakebaseTenantTokenRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetLakebaseTenantTokenResponse>;
|
|
5077
|
+
/**
|
|
5078
|
+
* Retrieves the Lakebase tenant token (SPG tenant mount URL).
|
|
5079
|
+
*
|
|
5080
|
+
* @param request - GetLakebaseTenantTokenRequest
|
|
5081
|
+
* @returns GetLakebaseTenantTokenResponse
|
|
5082
|
+
*/
|
|
5083
|
+
getLakebaseTenantToken(request: $_model.GetLakebaseTenantTokenRequest): Promise<$_model.GetLakebaseTenantTokenResponse>;
|
|
5054
5084
|
/**
|
|
5055
5085
|
* Creates a chat record.
|
|
5056
5086
|
*
|
|
@@ -6662,6 +6692,21 @@ export default class Client extends OpenApi {
|
|
|
6662
6692
|
* @returns ResetGlobalDatabaseNetworkResponse
|
|
6663
6693
|
*/
|
|
6664
6694
|
resetGlobalDatabaseNetwork(request: $_model.ResetGlobalDatabaseNetworkRequest): Promise<$_model.ResetGlobalDatabaseNetworkResponse>;
|
|
6695
|
+
/**
|
|
6696
|
+
* Restarts an AI cluster.
|
|
6697
|
+
*
|
|
6698
|
+
* @param request - RestartAIDBClusterRequest
|
|
6699
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
6700
|
+
* @returns RestartAIDBClusterResponse
|
|
6701
|
+
*/
|
|
6702
|
+
restartAIDBClusterWithOptions(request: $_model.RestartAIDBClusterRequest, runtime: $dara.RuntimeOptions): Promise<$_model.RestartAIDBClusterResponse>;
|
|
6703
|
+
/**
|
|
6704
|
+
* Restarts an AI cluster.
|
|
6705
|
+
*
|
|
6706
|
+
* @param request - RestartAIDBClusterRequest
|
|
6707
|
+
* @returns RestartAIDBClusterResponse
|
|
6708
|
+
*/
|
|
6709
|
+
restartAIDBCluster(request: $_model.RestartAIDBClusterRequest): Promise<$_model.RestartAIDBClusterResponse>;
|
|
6665
6710
|
/**
|
|
6666
6711
|
* Restarts database links.
|
|
6667
6712
|
*
|
package/dist/client.js
CHANGED
|
@@ -2559,6 +2559,51 @@ class Client extends openapi_core_1.default {
|
|
|
2559
2559
|
let runtime = new $dara.RuntimeOptions({});
|
|
2560
2560
|
return await this.createApplicationWithOptions(request, runtime);
|
|
2561
2561
|
}
|
|
2562
|
+
/**
|
|
2563
|
+
* Binds an Agent to a Squad.
|
|
2564
|
+
*
|
|
2565
|
+
* @param request - CreateApplicationAgentRelationRequest
|
|
2566
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2567
|
+
* @returns CreateApplicationAgentRelationResponse
|
|
2568
|
+
*/
|
|
2569
|
+
async createApplicationAgentRelationWithOptions(request, runtime) {
|
|
2570
|
+
request.validate();
|
|
2571
|
+
let query = {};
|
|
2572
|
+
if (!$dara.isNull(request.agentId)) {
|
|
2573
|
+
query["AgentId"] = request.agentId;
|
|
2574
|
+
}
|
|
2575
|
+
if (!$dara.isNull(request.applicationId)) {
|
|
2576
|
+
query["ApplicationId"] = request.applicationId;
|
|
2577
|
+
}
|
|
2578
|
+
if (!$dara.isNull(request.token)) {
|
|
2579
|
+
query["Token"] = request.token;
|
|
2580
|
+
}
|
|
2581
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
2582
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
2583
|
+
});
|
|
2584
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
2585
|
+
action: "CreateApplicationAgentRelation",
|
|
2586
|
+
version: "2017-08-01",
|
|
2587
|
+
protocol: "HTTPS",
|
|
2588
|
+
pathname: "/",
|
|
2589
|
+
method: "POST",
|
|
2590
|
+
authType: "AK",
|
|
2591
|
+
style: "RPC",
|
|
2592
|
+
reqBodyType: "formData",
|
|
2593
|
+
bodyType: "json",
|
|
2594
|
+
});
|
|
2595
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateApplicationAgentRelationResponse({}));
|
|
2596
|
+
}
|
|
2597
|
+
/**
|
|
2598
|
+
* Binds an Agent to a Squad.
|
|
2599
|
+
*
|
|
2600
|
+
* @param request - CreateApplicationAgentRelationRequest
|
|
2601
|
+
* @returns CreateApplicationAgentRelationResponse
|
|
2602
|
+
*/
|
|
2603
|
+
async createApplicationAgentRelation(request) {
|
|
2604
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
2605
|
+
return await this.createApplicationAgentRelationWithOptions(request, runtime);
|
|
2606
|
+
}
|
|
2562
2607
|
/**
|
|
2563
2608
|
* Creates a connection address for a specified application.
|
|
2564
2609
|
*
|
|
@@ -17994,6 +18039,54 @@ class Client extends openapi_core_1.default {
|
|
|
17994
18039
|
let runtime = new $dara.RuntimeOptions({});
|
|
17995
18040
|
return await this.generateUpgradeReportForSyncCloneWithOptions(request, runtime);
|
|
17996
18041
|
}
|
|
18042
|
+
/**
|
|
18043
|
+
* Retrieves the Lakebase tenant token (SPG tenant mount URL).
|
|
18044
|
+
*
|
|
18045
|
+
* @param request - GetLakebaseTenantTokenRequest
|
|
18046
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
18047
|
+
* @returns GetLakebaseTenantTokenResponse
|
|
18048
|
+
*/
|
|
18049
|
+
async getLakebaseTenantTokenWithOptions(request, runtime) {
|
|
18050
|
+
request.validate();
|
|
18051
|
+
let query = {};
|
|
18052
|
+
if (!$dara.isNull(request.DBClusterId)) {
|
|
18053
|
+
query["DBClusterId"] = request.DBClusterId;
|
|
18054
|
+
}
|
|
18055
|
+
if (!$dara.isNull(request.polarFsInstanceId)) {
|
|
18056
|
+
query["PolarFsInstanceId"] = request.polarFsInstanceId;
|
|
18057
|
+
}
|
|
18058
|
+
if (!$dara.isNull(request.subdir)) {
|
|
18059
|
+
query["Subdir"] = request.subdir;
|
|
18060
|
+
}
|
|
18061
|
+
if (!$dara.isNull(request.tenant)) {
|
|
18062
|
+
query["Tenant"] = request.tenant;
|
|
18063
|
+
}
|
|
18064
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
18065
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
18066
|
+
});
|
|
18067
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
18068
|
+
action: "GetLakebaseTenantToken",
|
|
18069
|
+
version: "2017-08-01",
|
|
18070
|
+
protocol: "HTTPS",
|
|
18071
|
+
pathname: "/",
|
|
18072
|
+
method: "POST",
|
|
18073
|
+
authType: "AK",
|
|
18074
|
+
style: "RPC",
|
|
18075
|
+
reqBodyType: "formData",
|
|
18076
|
+
bodyType: "json",
|
|
18077
|
+
});
|
|
18078
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetLakebaseTenantTokenResponse({}));
|
|
18079
|
+
}
|
|
18080
|
+
/**
|
|
18081
|
+
* Retrieves the Lakebase tenant token (SPG tenant mount URL).
|
|
18082
|
+
*
|
|
18083
|
+
* @param request - GetLakebaseTenantTokenRequest
|
|
18084
|
+
* @returns GetLakebaseTenantTokenResponse
|
|
18085
|
+
*/
|
|
18086
|
+
async getLakebaseTenantToken(request) {
|
|
18087
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
18088
|
+
return await this.getLakebaseTenantTokenWithOptions(request, runtime);
|
|
18089
|
+
}
|
|
17997
18090
|
/**
|
|
17998
18091
|
* Creates a chat record.
|
|
17999
18092
|
*
|
|
@@ -24084,6 +24177,45 @@ class Client extends openapi_core_1.default {
|
|
|
24084
24177
|
let runtime = new $dara.RuntimeOptions({});
|
|
24085
24178
|
return await this.resetGlobalDatabaseNetworkWithOptions(request, runtime);
|
|
24086
24179
|
}
|
|
24180
|
+
/**
|
|
24181
|
+
* Restarts an AI cluster.
|
|
24182
|
+
*
|
|
24183
|
+
* @param request - RestartAIDBClusterRequest
|
|
24184
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
24185
|
+
* @returns RestartAIDBClusterResponse
|
|
24186
|
+
*/
|
|
24187
|
+
async restartAIDBClusterWithOptions(request, runtime) {
|
|
24188
|
+
request.validate();
|
|
24189
|
+
let query = {};
|
|
24190
|
+
if (!$dara.isNull(request.DBClusterId)) {
|
|
24191
|
+
query["DBClusterId"] = request.DBClusterId;
|
|
24192
|
+
}
|
|
24193
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
24194
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
24195
|
+
});
|
|
24196
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
24197
|
+
action: "RestartAIDBCluster",
|
|
24198
|
+
version: "2017-08-01",
|
|
24199
|
+
protocol: "HTTPS",
|
|
24200
|
+
pathname: "/",
|
|
24201
|
+
method: "POST",
|
|
24202
|
+
authType: "AK",
|
|
24203
|
+
style: "RPC",
|
|
24204
|
+
reqBodyType: "formData",
|
|
24205
|
+
bodyType: "json",
|
|
24206
|
+
});
|
|
24207
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.RestartAIDBClusterResponse({}));
|
|
24208
|
+
}
|
|
24209
|
+
/**
|
|
24210
|
+
* Restarts an AI cluster.
|
|
24211
|
+
*
|
|
24212
|
+
* @param request - RestartAIDBClusterRequest
|
|
24213
|
+
* @returns RestartAIDBClusterResponse
|
|
24214
|
+
*/
|
|
24215
|
+
async restartAIDBCluster(request) {
|
|
24216
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
24217
|
+
return await this.restartAIDBClusterWithOptions(request, runtime);
|
|
24218
|
+
}
|
|
24087
24219
|
/**
|
|
24088
24220
|
* Restarts database links.
|
|
24089
24221
|
*
|