@alicloud/gpdb20160503 3.13.0 → 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 (36) hide show
  1. package/dist/client.d.ts +16 -16
  2. package/dist/client.js +31 -40
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/GetSupabaseProjectResponseBody.d.ts +31 -14
  5. package/dist/models/GetSupabaseProjectResponseBody.js +2 -0
  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 +12 -2
  13. package/dist/models/ModifySupabaseAutoScalePolicyRequest.js +2 -0
  14. package/dist/models/ModifySupabaseAutoScalePolicyRequest.js.map +1 -1
  15. package/dist/models/ResetSupabaseProjectPasswordRequest.d.ts +12 -7
  16. package/dist/models/ResetSupabaseProjectPasswordRequest.js +2 -0
  17. package/dist/models/ResetSupabaseProjectPasswordRequest.js.map +1 -1
  18. package/dist/models/ResetSupabaseProjectPasswordResponseBody.d.ts +1 -1
  19. package/dist/models/UpgradeDbinstanceRequest.d.ts +5 -0
  20. package/dist/models/UpgradeDbinstanceRequest.js +2 -0
  21. package/dist/models/UpgradeDbinstanceRequest.js.map +1 -1
  22. package/dist/models/UpgradeDbversionRequest.d.ts +20 -6
  23. package/dist/models/UpgradeDbversionRequest.js +2 -0
  24. package/dist/models/UpgradeDbversionRequest.js.map +1 -1
  25. package/dist/models/UpgradeDbversionResponseBody.d.ts +4 -4
  26. package/package.json +1 -1
  27. package/src/client.ts +36 -40
  28. package/src/models/GetSupabaseProjectResponseBody.ts +33 -14
  29. package/src/models/ModifyMasterSpecRequest.ts +27 -16
  30. package/src/models/ModifyMasterSpecResponseBody.ts +5 -6
  31. package/src/models/ModifySupabaseAutoScalePolicyRequest.ts +14 -2
  32. package/src/models/ResetSupabaseProjectPasswordRequest.ts +14 -7
  33. package/src/models/ResetSupabaseProjectPasswordResponseBody.ts +1 -1
  34. package/src/models/UpgradeDbinstanceRequest.ts +7 -0
  35. package/src/models/UpgradeDbversionRequest.ts +22 -6
  36. package/src/models/UpgradeDbversionResponseBody.ts +4 -4
package/src/client.ts CHANGED
@@ -49,30 +49,6 @@ export default class Client extends OpenApi {
49
49
  'cn-zhengzhou-nebula-1': "gpdb.aliyuncs.com",
50
50
  'eu-west-1-oxs': "gpdb.aliyuncs.com",
51
51
  'rus-west-1-pop': "gpdb.aliyuncs.com",
52
- 'cn-wulanchabu': "gpdb.cn-wulanchabu.aliyuncs.com",
53
- 'cn-beijing': "gpdb.cn-beijing.aliyuncs.com",
54
- 'cn-qingdao': "gpdb.cn-qingdao.aliyuncs.com",
55
- 'cn-shanghai': "gpdb.cn-shanghai.aliyuncs.com",
56
- 'cn-hongkong': "gpdb.cn-hongkong.aliyuncs.com",
57
- 'cn-zhangjiakou': "gpdb.cn-zhangjiakou.aliyuncs.com",
58
- 'cn-shenzhen': "gpdb.cn-shenzhen.aliyuncs.com",
59
- 'ap-northeast-2': "gpdb.ap-northeast-2.aliyuncs.com",
60
- 'ap-northeast-1': "gpdb.ap-northeast-1.aliyuncs.com",
61
- 'cn-chengdu': "gpdb.cn-chengdu.aliyuncs.com",
62
- 'ap-southeast-1': "gpdb.ap-southeast-1.aliyuncs.com",
63
- 'ap-southeast-3': "gpdb.ap-southeast-3.aliyuncs.com",
64
- 'cn-huhehaote': "gpdb.cn-huhehaote.aliyuncs.com",
65
- 'ap-southeast-5': "gpdb.ap-southeast-5.aliyuncs.com",
66
- 'ap-southeast-7': "gpdb.ap-southeast-7.aliyuncs.com",
67
- 'us-east-1': "gpdb.us-east-1.aliyuncs.com",
68
- 'eu-west-1': "gpdb.eu-west-1.aliyuncs.com",
69
- 'us-west-1': "gpdb.us-west-1.aliyuncs.com",
70
- 'eu-central-1': "gpdb.eu-central-1.aliyuncs.com",
71
- 'me-east-1': "gpdb.me-east-1.aliyuncs.com",
72
- 'me-central-1': "gpdb.me-central-1.aliyuncs.com",
73
- 'cn-shenzhen-finance-1': "gpdb.cn-shenzhen-finance-1.aliyuncs.com",
74
- 'cn-shanghai-finance-1': "gpdb.cn-shanghai-finance-1.aliyuncs.com",
75
- 'cn-north-2-gov-1': "gpdb.cn-north-2-gov-1.aliyuncs.com",
76
52
  };
77
53
  this.checkConfig(config);
78
54
  this._endpoint = this.getEndpoint("gpdb", this._regionId, this._endpointRule, this._network, this._suffix, this._endpointMap, this._endpoint);
@@ -15236,11 +15212,11 @@ export default class Client extends OpenApi {
15236
15212
  }
15237
15213
 
15238
15214
  /**
15239
- * Changes the specifications of coordinator node resources for an AnalyticDB for PostgreSQL instance.
15215
+ * Modifies the master node specifications.
15240
15216
  *
15241
15217
  * @remarks
15242
- * This operation is not available for instances in reserved storage mode.
15243
- * 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).
15218
+ * This operation does not support instances in storage reservation mode.
15219
+ * 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.
15244
15220
  *
15245
15221
  * @param request - ModifyMasterSpecRequest
15246
15222
  * @param runtime - runtime options for this request RuntimeOptions
@@ -15257,6 +15233,10 @@ export default class Client extends OpenApi {
15257
15233
  query["DBInstanceId"] = request.DBInstanceId;
15258
15234
  }
15259
15235
 
15236
+ if (!$dara.isNull(request.effectiveTime)) {
15237
+ query["EffectiveTime"] = request.effectiveTime;
15238
+ }
15239
+
15260
15240
  if (!$dara.isNull(request.masterAISpec)) {
15261
15241
  query["MasterAISpec"] = request.masterAISpec;
15262
15242
  }
@@ -15287,11 +15267,11 @@ export default class Client extends OpenApi {
15287
15267
  }
15288
15268
 
15289
15269
  /**
15290
- * Changes the specifications of coordinator node resources for an AnalyticDB for PostgreSQL instance.
15270
+ * Modifies the master node specifications.
15291
15271
  *
15292
15272
  * @remarks
15293
- * This operation is not available for instances in reserved storage mode.
15294
- * 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).
15273
+ * This operation does not support instances in storage reservation mode.
15274
+ * 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.
15295
15275
  *
15296
15276
  * @param request - ModifyMasterSpecRequest
15297
15277
  * @returns ModifyMasterSpecResponse
@@ -15858,10 +15838,10 @@ export default class Client extends OpenApi {
15858
15838
  }
15859
15839
 
15860
15840
  /**
15861
- * Modifies the automatic start and stop policy for a Supabase instance.
15841
+ * Modifies the auto start/stop policy for a Supabase instance.
15862
15842
  *
15863
15843
  * @remarks
15864
- * - Only ADBPG Supabase instances are supported.
15844
+ * - Only AnalyticDB for PostgreSQL Supabase instances are supported.
15865
15845
  *
15866
15846
  * @param request - ModifySupabaseAutoScalePolicyRequest
15867
15847
  * @param runtime - runtime options for this request RuntimeOptions
@@ -15874,6 +15854,10 @@ export default class Client extends OpenApi {
15874
15854
  query["AutoScale"] = request.autoScale;
15875
15855
  }
15876
15856
 
15857
+ if (!$dara.isNull(request.idleTimeHours)) {
15858
+ query["IdleTimeHours"] = request.idleTimeHours;
15859
+ }
15860
+
15877
15861
  if (!$dara.isNull(request.projectId)) {
15878
15862
  query["ProjectId"] = request.projectId;
15879
15863
  }
@@ -15900,10 +15884,10 @@ export default class Client extends OpenApi {
15900
15884
  }
15901
15885
 
15902
15886
  /**
15903
- * Modifies the automatic start and stop policy for a Supabase instance.
15887
+ * Modifies the auto start/stop policy for a Supabase instance.
15904
15888
  *
15905
15889
  * @remarks
15906
- * - Only ADBPG Supabase instances are supported.
15890
+ * - Only AnalyticDB for PostgreSQL Supabase instances are supported.
15907
15891
  *
15908
15892
  * @param request - ModifySupabaseAutoScalePolicyRequest
15909
15893
  * @returns ModifySupabaseAutoScalePolicyResponse
@@ -17174,10 +17158,10 @@ export default class Client extends OpenApi {
17174
17158
  }
17175
17159
 
17176
17160
  /**
17177
- * Reset the password of a Supabase database
17161
+ * Resets the password of a Supabase database.
17178
17162
  *
17179
17163
  * @remarks
17180
- * Call this API to reset the password of the Supabase database.
17164
+ * Resets the password of a Supabase database.
17181
17165
  *
17182
17166
  * @param request - ResetSupabaseProjectPasswordRequest
17183
17167
  * @param runtime - runtime options for this request RuntimeOptions
@@ -17190,6 +17174,10 @@ export default class Client extends OpenApi {
17190
17174
  query["AccountPassword"] = request.accountPassword;
17191
17175
  }
17192
17176
 
17177
+ if (!$dara.isNull(request.dashboardPassword)) {
17178
+ query["DashboardPassword"] = request.dashboardPassword;
17179
+ }
17180
+
17193
17181
  if (!$dara.isNull(request.projectId)) {
17194
17182
  query["ProjectId"] = request.projectId;
17195
17183
  }
@@ -17216,10 +17204,10 @@ export default class Client extends OpenApi {
17216
17204
  }
17217
17205
 
17218
17206
  /**
17219
- * Reset the password of a Supabase database
17207
+ * Resets the password of a Supabase database.
17220
17208
  *
17221
17209
  * @remarks
17222
- * Call this API to reset the password of the Supabase database.
17210
+ * Resets the password of a Supabase database.
17223
17211
  *
17224
17212
  * @param request - ResetSupabaseProjectPasswordRequest
17225
17213
  * @returns ResetSupabaseProjectPasswordResponse
@@ -18787,6 +18775,10 @@ export default class Client extends OpenApi {
18787
18775
  query["DBInstanceId"] = request.DBInstanceId;
18788
18776
  }
18789
18777
 
18778
+ if (!$dara.isNull(request.effectiveTime)) {
18779
+ query["EffectiveTime"] = request.effectiveTime;
18780
+ }
18781
+
18790
18782
  if (!$dara.isNull(request.instanceSpec)) {
18791
18783
  query["InstanceSpec"] = request.instanceSpec;
18792
18784
  }
@@ -18868,7 +18860,7 @@ export default class Client extends OpenApi {
18868
18860
  }
18869
18861
 
18870
18862
  /**
18871
- * Upgrades the minor version of an AnalyticDB for PostgreSQL instance.
18863
+ * Upgrades the minor engine version of a specified AnalyticDB for PostgreSQL instance.
18872
18864
  *
18873
18865
  * @param request - UpgradeDBVersionRequest
18874
18866
  * @param runtime - runtime options for this request RuntimeOptions
@@ -18881,6 +18873,10 @@ export default class Client extends OpenApi {
18881
18873
  query["DBInstanceId"] = request.DBInstanceId;
18882
18874
  }
18883
18875
 
18876
+ if (!$dara.isNull(request.effectiveTime)) {
18877
+ query["EffectiveTime"] = request.effectiveTime;
18878
+ }
18879
+
18884
18880
  if (!$dara.isNull(request.majorVersion)) {
18885
18881
  query["MajorVersion"] = request.majorVersion;
18886
18882
  }
@@ -18923,7 +18919,7 @@ export default class Client extends OpenApi {
18923
18919
  }
18924
18920
 
18925
18921
  /**
18926
- * Upgrades the minor version of an AnalyticDB for PostgreSQL instance.
18922
+ * Upgrades the minor engine version of a specified AnalyticDB for PostgreSQL instance.
18927
18923
  *
18928
18924
  * @param request - UpgradeDBVersionRequest
18929
18925
  * @returns UpgradeDBVersionResponse
@@ -5,9 +5,19 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class GetSupabaseProjectResponseBody extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * Indicates whether **auto start/stop** is enabled. Valid values:
9
- * - true: Enabled. When enabled, Supabase automatically pauses and resumes based on traffic conditions.
10
- * - false: Disabled. When disabled, the auto start/stop feature of Supabase is turned off.
8
+ * The auto-pause duration in hours.
9
+ *
10
+ * @example
11
+ * 0.5
12
+ */
13
+ appliedIdleTimeHours?: string;
14
+ /**
15
+ * @remarks
16
+ * Specifies whether **auto start/stop** is enabled.
17
+ *
18
+ * Valid values:
19
+ * - true: Enabled. After this feature is enabled, Supabase automatically pauses and resumes based on traffic conditions.
20
+ * - false: Disabled. After this feature is disabled, the auto start/stop feature of Supabase is turned off.
11
21
  *
12
22
  * @example
13
23
  * false
@@ -31,7 +41,7 @@ export class GetSupabaseProjectResponseBody extends $dara.Model {
31
41
  DBSecurityIpList?: string;
32
42
  /**
33
43
  * @remarks
34
- * The Supabase Dashboard password (not currently in use).
44
+ * The Supabase Dashboard password (not currently used).
35
45
  *
36
46
  * @example
37
47
  * xxpassword
@@ -39,7 +49,7 @@ export class GetSupabaseProjectResponseBody extends $dara.Model {
39
49
  dashboardPassword?: string;
40
50
  /**
41
51
  * @remarks
42
- * The Supabase Dashboard username (not currently in use).
52
+ * The Supabase Dashboard username (not currently used).
43
53
  *
44
54
  * @example
45
55
  * username
@@ -65,7 +75,7 @@ export class GetSupabaseProjectResponseBody extends $dara.Model {
65
75
  engine?: string;
66
76
  /**
67
77
  * @remarks
68
- * The DPI engine version.
78
+ * The database DPI engine version.
69
79
  *
70
80
  * @example
71
81
  * 15
@@ -73,7 +83,7 @@ export class GetSupabaseProjectResponseBody extends $dara.Model {
73
83
  engineVersion?: string;
74
84
  /**
75
85
  * @remarks
76
- * The elastic network interfaces (ENIs) ID, which identifies the network interface controller (NIC).
86
+ * The elastic network interface controller (NIC) ID.
77
87
  *
78
88
  * @example
79
89
  * eni-xxxxxx
@@ -87,14 +97,21 @@ export class GetSupabaseProjectResponseBody extends $dara.Model {
87
97
  * v1.0.3
88
98
  */
89
99
  instanceVersion?: string;
100
+ /**
101
+ * @remarks
102
+ * Indicates whether the project is a lightweight edition.
103
+ *
104
+ * @example
105
+ * false
106
+ */
90
107
  lightweight?: string;
91
108
  /**
92
109
  * @remarks
93
- * The billing type. Valid values:
110
+ * The billing method. Valid values:
94
111
  *
95
- * - POSTPAY: Pay-as-you-go.
112
+ * - POSTPAY: pay-as-you-go.
96
113
  *
97
- * - PREPAY: Subscription.
114
+ * - PREPAY: subscription.
98
115
  *
99
116
  * @example
100
117
  * POSTPAY
@@ -102,7 +119,7 @@ export class GetSupabaseProjectResponseBody extends $dara.Model {
102
119
  payType?: string;
103
120
  /**
104
121
  * @remarks
105
- * The internal network connection string of the Supabase Dashboard.
122
+ * The Supabase Dashboard internal network connection string.
106
123
  *
107
124
  * @example
108
125
  * 192.168.0.11
@@ -142,7 +159,7 @@ export class GetSupabaseProjectResponseBody extends $dara.Model {
142
159
  projectSpec?: string;
143
160
  /**
144
161
  * @remarks
145
- * The public network connection string of the Supabase Dashboard.
162
+ * The Supabase Dashboard public network connection string.
146
163
  *
147
164
  * @example
148
165
  * 10.154.11.10
@@ -168,7 +185,7 @@ export class GetSupabaseProjectResponseBody extends $dara.Model {
168
185
  requestId?: string;
169
186
  /**
170
187
  * @remarks
171
- * The list of IP addresses in the IP whitelist group, separated by commas (,).
188
+ * The list of IP addresses in the IP whitelist group, separated by commas.
172
189
  *
173
190
  * @example
174
191
  * 127.0.0.1
@@ -184,7 +201,7 @@ export class GetSupabaseProjectResponseBody extends $dara.Model {
184
201
  status?: string;
185
202
  /**
186
203
  * @remarks
187
- * The storage size. Unit: GB.
204
+ * The storage size, in GB.
188
205
  *
189
206
  * @example
190
207
  * 2
@@ -232,6 +249,7 @@ export class GetSupabaseProjectResponseBody extends $dara.Model {
232
249
  zoneId?: string;
233
250
  static names(): { [key: string]: string } {
234
251
  return {
252
+ appliedIdleTimeHours: 'AppliedIdleTimeHours',
235
253
  autoScale: 'AutoScale',
236
254
  createTime: 'CreateTime',
237
255
  DBSecurityIpList: 'DBSecurityIpList',
@@ -264,6 +282,7 @@ export class GetSupabaseProjectResponseBody extends $dara.Model {
264
282
 
265
283
  static types(): { [key: string]: any } {
266
284
  return {
285
+ appliedIdleTimeHours: 'string',
267
286
  autoScale: 'string',
268
287
  createTime: 'string',
269
288
  DBSecurityIpList: 'string',
@@ -15,7 +15,7 @@ export class ModifyMasterSpecRequest extends $dara.Model {
15
15
  * @remarks
16
16
  * The instance ID.
17
17
  *
18
- * > You can call the [DescribeDBInstances](https://help.aliyun.com/document_detail/86911.html) operation to query the IDs of all AnalyticDB for PostgreSQL instances in a region.
18
+ * > You can call the [DescribeDBInstances](https://help.aliyun.com/document_detail/86911.html) operation to query the instance IDs of all AnalyticDB for PostgreSQL instances in a region.
19
19
  *
20
20
  * This parameter is required.
21
21
  *
@@ -25,27 +25,36 @@ export class ModifyMasterSpecRequest extends $dara.Model {
25
25
  DBInstanceId?: string;
26
26
  /**
27
27
  * @remarks
28
- * This parameter must be specified if you want to change coordinator nodes to AI coordinator nodes.
29
- * >- You cannot specify the MasterAISpec and MasterCU parameters at the same time.
30
- * >- You can change coordinator nodes to AI coordinator nodes only in specific regions and zones.
31
- * >- Only AnalyticDB for PostgreSQL V7.0 instances of Basic Edition support AI coordinator nodes.
32
- * >- You can view the valid values of this parameter on the configuration change page of coordinator nodes.
28
+ * The effective period of the specification change. Valid values:
29
+ * - **Immediately** (default): The change takes effect immediately.
30
+ * - **MaintainTime**: The change takes effect during the maintenance window of the instance.
33
31
  *
34
32
  * @example
35
- * ADB.AIMedium.2
33
+ * Immediate
36
34
  */
37
- masterAISpec?: string;
35
+ effectiveTime?: string;
38
36
  /**
39
37
  * @remarks
40
- * The specifications of coordinator node resources. Valid values:
38
+ * If you want to change the master node to a MasterAI node, specify this parameter.
41
39
  *
42
- * * 2 CU
43
- * * 4 CU
44
- * * 8 CU
45
- * * 16 CU
46
- * * 32 CU
40
+ * > - This parameter and MasterCU cannot be specified at the same time.
41
+ * >- Only specific regions and zones support changing the master node to a MasterAI node.
42
+ * >- Only AnalyticDB for PostgreSQL V7.0 Basic Edition instances support MasterAI nodes.
43
+ * >- You can view all valid values of this parameter on the specification change page for the master node.
47
44
  *
48
- * > You are charged for coordinator node resources of more than 8 compute units (CUs).
45
+ * @example
46
+ * ADB.AIMedium.2
47
+ */
48
+ masterAISpec?: string;
49
+ /**
50
+ * @remarks
51
+ * The master resources. Valid values:
52
+ * - 2 CU
53
+ * - 4 CU
54
+ * - 8 CU
55
+ * - 16 CU
56
+ * - 32 CU
57
+ * > Master resources greater than 8 CU incur additional fees.
49
58
  *
50
59
  * @example
51
60
  * 8 CU
@@ -53,7 +62,7 @@ export class ModifyMasterSpecRequest extends $dara.Model {
53
62
  masterCU?: number;
54
63
  /**
55
64
  * @remarks
56
- * The ID of the resource group to which the instance belongs. For information about how to obtain the ID of a resource group, see [View basic information of a resource group](https://help.aliyun.com/document_detail/151181.html).
65
+ * The ID of the resource group to which the instance belongs. For information about how to obtain the resource group ID, see [View basic information of a resource group](https://help.aliyun.com/document_detail/151181.html).
57
66
  *
58
67
  * @example
59
68
  * rg-bp67acfmxazb4p****
@@ -63,6 +72,7 @@ export class ModifyMasterSpecRequest extends $dara.Model {
63
72
  return {
64
73
  DBInstanceDescription: 'DBInstanceDescription',
65
74
  DBInstanceId: 'DBInstanceId',
75
+ effectiveTime: 'EffectiveTime',
66
76
  masterAISpec: 'MasterAISpec',
67
77
  masterCU: 'MasterCU',
68
78
  resourceGroupId: 'ResourceGroupId',
@@ -73,6 +83,7 @@ export class ModifyMasterSpecRequest extends $dara.Model {
73
83
  return {
74
84
  DBInstanceDescription: 'string',
75
85
  DBInstanceId: 'string',
86
+ effectiveTime: 'string',
76
87
  masterAISpec: 'string',
77
88
  masterCU: 'number',
78
89
  resourceGroupId: 'string',
@@ -13,9 +13,9 @@ export class ModifyMasterSpecResponseBody extends $dara.Model {
13
13
  dbInstanceId?: string;
14
14
  /**
15
15
  * @remarks
16
- * The returned message.
16
+ * The error message.
17
17
  *
18
- * This parameter is returned only if the request fails.
18
+ * This parameter is returned only when the API call fails.
19
19
  *
20
20
  * @example
21
21
  * ******
@@ -31,10 +31,9 @@ export class ModifyMasterSpecResponseBody extends $dara.Model {
31
31
  requestId?: string;
32
32
  /**
33
33
  * @remarks
34
- * Indicates whether the request was successful. Valid values:
35
- *
36
- * * **false**
37
- * * **true**
34
+ * The execution status of the operation. Valid values:
35
+ * - **false**: The operation failed.
36
+ * - **true**: The operation succeeded.
38
37
  *
39
38
  * @example
40
39
  * true
@@ -5,9 +5,11 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class ModifySupabaseAutoScalePolicyRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * Specifies whether to enable **automatic start and stop**. Valid values:
8
+ * Specifies whether to enable **auto start/stop**.
9
+ *
10
+ * Valid values:
9
11
  * - true: Enabled. After this feature is enabled, Supabase automatically pauses and resumes based on traffic conditions.
10
- * - false: Disabled. After this feature is disabled, the automatic start and stop feature of Supabase is turned off.
12
+ * - false: Disabled. After this feature is disabled, the auto start/stop feature of Supabase is turned off.
11
13
  *
12
14
  * This parameter is required.
13
15
  *
@@ -15,6 +17,14 @@ export class ModifySupabaseAutoScalePolicyRequest extends $dara.Model {
15
17
  * false
16
18
  */
17
19
  autoScale?: boolean;
20
+ /**
21
+ * @remarks
22
+ * The idle time before auto stop, in hours.
23
+ *
24
+ * @example
25
+ * 0.5
26
+ */
27
+ idleTimeHours?: string;
18
28
  /**
19
29
  * @remarks
20
30
  * The ID of the Supabase project. You can obtain the workspace ID from the Supabase page in the console.
@@ -36,6 +46,7 @@ export class ModifySupabaseAutoScalePolicyRequest extends $dara.Model {
36
46
  static names(): { [key: string]: string } {
37
47
  return {
38
48
  autoScale: 'AutoScale',
49
+ idleTimeHours: 'IdleTimeHours',
39
50
  projectId: 'ProjectId',
40
51
  regionId: 'RegionId',
41
52
  };
@@ -44,6 +55,7 @@ export class ModifySupabaseAutoScalePolicyRequest extends $dara.Model {
44
55
  static types(): { [key: string]: any } {
45
56
  return {
46
57
  autoScale: 'boolean',
58
+ idleTimeHours: 'string',
47
59
  projectId: 'string',
48
60
  regionId: 'string',
49
61
  };
@@ -6,12 +6,9 @@ export class ResetSupabaseProjectPasswordRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
8
  * The password of the database account.
9
- *
10
- * * The password must contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters.
11
- * * Special characters include `! @ # $ % ^ & * ( ) _ + - =`
12
- * * The password must be 8 to 32 characters in length.
13
- *
14
- * This parameter is required.
9
+ * - The password must contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters.
10
+ * - The supported special characters are: `!@#$%^&*()_+-=`
11
+ * - The password must be 8 to 32 characters in length.
15
12
  *
16
13
  * @example
17
14
  * Pw123456
@@ -19,7 +16,15 @@ export class ResetSupabaseProjectPasswordRequest extends $dara.Model {
19
16
  accountPassword?: string;
20
17
  /**
21
18
  * @remarks
22
- * Supabase Instance ID
19
+ * The Supabase Dashboard password.
20
+ *
21
+ * @example
22
+ * zaQBjed6d4ubV4o
23
+ */
24
+ dashboardPassword?: string;
25
+ /**
26
+ * @remarks
27
+ * The Supabase instance ID.
23
28
  *
24
29
  * This parameter is required.
25
30
  *
@@ -38,6 +43,7 @@ export class ResetSupabaseProjectPasswordRequest extends $dara.Model {
38
43
  static names(): { [key: string]: string } {
39
44
  return {
40
45
  accountPassword: 'AccountPassword',
46
+ dashboardPassword: 'DashboardPassword',
41
47
  projectId: 'ProjectId',
42
48
  regionId: 'RegionId',
43
49
  };
@@ -46,6 +52,7 @@ export class ResetSupabaseProjectPasswordRequest extends $dara.Model {
46
52
  static types(): { [key: string]: any } {
47
53
  return {
48
54
  accountPassword: 'string',
55
+ dashboardPassword: 'string',
49
56
  projectId: 'string',
50
57
  regionId: 'string',
51
58
  };
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class ResetSupabaseProjectPasswordResponseBody extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The unique ID of the request.
8
+ * The request ID.
9
9
  *
10
10
  * @example
11
11
  * ABB39CC3-4488-4857-905D-2E4A051D****
@@ -40,6 +40,11 @@ export class UpgradeDBInstanceRequest extends $dara.Model {
40
40
  * gp-rj***************
41
41
  */
42
42
  DBInstanceId?: string;
43
+ /**
44
+ * @example
45
+ * Immediate
46
+ */
47
+ effectiveTime?: string;
43
48
  /**
44
49
  * @remarks
45
50
  * The specifications of segment nodes. For information about supported node specifications, see [Instance specifications](https://help.aliyun.com/document_detail/35406.html).
@@ -168,6 +173,7 @@ export class UpgradeDBInstanceRequest extends $dara.Model {
168
173
  DBInstanceClass: 'DBInstanceClass',
169
174
  DBInstanceGroupCount: 'DBInstanceGroupCount',
170
175
  DBInstanceId: 'DBInstanceId',
176
+ effectiveTime: 'EffectiveTime',
171
177
  instanceSpec: 'InstanceSpec',
172
178
  masterNodeNum: 'MasterNodeNum',
173
179
  ownerId: 'OwnerId',
@@ -189,6 +195,7 @@ export class UpgradeDBInstanceRequest extends $dara.Model {
189
195
  DBInstanceClass: 'string',
190
196
  DBInstanceGroupCount: 'string',
191
197
  DBInstanceId: 'string',
198
+ effectiveTime: 'string',
192
199
  instanceSpec: 'string',
193
200
  masterNodeNum: 'string',
194
201
  ownerId: 'number',
@@ -5,7 +5,9 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class UpgradeDBVersionRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The ID of the instance.
8
+ * The instance ID.
9
+ *
10
+ * > You can call the [DescribeDBInstances](https://help.aliyun.com/document_detail/86911.html) operation to query the details of all AnalyticDB for PostgreSQL instances in the specified region, including instance IDs.
9
11
  *
10
12
  * This parameter is required.
11
13
  *
@@ -15,7 +17,17 @@ export class UpgradeDBVersionRequest extends $dara.Model {
15
17
  DBInstanceId?: string;
16
18
  /**
17
19
  * @remarks
18
- * This parameter is no longer used and does not need to be specified.
20
+ * The effective period. Valid values:
21
+ * * **Immediate** (default): The upgrade takes effect immediately.
22
+ * * **MaintainTime**: The upgrade takes effect during the O&M window. For more information, see ModifyDBInstanceMaintainTime.
23
+ *
24
+ * @example
25
+ * Immediate
26
+ */
27
+ effectiveTime?: string;
28
+ /**
29
+ * @remarks
30
+ * **[Deprecated]** This parameter is deprecated. You do not need to specify this parameter.
19
31
  *
20
32
  * @example
21
33
  * null
@@ -23,7 +35,7 @@ export class UpgradeDBVersionRequest extends $dara.Model {
23
35
  majorVersion?: string;
24
36
  /**
25
37
  * @remarks
26
- * The minor version of the instance.
38
+ * The minor version.
27
39
  *
28
40
  * @example
29
41
  * 6.3.6.1-202112012048
@@ -32,7 +44,9 @@ export class UpgradeDBVersionRequest extends $dara.Model {
32
44
  ownerId?: number;
33
45
  /**
34
46
  * @remarks
35
- * The region ID of the instance.
47
+ * The region ID.
48
+ *
49
+ * > You can call the [DescribeRegions](https://help.aliyun.com/document_detail/86912.html) operation to query available region IDs.
36
50
  *
37
51
  * @example
38
52
  * cn-hangzhou
@@ -40,7 +54,7 @@ export class UpgradeDBVersionRequest extends $dara.Model {
40
54
  regionId?: string;
41
55
  /**
42
56
  * @remarks
43
- * This parameter is no longer used and does not need to be specified.
57
+ * **[Deprecated]** This parameter is deprecated. You do not need to specify this parameter.
44
58
  *
45
59
  * @example
46
60
  * null
@@ -48,7 +62,7 @@ export class UpgradeDBVersionRequest extends $dara.Model {
48
62
  switchTime?: string;
49
63
  /**
50
64
  * @remarks
51
- * This parameter is no longer used and does not need to be specified.
65
+ * **[Deprecated]** This parameter is deprecated. You do not need to specify this parameter.
52
66
  *
53
67
  * @example
54
68
  * null
@@ -57,6 +71,7 @@ export class UpgradeDBVersionRequest extends $dara.Model {
57
71
  static names(): { [key: string]: string } {
58
72
  return {
59
73
  DBInstanceId: 'DBInstanceId',
74
+ effectiveTime: 'EffectiveTime',
60
75
  majorVersion: 'MajorVersion',
61
76
  minorVersion: 'MinorVersion',
62
77
  ownerId: 'OwnerId',
@@ -69,6 +84,7 @@ export class UpgradeDBVersionRequest extends $dara.Model {
69
84
  static types(): { [key: string]: any } {
70
85
  return {
71
86
  DBInstanceId: 'string',
87
+ effectiveTime: 'string',
72
88
  majorVersion: 'string',
73
89
  minorVersion: 'string',
74
90
  ownerId: 'number',
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class UpgradeDBVersionResponseBody extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * This parameter is no longer returned.
8
+ * **[Deprecated]** This parameter is deprecated. No value is returned for this parameter.
9
9
  *
10
10
  * @example
11
11
  * null
@@ -13,7 +13,7 @@ export class UpgradeDBVersionResponseBody extends $dara.Model {
13
13
  DBInstanceId?: string;
14
14
  /**
15
15
  * @remarks
16
- * The name of the instance.
16
+ * The instance name.
17
17
  *
18
18
  * @example
19
19
  * gp-wz9kmr708m155j***
@@ -21,7 +21,7 @@ export class UpgradeDBVersionResponseBody extends $dara.Model {
21
21
  DBInstanceName?: string;
22
22
  /**
23
23
  * @remarks
24
- * The ID of the request.
24
+ * The request ID.
25
25
  *
26
26
  * @example
27
27
  * 25C11EE5-B7E8-481A-A07C-BD619971A570
@@ -29,7 +29,7 @@ export class UpgradeDBVersionResponseBody extends $dara.Model {
29
29
  requestId?: string;
30
30
  /**
31
31
  * @remarks
32
- * The ID of the task.
32
+ * The task ID.
33
33
  *
34
34
  * @example
35
35
  * 101450956