@alicloud/polardb20170801 8.0.0 → 8.1.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 (47) hide show
  1. package/dist/client.d.ts +27 -12
  2. package/dist/client.js +57 -12
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/DescribeAidbclusterAttributeResponseBody.d.ts +48 -24
  5. package/dist/models/DescribeAidbclusterAttributeResponseBody.js +2 -0
  6. package/dist/models/DescribeAidbclusterAttributeResponseBody.js.map +1 -1
  7. package/dist/models/DescribeAidbclusterTasksRequest.d.ts +10 -0
  8. package/dist/models/DescribeAidbclusterTasksRequest.js +4 -0
  9. package/dist/models/DescribeAidbclusterTasksRequest.js.map +1 -1
  10. package/dist/models/DescribeAidbclusterTasksResponseBody.d.ts +25 -1
  11. package/dist/models/DescribeAidbclusterTasksResponseBody.js +8 -0
  12. package/dist/models/DescribeAidbclusterTasksResponseBody.js.map +1 -1
  13. package/dist/models/DescribeApplicationAttributeResponseBody.d.ts +86 -24
  14. package/dist/models/DescribeApplicationAttributeResponseBody.js +31 -1
  15. package/dist/models/DescribeApplicationAttributeResponseBody.js.map +1 -1
  16. package/dist/models/DescribeApplicationSslrequest.d.ts +23 -0
  17. package/dist/models/DescribeApplicationSslrequest.js +58 -0
  18. package/dist/models/DescribeApplicationSslrequest.js.map +1 -0
  19. package/dist/models/DescribeApplicationSslresponse.d.ts +19 -0
  20. package/dist/models/DescribeApplicationSslresponse.js +69 -0
  21. package/dist/models/DescribeApplicationSslresponse.js.map +1 -0
  22. package/dist/models/DescribeApplicationSslresponseBody.d.ts +82 -0
  23. package/dist/models/DescribeApplicationSslresponseBody.js +72 -0
  24. package/dist/models/DescribeApplicationSslresponseBody.js.map +1 -0
  25. package/dist/models/DescribeVswitchesRequest.d.ts +0 -53
  26. package/dist/models/DescribeVswitchesRequest.js.map +1 -1
  27. package/dist/models/DescribeVswitchesResponseBody.d.ts +0 -96
  28. package/dist/models/DescribeVswitchesResponseBody.js.map +1 -1
  29. package/dist/models/ModifyDbnodeHotReplicaModeRequest.d.ts +2 -2
  30. package/dist/models/ModifyDbnodeHotReplicaModeResponseBody.d.ts +2 -2
  31. package/dist/models/model.d.ts +4 -0
  32. package/dist/models/model.js +51 -43
  33. package/dist/models/model.js.map +1 -1
  34. package/package.json +1 -1
  35. package/src/client.ts +62 -12
  36. package/src/models/DescribeAidbclusterAttributeResponseBody.ts +53 -27
  37. package/src/models/DescribeAidbclusterTasksRequest.ts +14 -0
  38. package/src/models/DescribeAidbclusterTasksResponseBody.ts +33 -1
  39. package/src/models/DescribeApplicationAttributeResponseBody.ts +107 -24
  40. package/src/models/DescribeApplicationSslrequest.ts +36 -0
  41. package/src/models/DescribeApplicationSslresponse.ts +40 -0
  42. package/src/models/DescribeApplicationSslresponseBody.ts +109 -0
  43. package/src/models/DescribeVswitchesRequest.ts +0 -53
  44. package/src/models/DescribeVswitchesResponseBody.ts +0 -96
  45. package/src/models/ModifyDbnodeHotReplicaModeRequest.ts +2 -2
  46. package/src/models/ModifyDbnodeHotReplicaModeResponseBody.ts +2 -2
  47. package/src/models/model.ts +4 -0
package/dist/client.d.ts CHANGED
@@ -2550,11 +2550,11 @@ export default class Client extends OpenApi {
2550
2550
  */
2551
2551
  describeAIDBClusterTaskMetrics(request: $_model.DescribeAIDBClusterTaskMetricsRequest): Promise<$_model.DescribeAIDBClusterTaskMetricsResponse>;
2552
2552
  /**
2553
- * Retrieves the list of model operators for a specified PolarDB database instance.
2553
+ * Retrieves the list of template operators for a specified PolarDB database instance.
2554
2554
  *
2555
2555
  * @remarks
2556
- * ## Description
2557
- * - This operation supports filtering and returning the list of model operators based on the `RelativeDBClusterId` and `KubeType` parameters.
2556
+ * ## Request description
2557
+ * - This operation supports filtering and returning the list of template operators based on the `RelativeDBClusterId` and `KubeType` parameters.
2558
2558
  * - Note: Ensure that the `RelativeDBClusterId` provided in the request matches an existing PolarDB database instance ID. Otherwise, data cannot be retrieved correctly.
2559
2559
  *
2560
2560
  * @param request - DescribeAIDBClusterTasksRequest
@@ -2563,11 +2563,11 @@ export default class Client extends OpenApi {
2563
2563
  */
2564
2564
  describeAIDBClusterTasksWithOptions(request: $_model.DescribeAIDBClusterTasksRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeAIDBClusterTasksResponse>;
2565
2565
  /**
2566
- * Retrieves the list of model operators for a specified PolarDB database instance.
2566
+ * Retrieves the list of template operators for a specified PolarDB database instance.
2567
2567
  *
2568
2568
  * @remarks
2569
- * ## Description
2570
- * - This operation supports filtering and returning the list of model operators based on the `RelativeDBClusterId` and `KubeType` parameters.
2569
+ * ## Request description
2570
+ * - This operation supports filtering and returning the list of template operators based on the `RelativeDBClusterId` and `KubeType` parameters.
2571
2571
  * - Note: Ensure that the `RelativeDBClusterId` provided in the request matches an existing PolarDB database instance ID. Otherwise, data cannot be retrieved correctly.
2572
2572
  *
2573
2573
  * @param request - DescribeAIDBClusterTasksRequest
@@ -2855,10 +2855,10 @@ export default class Client extends OpenApi {
2855
2855
  */
2856
2856
  describeApikeyAttribute(request: $_model.DescribeApikeyAttributeRequest): Promise<$_model.DescribeApikeyAttributeResponse>;
2857
2857
  /**
2858
- * Retrieves the detailed information of a specified PolarDB application.
2858
+ * Retrieves the details of a specified PolarDB instance application.
2859
2859
  *
2860
2860
  * @remarks
2861
- * This API is used to query all related information of a specific PolarDB application, including but not limited to component details and endpoints.
2861
+ * This API operation queries all information about a specific PolarDB application, including but not limited to component details and endpoints.
2862
2862
  *
2863
2863
  * @param request - DescribeApplicationAttributeRequest
2864
2864
  * @param runtime - runtime options for this request RuntimeOptions
@@ -2866,10 +2866,10 @@ export default class Client extends OpenApi {
2866
2866
  */
2867
2867
  describeApplicationAttributeWithOptions(request: $_model.DescribeApplicationAttributeRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeApplicationAttributeResponse>;
2868
2868
  /**
2869
- * Retrieves the detailed information of a specified PolarDB application.
2869
+ * Retrieves the details of a specified PolarDB instance application.
2870
2870
  *
2871
2871
  * @remarks
2872
- * This API is used to query all related information of a specific PolarDB application, including but not limited to component details and endpoints.
2872
+ * This API operation queries all information about a specific PolarDB application, including but not limited to component details and endpoints.
2873
2873
  *
2874
2874
  * @param request - DescribeApplicationAttributeRequest
2875
2875
  * @returns DescribeApplicationAttributeResponse
@@ -2935,6 +2935,21 @@ export default class Client extends OpenApi {
2935
2935
  * @returns DescribeApplicationPromptsResponse
2936
2936
  */
2937
2937
  describeApplicationPrompts(request: $_model.DescribeApplicationPromptsRequest): Promise<$_model.DescribeApplicationPromptsResponse>;
2938
+ /**
2939
+ * Queries the SSL configuration of an application.
2940
+ *
2941
+ * @param request - DescribeApplicationSSLRequest
2942
+ * @param runtime - runtime options for this request RuntimeOptions
2943
+ * @returns DescribeApplicationSSLResponse
2944
+ */
2945
+ describeApplicationSSLWithOptions(request: $_model.DescribeApplicationSSLRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeApplicationSSLResponse>;
2946
+ /**
2947
+ * Queries the SSL configuration of an application.
2948
+ *
2949
+ * @param request - DescribeApplicationSSLRequest
2950
+ * @returns DescribeApplicationSSLResponse
2951
+ */
2952
+ describeApplicationSSL(request: $_model.DescribeApplicationSSLRequest): Promise<$_model.DescribeApplicationSSLResponse>;
2938
2953
  /**
2939
2954
  * Queries the Serverless configuration for a PolarDB application.
2940
2955
  *
@@ -5067,7 +5082,7 @@ export default class Client extends OpenApi {
5067
5082
  */
5068
5083
  describeVSwitchList(request: $_model.DescribeVSwitchListRequest): Promise<$_model.DescribeVSwitchListResponse>;
5069
5084
  /**
5070
- * Queries one or more vSwitches.
5085
+ * 查询交换机
5071
5086
  *
5072
5087
  * @param request - DescribeVSwitchesRequest
5073
5088
  * @param runtime - runtime options for this request RuntimeOptions
@@ -5075,7 +5090,7 @@ export default class Client extends OpenApi {
5075
5090
  */
5076
5091
  describeVSwitchesWithOptions(request: $_model.DescribeVSwitchesRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeVSwitchesResponse>;
5077
5092
  /**
5078
- * Queries one or more vSwitches.
5093
+ * 查询交换机
5079
5094
  *
5080
5095
  * @param request - DescribeVSwitchesRequest
5081
5096
  * @returns DescribeVSwitchesResponse
package/dist/client.js CHANGED
@@ -8991,11 +8991,11 @@ class Client extends openapi_core_1.default {
8991
8991
  return await this.describeAIDBClusterTaskMetricsWithOptions(request, runtime);
8992
8992
  }
8993
8993
  /**
8994
- * Retrieves the list of model operators for a specified PolarDB database instance.
8994
+ * Retrieves the list of template operators for a specified PolarDB database instance.
8995
8995
  *
8996
8996
  * @remarks
8997
- * ## Description
8998
- * - This operation supports filtering and returning the list of model operators based on the `RelativeDBClusterId` and `KubeType` parameters.
8997
+ * ## Request description
8998
+ * - This operation supports filtering and returning the list of template operators based on the `RelativeDBClusterId` and `KubeType` parameters.
8999
8999
  * - Note: Ensure that the `RelativeDBClusterId` provided in the request matches an existing PolarDB database instance ID. Otherwise, data cannot be retrieved correctly.
9000
9000
  *
9001
9001
  * @param request - DescribeAIDBClusterTasksRequest
@@ -9014,6 +9014,12 @@ class Client extends openapi_core_1.default {
9014
9014
  if (!$dara.isNull(request.ownerId)) {
9015
9015
  query["OwnerId"] = request.ownerId;
9016
9016
  }
9017
+ if (!$dara.isNull(request.pageNumber)) {
9018
+ query["PageNumber"] = request.pageNumber;
9019
+ }
9020
+ if (!$dara.isNull(request.pageSize)) {
9021
+ query["PageSize"] = request.pageSize;
9022
+ }
9017
9023
  if (!$dara.isNull(request.regionId)) {
9018
9024
  query["RegionId"] = request.regionId;
9019
9025
  }
@@ -9043,11 +9049,11 @@ class Client extends openapi_core_1.default {
9043
9049
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeAIDBClusterTasksResponse({}));
9044
9050
  }
9045
9051
  /**
9046
- * Retrieves the list of model operators for a specified PolarDB database instance.
9052
+ * Retrieves the list of template operators for a specified PolarDB database instance.
9047
9053
  *
9048
9054
  * @remarks
9049
- * ## Description
9050
- * - This operation supports filtering and returning the list of model operators based on the `RelativeDBClusterId` and `KubeType` parameters.
9055
+ * ## Request description
9056
+ * - This operation supports filtering and returning the list of template operators based on the `RelativeDBClusterId` and `KubeType` parameters.
9051
9057
  * - Note: Ensure that the `RelativeDBClusterId` provided in the request matches an existing PolarDB database instance ID. Otherwise, data cannot be retrieved correctly.
9052
9058
  *
9053
9059
  * @param request - DescribeAIDBClusterTasksRequest
@@ -10112,10 +10118,10 @@ class Client extends openapi_core_1.default {
10112
10118
  return await this.describeApikeyAttributeWithOptions(request, runtime);
10113
10119
  }
10114
10120
  /**
10115
- * Retrieves the detailed information of a specified PolarDB application.
10121
+ * Retrieves the details of a specified PolarDB instance application.
10116
10122
  *
10117
10123
  * @remarks
10118
- * This API is used to query all related information of a specific PolarDB application, including but not limited to component details and endpoints.
10124
+ * This API operation queries all information about a specific PolarDB application, including but not limited to component details and endpoints.
10119
10125
  *
10120
10126
  * @param request - DescribeApplicationAttributeRequest
10121
10127
  * @param runtime - runtime options for this request RuntimeOptions
@@ -10144,10 +10150,10 @@ class Client extends openapi_core_1.default {
10144
10150
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeApplicationAttributeResponse({}));
10145
10151
  }
10146
10152
  /**
10147
- * Retrieves the detailed information of a specified PolarDB application.
10153
+ * Retrieves the details of a specified PolarDB instance application.
10148
10154
  *
10149
10155
  * @remarks
10150
- * This API is used to query all related information of a specific PolarDB application, including but not limited to component details and endpoints.
10156
+ * This API operation queries all information about a specific PolarDB application, including but not limited to component details and endpoints.
10151
10157
  *
10152
10158
  * @param request - DescribeApplicationAttributeRequest
10153
10159
  * @returns DescribeApplicationAttributeResponse
@@ -10406,6 +10412,45 @@ class Client extends openapi_core_1.default {
10406
10412
  let runtime = new $dara.RuntimeOptions({});
10407
10413
  return await this.describeApplicationPromptsWithOptions(request, runtime);
10408
10414
  }
10415
+ /**
10416
+ * Queries the SSL configuration of an application.
10417
+ *
10418
+ * @param request - DescribeApplicationSSLRequest
10419
+ * @param runtime - runtime options for this request RuntimeOptions
10420
+ * @returns DescribeApplicationSSLResponse
10421
+ */
10422
+ async describeApplicationSSLWithOptions(request, runtime) {
10423
+ request.validate();
10424
+ let query = {};
10425
+ if (!$dara.isNull(request.applicationId)) {
10426
+ query["ApplicationId"] = request.applicationId;
10427
+ }
10428
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
10429
+ query: openapi_core_2.OpenApiUtil.query(query),
10430
+ });
10431
+ let params = new openapi_core_2.$OpenApiUtil.Params({
10432
+ action: "DescribeApplicationSSL",
10433
+ version: "2017-08-01",
10434
+ protocol: "HTTPS",
10435
+ pathname: "/",
10436
+ method: "POST",
10437
+ authType: "AK",
10438
+ style: "RPC",
10439
+ reqBodyType: "formData",
10440
+ bodyType: "json",
10441
+ });
10442
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeApplicationSSLResponse({}));
10443
+ }
10444
+ /**
10445
+ * Queries the SSL configuration of an application.
10446
+ *
10447
+ * @param request - DescribeApplicationSSLRequest
10448
+ * @returns DescribeApplicationSSLResponse
10449
+ */
10450
+ async describeApplicationSSL(request) {
10451
+ let runtime = new $dara.RuntimeOptions({});
10452
+ return await this.describeApplicationSSLWithOptions(request, runtime);
10453
+ }
10409
10454
  /**
10410
10455
  * Queries the Serverless configuration for a PolarDB application.
10411
10456
  *
@@ -17947,7 +17992,7 @@ class Client extends openapi_core_1.default {
17947
17992
  return await this.describeVSwitchListWithOptions(request, runtime);
17948
17993
  }
17949
17994
  /**
17950
- * Queries one or more vSwitches.
17995
+ * 查询交换机
17951
17996
  *
17952
17997
  * @param request - DescribeVSwitchesRequest
17953
17998
  * @param runtime - runtime options for this request RuntimeOptions
@@ -18009,7 +18054,7 @@ class Client extends openapi_core_1.default {
18009
18054
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeVSwitchesResponse({}));
18010
18055
  }
18011
18056
  /**
18012
- * Queries one or more vSwitches.
18057
+ * 查询交换机
18013
18058
  *
18014
18059
  * @param request - DescribeVSwitchesRequest
18015
18060
  * @returns DescribeVSwitchesResponse