@alicloud/polardb20170801 7.4.0 → 7.5.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 (113) hide show
  1. package/dist/client.d.ts +51 -40
  2. package/dist/client.js +170 -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 +2 -6
  25. package/dist/models/DescribeApplicationLogsResponseBody.js.map +1 -1
  26. package/dist/models/DescribeAvailableModelsRequest.d.ts +1 -1
  27. package/dist/models/DescribeAvailableModelsResponseBody.d.ts +7 -6
  28. package/dist/models/DescribeAvailableModelsResponseBody.js +2 -0
  29. package/dist/models/DescribeAvailableModelsResponseBody.js.map +1 -1
  30. package/dist/models/DescribeBackupsRequest.d.ts +12 -19
  31. package/dist/models/DescribeBackupsRequest.js.map +1 -1
  32. package/dist/models/DescribeBackupsResponseBody.d.ts +5 -7
  33. package/dist/models/DescribeBackupsResponseBody.js +2 -0
  34. package/dist/models/DescribeBackupsResponseBody.js.map +1 -1
  35. package/dist/models/DescribeBudgetPoliciesRequest.d.ts +10 -14
  36. package/dist/models/DescribeBudgetPoliciesRequest.js +2 -0
  37. package/dist/models/DescribeBudgetPoliciesRequest.js.map +1 -1
  38. package/dist/models/DescribeBudgetPoliciesResponseBody.d.ts +18 -22
  39. package/dist/models/DescribeBudgetPoliciesResponseBody.js.map +1 -1
  40. package/dist/models/DescribeConsumersRequest.d.ts +10 -10
  41. package/dist/models/DescribeConsumersRequest.js +4 -0
  42. package/dist/models/DescribeConsumersRequest.js.map +1 -1
  43. package/dist/models/DescribeConsumersResponseBody.d.ts +17 -17
  44. package/dist/models/DescribeDbclusterAccessWhitelistRequest.d.ts +5 -0
  45. package/dist/models/DescribeDbclusterAccessWhitelistRequest.js +2 -0
  46. package/dist/models/DescribeDbclusterAccessWhitelistRequest.js.map +1 -1
  47. package/dist/models/DescribeDbclusterPriceRequest.d.ts +244 -0
  48. package/dist/models/DescribeDbclusterPriceRequest.js +125 -0
  49. package/dist/models/DescribeDbclusterPriceRequest.js.map +1 -0
  50. package/dist/models/DescribeDbclusterPriceResponse.d.ts +19 -0
  51. package/dist/models/DescribeDbclusterPriceResponse.js +69 -0
  52. package/dist/models/DescribeDbclusterPriceResponse.js.map +1 -0
  53. package/dist/models/DescribeDbclusterPriceResponseBody.d.ts +161 -0
  54. package/dist/models/DescribeDbclusterPriceResponseBody.js +217 -0
  55. package/dist/models/DescribeDbclusterPriceResponseBody.js.map +1 -0
  56. package/dist/models/DescribeDbclusterPriceShrinkRequest.d.ts +216 -0
  57. package/dist/models/DescribeDbclusterPriceShrinkRequest.js +101 -0
  58. package/dist/models/DescribeDbclusterPriceShrinkRequest.js.map +1 -0
  59. package/dist/models/DescribeDbclusterSslrequest.d.ts +6 -2
  60. package/dist/models/DescribeDbclusterSslrequest.js +2 -0
  61. package/dist/models/DescribeDbclusterSslrequest.js.map +1 -1
  62. package/dist/models/DescribeDbclusterSslresponseBody.d.ts +13 -14
  63. package/dist/models/DescribeDbclusterSslresponseBody.js.map +1 -1
  64. package/dist/models/DescribePolarFsAttributeResponseBody.d.ts +75 -19
  65. package/dist/models/DescribePolarFsAttributeResponseBody.js +73 -1
  66. package/dist/models/DescribePolarFsAttributeResponseBody.js.map +1 -1
  67. package/dist/models/DescribePolarFsRequest.d.ts +39 -0
  68. package/dist/models/DescribePolarFsRequest.js.map +1 -1
  69. package/dist/models/DescribePolarFsResponseBody.d.ts +12 -0
  70. package/dist/models/DescribePolarFsResponseBody.js.map +1 -1
  71. package/dist/models/ModifyDbclusterAccessWhitelistRequest.d.ts +27 -32
  72. package/dist/models/ModifyDbclusterAccessWhitelistRequest.js +2 -0
  73. package/dist/models/ModifyDbclusterAccessWhitelistRequest.js.map +1 -1
  74. package/dist/models/ModifyDbclusterSslrequest.d.ts +28 -27
  75. package/dist/models/ModifyDbclusterSslrequest.js +4 -0
  76. package/dist/models/ModifyDbclusterSslrequest.js.map +1 -1
  77. package/dist/models/model.d.ts +18 -0
  78. package/dist/models/model.js +76 -40
  79. package/dist/models/model.js.map +1 -1
  80. package/package.json +1 -1
  81. package/src/client.ts +204 -40
  82. package/src/models/CreateAidbclusterTaskRequest.ts +15 -17
  83. package/src/models/CreateAidbclusterTaskResponseBody.ts +2 -2
  84. package/src/models/CreateBackupRequest.ts +4 -1
  85. package/src/models/CreateBackupResponseBody.ts +1 -1
  86. package/src/models/DescribeAidbclusterAttributeResponseBody.ts +172 -18
  87. package/src/models/DescribeAidbclusterTaskAttributeRequest.ts +3 -3
  88. package/src/models/DescribeAidbclusterTaskAttributeResponseBody.ts +39 -45
  89. package/src/models/DescribeAidbclusterTasksRequest.ts +2 -2
  90. package/src/models/DescribeAidbclusterTasksResponseBody.ts +20 -17
  91. package/src/models/DescribeApplicationLogsRequest.ts +10 -10
  92. package/src/models/DescribeApplicationLogsResponseBody.ts +2 -6
  93. package/src/models/DescribeAvailableModelsRequest.ts +1 -1
  94. package/src/models/DescribeAvailableModelsResponseBody.ts +9 -6
  95. package/src/models/DescribeBackupsRequest.ts +14 -21
  96. package/src/models/DescribeBackupsResponseBody.ts +7 -7
  97. package/src/models/DescribeBudgetPoliciesRequest.ts +13 -15
  98. package/src/models/DescribeBudgetPoliciesResponseBody.ts +19 -23
  99. package/src/models/DescribeConsumersRequest.ts +14 -10
  100. package/src/models/DescribeConsumersResponseBody.ts +17 -17
  101. package/src/models/DescribeDbclusterAccessWhitelistRequest.ts +7 -0
  102. package/src/models/DescribeDbclusterPriceRequest.ts +315 -0
  103. package/src/models/DescribeDbclusterPriceResponse.ts +40 -0
  104. package/src/models/DescribeDbclusterPriceResponseBody.ts +279 -0
  105. package/src/models/DescribeDbclusterPriceShrinkRequest.ts +272 -0
  106. package/src/models/DescribeDbclusterSslrequest.ts +8 -2
  107. package/src/models/DescribeDbclusterSslresponseBody.ts +13 -14
  108. package/src/models/DescribePolarFsAttributeResponseBody.ts +129 -19
  109. package/src/models/DescribePolarFsRequest.ts +39 -0
  110. package/src/models/DescribePolarFsResponseBody.ts +12 -0
  111. package/src/models/ModifyDbclusterAccessWhitelistRequest.ts +29 -32
  112. package/src/models/ModifyDbclusterSslrequest.ts +32 -27
  113. package/src/models/model.ts +18 -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
@@ -9592,7 +9594,7 @@ class Client extends openapi_core_1.default {
9592
9594
  return await this.describeAvailableCrossRegionsWithOptions(request, runtime);
9593
9595
  }
9594
9596
  /**
9595
- * Lists the available models in an AI cluster.
9597
+ * Retrieves the list of AI cluster models.
9596
9598
  *
9597
9599
  * @param request - DescribeAvailableModelsRequest
9598
9600
  * @param runtime - runtime options for this request RuntimeOptions
@@ -9624,7 +9626,7 @@ class Client extends openapi_core_1.default {
9624
9626
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeAvailableModelsResponse({}));
9625
9627
  }
9626
9628
  /**
9627
- * Lists the available models in an AI cluster.
9629
+ * Retrieves the list of AI cluster models.
9628
9630
  *
9629
9631
  * @param request - DescribeAvailableModelsRequest
9630
9632
  * @returns DescribeAvailableModelsResponse
@@ -9859,7 +9861,7 @@ class Client extends openapi_core_1.default {
9859
9861
  return await this.describeBackupTasksWithOptions(request, runtime);
9860
9862
  }
9861
9863
  /**
9862
- * Queries backup information for a PolarDB cluster.
9864
+ * Queries the backup information of a PolarDB cluster.
9863
9865
  *
9864
9866
  * @param request - DescribeBackupsRequest
9865
9867
  * @param runtime - runtime options for this request RuntimeOptions
@@ -9924,7 +9926,7 @@ class Client extends openapi_core_1.default {
9924
9926
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeBackupsResponse({}));
9925
9927
  }
9926
9928
  /**
9927
- * Queries backup information for a PolarDB cluster.
9929
+ * Queries the backup information of a PolarDB cluster.
9928
9930
  *
9929
9931
  * @param request - DescribeBackupsRequest
9930
9932
  * @returns DescribeBackupsResponse
@@ -10032,7 +10034,7 @@ class Client extends openapi_core_1.default {
10032
10034
  return await this.describeBatchTasksWithOptions(request, runtime);
10033
10035
  }
10034
10036
  /**
10035
- * Querying budget policies
10037
+ * Queries cost budget policies.
10036
10038
  *
10037
10039
  * @param request - DescribeBudgetPoliciesRequest
10038
10040
  * @param runtime - runtime options for this request RuntimeOptions
@@ -10062,6 +10064,9 @@ class Client extends openapi_core_1.default {
10062
10064
  if (!$dara.isNull(request.regionId)) {
10063
10065
  query["RegionId"] = request.regionId;
10064
10066
  }
10067
+ if (!$dara.isNull(request.scopeRefName)) {
10068
+ query["ScopeRefName"] = request.scopeRefName;
10069
+ }
10065
10070
  if (!$dara.isNull(request.status)) {
10066
10071
  query["Status"] = request.status;
10067
10072
  }
@@ -10082,7 +10087,7 @@ class Client extends openapi_core_1.default {
10082
10087
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeBudgetPoliciesResponse({}));
10083
10088
  }
10084
10089
  /**
10085
- * Querying budget policies
10090
+ * Queries cost budget policies.
10086
10091
  *
10087
10092
  * @param request - DescribeBudgetPoliciesRequest
10088
10093
  * @returns DescribeBudgetPoliciesResponse
@@ -10341,7 +10346,7 @@ class Client extends openapi_core_1.default {
10341
10346
  return await this.describeConsumerGroupsWithOptions(request, runtime);
10342
10347
  }
10343
10348
  /**
10344
- * Returns a list of consumers.
10349
+ * Queries the list of consumers.
10345
10350
  *
10346
10351
  * @param request - DescribeConsumersRequest
10347
10352
  * @param runtime - runtime options for this request RuntimeOptions
@@ -10356,6 +10361,12 @@ class Client extends openapi_core_1.default {
10356
10361
  if (!$dara.isNull(request.consumerId)) {
10357
10362
  query["ConsumerId"] = request.consumerId;
10358
10363
  }
10364
+ if (!$dara.isNull(request.consumerName)) {
10365
+ query["ConsumerName"] = request.consumerName;
10366
+ }
10367
+ if (!$dara.isNull(request.consumerNameList)) {
10368
+ query["ConsumerNameList"] = request.consumerNameList;
10369
+ }
10359
10370
  if (!$dara.isNull(request.gwClusterId)) {
10360
10371
  query["GwClusterId"] = request.gwClusterId;
10361
10372
  }
@@ -10385,7 +10396,7 @@ class Client extends openapi_core_1.default {
10385
10396
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeConsumersResponse({}));
10386
10397
  }
10387
10398
  /**
10388
- * Returns a list of consumers.
10399
+ * Queries the list of consumers.
10389
10400
  *
10390
10401
  * @param request - DescribeConsumersRequest
10391
10402
  * @returns DescribeConsumersResponse
@@ -10650,7 +10661,7 @@ class Client extends openapi_core_1.default {
10650
10661
  return await this.describeCrossCloudRegionMappingToAliyunWithOptions(request, runtime);
10651
10662
  }
10652
10663
  /**
10653
- * Queries the IP whitelists and security groups that are allowed to access a database cluster.
10664
+ * Queries the IP whitelist and security groups that are allowed to access a database cluster.
10654
10665
  *
10655
10666
  * @param request - DescribeDBClusterAccessWhitelistRequest
10656
10667
  * @param runtime - runtime options for this request RuntimeOptions
@@ -10668,6 +10679,9 @@ class Client extends openapi_core_1.default {
10668
10679
  if (!$dara.isNull(request.ownerId)) {
10669
10680
  query["OwnerId"] = request.ownerId;
10670
10681
  }
10682
+ if (!$dara.isNull(request.pfsInstanceId)) {
10683
+ query["PfsInstanceId"] = request.pfsInstanceId;
10684
+ }
10671
10685
  if (!$dara.isNull(request.resourceOwnerAccount)) {
10672
10686
  query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
10673
10687
  }
@@ -10691,7 +10705,7 @@ class Client extends openapi_core_1.default {
10691
10705
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeDBClusterAccessWhitelistResponse({}));
10692
10706
  }
10693
10707
  /**
10694
- * Queries the IP whitelists and security groups that are allowed to access a database cluster.
10708
+ * Queries the IP whitelist and security groups that are allowed to access a database cluster.
10695
10709
  *
10696
10710
  * @param request - DescribeDBClusterAccessWhitelistRequest
10697
10711
  * @returns DescribeDBClusterAccessWhitelistResponse
@@ -11405,6 +11419,110 @@ class Client extends openapi_core_1.default {
11405
11419
  let runtime = new $dara.RuntimeOptions({});
11406
11420
  return await this.describeDBClusterPerformanceWithOptions(request, runtime);
11407
11421
  }
11422
+ /**
11423
+ * Queries the price of a cluster.
11424
+ *
11425
+ * @param tmpReq - DescribeDBClusterPriceRequest
11426
+ * @param runtime - runtime options for this request RuntimeOptions
11427
+ * @returns DescribeDBClusterPriceResponse
11428
+ */
11429
+ async describeDBClusterPriceWithOptions(tmpReq, runtime) {
11430
+ tmpReq.validate();
11431
+ let request = new $_model.DescribeDBClusterPriceShrinkRequest({});
11432
+ openapi_core_2.OpenApiUtil.convert(tmpReq, request);
11433
+ if (!$dara.isNull(tmpReq.DBNodes)) {
11434
+ request.DBNodesShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.DBNodes, "DBNodes", "json");
11435
+ }
11436
+ let query = {};
11437
+ if (!$dara.isNull(request.creationCategory)) {
11438
+ query["CreationCategory"] = request.creationCategory;
11439
+ }
11440
+ if (!$dara.isNull(request.DBClusterId)) {
11441
+ query["DBClusterId"] = request.DBClusterId;
11442
+ }
11443
+ if (!$dara.isNull(request.DBNodeClass)) {
11444
+ query["DBNodeClass"] = request.DBNodeClass;
11445
+ }
11446
+ if (!$dara.isNull(request.DBNodeIds)) {
11447
+ query["DBNodeIds"] = request.DBNodeIds;
11448
+ }
11449
+ if (!$dara.isNull(request.DBNodeNum)) {
11450
+ query["DBNodeNum"] = request.DBNodeNum;
11451
+ }
11452
+ if (!$dara.isNull(request.DBNodesShrink)) {
11453
+ query["DBNodes"] = request.DBNodesShrink;
11454
+ }
11455
+ if (!$dara.isNull(request.DBType)) {
11456
+ query["DBType"] = request.DBType;
11457
+ }
11458
+ if (!$dara.isNull(request.DBVersion)) {
11459
+ query["DBVersion"] = request.DBVersion;
11460
+ }
11461
+ if (!$dara.isNull(request.hotStandbyCluster)) {
11462
+ query["HotStandbyCluster"] = request.hotStandbyCluster;
11463
+ }
11464
+ if (!$dara.isNull(request.modifyType)) {
11465
+ query["ModifyType"] = request.modifyType;
11466
+ }
11467
+ if (!$dara.isNull(request.orderType)) {
11468
+ query["OrderType"] = request.orderType;
11469
+ }
11470
+ if (!$dara.isNull(request.payType)) {
11471
+ query["PayType"] = request.payType;
11472
+ }
11473
+ if (!$dara.isNull(request.period)) {
11474
+ query["Period"] = request.period;
11475
+ }
11476
+ if (!$dara.isNull(request.provisionedIops)) {
11477
+ query["ProvisionedIops"] = request.provisionedIops;
11478
+ }
11479
+ if (!$dara.isNull(request.regionId)) {
11480
+ query["RegionId"] = request.regionId;
11481
+ }
11482
+ if (!$dara.isNull(request.serverlessType)) {
11483
+ query["ServerlessType"] = request.serverlessType;
11484
+ }
11485
+ if (!$dara.isNull(request.storageChargeType)) {
11486
+ query["StorageChargeType"] = request.storageChargeType;
11487
+ }
11488
+ if (!$dara.isNull(request.storageSpace)) {
11489
+ query["StorageSpace"] = request.storageSpace;
11490
+ }
11491
+ if (!$dara.isNull(request.storageType)) {
11492
+ query["StorageType"] = request.storageType;
11493
+ }
11494
+ if (!$dara.isNull(request.usedTime)) {
11495
+ query["UsedTime"] = request.usedTime;
11496
+ }
11497
+ if (!$dara.isNull(request.zoneId)) {
11498
+ query["ZoneId"] = request.zoneId;
11499
+ }
11500
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
11501
+ query: openapi_core_2.OpenApiUtil.query(query),
11502
+ });
11503
+ let params = new openapi_core_2.$OpenApiUtil.Params({
11504
+ action: "DescribeDBClusterPrice",
11505
+ version: "2017-08-01",
11506
+ protocol: "HTTPS",
11507
+ pathname: "/",
11508
+ method: "POST",
11509
+ authType: "AK",
11510
+ style: "RPC",
11511
+ reqBodyType: "formData",
11512
+ bodyType: "json",
11513
+ });
11514
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeDBClusterPriceResponse({}));
11515
+ }
11516
+ /**
11517
+ * Queries the price of a cluster.
11518
+ *
11519
+ * @param request - DescribeDBClusterPriceRequest
11520
+ * @returns DescribeDBClusterPriceResponse
11521
+ */
11522
+ async describeDBClusterPrice(request) {
11523
+ let runtime = new $dara.RuntimeOptions({});
11524
+ return await this.describeDBClusterPriceWithOptions(request, runtime);
11525
+ }
11408
11526
  /**
11409
11527
  * Queries a database cluster proxy.
11410
11528
  *
@@ -11481,6 +11599,9 @@ class Client extends openapi_core_1.default {
11481
11599
  if (!$dara.isNull(request.ownerId)) {
11482
11600
  query["OwnerId"] = request.ownerId;
11483
11601
  }
11602
+ if (!$dara.isNull(request.pfsInstanceId)) {
11603
+ query["PfsInstanceId"] = request.pfsInstanceId;
11604
+ }
11484
11605
  if (!$dara.isNull(request.resourceOwnerAccount)) {
11485
11606
  query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
11486
11607
  }
@@ -15249,7 +15370,7 @@ class Client extends openapi_core_1.default {
15249
15370
  return await this.describePolarClawTaskWithOptions(request, runtime);
15250
15371
  }
15251
15372
  /**
15252
- * 查看polarfs信息
15373
+ * Queries PolarFS information.
15253
15374
  *
15254
15375
  * @param request - DescribePolarFsRequest
15255
15376
  * @param runtime - runtime options for this request RuntimeOptions
@@ -15302,7 +15423,7 @@ class Client extends openapi_core_1.default {
15302
15423
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribePolarFsResponse({}));
15303
15424
  }
15304
15425
  /**
15305
- * 查看polarfs信息
15426
+ * Queries PolarFS information.
15306
15427
  *
15307
15428
  * @param request - DescribePolarFsRequest
15308
15429
  * @returns DescribePolarFsResponse
@@ -19804,7 +19925,7 @@ class Client extends openapi_core_1.default {
19804
19925
  return await this.modifyDBClusterWithOptions(request, runtime);
19805
19926
  }
19806
19927
  /**
19807
- * Creates or modifies the access whitelist for a cluster. The whitelist can be an IP address whitelist or a security group.
19928
+ * Creates or modifies the whitelist of a cluster, including the IP whitelist and security groups.
19808
19929
  *
19809
19930
  * @param request - ModifyDBClusterAccessWhitelistRequest
19810
19931
  * @param runtime - runtime options for this request RuntimeOptions
@@ -19831,6 +19952,9 @@ class Client extends openapi_core_1.default {
19831
19952
  if (!$dara.isNull(request.ownerId)) {
19832
19953
  query["OwnerId"] = request.ownerId;
19833
19954
  }
19955
+ if (!$dara.isNull(request.pfsInstanceId)) {
19956
+ query["PfsInstanceId"] = request.pfsInstanceId;
19957
+ }
19834
19958
  if (!$dara.isNull(request.resourceOwnerAccount)) {
19835
19959
  query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
19836
19960
  }
@@ -19863,7 +19987,7 @@ class Client extends openapi_core_1.default {
19863
19987
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifyDBClusterAccessWhitelistResponse({}));
19864
19988
  }
19865
19989
  /**
19866
- * Creates or modifies the access whitelist for a cluster. The whitelist can be an IP address whitelist or a security group.
19990
+ * Creates or modifies the whitelist of a cluster, including the IP whitelist and security groups.
19867
19991
  *
19868
19992
  * @param request - ModifyDBClusterAccessWhitelistRequest
19869
19993
  * @returns ModifyDBClusterAccessWhitelistResponse
@@ -20867,7 +20991,7 @@ class Client extends openapi_core_1.default {
20867
20991
  return await this.modifyDBClusterResourceGroupWithOptions(request, runtime);
20868
20992
  }
20869
20993
  /**
20870
- * Enables or disables SSL encryption for a PolarDB cluster, or updates its CA certificate.
20994
+ * 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
20995
  *
20872
20996
  * @param request - ModifyDBClusterSSLRequest
20873
20997
  * @param runtime - runtime options for this request RuntimeOptions
@@ -20876,6 +21000,9 @@ class Client extends openapi_core_1.default {
20876
21000
  async modifyDBClusterSSLWithOptions(request, runtime) {
20877
21001
  request.validate();
20878
21002
  let query = {};
21003
+ if (!$dara.isNull(request.connectionString)) {
21004
+ query["ConnectionString"] = request.connectionString;
21005
+ }
20879
21006
  if (!$dara.isNull(request.DBClusterId)) {
20880
21007
  query["DBClusterId"] = request.DBClusterId;
20881
21008
  }
@@ -20891,6 +21018,9 @@ class Client extends openapi_core_1.default {
20891
21018
  if (!$dara.isNull(request.ownerId)) {
20892
21019
  query["OwnerId"] = request.ownerId;
20893
21020
  }
21021
+ if (!$dara.isNull(request.pfsInstanceId)) {
21022
+ query["PfsInstanceId"] = request.pfsInstanceId;
21023
+ }
20894
21024
  if (!$dara.isNull(request.resourceOwnerAccount)) {
20895
21025
  query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
20896
21026
  }
@@ -20920,7 +21050,7 @@ class Client extends openapi_core_1.default {
20920
21050
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifyDBClusterSSLResponse({}));
20921
21051
  }
20922
21052
  /**
20923
- * Enables or disables SSL encryption for a PolarDB cluster, or updates its CA certificate.
21053
+ * 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
21054
  *
20925
21055
  * @param request - ModifyDBClusterSSLRequest
20926
21056
  * @returns ModifyDBClusterSSLResponse