@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
@@ -4,15 +4,20 @@ import * as $dara from '@darabonba/typescript';
4
4
 
5
5
  export class GetSupabaseProjectResponseBody extends $dara.Model {
6
6
  /**
7
+ * @remarks
8
+ * The auto-pause duration in hours.
9
+ *
7
10
  * @example
8
11
  * 0.5
9
12
  */
10
13
  appliedIdleTimeHours?: string;
11
14
  /**
12
15
  * @remarks
13
- * Indicates whether **auto start and stop** is enabled. Valid values:
16
+ * Specifies whether **auto start/stop** is enabled.
17
+ *
18
+ * Valid values:
14
19
  * - true: Enabled. After this feature is enabled, Supabase automatically pauses and resumes based on traffic conditions.
15
- * - false: Disabled. After this feature is disabled, the auto start and stop feature of Supabase is turned off.
20
+ * - false: Disabled. After this feature is disabled, the auto start/stop feature of Supabase is turned off.
16
21
  *
17
22
  * @example
18
23
  * false
@@ -36,7 +41,7 @@ export class GetSupabaseProjectResponseBody extends $dara.Model {
36
41
  DBSecurityIpList?: string;
37
42
  /**
38
43
  * @remarks
39
- * The Supabase Dashboard password. This parameter is not in use.
44
+ * The Supabase Dashboard password (not currently used).
40
45
  *
41
46
  * @example
42
47
  * xxpassword
@@ -44,7 +49,7 @@ export class GetSupabaseProjectResponseBody extends $dara.Model {
44
49
  dashboardPassword?: string;
45
50
  /**
46
51
  * @remarks
47
- * The Supabase Dashboard username. This parameter is not in use.
52
+ * The Supabase Dashboard username (not currently used).
48
53
  *
49
54
  * @example
50
55
  * username
@@ -52,7 +57,7 @@ export class GetSupabaseProjectResponseBody extends $dara.Model {
52
57
  dashboardUserName?: string;
53
58
  /**
54
59
  * @remarks
55
- * The performance level of the cloud disk. Valid values:
60
+ * The cloud disk performance level. Valid values:
56
61
  * - PL0
57
62
  * - PL1
58
63
  *
@@ -70,7 +75,7 @@ export class GetSupabaseProjectResponseBody extends $dara.Model {
70
75
  engine?: string;
71
76
  /**
72
77
  * @remarks
73
- * The database engine version.
78
+ * The database DPI engine version.
74
79
  *
75
80
  * @example
76
81
  * 15
@@ -78,7 +83,7 @@ export class GetSupabaseProjectResponseBody extends $dara.Model {
78
83
  engineVersion?: string;
79
84
  /**
80
85
  * @remarks
81
- * The elastic network interface (ENI) ID. The network interface controller (NIC) ID of the instance.
86
+ * The elastic network interface controller (NIC) ID.
82
87
  *
83
88
  * @example
84
89
  * eni-xxxxxx
@@ -102,7 +107,7 @@ export class GetSupabaseProjectResponseBody extends $dara.Model {
102
107
  lightweight?: string;
103
108
  /**
104
109
  * @remarks
105
- * The billing type. Valid values:
110
+ * The billing method. Valid values:
106
111
  *
107
112
  * - POSTPAY: pay-as-you-go.
108
113
  *
@@ -114,7 +119,7 @@ export class GetSupabaseProjectResponseBody extends $dara.Model {
114
119
  payType?: string;
115
120
  /**
116
121
  * @remarks
117
- * The internal network connection string of the Supabase Dashboard.
122
+ * The Supabase Dashboard internal network connection string.
118
123
  *
119
124
  * @example
120
125
  * 192.168.0.11
@@ -154,7 +159,7 @@ export class GetSupabaseProjectResponseBody extends $dara.Model {
154
159
  projectSpec?: string;
155
160
  /**
156
161
  * @remarks
157
- * The public network connection string of the Supabase Dashboard.
162
+ * The Supabase Dashboard public network connection string.
158
163
  *
159
164
  * @example
160
165
  * 10.154.11.10
@@ -180,7 +185,7 @@ export class GetSupabaseProjectResponseBody extends $dara.Model {
180
185
  requestId?: string;
181
186
  /**
182
187
  * @remarks
183
- * 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.
184
189
  *
185
190
  * @example
186
191
  * 127.0.0.1
@@ -196,7 +201,7 @@ export class GetSupabaseProjectResponseBody extends $dara.Model {
196
201
  status?: string;
197
202
  /**
198
203
  * @remarks
199
- * The storage size. Unit: GB.
204
+ * The storage size, in GB.
200
205
  *
201
206
  * @example
202
207
  * 2
@@ -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,13 @@ 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
+ */
18
27
  idleTimeHours?: string;
19
28
  /**
20
29
  * @remarks
@@ -7,15 +7,20 @@ export class ResetSupabaseProjectPasswordRequest extends $dara.Model {
7
7
  * @remarks
8
8
  * The password of the database account.
9
9
  * - The password must contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters.
10
- * - The following special characters are supported: `!@#$%^&*()_+-=`
10
+ * - The supported special characters are: `!@#$%^&*()_+-=`
11
11
  * - The password must be 8 to 32 characters in length.
12
12
  *
13
- * This parameter is required.
14
- *
15
13
  * @example
16
14
  * Pw123456
17
15
  */
18
16
  accountPassword?: string;
17
+ /**
18
+ * @remarks
19
+ * The Supabase Dashboard password.
20
+ *
21
+ * @example
22
+ * zaQBjed6d4ubV4o
23
+ */
19
24
  dashboardPassword?: string;
20
25
  /**
21
26
  * @remarks
@@ -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,15 +5,15 @@ 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
- * gp-wz9kmr708m155j***
11
+ * null
12
12
  */
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