@alicloud/polardb20170801 8.4.1 → 8.4.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 (30) hide show
  1. package/dist/client.d.ts +4 -4
  2. package/dist/client.js +10 -4
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateApplicationRequest.d.ts +30 -22
  5. package/dist/models/CreateApplicationRequest.js +2 -0
  6. package/dist/models/CreateApplicationRequest.js.map +1 -1
  7. package/dist/models/CreateApplicationResponseBody.d.ts +1 -1
  8. package/dist/models/CreateApplicationShrinkRequest.d.ts +14 -6
  9. package/dist/models/CreateApplicationShrinkRequest.js +2 -0
  10. package/dist/models/CreateApplicationShrinkRequest.js.map +1 -1
  11. package/dist/models/CreateKbsyncLinkRequest.d.ts +3 -3
  12. package/dist/models/CreateKbsyncLinkResponseBody.d.ts +3 -1
  13. package/dist/models/CreateKbsyncLinkResponseBody.js.map +1 -1
  14. package/dist/models/CreateNetworkChannelRequest.d.ts +5 -0
  15. package/dist/models/CreateNetworkChannelRequest.js +2 -0
  16. package/dist/models/CreateNetworkChannelRequest.js.map +1 -1
  17. package/dist/models/DescribeNetworkChannelResponseBody.d.ts +5 -0
  18. package/dist/models/DescribeNetworkChannelResponseBody.js +2 -0
  19. package/dist/models/DescribeNetworkChannelResponseBody.js.map +1 -1
  20. package/dist/models/ModifyDbclusterEndpointRequest.d.ts +21 -21
  21. package/package.json +1 -1
  22. package/src/client.ts +12 -4
  23. package/src/models/CreateApplicationRequest.ts +32 -22
  24. package/src/models/CreateApplicationResponseBody.ts +1 -1
  25. package/src/models/CreateApplicationShrinkRequest.ts +16 -6
  26. package/src/models/CreateKbsyncLinkRequest.ts +3 -3
  27. package/src/models/CreateKbsyncLinkResponseBody.ts +3 -1
  28. package/src/models/CreateNetworkChannelRequest.ts +7 -0
  29. package/src/models/DescribeNetworkChannelResponseBody.ts +7 -0
  30. package/src/models/ModifyDbclusterEndpointRequest.ts +21 -21
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 associated with a PolarDB instance.
747
+ * Creates an application that is associated with 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 associated with a PolarDB instance.
755
+ * Creates an application that is associated with a PolarDB instance.
756
756
  *
757
757
  * @param request - CreateApplicationRequest
758
758
  * @returns CreateApplicationResponse
@@ -6297,7 +6297,7 @@ export default class Client extends OpenApi {
6297
6297
  */
6298
6298
  modifyDBClusterDescriptionZonal(request: $_model.ModifyDBClusterDescriptionZonalRequest): Promise<$_model.ModifyDBClusterDescriptionZonalResponse>;
6299
6299
  /**
6300
- * Modifies the cluster endpoint attributes of a PolarDB cluster, including the read/write mode, whether new nodes are automatically added to the endpoint, the consistency level, transaction splitting, whether the primary node accepts read requests, and connection pooling.
6300
+ * Modifies the cluster endpoint attributes of a PolarDB cluster, including the read/write mode, whether new nodes are automatically added to the endpoint, consistency level, transaction splitting, whether the primary node accepts read requests, and connection pooling.
6301
6301
  *
6302
6302
  * @param request - ModifyDBClusterEndpointRequest
6303
6303
  * @param runtime - runtime options for this request RuntimeOptions
@@ -6305,7 +6305,7 @@ export default class Client extends OpenApi {
6305
6305
  */
6306
6306
  modifyDBClusterEndpointWithOptions(request: $_model.ModifyDBClusterEndpointRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ModifyDBClusterEndpointResponse>;
6307
6307
  /**
6308
- * Modifies the cluster endpoint attributes of a PolarDB cluster, including the read/write mode, whether new nodes are automatically added to the endpoint, the consistency level, transaction splitting, whether the primary node accepts read requests, and connection pooling.
6308
+ * Modifies the cluster endpoint attributes of a PolarDB cluster, including the read/write mode, whether new nodes are automatically added to the endpoint, consistency level, transaction splitting, whether the primary node accepts read requests, and connection pooling.
6309
6309
  *
6310
6310
  * @param request - ModifyDBClusterEndpointRequest
6311
6311
  * @returns ModifyDBClusterEndpointResponse
package/dist/client.js CHANGED
@@ -2608,7 +2608,7 @@ class Client extends openapi_core_1.default {
2608
2608
  return await this.createAgenticDBTenantApiKeyWithOptions(request, runtime);
2609
2609
  }
2610
2610
  /**
2611
- * Creates an application associated with a PolarDB instance.
2611
+ * Creates an application that is associated with a PolarDB instance.
2612
2612
  *
2613
2613
  * @param tmpReq - CreateApplicationRequest
2614
2614
  * @param runtime - runtime options for this request RuntimeOptions
@@ -2649,6 +2649,9 @@ class Client extends openapi_core_1.default {
2649
2649
  if (!$dara.isNull(request.agenticDBBranchSpecShrink)) {
2650
2650
  query["AgenticDBBranchSpec"] = request.agenticDBBranchSpecShrink;
2651
2651
  }
2652
+ if (!$dara.isNull(request.agenticDBClusterId)) {
2653
+ query["AgenticDBClusterId"] = request.agenticDBClusterId;
2654
+ }
2652
2655
  if (!$dara.isNull(request.applicationType)) {
2653
2656
  query["ApplicationType"] = request.applicationType;
2654
2657
  }
@@ -2792,7 +2795,7 @@ class Client extends openapi_core_1.default {
2792
2795
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateApplicationResponse({}));
2793
2796
  }
2794
2797
  /**
2795
- * Creates an application associated with a PolarDB instance.
2798
+ * Creates an application that is associated with a PolarDB instance.
2796
2799
  *
2797
2800
  * @param request - CreateApplicationRequest
2798
2801
  * @returns CreateApplicationResponse
@@ -5202,6 +5205,9 @@ class Client extends openapi_core_1.default {
5202
5205
  if (!$dara.isNull(request.resourceOwnerId)) {
5203
5206
  query["ResourceOwnerId"] = request.resourceOwnerId;
5204
5207
  }
5208
+ if (!$dara.isNull(request.securityGroupId)) {
5209
+ query["SecurityGroupId"] = request.securityGroupId;
5210
+ }
5205
5211
  if (!$dara.isNull(request.targetDBClusterId)) {
5206
5212
  query["TargetDBClusterId"] = request.targetDBClusterId;
5207
5213
  }
@@ -22469,7 +22475,7 @@ class Client extends openapi_core_1.default {
22469
22475
  return await this.modifyDBClusterDescriptionZonalWithOptions(request, runtime);
22470
22476
  }
22471
22477
  /**
22472
- * Modifies the cluster endpoint attributes of a PolarDB cluster, including the read/write mode, whether new nodes are automatically added to the endpoint, the consistency level, transaction splitting, whether the primary node accepts read requests, and connection pooling.
22478
+ * Modifies the cluster endpoint attributes of a PolarDB cluster, including the read/write mode, whether new nodes are automatically added to the endpoint, consistency level, transaction splitting, whether the primary node accepts read requests, and connection pooling.
22473
22479
  *
22474
22480
  * @param request - ModifyDBClusterEndpointRequest
22475
22481
  * @param runtime - runtime options for this request RuntimeOptions
@@ -22537,7 +22543,7 @@ class Client extends openapi_core_1.default {
22537
22543
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifyDBClusterEndpointResponse({}));
22538
22544
  }
22539
22545
  /**
22540
- * Modifies the cluster endpoint attributes of a PolarDB cluster, including the read/write mode, whether new nodes are automatically added to the endpoint, the consistency level, transaction splitting, whether the primary node accepts read requests, and connection pooling.
22546
+ * Modifies the cluster endpoint attributes of a PolarDB cluster, including the read/write mode, whether new nodes are automatically added to the endpoint, consistency level, transaction splitting, whether the primary node accepts read requests, and connection pooling.
22541
22547
  *
22542
22548
  * @param request - ModifyDBClusterEndpointRequest
22543
22549
  * @returns ModifyDBClusterEndpointResponse