@alicloud/polardb20170801 7.4.0 → 7.6.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 +66 -40
- package/dist/client.js +245 -40
- package/dist/client.js.map +1 -1
- package/dist/models/CreateAidbclusterTaskRequest.d.ts +13 -17
- package/dist/models/CreateAidbclusterTaskRequest.js +2 -0
- package/dist/models/CreateAidbclusterTaskRequest.js.map +1 -1
- package/dist/models/CreateAidbclusterTaskResponseBody.d.ts +2 -2
- package/dist/models/CreateBackupRequest.d.ts +2 -1
- package/dist/models/CreateBackupRequest.js +2 -0
- package/dist/models/CreateBackupRequest.js.map +1 -1
- package/dist/models/CreateBackupResponseBody.d.ts +1 -1
- package/dist/models/DescribeAidbclusterAttributeResponseBody.d.ts +91 -18
- package/dist/models/DescribeAidbclusterAttributeResponseBody.js +127 -1
- package/dist/models/DescribeAidbclusterAttributeResponseBody.js.map +1 -1
- package/dist/models/DescribeAidbclusterTaskAttributeRequest.d.ts +3 -3
- package/dist/models/DescribeAidbclusterTaskAttributeResponseBody.d.ts +37 -45
- package/dist/models/DescribeAidbclusterTaskAttributeResponseBody.js +2 -0
- package/dist/models/DescribeAidbclusterTaskAttributeResponseBody.js.map +1 -1
- package/dist/models/DescribeAidbclusterTasksRequest.d.ts +2 -2
- package/dist/models/DescribeAidbclusterTasksResponseBody.d.ts +18 -17
- package/dist/models/DescribeAidbclusterTasksResponseBody.js +2 -0
- package/dist/models/DescribeAidbclusterTasksResponseBody.js.map +1 -1
- package/dist/models/DescribeApplicationLogsRequest.d.ts +10 -10
- package/dist/models/DescribeApplicationLogsResponseBody.d.ts +4 -6
- package/dist/models/DescribeApplicationLogsResponseBody.js +4 -0
- package/dist/models/DescribeApplicationLogsResponseBody.js.map +1 -1
- package/dist/models/DescribeApplicationPerformanceRequest.d.ts +4 -0
- package/dist/models/DescribeApplicationPerformanceRequest.js +8 -0
- package/dist/models/DescribeApplicationPerformanceRequest.js.map +1 -1
- package/dist/models/DescribeApplicationPerformanceResponseBody.d.ts +2 -0
- package/dist/models/DescribeApplicationPerformanceResponseBody.js +4 -0
- package/dist/models/DescribeApplicationPerformanceResponseBody.js.map +1 -1
- package/dist/models/DescribeApplicationSessionIdsRequest.d.ts +72 -0
- package/dist/models/DescribeApplicationSessionIdsRequest.js +74 -0
- package/dist/models/DescribeApplicationSessionIdsRequest.js.map +1 -0
- package/dist/models/DescribeApplicationSessionIdsResponse.d.ts +19 -0
- package/dist/models/DescribeApplicationSessionIdsResponse.js +69 -0
- package/dist/models/DescribeApplicationSessionIdsResponse.js.map +1 -0
- package/dist/models/DescribeApplicationSessionIdsResponseBody.d.ts +82 -0
- package/dist/models/DescribeApplicationSessionIdsResponseBody.js +116 -0
- package/dist/models/DescribeApplicationSessionIdsResponseBody.js.map +1 -0
- package/dist/models/DescribeAvailableModelsRequest.d.ts +1 -1
- package/dist/models/DescribeAvailableModelsResponseBody.d.ts +7 -6
- package/dist/models/DescribeAvailableModelsResponseBody.js +2 -0
- package/dist/models/DescribeAvailableModelsResponseBody.js.map +1 -1
- package/dist/models/DescribeBackupsRequest.d.ts +12 -19
- package/dist/models/DescribeBackupsRequest.js.map +1 -1
- package/dist/models/DescribeBackupsResponseBody.d.ts +5 -7
- package/dist/models/DescribeBackupsResponseBody.js +2 -0
- package/dist/models/DescribeBackupsResponseBody.js.map +1 -1
- package/dist/models/DescribeBudgetPoliciesRequest.d.ts +10 -14
- package/dist/models/DescribeBudgetPoliciesRequest.js +2 -0
- package/dist/models/DescribeBudgetPoliciesRequest.js.map +1 -1
- package/dist/models/DescribeBudgetPoliciesResponseBody.d.ts +18 -22
- package/dist/models/DescribeBudgetPoliciesResponseBody.js.map +1 -1
- package/dist/models/DescribeConsumersRequest.d.ts +10 -10
- package/dist/models/DescribeConsumersRequest.js +4 -0
- package/dist/models/DescribeConsumersRequest.js.map +1 -1
- package/dist/models/DescribeConsumersResponseBody.d.ts +17 -17
- package/dist/models/DescribeDbclusterAccessWhitelistRequest.d.ts +5 -0
- package/dist/models/DescribeDbclusterAccessWhitelistRequest.js +2 -0
- package/dist/models/DescribeDbclusterAccessWhitelistRequest.js.map +1 -1
- package/dist/models/DescribeDbclusterAttributeResponseBody.d.ts +84 -79
- package/dist/models/DescribeDbclusterAttributeResponseBody.js +10 -0
- package/dist/models/DescribeDbclusterAttributeResponseBody.js.map +1 -1
- package/dist/models/DescribeDbclusterPriceRequest.d.ts +244 -0
- package/dist/models/DescribeDbclusterPriceRequest.js +125 -0
- package/dist/models/DescribeDbclusterPriceRequest.js.map +1 -0
- package/dist/models/DescribeDbclusterPriceResponse.d.ts +19 -0
- package/dist/models/DescribeDbclusterPriceResponse.js +69 -0
- package/dist/models/DescribeDbclusterPriceResponse.js.map +1 -0
- package/dist/models/DescribeDbclusterPriceResponseBody.d.ts +161 -0
- package/dist/models/DescribeDbclusterPriceResponseBody.js +217 -0
- package/dist/models/DescribeDbclusterPriceResponseBody.js.map +1 -0
- package/dist/models/DescribeDbclusterPriceShrinkRequest.d.ts +216 -0
- package/dist/models/DescribeDbclusterPriceShrinkRequest.js +101 -0
- package/dist/models/DescribeDbclusterPriceShrinkRequest.js.map +1 -0
- package/dist/models/DescribeDbclusterSslrequest.d.ts +6 -2
- package/dist/models/DescribeDbclusterSslrequest.js +2 -0
- package/dist/models/DescribeDbclusterSslrequest.js.map +1 -1
- package/dist/models/DescribeDbclusterSslresponseBody.d.ts +13 -14
- package/dist/models/DescribeDbclusterSslresponseBody.js.map +1 -1
- package/dist/models/DescribePolarFsAttributeResponseBody.d.ts +75 -19
- package/dist/models/DescribePolarFsAttributeResponseBody.js +73 -1
- package/dist/models/DescribePolarFsAttributeResponseBody.js.map +1 -1
- package/dist/models/DescribePolarFsRequest.d.ts +39 -0
- package/dist/models/DescribePolarFsRequest.js.map +1 -1
- package/dist/models/DescribePolarFsResponseBody.d.ts +12 -0
- package/dist/models/DescribePolarFsResponseBody.js.map +1 -1
- package/dist/models/ModifyDbclusterAccessWhitelistRequest.d.ts +27 -32
- package/dist/models/ModifyDbclusterAccessWhitelistRequest.js +2 -0
- package/dist/models/ModifyDbclusterAccessWhitelistRequest.js.map +1 -1
- package/dist/models/ModifyDbclusterSslrequest.d.ts +28 -27
- package/dist/models/ModifyDbclusterSslrequest.js +4 -0
- package/dist/models/ModifyDbclusterSslrequest.js.map +1 -1
- package/dist/models/model.d.ts +23 -0
- package/dist/models/model.js +86 -40
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +294 -40
- package/src/models/CreateAidbclusterTaskRequest.ts +15 -17
- package/src/models/CreateAidbclusterTaskResponseBody.ts +2 -2
- package/src/models/CreateBackupRequest.ts +4 -1
- package/src/models/CreateBackupResponseBody.ts +1 -1
- package/src/models/DescribeAidbclusterAttributeResponseBody.ts +172 -18
- package/src/models/DescribeAidbclusterTaskAttributeRequest.ts +3 -3
- package/src/models/DescribeAidbclusterTaskAttributeResponseBody.ts +39 -45
- package/src/models/DescribeAidbclusterTasksRequest.ts +2 -2
- package/src/models/DescribeAidbclusterTasksResponseBody.ts +20 -17
- package/src/models/DescribeApplicationLogsRequest.ts +10 -10
- package/src/models/DescribeApplicationLogsResponseBody.ts +8 -6
- package/src/models/DescribeApplicationPerformanceRequest.ts +12 -0
- package/src/models/DescribeApplicationPerformanceResponseBody.ts +6 -0
- package/src/models/DescribeApplicationSessionIdsRequest.ts +101 -0
- package/src/models/DescribeApplicationSessionIdsResponse.ts +40 -0
- package/src/models/DescribeApplicationSessionIdsResponseBody.ts +135 -0
- package/src/models/DescribeAvailableModelsRequest.ts +1 -1
- package/src/models/DescribeAvailableModelsResponseBody.ts +9 -6
- package/src/models/DescribeBackupsRequest.ts +14 -21
- package/src/models/DescribeBackupsResponseBody.ts +7 -7
- package/src/models/DescribeBudgetPoliciesRequest.ts +13 -15
- package/src/models/DescribeBudgetPoliciesResponseBody.ts +19 -23
- package/src/models/DescribeConsumersRequest.ts +14 -10
- package/src/models/DescribeConsumersResponseBody.ts +17 -17
- package/src/models/DescribeDbclusterAccessWhitelistRequest.ts +7 -0
- package/src/models/DescribeDbclusterAttributeResponseBody.ts +94 -79
- package/src/models/DescribeDbclusterPriceRequest.ts +315 -0
- package/src/models/DescribeDbclusterPriceResponse.ts +40 -0
- package/src/models/DescribeDbclusterPriceResponseBody.ts +279 -0
- package/src/models/DescribeDbclusterPriceShrinkRequest.ts +272 -0
- package/src/models/DescribeDbclusterSslrequest.ts +8 -2
- package/src/models/DescribeDbclusterSslresponseBody.ts +13 -14
- package/src/models/DescribePolarFsAttributeResponseBody.ts +129 -19
- package/src/models/DescribePolarFsRequest.ts +39 -0
- package/src/models/DescribePolarFsResponseBody.ts +12 -0
- package/src/models/ModifyDbclusterAccessWhitelistRequest.ts +29 -32
- package/src/models/ModifyDbclusterSslrequest.ts +32 -27
- package/src/models/model.ts +23 -0
package/dist/client.js
CHANGED
|
@@ -1873,7 +1873,7 @@ class Client extends openapi_core_1.default {
|
|
|
1873
1873
|
return await this.createAIDBClusterDatasetWithOptions(request, runtime);
|
|
1874
1874
|
}
|
|
1875
1875
|
/**
|
|
1876
|
-
* Creates a model operator instance.
|
|
1876
|
+
* Creates a model creation operator instance.
|
|
1877
1877
|
*
|
|
1878
1878
|
* @param request - CreateAIDBClusterTaskRequest
|
|
1879
1879
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1930,6 +1930,9 @@ class Client extends openapi_core_1.default {
|
|
|
1930
1930
|
if (!$dara.isNull(request.taskName)) {
|
|
1931
1931
|
query["TaskName"] = request.taskName;
|
|
1932
1932
|
}
|
|
1933
|
+
if (!$dara.isNull(request.tuneArch)) {
|
|
1934
|
+
query["TuneArch"] = request.tuneArch;
|
|
1935
|
+
}
|
|
1933
1936
|
if (!$dara.isNull(request.VPCId)) {
|
|
1934
1937
|
query["VPCId"] = request.VPCId;
|
|
1935
1938
|
}
|
|
@@ -1956,7 +1959,7 @@ class Client extends openapi_core_1.default {
|
|
|
1956
1959
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateAIDBClusterTaskResponse({}));
|
|
1957
1960
|
}
|
|
1958
1961
|
/**
|
|
1959
|
-
* Creates a model operator instance.
|
|
1962
|
+
* Creates a model creation operator instance.
|
|
1960
1963
|
*
|
|
1961
1964
|
* @param request - CreateAIDBClusterTaskRequest
|
|
1962
1965
|
* @returns CreateAIDBClusterTaskResponse
|
|
@@ -2655,11 +2658,9 @@ class Client extends openapi_core_1.default {
|
|
|
2655
2658
|
* Creates a full snapshot backup for a PolarDB cluster.
|
|
2656
2659
|
*
|
|
2657
2660
|
* @remarks
|
|
2658
|
-
* >
|
|
2659
|
-
* >
|
|
2660
|
-
* >
|
|
2661
|
-
* >
|
|
2662
|
-
* > - After you call this operation, a backup job is created in the background. The job may take a long time to complete if the data volume is large.
|
|
2661
|
+
* > * Each cluster can have up to three manually created backups at the same time.
|
|
2662
|
+
* > * If the error message `Exceeding the daily backup times of this DB cluster` is returned, three manually created backups already exist in your cluster. [Delete backups](https://help.aliyun.com/document_detail/98101.html) before you call this operation.
|
|
2663
|
+
* > * After you call this operation, a backup task is created in the background. If the data volume is large, the backup may take a long time. Wait until the backup is complete.
|
|
2663
2664
|
*
|
|
2664
2665
|
* @param request - CreateBackupRequest
|
|
2665
2666
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2671,6 +2672,9 @@ class Client extends openapi_core_1.default {
|
|
|
2671
2672
|
if (!$dara.isNull(request.clientToken)) {
|
|
2672
2673
|
query["ClientToken"] = request.clientToken;
|
|
2673
2674
|
}
|
|
2675
|
+
if (!$dara.isNull(request.comment)) {
|
|
2676
|
+
query["Comment"] = request.comment;
|
|
2677
|
+
}
|
|
2674
2678
|
if (!$dara.isNull(request.DBClusterId)) {
|
|
2675
2679
|
query["DBClusterId"] = request.DBClusterId;
|
|
2676
2680
|
}
|
|
@@ -2706,11 +2710,9 @@ class Client extends openapi_core_1.default {
|
|
|
2706
2710
|
* Creates a full snapshot backup for a PolarDB cluster.
|
|
2707
2711
|
*
|
|
2708
2712
|
* @remarks
|
|
2709
|
-
* >
|
|
2710
|
-
* >
|
|
2711
|
-
* >
|
|
2712
|
-
* >
|
|
2713
|
-
* > - After you call this operation, a backup job is created in the background. The job may take a long time to complete if the data volume is large.
|
|
2713
|
+
* > * Each cluster can have up to three manually created backups at the same time.
|
|
2714
|
+
* > * If the error message `Exceeding the daily backup times of this DB cluster` is returned, three manually created backups already exist in your cluster. [Delete backups](https://help.aliyun.com/document_detail/98101.html) before you call this operation.
|
|
2715
|
+
* > * After you call this operation, a backup task is created in the background. If the data volume is large, the backup may take a long time. Wait until the backup is complete.
|
|
2714
2716
|
*
|
|
2715
2717
|
* @param request - CreateBackupRequest
|
|
2716
2718
|
* @returns CreateBackupResponse
|
|
@@ -7800,7 +7802,7 @@ class Client extends openapi_core_1.default {
|
|
|
7800
7802
|
return await this.describeAIDBClusterPerformanceWithOptions(request, runtime);
|
|
7801
7803
|
}
|
|
7802
7804
|
/**
|
|
7803
|
-
*
|
|
7805
|
+
* Retrieves the details of a task instance.
|
|
7804
7806
|
*
|
|
7805
7807
|
* @param request - DescribeAIDBClusterTaskAttributeRequest
|
|
7806
7808
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7847,7 +7849,7 @@ class Client extends openapi_core_1.default {
|
|
|
7847
7849
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeAIDBClusterTaskAttributeResponse({}));
|
|
7848
7850
|
}
|
|
7849
7851
|
/**
|
|
7850
|
-
*
|
|
7852
|
+
* Retrieves the details of a task instance.
|
|
7851
7853
|
*
|
|
7852
7854
|
* @param request - DescribeAIDBClusterTaskAttributeRequest
|
|
7853
7855
|
* @returns DescribeAIDBClusterTaskAttributeResponse
|
|
@@ -7983,12 +7985,12 @@ class Client extends openapi_core_1.default {
|
|
|
7983
7985
|
return await this.describeAIDBClusterTaskMetricsWithOptions(request, runtime);
|
|
7984
7986
|
}
|
|
7985
7987
|
/**
|
|
7986
|
-
* Retrieves
|
|
7988
|
+
* Retrieves the list of model operators for a specified PolarDB database instance.
|
|
7987
7989
|
*
|
|
7988
7990
|
* @remarks
|
|
7989
|
-
* ##
|
|
7990
|
-
* - This
|
|
7991
|
-
* - Note: Ensure the
|
|
7991
|
+
* ## Description
|
|
7992
|
+
* - This operation supports filtering and returning the list of model operators based on the `RelativeDBClusterId` and `KubeType` parameters.
|
|
7993
|
+
* - Note: Ensure that the `RelativeDBClusterId` provided in the request matches an existing PolarDB database instance ID. Otherwise, data cannot be retrieved correctly.
|
|
7992
7994
|
*
|
|
7993
7995
|
* @param request - DescribeAIDBClusterTasksRequest
|
|
7994
7996
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8035,12 +8037,12 @@ class Client extends openapi_core_1.default {
|
|
|
8035
8037
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeAIDBClusterTasksResponse({}));
|
|
8036
8038
|
}
|
|
8037
8039
|
/**
|
|
8038
|
-
* Retrieves
|
|
8040
|
+
* Retrieves the list of model operators for a specified PolarDB database instance.
|
|
8039
8041
|
*
|
|
8040
8042
|
* @remarks
|
|
8041
|
-
* ##
|
|
8042
|
-
* - This
|
|
8043
|
-
* - Note: Ensure the
|
|
8043
|
+
* ## Description
|
|
8044
|
+
* - This operation supports filtering and returning the list of model operators based on the `RelativeDBClusterId` and `KubeType` parameters.
|
|
8045
|
+
* - Note: Ensure that the `RelativeDBClusterId` provided in the request matches an existing PolarDB database instance ID. Otherwise, data cannot be retrieved correctly.
|
|
8044
8046
|
*
|
|
8045
8047
|
* @param request - DescribeAIDBClusterTasksRequest
|
|
8046
8048
|
* @returns DescribeAIDBClusterTasksResponse
|
|
@@ -9149,7 +9151,7 @@ class Client extends openapi_core_1.default {
|
|
|
9149
9151
|
return await this.describeApplicationAttributeWithOptions(request, runtime);
|
|
9150
9152
|
}
|
|
9151
9153
|
/**
|
|
9152
|
-
*
|
|
9154
|
+
* Queries the log details of an AI application.
|
|
9153
9155
|
*
|
|
9154
9156
|
* @param request - DescribeApplicationLogsRequest
|
|
9155
9157
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -9217,7 +9219,7 @@ class Client extends openapi_core_1.default {
|
|
|
9217
9219
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeApplicationLogsResponse({}));
|
|
9218
9220
|
}
|
|
9219
9221
|
/**
|
|
9220
|
-
*
|
|
9222
|
+
* Queries the log details of an AI application.
|
|
9221
9223
|
*
|
|
9222
9224
|
* @param request - DescribeApplicationLogsRequest
|
|
9223
9225
|
* @returns DescribeApplicationLogsResponse
|
|
@@ -9292,6 +9294,12 @@ class Client extends openapi_core_1.default {
|
|
|
9292
9294
|
if (!$dara.isNull(request.consumerGroup)) {
|
|
9293
9295
|
query["ConsumerGroup"] = request.consumerGroup;
|
|
9294
9296
|
}
|
|
9297
|
+
if (!$dara.isNull(request.downsample)) {
|
|
9298
|
+
query["Downsample"] = request.downsample;
|
|
9299
|
+
}
|
|
9300
|
+
if (!$dara.isNull(request.endStep)) {
|
|
9301
|
+
query["EndStep"] = request.endStep;
|
|
9302
|
+
}
|
|
9295
9303
|
if (!$dara.isNull(request.endTime)) {
|
|
9296
9304
|
query["EndTime"] = request.endTime;
|
|
9297
9305
|
}
|
|
@@ -9301,9 +9309,15 @@ class Client extends openapi_core_1.default {
|
|
|
9301
9309
|
if (!$dara.isNull(request.key)) {
|
|
9302
9310
|
query["Key"] = request.key;
|
|
9303
9311
|
}
|
|
9312
|
+
if (!$dara.isNull(request.maxPoints)) {
|
|
9313
|
+
query["MaxPoints"] = request.maxPoints;
|
|
9314
|
+
}
|
|
9304
9315
|
if (!$dara.isNull(request.modelService)) {
|
|
9305
9316
|
query["ModelService"] = request.modelService;
|
|
9306
9317
|
}
|
|
9318
|
+
if (!$dara.isNull(request.startStep)) {
|
|
9319
|
+
query["StartStep"] = request.startStep;
|
|
9320
|
+
}
|
|
9307
9321
|
if (!$dara.isNull(request.startTime)) {
|
|
9308
9322
|
query["StartTime"] = request.startTime;
|
|
9309
9323
|
}
|
|
@@ -9417,6 +9431,69 @@ class Client extends openapi_core_1.default {
|
|
|
9417
9431
|
let runtime = new $dara.RuntimeOptions({});
|
|
9418
9432
|
return await this.describeApplicationServerlessConfWithOptions(request, runtime);
|
|
9419
9433
|
}
|
|
9434
|
+
/**
|
|
9435
|
+
* Queries AI application sessions.
|
|
9436
|
+
*
|
|
9437
|
+
* @param request - DescribeApplicationSessionIdsRequest
|
|
9438
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
9439
|
+
* @returns DescribeApplicationSessionIdsResponse
|
|
9440
|
+
*/
|
|
9441
|
+
async describeApplicationSessionIdsWithOptions(request, runtime) {
|
|
9442
|
+
request.validate();
|
|
9443
|
+
let query = {};
|
|
9444
|
+
if (!$dara.isNull(request.applicationId)) {
|
|
9445
|
+
query["ApplicationId"] = request.applicationId;
|
|
9446
|
+
}
|
|
9447
|
+
if (!$dara.isNull(request.endTime)) {
|
|
9448
|
+
query["EndTime"] = request.endTime;
|
|
9449
|
+
}
|
|
9450
|
+
if (!$dara.isNull(request.ownerAccount)) {
|
|
9451
|
+
query["OwnerAccount"] = request.ownerAccount;
|
|
9452
|
+
}
|
|
9453
|
+
if (!$dara.isNull(request.ownerId)) {
|
|
9454
|
+
query["OwnerId"] = request.ownerId;
|
|
9455
|
+
}
|
|
9456
|
+
if (!$dara.isNull(request.pageNumber)) {
|
|
9457
|
+
query["PageNumber"] = request.pageNumber;
|
|
9458
|
+
}
|
|
9459
|
+
if (!$dara.isNull(request.pageSize)) {
|
|
9460
|
+
query["PageSize"] = request.pageSize;
|
|
9461
|
+
}
|
|
9462
|
+
if (!$dara.isNull(request.regionId)) {
|
|
9463
|
+
query["RegionId"] = request.regionId;
|
|
9464
|
+
}
|
|
9465
|
+
if (!$dara.isNull(request.resourceOwnerAccount)) {
|
|
9466
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
9467
|
+
}
|
|
9468
|
+
if (!$dara.isNull(request.startTime)) {
|
|
9469
|
+
query["StartTime"] = request.startTime;
|
|
9470
|
+
}
|
|
9471
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
9472
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
9473
|
+
});
|
|
9474
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
9475
|
+
action: "DescribeApplicationSessionIds",
|
|
9476
|
+
version: "2017-08-01",
|
|
9477
|
+
protocol: "HTTPS",
|
|
9478
|
+
pathname: "/",
|
|
9479
|
+
method: "POST",
|
|
9480
|
+
authType: "AK",
|
|
9481
|
+
style: "RPC",
|
|
9482
|
+
reqBodyType: "formData",
|
|
9483
|
+
bodyType: "json",
|
|
9484
|
+
});
|
|
9485
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeApplicationSessionIdsResponse({}));
|
|
9486
|
+
}
|
|
9487
|
+
/**
|
|
9488
|
+
* Queries AI application sessions.
|
|
9489
|
+
*
|
|
9490
|
+
* @param request - DescribeApplicationSessionIdsRequest
|
|
9491
|
+
* @returns DescribeApplicationSessionIdsResponse
|
|
9492
|
+
*/
|
|
9493
|
+
async describeApplicationSessionIds(request) {
|
|
9494
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
9495
|
+
return await this.describeApplicationSessionIdsWithOptions(request, runtime);
|
|
9496
|
+
}
|
|
9420
9497
|
/**
|
|
9421
9498
|
* Gets the list of applications for all PolarDB instances in a specified region.
|
|
9422
9499
|
*
|
|
@@ -9592,7 +9669,7 @@ class Client extends openapi_core_1.default {
|
|
|
9592
9669
|
return await this.describeAvailableCrossRegionsWithOptions(request, runtime);
|
|
9593
9670
|
}
|
|
9594
9671
|
/**
|
|
9595
|
-
*
|
|
9672
|
+
* Retrieves the list of AI cluster models.
|
|
9596
9673
|
*
|
|
9597
9674
|
* @param request - DescribeAvailableModelsRequest
|
|
9598
9675
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -9624,7 +9701,7 @@ class Client extends openapi_core_1.default {
|
|
|
9624
9701
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeAvailableModelsResponse({}));
|
|
9625
9702
|
}
|
|
9626
9703
|
/**
|
|
9627
|
-
*
|
|
9704
|
+
* Retrieves the list of AI cluster models.
|
|
9628
9705
|
*
|
|
9629
9706
|
* @param request - DescribeAvailableModelsRequest
|
|
9630
9707
|
* @returns DescribeAvailableModelsResponse
|
|
@@ -9859,7 +9936,7 @@ class Client extends openapi_core_1.default {
|
|
|
9859
9936
|
return await this.describeBackupTasksWithOptions(request, runtime);
|
|
9860
9937
|
}
|
|
9861
9938
|
/**
|
|
9862
|
-
* Queries backup information
|
|
9939
|
+
* Queries the backup information of a PolarDB cluster.
|
|
9863
9940
|
*
|
|
9864
9941
|
* @param request - DescribeBackupsRequest
|
|
9865
9942
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -9924,7 +10001,7 @@ class Client extends openapi_core_1.default {
|
|
|
9924
10001
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeBackupsResponse({}));
|
|
9925
10002
|
}
|
|
9926
10003
|
/**
|
|
9927
|
-
* Queries backup information
|
|
10004
|
+
* Queries the backup information of a PolarDB cluster.
|
|
9928
10005
|
*
|
|
9929
10006
|
* @param request - DescribeBackupsRequest
|
|
9930
10007
|
* @returns DescribeBackupsResponse
|
|
@@ -10032,7 +10109,7 @@ class Client extends openapi_core_1.default {
|
|
|
10032
10109
|
return await this.describeBatchTasksWithOptions(request, runtime);
|
|
10033
10110
|
}
|
|
10034
10111
|
/**
|
|
10035
|
-
*
|
|
10112
|
+
* Queries cost budget policies.
|
|
10036
10113
|
*
|
|
10037
10114
|
* @param request - DescribeBudgetPoliciesRequest
|
|
10038
10115
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -10062,6 +10139,9 @@ class Client extends openapi_core_1.default {
|
|
|
10062
10139
|
if (!$dara.isNull(request.regionId)) {
|
|
10063
10140
|
query["RegionId"] = request.regionId;
|
|
10064
10141
|
}
|
|
10142
|
+
if (!$dara.isNull(request.scopeRefName)) {
|
|
10143
|
+
query["ScopeRefName"] = request.scopeRefName;
|
|
10144
|
+
}
|
|
10065
10145
|
if (!$dara.isNull(request.status)) {
|
|
10066
10146
|
query["Status"] = request.status;
|
|
10067
10147
|
}
|
|
@@ -10082,7 +10162,7 @@ class Client extends openapi_core_1.default {
|
|
|
10082
10162
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeBudgetPoliciesResponse({}));
|
|
10083
10163
|
}
|
|
10084
10164
|
/**
|
|
10085
|
-
*
|
|
10165
|
+
* Queries cost budget policies.
|
|
10086
10166
|
*
|
|
10087
10167
|
* @param request - DescribeBudgetPoliciesRequest
|
|
10088
10168
|
* @returns DescribeBudgetPoliciesResponse
|
|
@@ -10341,7 +10421,7 @@ class Client extends openapi_core_1.default {
|
|
|
10341
10421
|
return await this.describeConsumerGroupsWithOptions(request, runtime);
|
|
10342
10422
|
}
|
|
10343
10423
|
/**
|
|
10344
|
-
*
|
|
10424
|
+
* Queries the list of consumers.
|
|
10345
10425
|
*
|
|
10346
10426
|
* @param request - DescribeConsumersRequest
|
|
10347
10427
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -10356,6 +10436,12 @@ class Client extends openapi_core_1.default {
|
|
|
10356
10436
|
if (!$dara.isNull(request.consumerId)) {
|
|
10357
10437
|
query["ConsumerId"] = request.consumerId;
|
|
10358
10438
|
}
|
|
10439
|
+
if (!$dara.isNull(request.consumerName)) {
|
|
10440
|
+
query["ConsumerName"] = request.consumerName;
|
|
10441
|
+
}
|
|
10442
|
+
if (!$dara.isNull(request.consumerNameList)) {
|
|
10443
|
+
query["ConsumerNameList"] = request.consumerNameList;
|
|
10444
|
+
}
|
|
10359
10445
|
if (!$dara.isNull(request.gwClusterId)) {
|
|
10360
10446
|
query["GwClusterId"] = request.gwClusterId;
|
|
10361
10447
|
}
|
|
@@ -10385,7 +10471,7 @@ class Client extends openapi_core_1.default {
|
|
|
10385
10471
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeConsumersResponse({}));
|
|
10386
10472
|
}
|
|
10387
10473
|
/**
|
|
10388
|
-
*
|
|
10474
|
+
* Queries the list of consumers.
|
|
10389
10475
|
*
|
|
10390
10476
|
* @param request - DescribeConsumersRequest
|
|
10391
10477
|
* @returns DescribeConsumersResponse
|
|
@@ -10650,7 +10736,7 @@ class Client extends openapi_core_1.default {
|
|
|
10650
10736
|
return await this.describeCrossCloudRegionMappingToAliyunWithOptions(request, runtime);
|
|
10651
10737
|
}
|
|
10652
10738
|
/**
|
|
10653
|
-
* Queries the IP
|
|
10739
|
+
* Queries the IP whitelist and security groups that are allowed to access a database cluster.
|
|
10654
10740
|
*
|
|
10655
10741
|
* @param request - DescribeDBClusterAccessWhitelistRequest
|
|
10656
10742
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -10668,6 +10754,9 @@ class Client extends openapi_core_1.default {
|
|
|
10668
10754
|
if (!$dara.isNull(request.ownerId)) {
|
|
10669
10755
|
query["OwnerId"] = request.ownerId;
|
|
10670
10756
|
}
|
|
10757
|
+
if (!$dara.isNull(request.pfsInstanceId)) {
|
|
10758
|
+
query["PfsInstanceId"] = request.pfsInstanceId;
|
|
10759
|
+
}
|
|
10671
10760
|
if (!$dara.isNull(request.resourceOwnerAccount)) {
|
|
10672
10761
|
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
10673
10762
|
}
|
|
@@ -10691,7 +10780,7 @@ class Client extends openapi_core_1.default {
|
|
|
10691
10780
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeDBClusterAccessWhitelistResponse({}));
|
|
10692
10781
|
}
|
|
10693
10782
|
/**
|
|
10694
|
-
* Queries the IP
|
|
10783
|
+
* Queries the IP whitelist and security groups that are allowed to access a database cluster.
|
|
10695
10784
|
*
|
|
10696
10785
|
* @param request - DescribeDBClusterAccessWhitelistRequest
|
|
10697
10786
|
* @returns DescribeDBClusterAccessWhitelistResponse
|
|
@@ -11405,6 +11494,110 @@ class Client extends openapi_core_1.default {
|
|
|
11405
11494
|
let runtime = new $dara.RuntimeOptions({});
|
|
11406
11495
|
return await this.describeDBClusterPerformanceWithOptions(request, runtime);
|
|
11407
11496
|
}
|
|
11497
|
+
/**
|
|
11498
|
+
* Queries the price of a cluster.
|
|
11499
|
+
*
|
|
11500
|
+
* @param tmpReq - DescribeDBClusterPriceRequest
|
|
11501
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
11502
|
+
* @returns DescribeDBClusterPriceResponse
|
|
11503
|
+
*/
|
|
11504
|
+
async describeDBClusterPriceWithOptions(tmpReq, runtime) {
|
|
11505
|
+
tmpReq.validate();
|
|
11506
|
+
let request = new $_model.DescribeDBClusterPriceShrinkRequest({});
|
|
11507
|
+
openapi_core_2.OpenApiUtil.convert(tmpReq, request);
|
|
11508
|
+
if (!$dara.isNull(tmpReq.DBNodes)) {
|
|
11509
|
+
request.DBNodesShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.DBNodes, "DBNodes", "json");
|
|
11510
|
+
}
|
|
11511
|
+
let query = {};
|
|
11512
|
+
if (!$dara.isNull(request.creationCategory)) {
|
|
11513
|
+
query["CreationCategory"] = request.creationCategory;
|
|
11514
|
+
}
|
|
11515
|
+
if (!$dara.isNull(request.DBClusterId)) {
|
|
11516
|
+
query["DBClusterId"] = request.DBClusterId;
|
|
11517
|
+
}
|
|
11518
|
+
if (!$dara.isNull(request.DBNodeClass)) {
|
|
11519
|
+
query["DBNodeClass"] = request.DBNodeClass;
|
|
11520
|
+
}
|
|
11521
|
+
if (!$dara.isNull(request.DBNodeIds)) {
|
|
11522
|
+
query["DBNodeIds"] = request.DBNodeIds;
|
|
11523
|
+
}
|
|
11524
|
+
if (!$dara.isNull(request.DBNodeNum)) {
|
|
11525
|
+
query["DBNodeNum"] = request.DBNodeNum;
|
|
11526
|
+
}
|
|
11527
|
+
if (!$dara.isNull(request.DBNodesShrink)) {
|
|
11528
|
+
query["DBNodes"] = request.DBNodesShrink;
|
|
11529
|
+
}
|
|
11530
|
+
if (!$dara.isNull(request.DBType)) {
|
|
11531
|
+
query["DBType"] = request.DBType;
|
|
11532
|
+
}
|
|
11533
|
+
if (!$dara.isNull(request.DBVersion)) {
|
|
11534
|
+
query["DBVersion"] = request.DBVersion;
|
|
11535
|
+
}
|
|
11536
|
+
if (!$dara.isNull(request.hotStandbyCluster)) {
|
|
11537
|
+
query["HotStandbyCluster"] = request.hotStandbyCluster;
|
|
11538
|
+
}
|
|
11539
|
+
if (!$dara.isNull(request.modifyType)) {
|
|
11540
|
+
query["ModifyType"] = request.modifyType;
|
|
11541
|
+
}
|
|
11542
|
+
if (!$dara.isNull(request.orderType)) {
|
|
11543
|
+
query["OrderType"] = request.orderType;
|
|
11544
|
+
}
|
|
11545
|
+
if (!$dara.isNull(request.payType)) {
|
|
11546
|
+
query["PayType"] = request.payType;
|
|
11547
|
+
}
|
|
11548
|
+
if (!$dara.isNull(request.period)) {
|
|
11549
|
+
query["Period"] = request.period;
|
|
11550
|
+
}
|
|
11551
|
+
if (!$dara.isNull(request.provisionedIops)) {
|
|
11552
|
+
query["ProvisionedIops"] = request.provisionedIops;
|
|
11553
|
+
}
|
|
11554
|
+
if (!$dara.isNull(request.regionId)) {
|
|
11555
|
+
query["RegionId"] = request.regionId;
|
|
11556
|
+
}
|
|
11557
|
+
if (!$dara.isNull(request.serverlessType)) {
|
|
11558
|
+
query["ServerlessType"] = request.serverlessType;
|
|
11559
|
+
}
|
|
11560
|
+
if (!$dara.isNull(request.storageChargeType)) {
|
|
11561
|
+
query["StorageChargeType"] = request.storageChargeType;
|
|
11562
|
+
}
|
|
11563
|
+
if (!$dara.isNull(request.storageSpace)) {
|
|
11564
|
+
query["StorageSpace"] = request.storageSpace;
|
|
11565
|
+
}
|
|
11566
|
+
if (!$dara.isNull(request.storageType)) {
|
|
11567
|
+
query["StorageType"] = request.storageType;
|
|
11568
|
+
}
|
|
11569
|
+
if (!$dara.isNull(request.usedTime)) {
|
|
11570
|
+
query["UsedTime"] = request.usedTime;
|
|
11571
|
+
}
|
|
11572
|
+
if (!$dara.isNull(request.zoneId)) {
|
|
11573
|
+
query["ZoneId"] = request.zoneId;
|
|
11574
|
+
}
|
|
11575
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
11576
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
11577
|
+
});
|
|
11578
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
11579
|
+
action: "DescribeDBClusterPrice",
|
|
11580
|
+
version: "2017-08-01",
|
|
11581
|
+
protocol: "HTTPS",
|
|
11582
|
+
pathname: "/",
|
|
11583
|
+
method: "POST",
|
|
11584
|
+
authType: "AK",
|
|
11585
|
+
style: "RPC",
|
|
11586
|
+
reqBodyType: "formData",
|
|
11587
|
+
bodyType: "json",
|
|
11588
|
+
});
|
|
11589
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeDBClusterPriceResponse({}));
|
|
11590
|
+
}
|
|
11591
|
+
/**
|
|
11592
|
+
* Queries the price of a cluster.
|
|
11593
|
+
*
|
|
11594
|
+
* @param request - DescribeDBClusterPriceRequest
|
|
11595
|
+
* @returns DescribeDBClusterPriceResponse
|
|
11596
|
+
*/
|
|
11597
|
+
async describeDBClusterPrice(request) {
|
|
11598
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
11599
|
+
return await this.describeDBClusterPriceWithOptions(request, runtime);
|
|
11600
|
+
}
|
|
11408
11601
|
/**
|
|
11409
11602
|
* Queries a database cluster proxy.
|
|
11410
11603
|
*
|
|
@@ -11481,6 +11674,9 @@ class Client extends openapi_core_1.default {
|
|
|
11481
11674
|
if (!$dara.isNull(request.ownerId)) {
|
|
11482
11675
|
query["OwnerId"] = request.ownerId;
|
|
11483
11676
|
}
|
|
11677
|
+
if (!$dara.isNull(request.pfsInstanceId)) {
|
|
11678
|
+
query["PfsInstanceId"] = request.pfsInstanceId;
|
|
11679
|
+
}
|
|
11484
11680
|
if (!$dara.isNull(request.resourceOwnerAccount)) {
|
|
11485
11681
|
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
11486
11682
|
}
|
|
@@ -15249,7 +15445,7 @@ class Client extends openapi_core_1.default {
|
|
|
15249
15445
|
return await this.describePolarClawTaskWithOptions(request, runtime);
|
|
15250
15446
|
}
|
|
15251
15447
|
/**
|
|
15252
|
-
*
|
|
15448
|
+
* Queries PolarFS information.
|
|
15253
15449
|
*
|
|
15254
15450
|
* @param request - DescribePolarFsRequest
|
|
15255
15451
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -15302,7 +15498,7 @@ class Client extends openapi_core_1.default {
|
|
|
15302
15498
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribePolarFsResponse({}));
|
|
15303
15499
|
}
|
|
15304
15500
|
/**
|
|
15305
|
-
*
|
|
15501
|
+
* Queries PolarFS information.
|
|
15306
15502
|
*
|
|
15307
15503
|
* @param request - DescribePolarFsRequest
|
|
15308
15504
|
* @returns DescribePolarFsResponse
|
|
@@ -19804,7 +20000,7 @@ class Client extends openapi_core_1.default {
|
|
|
19804
20000
|
return await this.modifyDBClusterWithOptions(request, runtime);
|
|
19805
20001
|
}
|
|
19806
20002
|
/**
|
|
19807
|
-
* Creates or modifies the
|
|
20003
|
+
* Creates or modifies the whitelist of a cluster, including the IP whitelist and security groups.
|
|
19808
20004
|
*
|
|
19809
20005
|
* @param request - ModifyDBClusterAccessWhitelistRequest
|
|
19810
20006
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -19831,6 +20027,9 @@ class Client extends openapi_core_1.default {
|
|
|
19831
20027
|
if (!$dara.isNull(request.ownerId)) {
|
|
19832
20028
|
query["OwnerId"] = request.ownerId;
|
|
19833
20029
|
}
|
|
20030
|
+
if (!$dara.isNull(request.pfsInstanceId)) {
|
|
20031
|
+
query["PfsInstanceId"] = request.pfsInstanceId;
|
|
20032
|
+
}
|
|
19834
20033
|
if (!$dara.isNull(request.resourceOwnerAccount)) {
|
|
19835
20034
|
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
19836
20035
|
}
|
|
@@ -19863,7 +20062,7 @@ class Client extends openapi_core_1.default {
|
|
|
19863
20062
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifyDBClusterAccessWhitelistResponse({}));
|
|
19864
20063
|
}
|
|
19865
20064
|
/**
|
|
19866
|
-
* Creates or modifies the
|
|
20065
|
+
* Creates or modifies the whitelist of a cluster, including the IP whitelist and security groups.
|
|
19867
20066
|
*
|
|
19868
20067
|
* @param request - ModifyDBClusterAccessWhitelistRequest
|
|
19869
20068
|
* @returns ModifyDBClusterAccessWhitelistResponse
|
|
@@ -20867,7 +21066,7 @@ class Client extends openapi_core_1.default {
|
|
|
20867
21066
|
return await this.modifyDBClusterResourceGroupWithOptions(request, runtime);
|
|
20868
21067
|
}
|
|
20869
21068
|
/**
|
|
20870
|
-
* Enables or
|
|
21069
|
+
* Enables or shuts down the Secure Sockets Layer (SSL) encryption feature for a PolarDB cluster, or updates the CA certificate of a PolarDB cluster.
|
|
20871
21070
|
*
|
|
20872
21071
|
* @param request - ModifyDBClusterSSLRequest
|
|
20873
21072
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -20876,6 +21075,9 @@ class Client extends openapi_core_1.default {
|
|
|
20876
21075
|
async modifyDBClusterSSLWithOptions(request, runtime) {
|
|
20877
21076
|
request.validate();
|
|
20878
21077
|
let query = {};
|
|
21078
|
+
if (!$dara.isNull(request.connectionString)) {
|
|
21079
|
+
query["ConnectionString"] = request.connectionString;
|
|
21080
|
+
}
|
|
20879
21081
|
if (!$dara.isNull(request.DBClusterId)) {
|
|
20880
21082
|
query["DBClusterId"] = request.DBClusterId;
|
|
20881
21083
|
}
|
|
@@ -20891,6 +21093,9 @@ class Client extends openapi_core_1.default {
|
|
|
20891
21093
|
if (!$dara.isNull(request.ownerId)) {
|
|
20892
21094
|
query["OwnerId"] = request.ownerId;
|
|
20893
21095
|
}
|
|
21096
|
+
if (!$dara.isNull(request.pfsInstanceId)) {
|
|
21097
|
+
query["PfsInstanceId"] = request.pfsInstanceId;
|
|
21098
|
+
}
|
|
20894
21099
|
if (!$dara.isNull(request.resourceOwnerAccount)) {
|
|
20895
21100
|
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
20896
21101
|
}
|
|
@@ -20920,7 +21125,7 @@ class Client extends openapi_core_1.default {
|
|
|
20920
21125
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifyDBClusterSSLResponse({}));
|
|
20921
21126
|
}
|
|
20922
21127
|
/**
|
|
20923
|
-
* Enables or
|
|
21128
|
+
* Enables or shuts down the Secure Sockets Layer (SSL) encryption feature for a PolarDB cluster, or updates the CA certificate of a PolarDB cluster.
|
|
20924
21129
|
*
|
|
20925
21130
|
* @param request - ModifyDBClusterSSLRequest
|
|
20926
21131
|
* @returns ModifyDBClusterSSLResponse
|