@alicloud/polardb20170801 8.2.1 → 8.2.3

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 (49) hide show
  1. package/dist/client.d.ts +10 -10
  2. package/dist/client.js +22 -32
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateApplicationRequest.d.ts +119 -84
  5. package/dist/models/CreateApplicationRequest.js +31 -1
  6. package/dist/models/CreateApplicationRequest.js.map +1 -1
  7. package/dist/models/CreateApplicationResponseBody.d.ts +7 -7
  8. package/dist/models/CreateApplicationShrinkRequest.d.ts +65 -55
  9. package/dist/models/CreateApplicationShrinkRequest.js +6 -0
  10. package/dist/models/CreateApplicationShrinkRequest.js.map +1 -1
  11. package/dist/models/CreateKbsyncLinkRequest.d.ts +44 -0
  12. package/dist/models/CreateKbsyncLinkRequest.js.map +1 -1
  13. package/dist/models/CreateKbsyncLinkResponseBody.d.ts +36 -0
  14. package/dist/models/CreateKbsyncLinkResponseBody.js.map +1 -1
  15. package/dist/models/DeleteKbsyncLinkRequest.d.ts +6 -0
  16. package/dist/models/DeleteKbsyncLinkRequest.js.map +1 -1
  17. package/dist/models/DeleteKbsyncLinkResponseBody.d.ts +3 -0
  18. package/dist/models/DeleteKbsyncLinkResponseBody.js.map +1 -1
  19. package/dist/models/DescribeApplicationAttributeResponseBody.d.ts +95 -14
  20. package/dist/models/DescribeApplicationAttributeResponseBody.js +39 -1
  21. package/dist/models/DescribeApplicationAttributeResponseBody.js.map +1 -1
  22. package/dist/models/DescribeKbsyncLinksRequest.d.ts +7 -0
  23. package/dist/models/DescribeKbsyncLinksRequest.js.map +1 -1
  24. package/dist/models/DescribeKbsyncLinksResponseBody.d.ts +38 -0
  25. package/dist/models/DescribeKbsyncLinksResponseBody.js.map +1 -1
  26. package/dist/models/ModifyPolarFsMappingAuthRequest.d.ts +2 -2
  27. package/dist/models/UpdateKbsyncLinkRequest.d.ts +51 -0
  28. package/dist/models/UpdateKbsyncLinkRequest.js.map +1 -1
  29. package/dist/models/UpdateKbsyncLinkResponseBody.d.ts +10 -0
  30. package/dist/models/UpdateKbsyncLinkResponseBody.js.map +1 -1
  31. package/dist/models/model.d.ts +2 -0
  32. package/dist/models/model.js +58 -54
  33. package/dist/models/model.js.map +1 -1
  34. package/package.json +1 -1
  35. package/src/client.ts +26 -32
  36. package/src/models/CreateApplicationRequest.ts +140 -84
  37. package/src/models/CreateApplicationResponseBody.ts +7 -7
  38. package/src/models/CreateApplicationShrinkRequest.ts +71 -55
  39. package/src/models/CreateKbsyncLinkRequest.ts +44 -0
  40. package/src/models/CreateKbsyncLinkResponseBody.ts +36 -0
  41. package/src/models/DeleteKbsyncLinkRequest.ts +6 -0
  42. package/src/models/DeleteKbsyncLinkResponseBody.ts +3 -0
  43. package/src/models/DescribeApplicationAttributeResponseBody.ts +124 -14
  44. package/src/models/DescribeKbsyncLinksRequest.ts +7 -0
  45. package/src/models/DescribeKbsyncLinksResponseBody.ts +38 -0
  46. package/src/models/ModifyPolarFsMappingAuthRequest.ts +2 -2
  47. package/src/models/UpdateKbsyncLinkRequest.ts +51 -0
  48. package/src/models/UpdateKbsyncLinkResponseBody.ts +10 -0
  49. package/src/models/model.ts +2 -0
package/dist/client.d.ts CHANGED
@@ -744,7 +744,7 @@ export default class Client extends OpenApi {
744
744
  */
745
745
  createAgenticDBTenantApiKey(request: $_model.CreateAgenticDBTenantApiKeyRequest): Promise<$_model.CreateAgenticDBTenantApiKeyResponse>;
746
746
  /**
747
- * Creates an application attached to a PolarDB instance.
747
+ * Creates an application that is attached to a PolarDB instance.
748
748
  *
749
749
  * @param tmpReq - CreateApplicationRequest
750
750
  * @param runtime - runtime options for this request RuntimeOptions
@@ -752,7 +752,7 @@ export default class Client extends OpenApi {
752
752
  */
753
753
  createApplicationWithOptions(tmpReq: $_model.CreateApplicationRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateApplicationResponse>;
754
754
  /**
755
- * Creates an application attached to a PolarDB instance.
755
+ * Creates an application that is attached to a PolarDB instance.
756
756
  *
757
757
  * @param request - CreateApplicationRequest
758
758
  * @returns CreateApplicationResponse
@@ -1219,7 +1219,7 @@ export default class Client extends OpenApi {
1219
1219
  */
1220
1220
  createGwConsumerOrder(request: $_model.CreateGwConsumerOrderRequest): Promise<$_model.CreateGwConsumerOrderResponse>;
1221
1221
  /**
1222
- * 创建知识库同步链路
1222
+ * Creates a knowledge base synchronization link.
1223
1223
  *
1224
1224
  * @param request - CreateKBSyncLinkRequest
1225
1225
  * @param runtime - runtime options for this request RuntimeOptions
@@ -1227,7 +1227,7 @@ export default class Client extends OpenApi {
1227
1227
  */
1228
1228
  createKBSyncLinkWithOptions(request: $_model.CreateKBSyncLinkRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateKBSyncLinkResponse>;
1229
1229
  /**
1230
- * 创建知识库同步链路
1230
+ * Creates a knowledge base synchronization link.
1231
1231
  *
1232
1232
  * @param request - CreateKBSyncLinkRequest
1233
1233
  * @returns CreateKBSyncLinkResponse
@@ -2125,7 +2125,7 @@ export default class Client extends OpenApi {
2125
2125
  */
2126
2126
  deleteGlobalSecurityIPGroup(request: $_model.DeleteGlobalSecurityIPGroupRequest): Promise<$_model.DeleteGlobalSecurityIPGroupResponse>;
2127
2127
  /**
2128
- * 删除知识库同步链路
2128
+ * Deletes a knowledge base synchronization link.
2129
2129
  *
2130
2130
  * @param request - DeleteKBSyncLinkRequest
2131
2131
  * @param runtime - runtime options for this request RuntimeOptions
@@ -2133,7 +2133,7 @@ export default class Client extends OpenApi {
2133
2133
  */
2134
2134
  deleteKBSyncLinkWithOptions(request: $_model.DeleteKBSyncLinkRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteKBSyncLinkResponse>;
2135
2135
  /**
2136
- * 删除知识库同步链路
2136
+ * Deletes a knowledge base synchronization link.
2137
2137
  *
2138
2138
  * @param request - DeleteKBSyncLinkRequest
2139
2139
  * @returns DeleteKBSyncLinkResponse
@@ -4274,7 +4274,7 @@ export default class Client extends OpenApi {
4274
4274
  */
4275
4275
  describeHistoryTasksStat(request: $_model.DescribeHistoryTasksStatRequest): Promise<$_model.DescribeHistoryTasksStatResponse>;
4276
4276
  /**
4277
- * 查询知识库同步列表
4277
+ * Queries the synchronization list of a knowledge base.
4278
4278
  *
4279
4279
  * @param request - DescribeKBSyncLinksRequest
4280
4280
  * @param runtime - runtime options for this request RuntimeOptions
@@ -4282,7 +4282,7 @@ export default class Client extends OpenApi {
4282
4282
  */
4283
4283
  describeKBSyncLinksWithOptions(request: $_model.DescribeKBSyncLinksRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeKBSyncLinksResponse>;
4284
4284
  /**
4285
- * 查询知识库同步列表
4285
+ * Queries the synchronization list of a knowledge base.
4286
4286
  *
4287
4287
  * @param request - DescribeKBSyncLinksRequest
4288
4288
  * @returns DescribeKBSyncLinksResponse
@@ -7680,7 +7680,7 @@ export default class Client extends OpenApi {
7680
7680
  */
7681
7681
  updateExtensions(request: $_model.UpdateExtensionsRequest): Promise<$_model.UpdateExtensionsResponse>;
7682
7682
  /**
7683
- * 更新知识库同步链路
7683
+ * Updates a knowledge base synchronization link.
7684
7684
  *
7685
7685
  * @param request - UpdateKBSyncLinkRequest
7686
7686
  * @param runtime - runtime options for this request RuntimeOptions
@@ -7688,7 +7688,7 @@ export default class Client extends OpenApi {
7688
7688
  */
7689
7689
  updateKBSyncLinkWithOptions(request: $_model.UpdateKBSyncLinkRequest, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateKBSyncLinkResponse>;
7690
7690
  /**
7691
- * 更新知识库同步链路
7691
+ * Updates a knowledge base synchronization link.
7692
7692
  *
7693
7693
  * @param request - UpdateKBSyncLinkRequest
7694
7694
  * @returns UpdateKBSyncLinkResponse
package/dist/client.js CHANGED
@@ -109,28 +109,6 @@ class Client extends openapi_core_1.default {
109
109
  'cn-zhengzhou-nebula-1': "polardb.aliyuncs.com",
110
110
  'eu-west-1-oxs': "polardb.aliyuncs.com",
111
111
  'rus-west-1-pop': "polardb.aliyuncs.com",
112
- 'cn-hongkong': "polardb.cn-hongkong.aliyuncs.com",
113
- 'cn-zhangjiakou': "polardb.cn-zhangjiakou.aliyuncs.com",
114
- 'cn-shenzhen': "polardb.cn-shenzhen.aliyuncs.com",
115
- 'ap-northeast-2': "polardb.ap-northeast-2.aliyuncs.com",
116
- 'ap-northeast-1': "polardb.ap-northeast-1.aliyuncs.com",
117
- 'cn-chengdu': "polardb.cn-chengdu.aliyuncs.com",
118
- 'cn-guangzhou': "polardb.cn-guangzhou.aliyuncs.com",
119
- 'ap-southeast-1': "polardb.ap-southeast-1.aliyuncs.com",
120
- 'ap-southeast-3': "polardb.ap-southeast-3.aliyuncs.com",
121
- 'cn-huhehaote': "polardb.cn-huhehaote.aliyuncs.com",
122
- 'ap-southeast-5': "polardb.ap-southeast-5.aliyuncs.com",
123
- 'ap-southeast-6': "polardb.ap-southeast-6.aliyuncs.com",
124
- 'ap-southeast-7': "polardb.ap-southeast-7.aliyuncs.com",
125
- 'ap-southeast-8': "polardb.ap-southeast-8.aliyuncs.com",
126
- 'na-south-1': "polardb.na-south-1.aliyuncs.com",
127
- 'eu-central-1': "polardb.eu-central-1.aliyuncs.com",
128
- 'us-west-1': "polardb.us-west-1.aliyuncs.com",
129
- 'eu-west-1': "polardb.eu-west-1.aliyuncs.com",
130
- 'us-east-1': "polardb.us-east-1.aliyuncs.com",
131
- 'me-east-1': "polardb.me-east-1.aliyuncs.com",
132
- 'cn-shanghai-finance-1': "polardb.cn-shanghai-finance-1.aliyuncs.com",
133
- 'cn-shenzhen-finance-1': "polardb.cn-shenzhen-finance-1.aliyuncs.com",
134
112
  };
135
113
  this.checkConfig(config);
136
114
  this._endpoint = this.getEndpoint("polardb", this._regionId, this._endpointRule, this._network, this._suffix, this._endpointMap, this._endpoint);
@@ -2630,7 +2608,7 @@ class Client extends openapi_core_1.default {
2630
2608
  return await this.createAgenticDBTenantApiKeyWithOptions(request, runtime);
2631
2609
  }
2632
2610
  /**
2633
- * Creates an application attached to a PolarDB instance.
2611
+ * Creates an application that is attached to a PolarDB instance.
2634
2612
  *
2635
2613
  * @param tmpReq - CreateApplicationRequest
2636
2614
  * @param runtime - runtime options for this request RuntimeOptions
@@ -2643,6 +2621,9 @@ class Client extends openapi_core_1.default {
2643
2621
  if (!$dara.isNull(tmpReq.components)) {
2644
2622
  request.componentsShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.components, "Components", "json");
2645
2623
  }
2624
+ if (!$dara.isNull(tmpReq.dnatEntries)) {
2625
+ request.dnatEntriesShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.dnatEntries, "DnatEntries", "json");
2626
+ }
2646
2627
  if (!$dara.isNull(tmpReq.endpoints)) {
2647
2628
  request.endpointsShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.endpoints, "Endpoints", "json");
2648
2629
  }
@@ -2692,6 +2673,12 @@ class Client extends openapi_core_1.default {
2692
2673
  if (!$dara.isNull(request.description)) {
2693
2674
  query["Description"] = request.description;
2694
2675
  }
2676
+ if (!$dara.isNull(request.dnatEntriesShrink)) {
2677
+ query["DnatEntries"] = request.dnatEntriesShrink;
2678
+ }
2679
+ if (!$dara.isNull(request.dnatIpAddress)) {
2680
+ query["DnatIpAddress"] = request.dnatIpAddress;
2681
+ }
2695
2682
  if (!$dara.isNull(request.dryRun)) {
2696
2683
  query["DryRun"] = request.dryRun;
2697
2684
  }
@@ -2770,6 +2757,9 @@ class Client extends openapi_core_1.default {
2770
2757
  if (!$dara.isNull(request.vpcId)) {
2771
2758
  query["VpcId"] = request.vpcId;
2772
2759
  }
2760
+ if (!$dara.isNull(request.vpcNatGatewayId)) {
2761
+ query["VpcNatGatewayId"] = request.vpcNatGatewayId;
2762
+ }
2773
2763
  if (!$dara.isNull(request.zoneId)) {
2774
2764
  query["ZoneId"] = request.zoneId;
2775
2765
  }
@@ -2790,7 +2780,7 @@ class Client extends openapi_core_1.default {
2790
2780
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateApplicationResponse({}));
2791
2781
  }
2792
2782
  /**
2793
- * Creates an application attached to a PolarDB instance.
2783
+ * Creates an application that is attached to a PolarDB instance.
2794
2784
  *
2795
2785
  * @param request - CreateApplicationRequest
2796
2786
  * @returns CreateApplicationResponse
@@ -4750,7 +4740,7 @@ class Client extends openapi_core_1.default {
4750
4740
  return await this.createGwConsumerOrderWithOptions(request, runtime);
4751
4741
  }
4752
4742
  /**
4753
- * 创建知识库同步链路
4743
+ * Creates a knowledge base synchronization link.
4754
4744
  *
4755
4745
  * @param request - CreateKBSyncLinkRequest
4756
4746
  * @param runtime - runtime options for this request RuntimeOptions
@@ -4815,7 +4805,7 @@ class Client extends openapi_core_1.default {
4815
4805
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateKBSyncLinkResponse({}));
4816
4806
  }
4817
4807
  /**
4818
- * 创建知识库同步链路
4808
+ * Creates a knowledge base synchronization link.
4819
4809
  *
4820
4810
  * @param request - CreateKBSyncLinkRequest
4821
4811
  * @returns CreateKBSyncLinkResponse
@@ -7802,7 +7792,7 @@ class Client extends openapi_core_1.default {
7802
7792
  return await this.deleteGlobalSecurityIPGroupWithOptions(request, runtime);
7803
7793
  }
7804
7794
  /**
7805
- * 删除知识库同步链路
7795
+ * Deletes a knowledge base synchronization link.
7806
7796
  *
7807
7797
  * @param request - DeleteKBSyncLinkRequest
7808
7798
  * @param runtime - runtime options for this request RuntimeOptions
@@ -7837,7 +7827,7 @@ class Client extends openapi_core_1.default {
7837
7827
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteKBSyncLinkResponse({}));
7838
7828
  }
7839
7829
  /**
7840
- * 删除知识库同步链路
7830
+ * Deletes a knowledge base synchronization link.
7841
7831
  *
7842
7832
  * @param request - DeleteKBSyncLinkRequest
7843
7833
  * @returns DeleteKBSyncLinkResponse
@@ -15319,7 +15309,7 @@ class Client extends openapi_core_1.default {
15319
15309
  return await this.describeHistoryTasksStatWithOptions(request, runtime);
15320
15310
  }
15321
15311
  /**
15322
- * 查询知识库同步列表
15312
+ * Queries the synchronization list of a knowledge base.
15323
15313
  *
15324
15314
  * @param request - DescribeKBSyncLinksRequest
15325
15315
  * @param runtime - runtime options for this request RuntimeOptions
@@ -15354,7 +15344,7 @@ class Client extends openapi_core_1.default {
15354
15344
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeKBSyncLinksResponse({}));
15355
15345
  }
15356
15346
  /**
15357
- * 查询知识库同步列表
15347
+ * Queries the synchronization list of a knowledge base.
15358
15348
  *
15359
15349
  * @param request - DescribeKBSyncLinksRequest
15360
15350
  * @returns DescribeKBSyncLinksResponse
@@ -27482,7 +27472,7 @@ class Client extends openapi_core_1.default {
27482
27472
  return await this.updateExtensionsWithOptions(request, runtime);
27483
27473
  }
27484
27474
  /**
27485
- * 更新知识库同步链路
27475
+ * Updates a knowledge base synchronization link.
27486
27476
  *
27487
27477
  * @param request - UpdateKBSyncLinkRequest
27488
27478
  * @param runtime - runtime options for this request RuntimeOptions
@@ -27538,7 +27528,7 @@ class Client extends openapi_core_1.default {
27538
27528
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateKBSyncLinkResponse({}));
27539
27529
  }
27540
27530
  /**
27541
- * 更新知识库同步链路
27531
+ * Updates a knowledge base synchronization link.
27542
27532
  *
27543
27533
  * @param request - UpdateKBSyncLinkRequest
27544
27534
  * @returns UpdateKBSyncLinkResponse