@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.
Files changed (138) hide show
  1. package/dist/client.d.ts +66 -40
  2. package/dist/client.js +245 -40
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateAidbclusterTaskRequest.d.ts +13 -17
  5. package/dist/models/CreateAidbclusterTaskRequest.js +2 -0
  6. package/dist/models/CreateAidbclusterTaskRequest.js.map +1 -1
  7. package/dist/models/CreateAidbclusterTaskResponseBody.d.ts +2 -2
  8. package/dist/models/CreateBackupRequest.d.ts +2 -1
  9. package/dist/models/CreateBackupRequest.js +2 -0
  10. package/dist/models/CreateBackupRequest.js.map +1 -1
  11. package/dist/models/CreateBackupResponseBody.d.ts +1 -1
  12. package/dist/models/DescribeAidbclusterAttributeResponseBody.d.ts +91 -18
  13. package/dist/models/DescribeAidbclusterAttributeResponseBody.js +127 -1
  14. package/dist/models/DescribeAidbclusterAttributeResponseBody.js.map +1 -1
  15. package/dist/models/DescribeAidbclusterTaskAttributeRequest.d.ts +3 -3
  16. package/dist/models/DescribeAidbclusterTaskAttributeResponseBody.d.ts +37 -45
  17. package/dist/models/DescribeAidbclusterTaskAttributeResponseBody.js +2 -0
  18. package/dist/models/DescribeAidbclusterTaskAttributeResponseBody.js.map +1 -1
  19. package/dist/models/DescribeAidbclusterTasksRequest.d.ts +2 -2
  20. package/dist/models/DescribeAidbclusterTasksResponseBody.d.ts +18 -17
  21. package/dist/models/DescribeAidbclusterTasksResponseBody.js +2 -0
  22. package/dist/models/DescribeAidbclusterTasksResponseBody.js.map +1 -1
  23. package/dist/models/DescribeApplicationLogsRequest.d.ts +10 -10
  24. package/dist/models/DescribeApplicationLogsResponseBody.d.ts +4 -6
  25. package/dist/models/DescribeApplicationLogsResponseBody.js +4 -0
  26. package/dist/models/DescribeApplicationLogsResponseBody.js.map +1 -1
  27. package/dist/models/DescribeApplicationPerformanceRequest.d.ts +4 -0
  28. package/dist/models/DescribeApplicationPerformanceRequest.js +8 -0
  29. package/dist/models/DescribeApplicationPerformanceRequest.js.map +1 -1
  30. package/dist/models/DescribeApplicationPerformanceResponseBody.d.ts +2 -0
  31. package/dist/models/DescribeApplicationPerformanceResponseBody.js +4 -0
  32. package/dist/models/DescribeApplicationPerformanceResponseBody.js.map +1 -1
  33. package/dist/models/DescribeApplicationSessionIdsRequest.d.ts +72 -0
  34. package/dist/models/DescribeApplicationSessionIdsRequest.js +74 -0
  35. package/dist/models/DescribeApplicationSessionIdsRequest.js.map +1 -0
  36. package/dist/models/DescribeApplicationSessionIdsResponse.d.ts +19 -0
  37. package/dist/models/DescribeApplicationSessionIdsResponse.js +69 -0
  38. package/dist/models/DescribeApplicationSessionIdsResponse.js.map +1 -0
  39. package/dist/models/DescribeApplicationSessionIdsResponseBody.d.ts +82 -0
  40. package/dist/models/DescribeApplicationSessionIdsResponseBody.js +116 -0
  41. package/dist/models/DescribeApplicationSessionIdsResponseBody.js.map +1 -0
  42. package/dist/models/DescribeAvailableModelsRequest.d.ts +1 -1
  43. package/dist/models/DescribeAvailableModelsResponseBody.d.ts +7 -6
  44. package/dist/models/DescribeAvailableModelsResponseBody.js +2 -0
  45. package/dist/models/DescribeAvailableModelsResponseBody.js.map +1 -1
  46. package/dist/models/DescribeBackupsRequest.d.ts +12 -19
  47. package/dist/models/DescribeBackupsRequest.js.map +1 -1
  48. package/dist/models/DescribeBackupsResponseBody.d.ts +5 -7
  49. package/dist/models/DescribeBackupsResponseBody.js +2 -0
  50. package/dist/models/DescribeBackupsResponseBody.js.map +1 -1
  51. package/dist/models/DescribeBudgetPoliciesRequest.d.ts +10 -14
  52. package/dist/models/DescribeBudgetPoliciesRequest.js +2 -0
  53. package/dist/models/DescribeBudgetPoliciesRequest.js.map +1 -1
  54. package/dist/models/DescribeBudgetPoliciesResponseBody.d.ts +18 -22
  55. package/dist/models/DescribeBudgetPoliciesResponseBody.js.map +1 -1
  56. package/dist/models/DescribeConsumersRequest.d.ts +10 -10
  57. package/dist/models/DescribeConsumersRequest.js +4 -0
  58. package/dist/models/DescribeConsumersRequest.js.map +1 -1
  59. package/dist/models/DescribeConsumersResponseBody.d.ts +17 -17
  60. package/dist/models/DescribeDbclusterAccessWhitelistRequest.d.ts +5 -0
  61. package/dist/models/DescribeDbclusterAccessWhitelistRequest.js +2 -0
  62. package/dist/models/DescribeDbclusterAccessWhitelistRequest.js.map +1 -1
  63. package/dist/models/DescribeDbclusterAttributeResponseBody.d.ts +84 -79
  64. package/dist/models/DescribeDbclusterAttributeResponseBody.js +10 -0
  65. package/dist/models/DescribeDbclusterAttributeResponseBody.js.map +1 -1
  66. package/dist/models/DescribeDbclusterPriceRequest.d.ts +244 -0
  67. package/dist/models/DescribeDbclusterPriceRequest.js +125 -0
  68. package/dist/models/DescribeDbclusterPriceRequest.js.map +1 -0
  69. package/dist/models/DescribeDbclusterPriceResponse.d.ts +19 -0
  70. package/dist/models/DescribeDbclusterPriceResponse.js +69 -0
  71. package/dist/models/DescribeDbclusterPriceResponse.js.map +1 -0
  72. package/dist/models/DescribeDbclusterPriceResponseBody.d.ts +161 -0
  73. package/dist/models/DescribeDbclusterPriceResponseBody.js +217 -0
  74. package/dist/models/DescribeDbclusterPriceResponseBody.js.map +1 -0
  75. package/dist/models/DescribeDbclusterPriceShrinkRequest.d.ts +216 -0
  76. package/dist/models/DescribeDbclusterPriceShrinkRequest.js +101 -0
  77. package/dist/models/DescribeDbclusterPriceShrinkRequest.js.map +1 -0
  78. package/dist/models/DescribeDbclusterSslrequest.d.ts +6 -2
  79. package/dist/models/DescribeDbclusterSslrequest.js +2 -0
  80. package/dist/models/DescribeDbclusterSslrequest.js.map +1 -1
  81. package/dist/models/DescribeDbclusterSslresponseBody.d.ts +13 -14
  82. package/dist/models/DescribeDbclusterSslresponseBody.js.map +1 -1
  83. package/dist/models/DescribePolarFsAttributeResponseBody.d.ts +75 -19
  84. package/dist/models/DescribePolarFsAttributeResponseBody.js +73 -1
  85. package/dist/models/DescribePolarFsAttributeResponseBody.js.map +1 -1
  86. package/dist/models/DescribePolarFsRequest.d.ts +39 -0
  87. package/dist/models/DescribePolarFsRequest.js.map +1 -1
  88. package/dist/models/DescribePolarFsResponseBody.d.ts +12 -0
  89. package/dist/models/DescribePolarFsResponseBody.js.map +1 -1
  90. package/dist/models/ModifyDbclusterAccessWhitelistRequest.d.ts +27 -32
  91. package/dist/models/ModifyDbclusterAccessWhitelistRequest.js +2 -0
  92. package/dist/models/ModifyDbclusterAccessWhitelistRequest.js.map +1 -1
  93. package/dist/models/ModifyDbclusterSslrequest.d.ts +28 -27
  94. package/dist/models/ModifyDbclusterSslrequest.js +4 -0
  95. package/dist/models/ModifyDbclusterSslrequest.js.map +1 -1
  96. package/dist/models/model.d.ts +23 -0
  97. package/dist/models/model.js +86 -40
  98. package/dist/models/model.js.map +1 -1
  99. package/package.json +1 -1
  100. package/src/client.ts +294 -40
  101. package/src/models/CreateAidbclusterTaskRequest.ts +15 -17
  102. package/src/models/CreateAidbclusterTaskResponseBody.ts +2 -2
  103. package/src/models/CreateBackupRequest.ts +4 -1
  104. package/src/models/CreateBackupResponseBody.ts +1 -1
  105. package/src/models/DescribeAidbclusterAttributeResponseBody.ts +172 -18
  106. package/src/models/DescribeAidbclusterTaskAttributeRequest.ts +3 -3
  107. package/src/models/DescribeAidbclusterTaskAttributeResponseBody.ts +39 -45
  108. package/src/models/DescribeAidbclusterTasksRequest.ts +2 -2
  109. package/src/models/DescribeAidbclusterTasksResponseBody.ts +20 -17
  110. package/src/models/DescribeApplicationLogsRequest.ts +10 -10
  111. package/src/models/DescribeApplicationLogsResponseBody.ts +8 -6
  112. package/src/models/DescribeApplicationPerformanceRequest.ts +12 -0
  113. package/src/models/DescribeApplicationPerformanceResponseBody.ts +6 -0
  114. package/src/models/DescribeApplicationSessionIdsRequest.ts +101 -0
  115. package/src/models/DescribeApplicationSessionIdsResponse.ts +40 -0
  116. package/src/models/DescribeApplicationSessionIdsResponseBody.ts +135 -0
  117. package/src/models/DescribeAvailableModelsRequest.ts +1 -1
  118. package/src/models/DescribeAvailableModelsResponseBody.ts +9 -6
  119. package/src/models/DescribeBackupsRequest.ts +14 -21
  120. package/src/models/DescribeBackupsResponseBody.ts +7 -7
  121. package/src/models/DescribeBudgetPoliciesRequest.ts +13 -15
  122. package/src/models/DescribeBudgetPoliciesResponseBody.ts +19 -23
  123. package/src/models/DescribeConsumersRequest.ts +14 -10
  124. package/src/models/DescribeConsumersResponseBody.ts +17 -17
  125. package/src/models/DescribeDbclusterAccessWhitelistRequest.ts +7 -0
  126. package/src/models/DescribeDbclusterAttributeResponseBody.ts +94 -79
  127. package/src/models/DescribeDbclusterPriceRequest.ts +315 -0
  128. package/src/models/DescribeDbclusterPriceResponse.ts +40 -0
  129. package/src/models/DescribeDbclusterPriceResponseBody.ts +279 -0
  130. package/src/models/DescribeDbclusterPriceShrinkRequest.ts +272 -0
  131. package/src/models/DescribeDbclusterSslrequest.ts +8 -2
  132. package/src/models/DescribeDbclusterSslresponseBody.ts +13 -14
  133. package/src/models/DescribePolarFsAttributeResponseBody.ts +129 -19
  134. package/src/models/DescribePolarFsRequest.ts +39 -0
  135. package/src/models/DescribePolarFsResponseBody.ts +12 -0
  136. package/src/models/ModifyDbclusterAccessWhitelistRequest.ts +29 -32
  137. package/src/models/ModifyDbclusterSslrequest.ts +32 -27
  138. 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
- * > - Each cluster can have up to three manually created backups at a time.
2659
- * >
2660
- * > - If you receive the error message `Exceeding the daily backup times of this DB cluster`, this indicates that three manual backups already exist for your cluster. [Delete a backup](https://help.aliyun.com/document_detail/98101.html) before you call this operation again.
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
- * > - Each cluster can have up to three manually created backups at a time.
2710
- * >
2711
- * > - If you receive the error message `Exceeding the daily backup times of this DB cluster`, this indicates that three manual backups already exist for your cluster. [Delete a backup](https://help.aliyun.com/document_detail/98101.html) before you call this operation again.
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
- * Get task instance details
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
- * Get task instance details
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 a list of model operators for a specified PolarDB instance.
7988
+ * Retrieves the list of model operators for a specified PolarDB database instance.
7987
7989
  *
7988
7990
  * @remarks
7989
- * ## Request
7990
- * - This API returns a list of model operators filtered by the `RelativeDBClusterId` and `KubeType` parameters.
7991
- * - Note: Ensure the provided `RelativeDBClusterId` matches the ID of an existing PolarDB database instance. Otherwise, no data will be returned.
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 a list of model operators for a specified PolarDB instance.
8040
+ * Retrieves the list of model operators for a specified PolarDB database instance.
8039
8041
  *
8040
8042
  * @remarks
8041
- * ## Request
8042
- * - This API returns a list of model operators filtered by the `RelativeDBClusterId` and `KubeType` parameters.
8043
- * - Note: Ensure the provided `RelativeDBClusterId` matches the ID of an existing PolarDB database instance. Otherwise, no data will be returned.
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
- * AI Application Log Details
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
- * AI Application Log Details
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
- * Lists the available models in an AI cluster.
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
- * Lists the available models in an AI cluster.
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 for a PolarDB cluster.
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 for a PolarDB cluster.
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
- * Querying budget policies
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
- * Querying budget policies
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
- * Returns a list of consumers.
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
- * Returns a list of consumers.
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 whitelists and security groups that are allowed to access a database cluster.
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 whitelists and security groups that are allowed to access a database cluster.
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
- * 查看polarfs信息
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
- * 查看polarfs信息
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 access whitelist for a cluster. The whitelist can be an IP address whitelist or a security group.
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 access whitelist for a cluster. The whitelist can be an IP address whitelist or a security group.
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 disables SSL encryption for a PolarDB cluster, or updates its CA certificate.
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 disables SSL encryption for a PolarDB cluster, or updates its CA certificate.
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