@alicloud/polardb20170801 7.7.0 → 7.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (95) hide show
  1. package/dist/client.d.ts +82 -6
  2. package/dist/client.js +217 -8
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/AddPolarFsPathMappingRequest.d.ts +6 -4
  5. package/dist/models/AddPolarFsPathMappingRequest.js +4 -0
  6. package/dist/models/AddPolarFsPathMappingRequest.js.map +1 -1
  7. package/dist/models/AddPolarFsPathMappingResponseBody.d.ts +1 -1
  8. package/dist/models/CreateApplicationAgentRelationRequest.d.ts +43 -0
  9. package/dist/models/CreateApplicationAgentRelationRequest.js +62 -0
  10. package/dist/models/CreateApplicationAgentRelationRequest.js.map +1 -0
  11. package/dist/models/CreateApplicationAgentRelationResponse.d.ts +19 -0
  12. package/dist/models/CreateApplicationAgentRelationResponse.js +69 -0
  13. package/dist/models/CreateApplicationAgentRelationResponse.js.map +1 -0
  14. package/dist/models/CreateApplicationAgentRelationResponseBody.d.ts +29 -0
  15. package/dist/models/CreateApplicationAgentRelationResponseBody.js +60 -0
  16. package/dist/models/CreateApplicationAgentRelationResponseBody.js.map +1 -0
  17. package/dist/models/CreateBatchConsumerRequest.d.ts +19 -7
  18. package/dist/models/CreateBatchConsumerRequest.js +4 -0
  19. package/dist/models/CreateBatchConsumerRequest.js.map +1 -1
  20. package/dist/models/CreateBatchConsumerResponseBody.d.ts +90 -2
  21. package/dist/models/CreateBatchConsumerResponseBody.js +22 -0
  22. package/dist/models/CreateBatchConsumerResponseBody.js.map +1 -1
  23. package/dist/models/CreateDbclusterRequest.d.ts +47 -261
  24. package/dist/models/CreateDbclusterRequest.js.map +1 -1
  25. package/dist/models/CreateDbclusterResponseBody.d.ts +14 -0
  26. package/dist/models/CreateDbclusterResponseBody.js.map +1 -1
  27. package/dist/models/CreateGwConsumerOrderRequest.d.ts +76 -0
  28. package/dist/models/CreateGwConsumerOrderRequest.js +68 -0
  29. package/dist/models/CreateGwConsumerOrderRequest.js.map +1 -0
  30. package/dist/models/CreateGwConsumerOrderResponse.d.ts +19 -0
  31. package/dist/models/CreateGwConsumerOrderResponse.js +69 -0
  32. package/dist/models/CreateGwConsumerOrderResponse.js.map +1 -0
  33. package/dist/models/CreateGwConsumerOrderResponseBody.d.ts +53 -0
  34. package/dist/models/CreateGwConsumerOrderResponseBody.js +66 -0
  35. package/dist/models/CreateGwConsumerOrderResponseBody.js.map +1 -0
  36. package/dist/models/DescribeApplicationLogsRequest.d.ts +4 -4
  37. package/dist/models/DescribeApplicationPerformanceRequest.d.ts +38 -15
  38. package/dist/models/DescribeApplicationPerformanceRequest.js.map +1 -1
  39. package/dist/models/DescribeApplicationPerformanceResponseBody.d.ts +7 -4
  40. package/dist/models/DescribeApplicationPerformanceResponseBody.js.map +1 -1
  41. package/dist/models/GetLakebaseTenantTokenRequest.d.ts +49 -0
  42. package/dist/models/GetLakebaseTenantTokenRequest.js +64 -0
  43. package/dist/models/GetLakebaseTenantTokenRequest.js.map +1 -0
  44. package/dist/models/GetLakebaseTenantTokenResponse.d.ts +19 -0
  45. package/dist/models/GetLakebaseTenantTokenResponse.js +69 -0
  46. package/dist/models/GetLakebaseTenantTokenResponse.js.map +1 -0
  47. package/dist/models/GetLakebaseTenantTokenResponseBody.d.ts +61 -0
  48. package/dist/models/GetLakebaseTenantTokenResponseBody.js +68 -0
  49. package/dist/models/GetLakebaseTenantTokenResponseBody.js.map +1 -0
  50. package/dist/models/ModifyDbclusterSslrequest.d.ts +14 -9
  51. package/dist/models/ModifyDbclusterSslrequest.js +2 -0
  52. package/dist/models/ModifyDbclusterSslrequest.js.map +1 -1
  53. package/dist/models/RestartAidbclusterRequest.d.ts +21 -0
  54. package/dist/models/RestartAidbclusterRequest.js +58 -0
  55. package/dist/models/RestartAidbclusterRequest.js.map +1 -0
  56. package/dist/models/RestartAidbclusterResponse.d.ts +19 -0
  57. package/dist/models/RestartAidbclusterResponse.js +69 -0
  58. package/dist/models/RestartAidbclusterResponse.js.map +1 -0
  59. package/dist/models/RestartAidbclusterResponseBody.d.ts +21 -0
  60. package/dist/models/RestartAidbclusterResponseBody.js +58 -0
  61. package/dist/models/RestartAidbclusterResponseBody.js.map +1 -0
  62. package/dist/models/RestartPolarClawGatewayRequest.d.ts +7 -0
  63. package/dist/models/RestartPolarClawGatewayRequest.js.map +1 -1
  64. package/dist/models/RestartPolarClawGatewayResponseBody.d.ts +36 -0
  65. package/dist/models/RestartPolarClawGatewayResponseBody.js.map +1 -1
  66. package/dist/models/model.d.ts +12 -0
  67. package/dist/models/model.js +49 -24
  68. package/dist/models/model.js.map +1 -1
  69. package/package.json +1 -1
  70. package/src/client.ts +242 -8
  71. package/src/models/AddPolarFsPathMappingRequest.ts +10 -4
  72. package/src/models/AddPolarFsPathMappingResponseBody.ts +1 -1
  73. package/src/models/CreateApplicationAgentRelationRequest.ts +60 -0
  74. package/src/models/CreateApplicationAgentRelationResponse.ts +40 -0
  75. package/src/models/CreateApplicationAgentRelationResponseBody.ts +44 -0
  76. package/src/models/CreateBatchConsumerRequest.ts +23 -7
  77. package/src/models/CreateBatchConsumerResponseBody.ts +112 -2
  78. package/src/models/CreateDbclusterRequest.ts +51 -265
  79. package/src/models/CreateDbclusterResponseBody.ts +14 -0
  80. package/src/models/CreateGwConsumerOrderRequest.ts +99 -0
  81. package/src/models/CreateGwConsumerOrderResponse.ts +40 -0
  82. package/src/models/CreateGwConsumerOrderResponseBody.ts +74 -0
  83. package/src/models/DescribeApplicationLogsRequest.ts +4 -4
  84. package/src/models/DescribeApplicationPerformanceRequest.ts +38 -15
  85. package/src/models/DescribeApplicationPerformanceResponseBody.ts +7 -4
  86. package/src/models/GetLakebaseTenantTokenRequest.ts +68 -0
  87. package/src/models/GetLakebaseTenantTokenResponse.ts +40 -0
  88. package/src/models/GetLakebaseTenantTokenResponseBody.ts +84 -0
  89. package/src/models/ModifyDbclusterSslrequest.ts +16 -9
  90. package/src/models/RestartAidbclusterRequest.ts +34 -0
  91. package/src/models/RestartAidbclusterResponse.ts +40 -0
  92. package/src/models/RestartAidbclusterResponseBody.ts +34 -0
  93. package/src/models/RestartPolarClawGatewayRequest.ts +7 -0
  94. package/src/models/RestartPolarClawGatewayResponseBody.ts +36 -0
  95. package/src/models/model.ts +12 -0
package/dist/client.d.ts CHANGED
@@ -684,6 +684,21 @@ export default class Client extends OpenApi {
684
684
  * @returns CreateApplicationResponse
685
685
  */
686
686
  createApplication(request: $_model.CreateApplicationRequest): Promise<$_model.CreateApplicationResponse>;
687
+ /**
688
+ * Binds an Agent to a Squad.
689
+ *
690
+ * @param request - CreateApplicationAgentRelationRequest
691
+ * @param runtime - runtime options for this request RuntimeOptions
692
+ * @returns CreateApplicationAgentRelationResponse
693
+ */
694
+ createApplicationAgentRelationWithOptions(request: $_model.CreateApplicationAgentRelationRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateApplicationAgentRelationResponse>;
695
+ /**
696
+ * Binds an Agent to a Squad.
697
+ *
698
+ * @param request - CreateApplicationAgentRelationRequest
699
+ * @returns CreateApplicationAgentRelationResponse
700
+ */
701
+ createApplicationAgentRelation(request: $_model.CreateApplicationAgentRelationRequest): Promise<$_model.CreateApplicationAgentRelationResponse>;
687
702
  /**
688
703
  * Creates a connection address for a specified application.
689
704
  *
@@ -742,6 +757,11 @@ export default class Client extends OpenApi {
742
757
  /**
743
758
  * Creates API keys in batches.
744
759
  *
760
+ * @remarks
761
+ * > * Each cluster can have a maximum of three manually created backups at the same time.
762
+ * > * 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 calling this operation.
763
+ * > * 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.
764
+ *
745
765
  * @param request - CreateBatchConsumerRequest
746
766
  * @param runtime - runtime options for this request RuntimeOptions
747
767
  * @returns CreateBatchConsumerResponse
@@ -750,6 +770,11 @@ export default class Client extends OpenApi {
750
770
  /**
751
771
  * Creates API keys in batches.
752
772
  *
773
+ * @remarks
774
+ * > * Each cluster can have a maximum of three manually created backups at the same time.
775
+ * > * 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 calling this operation.
776
+ * > * 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.
777
+ *
753
778
  * @param request - CreateBatchConsumerRequest
754
779
  * @returns CreateBatchConsumerResponse
755
780
  */
@@ -862,6 +887,9 @@ export default class Client extends OpenApi {
862
887
  /**
863
888
  * Creates a PolarDB cluster.
864
889
  *
890
+ * @remarks
891
+ * DBLink can connect two PolarDB for PostgreSQL (Compatible with Oracle) clusters, or connect a PolarDB for PostgreSQL (Compatible with Oracle) cluster to a self-managed PostgreSQL database on an ECS instance. You can use DBLink to query data across clusters.
892
+ *
865
893
  * @param request - CreateDBClusterRequest
866
894
  * @param runtime - runtime options for this request RuntimeOptions
867
895
  * @returns CreateDBClusterResponse
@@ -870,6 +898,9 @@ export default class Client extends OpenApi {
870
898
  /**
871
899
  * Creates a PolarDB cluster.
872
900
  *
901
+ * @remarks
902
+ * DBLink can connect two PolarDB for PostgreSQL (Compatible with Oracle) clusters, or connect a PolarDB for PostgreSQL (Compatible with Oracle) cluster to a self-managed PostgreSQL database on an ECS instance. You can use DBLink to query data across clusters.
903
+ *
873
904
  * @param request - CreateDBClusterRequest
874
905
  * @returns CreateDBClusterResponse
875
906
  */
@@ -1098,6 +1129,21 @@ export default class Client extends OpenApi {
1098
1129
  * @returns CreateGlobalSecurityIPGroupResponse
1099
1130
  */
1100
1131
  createGlobalSecurityIPGroup(request: $_model.CreateGlobalSecurityIPGroupRequest): Promise<$_model.CreateGlobalSecurityIPGroupResponse>;
1132
+ /**
1133
+ * Places an order to purchase a token resource plan and activates a redemption code.
1134
+ *
1135
+ * @param request - CreateGwConsumerOrderRequest
1136
+ * @param runtime - runtime options for this request RuntimeOptions
1137
+ * @returns CreateGwConsumerOrderResponse
1138
+ */
1139
+ createGwConsumerOrderWithOptions(request: $_model.CreateGwConsumerOrderRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateGwConsumerOrderResponse>;
1140
+ /**
1141
+ * Places an order to purchase a token resource plan and activates a redemption code.
1142
+ *
1143
+ * @param request - CreateGwConsumerOrderRequest
1144
+ * @returns CreateGwConsumerOrderResponse
1145
+ */
1146
+ createGwConsumerOrder(request: $_model.CreateGwConsumerOrderRequest): Promise<$_model.CreateGwConsumerOrderResponse>;
1101
1147
  /**
1102
1148
  * Creates a model API.
1103
1149
  *
@@ -2559,7 +2605,7 @@ export default class Client extends OpenApi {
2559
2605
  */
2560
2606
  describeApplicationAttribute(request: $_model.DescribeApplicationAttributeRequest): Promise<$_model.DescribeApplicationAttributeResponse>;
2561
2607
  /**
2562
- * Queries the log details of an AI application.
2608
+ * Queries the details of AI application logs.
2563
2609
  *
2564
2610
  * @param request - DescribeApplicationLogsRequest
2565
2611
  * @param runtime - runtime options for this request RuntimeOptions
@@ -2567,7 +2613,7 @@ export default class Client extends OpenApi {
2567
2613
  */
2568
2614
  describeApplicationLogsWithOptions(request: $_model.DescribeApplicationLogsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeApplicationLogsResponse>;
2569
2615
  /**
2570
- * Queries the log details of an AI application.
2616
+ * Queries the details of AI application logs.
2571
2617
  *
2572
2618
  * @param request - DescribeApplicationLogsRequest
2573
2619
  * @returns DescribeApplicationLogsResponse
@@ -2589,7 +2635,7 @@ export default class Client extends OpenApi {
2589
2635
  */
2590
2636
  describeApplicationParameters(request: $_model.DescribeApplicationParametersRequest): Promise<$_model.DescribeApplicationParametersResponse>;
2591
2637
  /**
2592
- * Querying PolarDB AI application performance.
2638
+ * Queries the performance of a PolarDB AI application.
2593
2639
  *
2594
2640
  * @param request - DescribeApplicationPerformanceRequest
2595
2641
  * @param runtime - runtime options for this request RuntimeOptions
@@ -2597,7 +2643,7 @@ export default class Client extends OpenApi {
2597
2643
  */
2598
2644
  describeApplicationPerformanceWithOptions(request: $_model.DescribeApplicationPerformanceRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeApplicationPerformanceResponse>;
2599
2645
  /**
2600
- * Querying PolarDB AI application performance.
2646
+ * Queries the performance of a PolarDB AI application.
2601
2647
  *
2602
2648
  * @param request - DescribeApplicationPerformanceRequest
2603
2649
  * @returns DescribeApplicationPerformanceResponse
@@ -5020,6 +5066,21 @@ export default class Client extends OpenApi {
5020
5066
  * @returns GenerateUpgradeReportForSyncCloneResponse
5021
5067
  */
5022
5068
  generateUpgradeReportForSyncClone(request: $_model.GenerateUpgradeReportForSyncCloneRequest): Promise<$_model.GenerateUpgradeReportForSyncCloneResponse>;
5069
+ /**
5070
+ * Retrieves the Lakebase tenant token (SPG tenant mount URL).
5071
+ *
5072
+ * @param request - GetLakebaseTenantTokenRequest
5073
+ * @param runtime - runtime options for this request RuntimeOptions
5074
+ * @returns GetLakebaseTenantTokenResponse
5075
+ */
5076
+ getLakebaseTenantTokenWithOptions(request: $_model.GetLakebaseTenantTokenRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetLakebaseTenantTokenResponse>;
5077
+ /**
5078
+ * Retrieves the Lakebase tenant token (SPG tenant mount URL).
5079
+ *
5080
+ * @param request - GetLakebaseTenantTokenRequest
5081
+ * @returns GetLakebaseTenantTokenResponse
5082
+ */
5083
+ getLakebaseTenantToken(request: $_model.GetLakebaseTenantTokenRequest): Promise<$_model.GetLakebaseTenantTokenResponse>;
5023
5084
  /**
5024
5085
  * Creates a chat record.
5025
5086
  *
@@ -5865,7 +5926,7 @@ export default class Client extends OpenApi {
5865
5926
  */
5866
5927
  modifyDBClusterResourceGroup(request: $_model.ModifyDBClusterResourceGroupRequest): Promise<$_model.ModifyDBClusterResourceGroupResponse>;
5867
5928
  /**
5868
- * Enables or shuts down the Secure Sockets Layer (SSL) encryption feature for a PolarDB cluster, or updates the CA certificate of a PolarDB cluster.
5929
+ * Enables or performs shutdown of the Secure Sockets Layer (SSL) encryption feature for a PolarDB cluster, or updates the CA certificate of a PolarDB cluster.
5869
5930
  *
5870
5931
  * @param request - ModifyDBClusterSSLRequest
5871
5932
  * @param runtime - runtime options for this request RuntimeOptions
@@ -5873,7 +5934,7 @@ export default class Client extends OpenApi {
5873
5934
  */
5874
5935
  modifyDBClusterSSLWithOptions(request: $_model.ModifyDBClusterSSLRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ModifyDBClusterSSLResponse>;
5875
5936
  /**
5876
- * Enables or shuts down the Secure Sockets Layer (SSL) encryption feature for a PolarDB cluster, or updates the CA certificate of a PolarDB cluster.
5937
+ * Enables or performs shutdown of the Secure Sockets Layer (SSL) encryption feature for a PolarDB cluster, or updates the CA certificate of a PolarDB cluster.
5877
5938
  *
5878
5939
  * @param request - ModifyDBClusterSSLRequest
5879
5940
  * @returns ModifyDBClusterSSLResponse
@@ -6631,6 +6692,21 @@ export default class Client extends OpenApi {
6631
6692
  * @returns ResetGlobalDatabaseNetworkResponse
6632
6693
  */
6633
6694
  resetGlobalDatabaseNetwork(request: $_model.ResetGlobalDatabaseNetworkRequest): Promise<$_model.ResetGlobalDatabaseNetworkResponse>;
6695
+ /**
6696
+ * Restarts an AI cluster.
6697
+ *
6698
+ * @param request - RestartAIDBClusterRequest
6699
+ * @param runtime - runtime options for this request RuntimeOptions
6700
+ * @returns RestartAIDBClusterResponse
6701
+ */
6702
+ restartAIDBClusterWithOptions(request: $_model.RestartAIDBClusterRequest, runtime: $dara.RuntimeOptions): Promise<$_model.RestartAIDBClusterResponse>;
6703
+ /**
6704
+ * Restarts an AI cluster.
6705
+ *
6706
+ * @param request - RestartAIDBClusterRequest
6707
+ * @returns RestartAIDBClusterResponse
6708
+ */
6709
+ restartAIDBCluster(request: $_model.RestartAIDBClusterRequest): Promise<$_model.RestartAIDBClusterResponse>;
6634
6710
  /**
6635
6711
  * Restarts database links.
6636
6712
  *
package/dist/client.js CHANGED
@@ -127,9 +127,7 @@ class Client extends openapi_core_1.default {
127
127
  'ap-southeast-6': "polardb.ap-southeast-6.aliyuncs.com",
128
128
  'ap-southeast-5': "polardb.ap-southeast-5.aliyuncs.com",
129
129
  'ap-southeast-3': "polardb.ap-southeast-3.aliyuncs.com",
130
- 'ap-southeast-2': "polardb.ap-southeast-2.aliyuncs.com",
131
130
  'ap-southeast-1': "polardb.ap-southeast-1.aliyuncs.com",
132
- 'ap-south-1': "polardb.ap-south-1.aliyuncs.com",
133
131
  'ap-northeast-2': "polardb.ap-northeast-2.aliyuncs.com",
134
132
  'ap-northeast-1': "polardb.ap-northeast-1.aliyuncs.com",
135
133
  };
@@ -2561,6 +2559,51 @@ class Client extends openapi_core_1.default {
2561
2559
  let runtime = new $dara.RuntimeOptions({});
2562
2560
  return await this.createApplicationWithOptions(request, runtime);
2563
2561
  }
2562
+ /**
2563
+ * Binds an Agent to a Squad.
2564
+ *
2565
+ * @param request - CreateApplicationAgentRelationRequest
2566
+ * @param runtime - runtime options for this request RuntimeOptions
2567
+ * @returns CreateApplicationAgentRelationResponse
2568
+ */
2569
+ async createApplicationAgentRelationWithOptions(request, runtime) {
2570
+ request.validate();
2571
+ let query = {};
2572
+ if (!$dara.isNull(request.agentId)) {
2573
+ query["AgentId"] = request.agentId;
2574
+ }
2575
+ if (!$dara.isNull(request.applicationId)) {
2576
+ query["ApplicationId"] = request.applicationId;
2577
+ }
2578
+ if (!$dara.isNull(request.token)) {
2579
+ query["Token"] = request.token;
2580
+ }
2581
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
2582
+ query: openapi_core_2.OpenApiUtil.query(query),
2583
+ });
2584
+ let params = new openapi_core_2.$OpenApiUtil.Params({
2585
+ action: "CreateApplicationAgentRelation",
2586
+ version: "2017-08-01",
2587
+ protocol: "HTTPS",
2588
+ pathname: "/",
2589
+ method: "POST",
2590
+ authType: "AK",
2591
+ style: "RPC",
2592
+ reqBodyType: "formData",
2593
+ bodyType: "json",
2594
+ });
2595
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateApplicationAgentRelationResponse({}));
2596
+ }
2597
+ /**
2598
+ * Binds an Agent to a Squad.
2599
+ *
2600
+ * @param request - CreateApplicationAgentRelationRequest
2601
+ * @returns CreateApplicationAgentRelationResponse
2602
+ */
2603
+ async createApplicationAgentRelation(request) {
2604
+ let runtime = new $dara.RuntimeOptions({});
2605
+ return await this.createApplicationAgentRelationWithOptions(request, runtime);
2606
+ }
2564
2607
  /**
2565
2608
  * Creates a connection address for a specified application.
2566
2609
  *
@@ -2724,6 +2767,11 @@ class Client extends openapi_core_1.default {
2724
2767
  /**
2725
2768
  * Creates API keys in batches.
2726
2769
  *
2770
+ * @remarks
2771
+ * > * Each cluster can have a maximum of three manually created backups at the same time.
2772
+ * > * 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 calling this operation.
2773
+ * > * 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.
2774
+ *
2727
2775
  * @param request - CreateBatchConsumerRequest
2728
2776
  * @param runtime - runtime options for this request RuntimeOptions
2729
2777
  * @returns CreateBatchConsumerResponse
@@ -2740,6 +2788,12 @@ class Client extends openapi_core_1.default {
2740
2788
  if (!$dara.isNull(request.count)) {
2741
2789
  query["Count"] = request.count;
2742
2790
  }
2791
+ if (!$dara.isNull(request.creditToken)) {
2792
+ query["CreditToken"] = request.creditToken;
2793
+ }
2794
+ if (!$dara.isNull(request.description)) {
2795
+ query["Description"] = request.description;
2796
+ }
2743
2797
  if (!$dara.isNull(request.gwClusterId)) {
2744
2798
  query["GwClusterId"] = request.gwClusterId;
2745
2799
  }
@@ -2765,6 +2819,11 @@ class Client extends openapi_core_1.default {
2765
2819
  /**
2766
2820
  * Creates API keys in batches.
2767
2821
  *
2822
+ * @remarks
2823
+ * > * Each cluster can have a maximum of three manually created backups at the same time.
2824
+ * > * 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 calling this operation.
2825
+ * > * 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.
2826
+ *
2768
2827
  * @param request - CreateBatchConsumerRequest
2769
2828
  * @returns CreateBatchConsumerResponse
2770
2829
  */
@@ -3209,6 +3268,9 @@ class Client extends openapi_core_1.default {
3209
3268
  /**
3210
3269
  * Creates a PolarDB cluster.
3211
3270
  *
3271
+ * @remarks
3272
+ * DBLink can connect two PolarDB for PostgreSQL (Compatible with Oracle) clusters, or connect a PolarDB for PostgreSQL (Compatible with Oracle) cluster to a self-managed PostgreSQL database on an ECS instance. You can use DBLink to query data across clusters.
3273
+ *
3212
3274
  * @param request - CreateDBClusterRequest
3213
3275
  * @param runtime - runtime options for this request RuntimeOptions
3214
3276
  * @returns CreateDBClusterResponse
@@ -3433,6 +3495,9 @@ class Client extends openapi_core_1.default {
3433
3495
  /**
3434
3496
  * Creates a PolarDB cluster.
3435
3497
  *
3498
+ * @remarks
3499
+ * DBLink can connect two PolarDB for PostgreSQL (Compatible with Oracle) clusters, or connect a PolarDB for PostgreSQL (Compatible with Oracle) cluster to a self-managed PostgreSQL database on an ECS instance. You can use DBLink to query data across clusters.
3500
+ *
3436
3501
  * @param request - CreateDBClusterRequest
3437
3502
  * @returns CreateDBClusterResponse
3438
3503
  */
@@ -4384,6 +4449,60 @@ class Client extends openapi_core_1.default {
4384
4449
  let runtime = new $dara.RuntimeOptions({});
4385
4450
  return await this.createGlobalSecurityIPGroupWithOptions(request, runtime);
4386
4451
  }
4452
+ /**
4453
+ * Places an order to purchase a token resource plan and activates a redemption code.
4454
+ *
4455
+ * @param request - CreateGwConsumerOrderRequest
4456
+ * @param runtime - runtime options for this request RuntimeOptions
4457
+ * @returns CreateGwConsumerOrderResponse
4458
+ */
4459
+ async createGwConsumerOrderWithOptions(request, runtime) {
4460
+ request.validate();
4461
+ let query = {};
4462
+ if (!$dara.isNull(request.clientToken)) {
4463
+ query["ClientToken"] = request.clientToken;
4464
+ }
4465
+ if (!$dara.isNull(request.expireTime)) {
4466
+ query["ExpireTime"] = request.expireTime;
4467
+ }
4468
+ if (!$dara.isNull(request.gatewayId)) {
4469
+ query["GatewayId"] = request.gatewayId;
4470
+ }
4471
+ if (!$dara.isNull(request.keyCount)) {
4472
+ query["KeyCount"] = request.keyCount;
4473
+ }
4474
+ if (!$dara.isNull(request.packageSpec)) {
4475
+ query["PackageSpec"] = request.packageSpec;
4476
+ }
4477
+ if (!$dara.isNull(request.regionId)) {
4478
+ query["RegionId"] = request.regionId;
4479
+ }
4480
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
4481
+ query: openapi_core_2.OpenApiUtil.query(query),
4482
+ });
4483
+ let params = new openapi_core_2.$OpenApiUtil.Params({
4484
+ action: "CreateGwConsumerOrder",
4485
+ version: "2017-08-01",
4486
+ protocol: "HTTPS",
4487
+ pathname: "/",
4488
+ method: "POST",
4489
+ authType: "AK",
4490
+ style: "RPC",
4491
+ reqBodyType: "formData",
4492
+ bodyType: "json",
4493
+ });
4494
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateGwConsumerOrderResponse({}));
4495
+ }
4496
+ /**
4497
+ * Places an order to purchase a token resource plan and activates a redemption code.
4498
+ *
4499
+ * @param request - CreateGwConsumerOrderRequest
4500
+ * @returns CreateGwConsumerOrderResponse
4501
+ */
4502
+ async createGwConsumerOrder(request) {
4503
+ let runtime = new $dara.RuntimeOptions({});
4504
+ return await this.createGwConsumerOrderWithOptions(request, runtime);
4505
+ }
4387
4506
  /**
4388
4507
  * Creates a model API.
4389
4508
  *
@@ -9151,7 +9270,7 @@ class Client extends openapi_core_1.default {
9151
9270
  return await this.describeApplicationAttributeWithOptions(request, runtime);
9152
9271
  }
9153
9272
  /**
9154
- * Queries the log details of an AI application.
9273
+ * Queries the details of AI application logs.
9155
9274
  *
9156
9275
  * @param request - DescribeApplicationLogsRequest
9157
9276
  * @param runtime - runtime options for this request RuntimeOptions
@@ -9219,7 +9338,7 @@ class Client extends openapi_core_1.default {
9219
9338
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeApplicationLogsResponse({}));
9220
9339
  }
9221
9340
  /**
9222
- * Queries the log details of an AI application.
9341
+ * Queries the details of AI application logs.
9223
9342
  *
9224
9343
  * @param request - DescribeApplicationLogsRequest
9225
9344
  * @returns DescribeApplicationLogsResponse
@@ -9276,7 +9395,7 @@ class Client extends openapi_core_1.default {
9276
9395
  return await this.describeApplicationParametersWithOptions(request, runtime);
9277
9396
  }
9278
9397
  /**
9279
- * Querying PolarDB AI application performance.
9398
+ * Queries the performance of a PolarDB AI application.
9280
9399
  *
9281
9400
  * @param request - DescribeApplicationPerformanceRequest
9282
9401
  * @param runtime - runtime options for this request RuntimeOptions
@@ -9338,7 +9457,7 @@ class Client extends openapi_core_1.default {
9338
9457
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeApplicationPerformanceResponse({}));
9339
9458
  }
9340
9459
  /**
9341
- * Querying PolarDB AI application performance.
9460
+ * Queries the performance of a PolarDB AI application.
9342
9461
  *
9343
9462
  * @param request - DescribeApplicationPerformanceRequest
9344
9463
  * @returns DescribeApplicationPerformanceResponse
@@ -17920,6 +18039,54 @@ class Client extends openapi_core_1.default {
17920
18039
  let runtime = new $dara.RuntimeOptions({});
17921
18040
  return await this.generateUpgradeReportForSyncCloneWithOptions(request, runtime);
17922
18041
  }
18042
+ /**
18043
+ * Retrieves the Lakebase tenant token (SPG tenant mount URL).
18044
+ *
18045
+ * @param request - GetLakebaseTenantTokenRequest
18046
+ * @param runtime - runtime options for this request RuntimeOptions
18047
+ * @returns GetLakebaseTenantTokenResponse
18048
+ */
18049
+ async getLakebaseTenantTokenWithOptions(request, runtime) {
18050
+ request.validate();
18051
+ let query = {};
18052
+ if (!$dara.isNull(request.DBClusterId)) {
18053
+ query["DBClusterId"] = request.DBClusterId;
18054
+ }
18055
+ if (!$dara.isNull(request.polarFsInstanceId)) {
18056
+ query["PolarFsInstanceId"] = request.polarFsInstanceId;
18057
+ }
18058
+ if (!$dara.isNull(request.subdir)) {
18059
+ query["Subdir"] = request.subdir;
18060
+ }
18061
+ if (!$dara.isNull(request.tenant)) {
18062
+ query["Tenant"] = request.tenant;
18063
+ }
18064
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
18065
+ query: openapi_core_2.OpenApiUtil.query(query),
18066
+ });
18067
+ let params = new openapi_core_2.$OpenApiUtil.Params({
18068
+ action: "GetLakebaseTenantToken",
18069
+ version: "2017-08-01",
18070
+ protocol: "HTTPS",
18071
+ pathname: "/",
18072
+ method: "POST",
18073
+ authType: "AK",
18074
+ style: "RPC",
18075
+ reqBodyType: "formData",
18076
+ bodyType: "json",
18077
+ });
18078
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetLakebaseTenantTokenResponse({}));
18079
+ }
18080
+ /**
18081
+ * Retrieves the Lakebase tenant token (SPG tenant mount URL).
18082
+ *
18083
+ * @param request - GetLakebaseTenantTokenRequest
18084
+ * @returns GetLakebaseTenantTokenResponse
18085
+ */
18086
+ async getLakebaseTenantToken(request) {
18087
+ let runtime = new $dara.RuntimeOptions({});
18088
+ return await this.getLakebaseTenantTokenWithOptions(request, runtime);
18089
+ }
17923
18090
  /**
17924
18091
  * Creates a chat record.
17925
18092
  *
@@ -21066,7 +21233,7 @@ class Client extends openapi_core_1.default {
21066
21233
  return await this.modifyDBClusterResourceGroupWithOptions(request, runtime);
21067
21234
  }
21068
21235
  /**
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.
21236
+ * Enables or performs shutdown of the Secure Sockets Layer (SSL) encryption feature for a PolarDB cluster, or updates the CA certificate of a PolarDB cluster.
21070
21237
  *
21071
21238
  * @param request - ModifyDBClusterSSLRequest
21072
21239
  * @param runtime - runtime options for this request RuntimeOptions
@@ -21075,6 +21242,9 @@ class Client extends openapi_core_1.default {
21075
21242
  async modifyDBClusterSSLWithOptions(request, runtime) {
21076
21243
  request.validate();
21077
21244
  let query = {};
21245
+ if (!$dara.isNull(request.certValidDays)) {
21246
+ query["CertValidDays"] = request.certValidDays;
21247
+ }
21078
21248
  if (!$dara.isNull(request.connectionString)) {
21079
21249
  query["ConnectionString"] = request.connectionString;
21080
21250
  }
@@ -21125,7 +21295,7 @@ class Client extends openapi_core_1.default {
21125
21295
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifyDBClusterSSLResponse({}));
21126
21296
  }
21127
21297
  /**
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.
21298
+ * Enables or performs shutdown of the Secure Sockets Layer (SSL) encryption feature for a PolarDB cluster, or updates the CA certificate of a PolarDB cluster.
21129
21299
  *
21130
21300
  * @param request - ModifyDBClusterSSLRequest
21131
21301
  * @returns ModifyDBClusterSSLResponse
@@ -24007,6 +24177,45 @@ class Client extends openapi_core_1.default {
24007
24177
  let runtime = new $dara.RuntimeOptions({});
24008
24178
  return await this.resetGlobalDatabaseNetworkWithOptions(request, runtime);
24009
24179
  }
24180
+ /**
24181
+ * Restarts an AI cluster.
24182
+ *
24183
+ * @param request - RestartAIDBClusterRequest
24184
+ * @param runtime - runtime options for this request RuntimeOptions
24185
+ * @returns RestartAIDBClusterResponse
24186
+ */
24187
+ async restartAIDBClusterWithOptions(request, runtime) {
24188
+ request.validate();
24189
+ let query = {};
24190
+ if (!$dara.isNull(request.DBClusterId)) {
24191
+ query["DBClusterId"] = request.DBClusterId;
24192
+ }
24193
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
24194
+ query: openapi_core_2.OpenApiUtil.query(query),
24195
+ });
24196
+ let params = new openapi_core_2.$OpenApiUtil.Params({
24197
+ action: "RestartAIDBCluster",
24198
+ version: "2017-08-01",
24199
+ protocol: "HTTPS",
24200
+ pathname: "/",
24201
+ method: "POST",
24202
+ authType: "AK",
24203
+ style: "RPC",
24204
+ reqBodyType: "formData",
24205
+ bodyType: "json",
24206
+ });
24207
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.RestartAIDBClusterResponse({}));
24208
+ }
24209
+ /**
24210
+ * Restarts an AI cluster.
24211
+ *
24212
+ * @param request - RestartAIDBClusterRequest
24213
+ * @returns RestartAIDBClusterResponse
24214
+ */
24215
+ async restartAIDBCluster(request) {
24216
+ let runtime = new $dara.RuntimeOptions({});
24217
+ return await this.restartAIDBClusterWithOptions(request, runtime);
24218
+ }
24010
24219
  /**
24011
24220
  * Restarts database links.
24012
24221
  *