@alicloud/gpdb20160503 3.13.1 → 3.13.2

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 (33) hide show
  1. package/dist/client.d.ts +12 -12
  2. package/dist/client.js +21 -12
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/GetSupabaseProjectRequest.d.ts +1 -1
  5. package/dist/models/GetSupabaseProjectResponseBody.d.ts +17 -12
  6. package/dist/models/GetSupabaseProjectResponseBody.js.map +1 -1
  7. package/dist/models/ModifyMasterSpecRequest.d.ts +25 -16
  8. package/dist/models/ModifyMasterSpecRequest.js +2 -0
  9. package/dist/models/ModifyMasterSpecRequest.js.map +1 -1
  10. package/dist/models/ModifyMasterSpecResponseBody.d.ts +5 -6
  11. package/dist/models/ModifyMasterSpecResponseBody.js.map +1 -1
  12. package/dist/models/ModifySupabaseAutoScalePolicyRequest.d.ts +11 -2
  13. package/dist/models/ModifySupabaseAutoScalePolicyRequest.js.map +1 -1
  14. package/dist/models/ResetSupabaseProjectPasswordRequest.d.ts +8 -3
  15. package/dist/models/ResetSupabaseProjectPasswordRequest.js.map +1 -1
  16. package/dist/models/UpgradeDbinstanceRequest.d.ts +5 -0
  17. package/dist/models/UpgradeDbinstanceRequest.js +2 -0
  18. package/dist/models/UpgradeDbinstanceRequest.js.map +1 -1
  19. package/dist/models/UpgradeDbversionRequest.d.ts +20 -6
  20. package/dist/models/UpgradeDbversionRequest.js +2 -0
  21. package/dist/models/UpgradeDbversionRequest.js.map +1 -1
  22. package/dist/models/UpgradeDbversionResponseBody.d.ts +5 -5
  23. package/package.json +1 -1
  24. package/src/client.ts +24 -12
  25. package/src/models/GetSupabaseProjectRequest.ts +1 -1
  26. package/src/models/GetSupabaseProjectResponseBody.ts +17 -12
  27. package/src/models/ModifyMasterSpecRequest.ts +27 -16
  28. package/src/models/ModifyMasterSpecResponseBody.ts +5 -6
  29. package/src/models/ModifySupabaseAutoScalePolicyRequest.ts +11 -2
  30. package/src/models/ResetSupabaseProjectPasswordRequest.ts +8 -3
  31. package/src/models/UpgradeDbinstanceRequest.ts +7 -0
  32. package/src/models/UpgradeDbversionRequest.ts +22 -6
  33. package/src/models/UpgradeDbversionResponseBody.ts +5 -5
package/dist/client.d.ts CHANGED
@@ -4313,11 +4313,11 @@ export default class Client extends OpenApi {
4313
4313
  */
4314
4314
  modifyJDBCDataSource(request: $_model.ModifyJDBCDataSourceRequest): Promise<$_model.ModifyJDBCDataSourceResponse>;
4315
4315
  /**
4316
- * Changes the specifications of coordinator node resources for an AnalyticDB for PostgreSQL instance.
4316
+ * Modifies the master node specifications.
4317
4317
  *
4318
4318
  * @remarks
4319
- * This operation is not available for instances in reserved storage mode.
4320
- * Before you call this operation, make sure that you are familiar with the billing of AnalyticDB for PostgreSQL. For more information, see [Billing methods](https://help.aliyun.com/document_detail/35406.html) and [AnalyticDB for PostgreSQL pricing](https://www.alibabacloud.com/zh/product/hybriddb-postgresql/pricing).
4319
+ * This operation does not support instances in storage reservation mode.
4320
+ * Before you call this operation, make sure that you fully understand the [billing methods](https://help.aliyun.com/document_detail/35406.html) and <props="china">[pricing](https://www.aliyun.com/price/product#/gpdb/detail/GreenplumPost)<props="intl">[pricing](https://www.alibabacloud.com/zh/product/hybriddb-postgresql/pricing) of AnalyticDB for PostgreSQL.
4321
4321
  *
4322
4322
  * @param request - ModifyMasterSpecRequest
4323
4323
  * @param runtime - runtime options for this request RuntimeOptions
@@ -4325,11 +4325,11 @@ export default class Client extends OpenApi {
4325
4325
  */
4326
4326
  modifyMasterSpecWithOptions(request: $_model.ModifyMasterSpecRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ModifyMasterSpecResponse>;
4327
4327
  /**
4328
- * Changes the specifications of coordinator node resources for an AnalyticDB for PostgreSQL instance.
4328
+ * Modifies the master node specifications.
4329
4329
  *
4330
4330
  * @remarks
4331
- * This operation is not available for instances in reserved storage mode.
4332
- * Before you call this operation, make sure that you are familiar with the billing of AnalyticDB for PostgreSQL. For more information, see [Billing methods](https://help.aliyun.com/document_detail/35406.html) and [AnalyticDB for PostgreSQL pricing](https://www.alibabacloud.com/zh/product/hybriddb-postgresql/pricing).
4331
+ * This operation does not support instances in storage reservation mode.
4332
+ * Before you call this operation, make sure that you fully understand the [billing methods](https://help.aliyun.com/document_detail/35406.html) and <props="china">[pricing](https://www.aliyun.com/price/product#/gpdb/detail/GreenplumPost)<props="intl">[pricing](https://www.alibabacloud.com/zh/product/hybriddb-postgresql/pricing) of AnalyticDB for PostgreSQL.
4333
4333
  *
4334
4334
  * @param request - ModifyMasterSpecRequest
4335
4335
  * @returns ModifyMasterSpecResponse
@@ -4490,10 +4490,10 @@ export default class Client extends OpenApi {
4490
4490
  */
4491
4491
  modifyStreamingJob(request: $_model.ModifyStreamingJobRequest): Promise<$_model.ModifyStreamingJobResponse>;
4492
4492
  /**
4493
- * Modifies the automatic start and stop policy for a Supabase instance.
4493
+ * Modifies the auto start/stop policy for a Supabase instance.
4494
4494
  *
4495
4495
  * @remarks
4496
- * - Only ADBPG Supabase instances are supported.
4496
+ * - Only AnalyticDB for PostgreSQL Supabase instances are supported.
4497
4497
  *
4498
4498
  * @param request - ModifySupabaseAutoScalePolicyRequest
4499
4499
  * @param runtime - runtime options for this request RuntimeOptions
@@ -4501,10 +4501,10 @@ export default class Client extends OpenApi {
4501
4501
  */
4502
4502
  modifySupabaseAutoScalePolicyWithOptions(request: $_model.ModifySupabaseAutoScalePolicyRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ModifySupabaseAutoScalePolicyResponse>;
4503
4503
  /**
4504
- * Modifies the automatic start and stop policy for a Supabase instance.
4504
+ * Modifies the auto start/stop policy for a Supabase instance.
4505
4505
  *
4506
4506
  * @remarks
4507
- * - Only ADBPG Supabase instances are supported.
4507
+ * - Only AnalyticDB for PostgreSQL Supabase instances are supported.
4508
4508
  *
4509
4509
  * @param request - ModifySupabaseAutoScalePolicyRequest
4510
4510
  * @returns ModifySupabaseAutoScalePolicyResponse
@@ -5353,7 +5353,7 @@ export default class Client extends OpenApi {
5353
5353
  */
5354
5354
  upgradeDBInstance(request: $_model.UpgradeDBInstanceRequest): Promise<$_model.UpgradeDBInstanceResponse>;
5355
5355
  /**
5356
- * Upgrades the minor version of an AnalyticDB for PostgreSQL instance.
5356
+ * Upgrades the minor engine version of a specified AnalyticDB for PostgreSQL instance.
5357
5357
  *
5358
5358
  * @param request - UpgradeDBVersionRequest
5359
5359
  * @param runtime - runtime options for this request RuntimeOptions
@@ -5361,7 +5361,7 @@ export default class Client extends OpenApi {
5361
5361
  */
5362
5362
  upgradeDBVersionWithOptions(request: $_model.UpgradeDBVersionRequest, runtime: $dara.RuntimeOptions): Promise<$_model.UpgradeDBVersionResponse>;
5363
5363
  /**
5364
- * Upgrades the minor version of an AnalyticDB for PostgreSQL instance.
5364
+ * Upgrades the minor engine version of a specified AnalyticDB for PostgreSQL instance.
5365
5365
  *
5366
5366
  * @param request - UpgradeDBVersionRequest
5367
5367
  * @returns UpgradeDBVersionResponse
package/dist/client.js CHANGED
@@ -13474,11 +13474,11 @@ class Client extends openapi_core_1.default {
13474
13474
  return await this.modifyJDBCDataSourceWithOptions(request, runtime);
13475
13475
  }
13476
13476
  /**
13477
- * Changes the specifications of coordinator node resources for an AnalyticDB for PostgreSQL instance.
13477
+ * Modifies the master node specifications.
13478
13478
  *
13479
13479
  * @remarks
13480
- * This operation is not available for instances in reserved storage mode.
13481
- * Before you call this operation, make sure that you are familiar with the billing of AnalyticDB for PostgreSQL. For more information, see [Billing methods](https://help.aliyun.com/document_detail/35406.html) and [AnalyticDB for PostgreSQL pricing](https://www.alibabacloud.com/zh/product/hybriddb-postgresql/pricing).
13480
+ * This operation does not support instances in storage reservation mode.
13481
+ * Before you call this operation, make sure that you fully understand the [billing methods](https://help.aliyun.com/document_detail/35406.html) and <props="china">[pricing](https://www.aliyun.com/price/product#/gpdb/detail/GreenplumPost)<props="intl">[pricing](https://www.alibabacloud.com/zh/product/hybriddb-postgresql/pricing) of AnalyticDB for PostgreSQL.
13482
13482
  *
13483
13483
  * @param request - ModifyMasterSpecRequest
13484
13484
  * @param runtime - runtime options for this request RuntimeOptions
@@ -13493,6 +13493,9 @@ class Client extends openapi_core_1.default {
13493
13493
  if (!$dara.isNull(request.DBInstanceId)) {
13494
13494
  query["DBInstanceId"] = request.DBInstanceId;
13495
13495
  }
13496
+ if (!$dara.isNull(request.effectiveTime)) {
13497
+ query["EffectiveTime"] = request.effectiveTime;
13498
+ }
13496
13499
  if (!$dara.isNull(request.masterAISpec)) {
13497
13500
  query["MasterAISpec"] = request.masterAISpec;
13498
13501
  }
@@ -13519,11 +13522,11 @@ class Client extends openapi_core_1.default {
13519
13522
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifyMasterSpecResponse({}));
13520
13523
  }
13521
13524
  /**
13522
- * Changes the specifications of coordinator node resources for an AnalyticDB for PostgreSQL instance.
13525
+ * Modifies the master node specifications.
13523
13526
  *
13524
13527
  * @remarks
13525
- * This operation is not available for instances in reserved storage mode.
13526
- * Before you call this operation, make sure that you are familiar with the billing of AnalyticDB for PostgreSQL. For more information, see [Billing methods](https://help.aliyun.com/document_detail/35406.html) and [AnalyticDB for PostgreSQL pricing](https://www.alibabacloud.com/zh/product/hybriddb-postgresql/pricing).
13528
+ * This operation does not support instances in storage reservation mode.
13529
+ * Before you call this operation, make sure that you fully understand the [billing methods](https://help.aliyun.com/document_detail/35406.html) and <props="china">[pricing](https://www.aliyun.com/price/product#/gpdb/detail/GreenplumPost)<props="intl">[pricing](https://www.alibabacloud.com/zh/product/hybriddb-postgresql/pricing) of AnalyticDB for PostgreSQL.
13527
13530
  *
13528
13531
  * @param request - ModifyMasterSpecRequest
13529
13532
  * @returns ModifyMasterSpecResponse
@@ -14019,10 +14022,10 @@ class Client extends openapi_core_1.default {
14019
14022
  return await this.modifyStreamingJobWithOptions(request, runtime);
14020
14023
  }
14021
14024
  /**
14022
- * Modifies the automatic start and stop policy for a Supabase instance.
14025
+ * Modifies the auto start/stop policy for a Supabase instance.
14023
14026
  *
14024
14027
  * @remarks
14025
- * - Only ADBPG Supabase instances are supported.
14028
+ * - Only AnalyticDB for PostgreSQL Supabase instances are supported.
14026
14029
  *
14027
14030
  * @param request - ModifySupabaseAutoScalePolicyRequest
14028
14031
  * @param runtime - runtime options for this request RuntimeOptions
@@ -14060,10 +14063,10 @@ class Client extends openapi_core_1.default {
14060
14063
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifySupabaseAutoScalePolicyResponse({}));
14061
14064
  }
14062
14065
  /**
14063
- * Modifies the automatic start and stop policy for a Supabase instance.
14066
+ * Modifies the auto start/stop policy for a Supabase instance.
14064
14067
  *
14065
14068
  * @remarks
14066
- * - Only ADBPG Supabase instances are supported.
14069
+ * - Only AnalyticDB for PostgreSQL Supabase instances are supported.
14067
14070
  *
14068
14071
  * @param request - ModifySupabaseAutoScalePolicyRequest
14069
14072
  * @returns ModifySupabaseAutoScalePolicyResponse
@@ -16619,6 +16622,9 @@ class Client extends openapi_core_1.default {
16619
16622
  if (!$dara.isNull(request.DBInstanceId)) {
16620
16623
  query["DBInstanceId"] = request.DBInstanceId;
16621
16624
  }
16625
+ if (!$dara.isNull(request.effectiveTime)) {
16626
+ query["EffectiveTime"] = request.effectiveTime;
16627
+ }
16622
16628
  if (!$dara.isNull(request.instanceSpec)) {
16623
16629
  query["InstanceSpec"] = request.instanceSpec;
16624
16630
  }
@@ -16686,7 +16692,7 @@ class Client extends openapi_core_1.default {
16686
16692
  return await this.upgradeDBInstanceWithOptions(request, runtime);
16687
16693
  }
16688
16694
  /**
16689
- * Upgrades the minor version of an AnalyticDB for PostgreSQL instance.
16695
+ * Upgrades the minor engine version of a specified AnalyticDB for PostgreSQL instance.
16690
16696
  *
16691
16697
  * @param request - UpgradeDBVersionRequest
16692
16698
  * @param runtime - runtime options for this request RuntimeOptions
@@ -16698,6 +16704,9 @@ class Client extends openapi_core_1.default {
16698
16704
  if (!$dara.isNull(request.DBInstanceId)) {
16699
16705
  query["DBInstanceId"] = request.DBInstanceId;
16700
16706
  }
16707
+ if (!$dara.isNull(request.effectiveTime)) {
16708
+ query["EffectiveTime"] = request.effectiveTime;
16709
+ }
16701
16710
  if (!$dara.isNull(request.majorVersion)) {
16702
16711
  query["MajorVersion"] = request.majorVersion;
16703
16712
  }
@@ -16733,7 +16742,7 @@ class Client extends openapi_core_1.default {
16733
16742
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpgradeDBVersionResponse({}));
16734
16743
  }
16735
16744
  /**
16736
- * Upgrades the minor version of an AnalyticDB for PostgreSQL instance.
16745
+ * Upgrades the minor engine version of a specified AnalyticDB for PostgreSQL instance.
16737
16746
  *
16738
16747
  * @param request - UpgradeDBVersionRequest
16739
16748
  * @returns UpgradeDBVersionResponse