@alicloud/polardb20170801 8.2.3 → 8.2.5

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 (38) hide show
  1. package/dist/client.d.ts +12 -12
  2. package/dist/client.js +24 -12
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateApplicationRequest.d.ts +177 -24
  5. package/dist/models/CreateApplicationRequest.js +73 -1
  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 +32 -15
  9. package/dist/models/CreateApplicationShrinkRequest.js +4 -0
  10. package/dist/models/CreateApplicationShrinkRequest.js.map +1 -1
  11. package/dist/models/DescribeBackupPolicyRequest.d.ts +1 -1
  12. package/dist/models/DescribeBackupPolicyResponseBody.d.ts +85 -125
  13. package/dist/models/DescribeBackupPolicyResponseBody.js +4 -0
  14. package/dist/models/DescribeBackupPolicyResponseBody.js.map +1 -1
  15. package/dist/models/DescribeDetachedBackupsRequest.d.ts +15 -18
  16. package/dist/models/DescribeDetachedBackupsRequest.js.map +1 -1
  17. package/dist/models/DescribeDetachedBackupsResponseBody.d.ts +3 -3
  18. package/dist/models/ModifyBackupPolicyRequest.d.ts +117 -185
  19. package/dist/models/ModifyBackupPolicyRequest.js.map +1 -1
  20. package/dist/models/ModifyBackupPolicyResponseBody.d.ts +1 -1
  21. package/dist/models/ModifyBackupPolicyShrinkRequest.d.ts +83 -134
  22. package/dist/models/ModifyBackupPolicyShrinkRequest.js.map +1 -1
  23. package/dist/models/model.d.ts +2 -0
  24. package/dist/models/model.js +51 -47
  25. package/dist/models/model.js.map +1 -1
  26. package/package.json +1 -1
  27. package/src/client.ts +28 -12
  28. package/src/models/CreateApplicationRequest.ts +231 -24
  29. package/src/models/CreateApplicationResponseBody.ts +1 -1
  30. package/src/models/CreateApplicationShrinkRequest.ts +36 -15
  31. package/src/models/DescribeBackupPolicyRequest.ts +1 -1
  32. package/src/models/DescribeBackupPolicyResponseBody.ts +89 -125
  33. package/src/models/DescribeDetachedBackupsRequest.ts +17 -20
  34. package/src/models/DescribeDetachedBackupsResponseBody.ts +3 -3
  35. package/src/models/ModifyBackupPolicyRequest.ts +120 -188
  36. package/src/models/ModifyBackupPolicyResponseBody.ts +1 -1
  37. package/src/models/ModifyBackupPolicyShrinkRequest.ts +86 -137
  38. 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 that is attached to a PolarDB instance.
747
+ * Creates an application 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 that is attached to a PolarDB instance.
755
+ * Creates an application associated with a PolarDB instance.
756
756
  *
757
757
  * @param request - CreateApplicationRequest
758
758
  * @returns CreateApplicationResponse
@@ -4005,11 +4005,11 @@ export default class Client extends OpenApi {
4005
4005
  */
4006
4006
  describeDbClusterAttributeZonal(request: $_model.DescribeDbClusterAttributeZonalRequest): Promise<$_model.DescribeDbClusterAttributeZonalResponse>;
4007
4007
  /**
4008
- * Queries the information about the backup sets in a released PolarDB cluster.
4008
+ * Queries the details of backup sets in a released PolarDB cluster.
4009
4009
  *
4010
4010
  * @remarks
4011
- * Before you call this operation, make sure that the PolarDB cluster is in the **Released** state. You must also confirm that the **Retain All Backups Permanently** or **Retain Last Automatic Backup Permanently** backup retention policy takes effect after you release the cluster. If you delete all backup sets after the cluster is released, you cannot use this API operation to query the cluster.
4012
- * > You can call the [DescribeDBClusterAttribute](https://help.aliyun.com/document_detail/98181.html) operation to query the cluster status.
4011
+ * When you invoke this operation, the PolarDB cluster must be in the **Released** state, and one of the following backup retention options must have been selected when the cluster was released: **Long-term Retention (LTR) of All Backups** or **Long-term Retention (LTR) of the Last Backup (Automatic Backup Before Deletion)**. If all retained backup sets of a released cluster have been manually deleted, this operation can no longer query the cluster.
4012
+ * > You can invoke the [DescribeDBClusterAttribute](https://help.aliyun.com/document_detail/98181.html) operation to query the cluster status.
4013
4013
  *
4014
4014
  * @param request - DescribeDetachedBackupsRequest
4015
4015
  * @param runtime - runtime options for this request RuntimeOptions
@@ -4017,11 +4017,11 @@ export default class Client extends OpenApi {
4017
4017
  */
4018
4018
  describeDetachedBackupsWithOptions(request: $_model.DescribeDetachedBackupsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeDetachedBackupsResponse>;
4019
4019
  /**
4020
- * Queries the information about the backup sets in a released PolarDB cluster.
4020
+ * Queries the details of backup sets in a released PolarDB cluster.
4021
4021
  *
4022
4022
  * @remarks
4023
- * Before you call this operation, make sure that the PolarDB cluster is in the **Released** state. You must also confirm that the **Retain All Backups Permanently** or **Retain Last Automatic Backup Permanently** backup retention policy takes effect after you release the cluster. If you delete all backup sets after the cluster is released, you cannot use this API operation to query the cluster.
4024
- * > You can call the [DescribeDBClusterAttribute](https://help.aliyun.com/document_detail/98181.html) operation to query the cluster status.
4023
+ * When you invoke this operation, the PolarDB cluster must be in the **Released** state, and one of the following backup retention options must have been selected when the cluster was released: **Long-term Retention (LTR) of All Backups** or **Long-term Retention (LTR) of the Last Backup (Automatic Backup Before Deletion)**. If all retained backup sets of a released cluster have been manually deleted, this operation can no longer query the cluster.
4024
+ * > You can invoke the [DescribeDBClusterAttribute](https://help.aliyun.com/document_detail/98181.html) operation to query the cluster status.
4025
4025
  *
4026
4026
  * @param request - DescribeDetachedBackupsRequest
4027
4027
  * @returns DescribeDetachedBackupsResponse
@@ -6043,10 +6043,10 @@ export default class Client extends OpenApi {
6043
6043
  */
6044
6044
  modifyAutoRenewAttribute(request: $_model.ModifyAutoRenewAttributeRequest): Promise<$_model.ModifyAutoRenewAttributeResponse>;
6045
6045
  /**
6046
- * Modifies the automatic backup policy for a PolarDB cluster.
6046
+ * Modifies the automatic backup policy of a PolarDB cluster.
6047
6047
  *
6048
6048
  * @remarks
6049
- * > You can also modify the automatic backup policy for a PolarDB cluster in the console. For more information, see [backup settings](https://help.aliyun.com/document_detail/280422.html).
6049
+ * > You can also modify the automatic backup policy of a PolarDB cluster in the console. For more information, see [Backup settings](https://help.aliyun.com/document_detail/280422.html).
6050
6050
  *
6051
6051
  * @param tmpReq - ModifyBackupPolicyRequest
6052
6052
  * @param runtime - runtime options for this request RuntimeOptions
@@ -6054,10 +6054,10 @@ export default class Client extends OpenApi {
6054
6054
  */
6055
6055
  modifyBackupPolicyWithOptions(tmpReq: $_model.ModifyBackupPolicyRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ModifyBackupPolicyResponse>;
6056
6056
  /**
6057
- * Modifies the automatic backup policy for a PolarDB cluster.
6057
+ * Modifies the automatic backup policy of a PolarDB cluster.
6058
6058
  *
6059
6059
  * @remarks
6060
- * > You can also modify the automatic backup policy for a PolarDB cluster in the console. For more information, see [backup settings](https://help.aliyun.com/document_detail/280422.html).
6060
+ * > You can also modify the automatic backup policy of a PolarDB cluster in the console. For more information, see [Backup settings](https://help.aliyun.com/document_detail/280422.html).
6061
6061
  *
6062
6062
  * @param request - ModifyBackupPolicyRequest
6063
6063
  * @returns ModifyBackupPolicyResponse
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 that is attached to a PolarDB instance.
2611
+ * Creates an application associated with a PolarDB instance.
2612
2612
  *
2613
2613
  * @param tmpReq - CreateApplicationRequest
2614
2614
  * @param runtime - runtime options for this request RuntimeOptions
@@ -2618,6 +2618,9 @@ class Client extends openapi_core_1.default {
2618
2618
  tmpReq.validate();
2619
2619
  let request = new $_model.CreateApplicationShrinkRequest({});
2620
2620
  openapi_core_2.OpenApiUtil.convert(tmpReq, request);
2621
+ if (!$dara.isNull(tmpReq.agenticDBBranchSpec)) {
2622
+ request.agenticDBBranchSpecShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.agenticDBBranchSpec, "AgenticDBBranchSpec", "json");
2623
+ }
2621
2624
  if (!$dara.isNull(tmpReq.components)) {
2622
2625
  request.componentsShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.components, "Components", "json");
2623
2626
  }
@@ -2636,10 +2639,16 @@ class Client extends openapi_core_1.default {
2636
2639
  if (!$dara.isNull(tmpReq.parameters)) {
2637
2640
  request.parametersShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.parameters, "Parameters", "json");
2638
2641
  }
2642
+ if (!$dara.isNull(tmpReq.storages)) {
2643
+ request.storagesShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.storages, "Storages", "json");
2644
+ }
2639
2645
  let query = {};
2640
2646
  if (!$dara.isNull(request.AIDBClusterId)) {
2641
2647
  query["AIDBClusterId"] = request.AIDBClusterId;
2642
2648
  }
2649
+ if (!$dara.isNull(request.agenticDBBranchSpecShrink)) {
2650
+ query["AgenticDBBranchSpec"] = request.agenticDBBranchSpecShrink;
2651
+ }
2643
2652
  if (!$dara.isNull(request.applicationType)) {
2644
2653
  query["ApplicationType"] = request.applicationType;
2645
2654
  }
@@ -2742,6 +2751,9 @@ class Client extends openapi_core_1.default {
2742
2751
  if (!$dara.isNull(request.skillTemplateId)) {
2743
2752
  query["SkillTemplateId"] = request.skillTemplateId;
2744
2753
  }
2754
+ if (!$dara.isNull(request.storagesShrink)) {
2755
+ query["Storages"] = request.storagesShrink;
2756
+ }
2745
2757
  if (!$dara.isNull(request.tag)) {
2746
2758
  query["Tag"] = request.tag;
2747
2759
  }
@@ -2780,7 +2792,7 @@ class Client extends openapi_core_1.default {
2780
2792
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateApplicationResponse({}));
2781
2793
  }
2782
2794
  /**
2783
- * Creates an application that is attached to a PolarDB instance.
2795
+ * Creates an application associated with a PolarDB instance.
2784
2796
  *
2785
2797
  * @param request - CreateApplicationRequest
2786
2798
  * @returns CreateApplicationResponse
@@ -14284,11 +14296,11 @@ class Client extends openapi_core_1.default {
14284
14296
  return await this.describeDbClusterAttributeZonalWithOptions(request, runtime);
14285
14297
  }
14286
14298
  /**
14287
- * Queries the information about the backup sets in a released PolarDB cluster.
14299
+ * Queries the details of backup sets in a released PolarDB cluster.
14288
14300
  *
14289
14301
  * @remarks
14290
- * Before you call this operation, make sure that the PolarDB cluster is in the **Released** state. You must also confirm that the **Retain All Backups Permanently** or **Retain Last Automatic Backup Permanently** backup retention policy takes effect after you release the cluster. If you delete all backup sets after the cluster is released, you cannot use this API operation to query the cluster.
14291
- * > You can call the [DescribeDBClusterAttribute](https://help.aliyun.com/document_detail/98181.html) operation to query the cluster status.
14302
+ * When you invoke this operation, the PolarDB cluster must be in the **Released** state, and one of the following backup retention options must have been selected when the cluster was released: **Long-term Retention (LTR) of All Backups** or **Long-term Retention (LTR) of the Last Backup (Automatic Backup Before Deletion)**. If all retained backup sets of a released cluster have been manually deleted, this operation can no longer query the cluster.
14303
+ * > You can invoke the [DescribeDBClusterAttribute](https://help.aliyun.com/document_detail/98181.html) operation to query the cluster status.
14292
14304
  *
14293
14305
  * @param request - DescribeDetachedBackupsRequest
14294
14306
  * @param runtime - runtime options for this request RuntimeOptions
@@ -14353,11 +14365,11 @@ class Client extends openapi_core_1.default {
14353
14365
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeDetachedBackupsResponse({}));
14354
14366
  }
14355
14367
  /**
14356
- * Queries the information about the backup sets in a released PolarDB cluster.
14368
+ * Queries the details of backup sets in a released PolarDB cluster.
14357
14369
  *
14358
14370
  * @remarks
14359
- * Before you call this operation, make sure that the PolarDB cluster is in the **Released** state. You must also confirm that the **Retain All Backups Permanently** or **Retain Last Automatic Backup Permanently** backup retention policy takes effect after you release the cluster. If you delete all backup sets after the cluster is released, you cannot use this API operation to query the cluster.
14360
- * > You can call the [DescribeDBClusterAttribute](https://help.aliyun.com/document_detail/98181.html) operation to query the cluster status.
14371
+ * When you invoke this operation, the PolarDB cluster must be in the **Released** state, and one of the following backup retention options must have been selected when the cluster was released: **Long-term Retention (LTR) of All Backups** or **Long-term Retention (LTR) of the Last Backup (Automatic Backup Before Deletion)**. If all retained backup sets of a released cluster have been manually deleted, this operation can no longer query the cluster.
14372
+ * > You can invoke the [DescribeDBClusterAttribute](https://help.aliyun.com/document_detail/98181.html) operation to query the cluster status.
14361
14373
  *
14362
14374
  * @param request - DescribeDetachedBackupsRequest
14363
14375
  * @returns DescribeDetachedBackupsResponse
@@ -21406,10 +21418,10 @@ class Client extends openapi_core_1.default {
21406
21418
  return await this.modifyAutoRenewAttributeWithOptions(request, runtime);
21407
21419
  }
21408
21420
  /**
21409
- * Modifies the automatic backup policy for a PolarDB cluster.
21421
+ * Modifies the automatic backup policy of a PolarDB cluster.
21410
21422
  *
21411
21423
  * @remarks
21412
- * > You can also modify the automatic backup policy for a PolarDB cluster in the console. For more information, see [backup settings](https://help.aliyun.com/document_detail/280422.html).
21424
+ * > You can also modify the automatic backup policy of a PolarDB cluster in the console. For more information, see [Backup settings](https://help.aliyun.com/document_detail/280422.html).
21413
21425
  *
21414
21426
  * @param tmpReq - ModifyBackupPolicyRequest
21415
21427
  * @param runtime - runtime options for this request RuntimeOptions
@@ -21497,10 +21509,10 @@ class Client extends openapi_core_1.default {
21497
21509
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifyBackupPolicyResponse({}));
21498
21510
  }
21499
21511
  /**
21500
- * Modifies the automatic backup policy for a PolarDB cluster.
21512
+ * Modifies the automatic backup policy of a PolarDB cluster.
21501
21513
  *
21502
21514
  * @remarks
21503
- * > You can also modify the automatic backup policy for a PolarDB cluster in the console. For more information, see [backup settings](https://help.aliyun.com/document_detail/280422.html).
21515
+ * > You can also modify the automatic backup policy of a PolarDB cluster in the console. For more information, see [Backup settings](https://help.aliyun.com/document_detail/280422.html).
21504
21516
  *
21505
21517
  * @param request - ModifyBackupPolicyRequest
21506
21518
  * @returns ModifyBackupPolicyResponse