@alicloud/gpdb20160503 3.13.0 → 3.13.1
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.
- package/dist/client.d.ts +4 -4
- package/dist/client.js +10 -28
- package/dist/client.js.map +1 -1
- package/dist/models/GetSupabaseProjectRequest.d.ts +1 -1
- package/dist/models/GetSupabaseProjectResponseBody.d.ts +22 -10
- package/dist/models/GetSupabaseProjectResponseBody.js +2 -0
- package/dist/models/GetSupabaseProjectResponseBody.js.map +1 -1
- package/dist/models/ModifySupabaseAutoScalePolicyRequest.d.ts +1 -0
- package/dist/models/ModifySupabaseAutoScalePolicyRequest.js +2 -0
- package/dist/models/ModifySupabaseAutoScalePolicyRequest.js.map +1 -1
- package/dist/models/ResetSupabaseProjectPasswordRequest.d.ts +5 -5
- package/dist/models/ResetSupabaseProjectPasswordRequest.js +2 -0
- package/dist/models/ResetSupabaseProjectPasswordRequest.js.map +1 -1
- package/dist/models/ResetSupabaseProjectPasswordResponseBody.d.ts +1 -1
- package/dist/models/UpgradeDbversionResponseBody.d.ts +1 -1
- package/package.json +1 -1
- package/src/client.ts +12 -28
- package/src/models/GetSupabaseProjectRequest.ts +1 -1
- package/src/models/GetSupabaseProjectResponseBody.ts +24 -10
- package/src/models/ModifySupabaseAutoScalePolicyRequest.ts +3 -0
- package/src/models/ResetSupabaseProjectPasswordRequest.ts +7 -5
- package/src/models/ResetSupabaseProjectPasswordResponseBody.ts +1 -1
- package/src/models/UpgradeDbversionResponseBody.ts +1 -1
|
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class GetSupabaseProjectRequest extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* The Supabase instance ID. You can obtain
|
|
5
|
+
* The Supabase instance ID. You can obtain the ID from the Supabase page in the console.
|
|
6
6
|
*
|
|
7
7
|
* This parameter is required.
|
|
8
8
|
*
|
|
@@ -1,10 +1,15 @@
|
|
|
1
1
|
import * as $dara from '@darabonba/typescript';
|
|
2
2
|
export declare class GetSupabaseProjectResponseBody extends $dara.Model {
|
|
3
|
+
/**
|
|
4
|
+
* @example
|
|
5
|
+
* 0.5
|
|
6
|
+
*/
|
|
7
|
+
appliedIdleTimeHours?: string;
|
|
3
8
|
/**
|
|
4
9
|
* @remarks
|
|
5
|
-
* Indicates whether **auto start
|
|
6
|
-
* - true: Enabled.
|
|
7
|
-
* - false: Disabled.
|
|
10
|
+
* Indicates whether **auto start and stop** is enabled. Valid values:
|
|
11
|
+
* - true: Enabled. After this feature is enabled, Supabase automatically pauses and resumes based on traffic conditions.
|
|
12
|
+
* - false: Disabled. After this feature is disabled, the auto start and stop feature of Supabase is turned off.
|
|
8
13
|
*
|
|
9
14
|
* @example
|
|
10
15
|
* false
|
|
@@ -28,7 +33,7 @@ export declare class GetSupabaseProjectResponseBody extends $dara.Model {
|
|
|
28
33
|
DBSecurityIpList?: string;
|
|
29
34
|
/**
|
|
30
35
|
* @remarks
|
|
31
|
-
* The Supabase Dashboard password
|
|
36
|
+
* The Supabase Dashboard password. This parameter is not in use.
|
|
32
37
|
*
|
|
33
38
|
* @example
|
|
34
39
|
* xxpassword
|
|
@@ -36,7 +41,7 @@ export declare class GetSupabaseProjectResponseBody extends $dara.Model {
|
|
|
36
41
|
dashboardPassword?: string;
|
|
37
42
|
/**
|
|
38
43
|
* @remarks
|
|
39
|
-
* The Supabase Dashboard username
|
|
44
|
+
* The Supabase Dashboard username. This parameter is not in use.
|
|
40
45
|
*
|
|
41
46
|
* @example
|
|
42
47
|
* username
|
|
@@ -44,7 +49,7 @@ export declare class GetSupabaseProjectResponseBody extends $dara.Model {
|
|
|
44
49
|
dashboardUserName?: string;
|
|
45
50
|
/**
|
|
46
51
|
* @remarks
|
|
47
|
-
* The cloud disk
|
|
52
|
+
* The performance level of the cloud disk. Valid values:
|
|
48
53
|
* - PL0
|
|
49
54
|
* - PL1
|
|
50
55
|
*
|
|
@@ -62,7 +67,7 @@ export declare class GetSupabaseProjectResponseBody extends $dara.Model {
|
|
|
62
67
|
engine?: string;
|
|
63
68
|
/**
|
|
64
69
|
* @remarks
|
|
65
|
-
* The
|
|
70
|
+
* The database engine version.
|
|
66
71
|
*
|
|
67
72
|
* @example
|
|
68
73
|
* 15
|
|
@@ -70,7 +75,7 @@ export declare class GetSupabaseProjectResponseBody extends $dara.Model {
|
|
|
70
75
|
engineVersion?: string;
|
|
71
76
|
/**
|
|
72
77
|
* @remarks
|
|
73
|
-
* The elastic network
|
|
78
|
+
* The elastic network interface (ENI) ID. The network interface controller (NIC) ID of the instance.
|
|
74
79
|
*
|
|
75
80
|
* @example
|
|
76
81
|
* eni-xxxxxx
|
|
@@ -84,14 +89,21 @@ export declare class GetSupabaseProjectResponseBody extends $dara.Model {
|
|
|
84
89
|
* v1.0.3
|
|
85
90
|
*/
|
|
86
91
|
instanceVersion?: string;
|
|
92
|
+
/**
|
|
93
|
+
* @remarks
|
|
94
|
+
* Indicates whether the project is a lightweight edition.
|
|
95
|
+
*
|
|
96
|
+
* @example
|
|
97
|
+
* false
|
|
98
|
+
*/
|
|
87
99
|
lightweight?: string;
|
|
88
100
|
/**
|
|
89
101
|
* @remarks
|
|
90
102
|
* The billing type. Valid values:
|
|
91
103
|
*
|
|
92
|
-
* - POSTPAY:
|
|
104
|
+
* - POSTPAY: pay-as-you-go.
|
|
93
105
|
*
|
|
94
|
-
* - PREPAY:
|
|
106
|
+
* - PREPAY: subscription.
|
|
95
107
|
*
|
|
96
108
|
* @example
|
|
97
109
|
* POSTPAY
|
|
@@ -39,6 +39,7 @@ const $dara = __importStar(require("@darabonba/typescript"));
|
|
|
39
39
|
class GetSupabaseProjectResponseBody extends $dara.Model {
|
|
40
40
|
static names() {
|
|
41
41
|
return {
|
|
42
|
+
appliedIdleTimeHours: 'AppliedIdleTimeHours',
|
|
42
43
|
autoScale: 'AutoScale',
|
|
43
44
|
createTime: 'CreateTime',
|
|
44
45
|
DBSecurityIpList: 'DBSecurityIpList',
|
|
@@ -70,6 +71,7 @@ class GetSupabaseProjectResponseBody extends $dara.Model {
|
|
|
70
71
|
}
|
|
71
72
|
static types() {
|
|
72
73
|
return {
|
|
74
|
+
appliedIdleTimeHours: 'string',
|
|
73
75
|
autoScale: 'string',
|
|
74
76
|
createTime: 'string',
|
|
75
77
|
DBSecurityIpList: 'string',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GetSupabaseProjectResponseBody.js","sourceRoot":"","sources":["../../src/models/GetSupabaseProjectResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,8BAA+B,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"GetSupabaseProjectResponseBody.js","sourceRoot":"","sources":["../../src/models/GetSupabaseProjectResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,8BAA+B,SAAQ,KAAK,CAAC,KAAK;IAgP7D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,oBAAoB,EAAE,sBAAsB;YAC5C,SAAS,EAAE,WAAW;YACtB,UAAU,EAAE,YAAY;YACxB,gBAAgB,EAAE,kBAAkB;YACpC,iBAAiB,EAAE,mBAAmB;YACtC,iBAAiB,EAAE,mBAAmB;YACtC,oBAAoB,EAAE,sBAAsB;YAC5C,MAAM,EAAE,QAAQ;YAChB,aAAa,EAAE,eAAe;YAC9B,GAAG,EAAE,KAAK;YACV,eAAe,EAAE,iBAAiB;YAClC,WAAW,EAAE,aAAa;YAC1B,OAAO,EAAE,SAAS;YAClB,iBAAiB,EAAE,mBAAmB;YACtC,kBAAkB,EAAE,oBAAoB;YACxC,SAAS,EAAE,WAAW;YACtB,WAAW,EAAE,aAAa;YAC1B,WAAW,EAAE,aAAa;YAC1B,gBAAgB,EAAE,kBAAkB;YACpC,QAAQ,EAAE,UAAU;YACpB,SAAS,EAAE,WAAW;YACtB,cAAc,EAAE,gBAAgB;YAChC,MAAM,EAAE,QAAQ;YAChB,WAAW,EAAE,aAAa;YAC1B,WAAW,EAAE,aAAa;YAC1B,SAAS,EAAE,WAAW;YACtB,KAAK,EAAE,OAAO;YACd,MAAM,EAAE,QAAQ;SACjB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,oBAAoB,EAAE,QAAQ;YAC9B,SAAS,EAAE,QAAQ;YACnB,UAAU,EAAE,QAAQ;YACpB,gBAAgB,EAAE,QAAQ;YAC1B,iBAAiB,EAAE,QAAQ;YAC3B,iBAAiB,EAAE,QAAQ;YAC3B,oBAAoB,EAAE,QAAQ;YAC9B,MAAM,EAAE,QAAQ;YAChB,aAAa,EAAE,QAAQ;YACvB,GAAG,EAAE,QAAQ;YACb,eAAe,EAAE,QAAQ;YACzB,WAAW,EAAE,QAAQ;YACrB,OAAO,EAAE,QAAQ;YACjB,iBAAiB,EAAE,QAAQ;YAC3B,kBAAkB,EAAE,QAAQ;YAC5B,SAAS,EAAE,QAAQ;YACnB,WAAW,EAAE,QAAQ;YACrB,WAAW,EAAE,QAAQ;YACrB,gBAAgB,EAAE,QAAQ;YAC1B,QAAQ,EAAE,QAAQ;YAClB,SAAS,EAAE,QAAQ;YACnB,cAAc,EAAE,QAAQ;YACxB,MAAM,EAAE,QAAQ;YAChB,WAAW,EAAE,QAAQ;YACrB,WAAW,EAAE,QAAQ;YACrB,SAAS,EAAE,QAAQ;YACnB,KAAK,EAAE,QAAQ;YACf,MAAM,EAAE,QAAQ;SACjB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAzTD,wEAyTC"}
|
|
@@ -12,6 +12,7 @@ export declare class ModifySupabaseAutoScalePolicyRequest extends $dara.Model {
|
|
|
12
12
|
* false
|
|
13
13
|
*/
|
|
14
14
|
autoScale?: boolean;
|
|
15
|
+
idleTimeHours?: string;
|
|
15
16
|
/**
|
|
16
17
|
* @remarks
|
|
17
18
|
* The ID of the Supabase project. You can obtain the workspace ID from the Supabase page in the console.
|
|
@@ -40,6 +40,7 @@ class ModifySupabaseAutoScalePolicyRequest extends $dara.Model {
|
|
|
40
40
|
static names() {
|
|
41
41
|
return {
|
|
42
42
|
autoScale: 'AutoScale',
|
|
43
|
+
idleTimeHours: 'IdleTimeHours',
|
|
43
44
|
projectId: 'ProjectId',
|
|
44
45
|
regionId: 'RegionId',
|
|
45
46
|
};
|
|
@@ -47,6 +48,7 @@ class ModifySupabaseAutoScalePolicyRequest extends $dara.Model {
|
|
|
47
48
|
static types() {
|
|
48
49
|
return {
|
|
49
50
|
autoScale: 'boolean',
|
|
51
|
+
idleTimeHours: 'string',
|
|
50
52
|
projectId: 'string',
|
|
51
53
|
regionId: 'string',
|
|
52
54
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ModifySupabaseAutoScalePolicyRequest.js","sourceRoot":"","sources":["../../src/models/ModifySupabaseAutoScalePolicyRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,oCAAqC,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"ModifySupabaseAutoScalePolicyRequest.js","sourceRoot":"","sources":["../../src/models/ModifySupabaseAutoScalePolicyRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,oCAAqC,SAAQ,KAAK,CAAC,KAAK;IAgCnE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,SAAS,EAAE,WAAW;YACtB,aAAa,EAAE,eAAe;YAC9B,SAAS,EAAE,WAAW;YACtB,QAAQ,EAAE,UAAU;SACrB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,SAAS,EAAE,SAAS;YACpB,aAAa,EAAE,QAAQ;YACvB,SAAS,EAAE,QAAQ;YACnB,QAAQ,EAAE,QAAQ;SACnB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAzDD,oFAyDC"}
|
|
@@ -3,10 +3,9 @@ export declare class ResetSupabaseProjectPasswordRequest extends $dara.Model {
|
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
5
|
* The password of the database account.
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
* * The password must be 8 to 32 characters in length.
|
|
6
|
+
* - The password must contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters.
|
|
7
|
+
* - The following special characters are supported: `!@#$%^&*()_+-=`
|
|
8
|
+
* - The password must be 8 to 32 characters in length.
|
|
10
9
|
*
|
|
11
10
|
* This parameter is required.
|
|
12
11
|
*
|
|
@@ -14,9 +13,10 @@ export declare class ResetSupabaseProjectPasswordRequest extends $dara.Model {
|
|
|
14
13
|
* Pw123456
|
|
15
14
|
*/
|
|
16
15
|
accountPassword?: string;
|
|
16
|
+
dashboardPassword?: string;
|
|
17
17
|
/**
|
|
18
18
|
* @remarks
|
|
19
|
-
* Supabase
|
|
19
|
+
* The Supabase instance ID.
|
|
20
20
|
*
|
|
21
21
|
* This parameter is required.
|
|
22
22
|
*
|
|
@@ -40,6 +40,7 @@ class ResetSupabaseProjectPasswordRequest extends $dara.Model {
|
|
|
40
40
|
static names() {
|
|
41
41
|
return {
|
|
42
42
|
accountPassword: 'AccountPassword',
|
|
43
|
+
dashboardPassword: 'DashboardPassword',
|
|
43
44
|
projectId: 'ProjectId',
|
|
44
45
|
regionId: 'RegionId',
|
|
45
46
|
};
|
|
@@ -47,6 +48,7 @@ class ResetSupabaseProjectPasswordRequest extends $dara.Model {
|
|
|
47
48
|
static types() {
|
|
48
49
|
return {
|
|
49
50
|
accountPassword: 'string',
|
|
51
|
+
dashboardPassword: 'string',
|
|
50
52
|
projectId: 'string',
|
|
51
53
|
regionId: 'string',
|
|
52
54
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ResetSupabaseProjectPasswordRequest.js","sourceRoot":"","sources":["../../src/models/ResetSupabaseProjectPasswordRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,mCAAoC,SAAQ,KAAK,CAAC,KAAK;IAiClE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,eAAe,EAAE,iBAAiB;YAClC,SAAS,EAAE,WAAW;YACtB,QAAQ,EAAE,UAAU;SACrB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,eAAe,EAAE,QAAQ;YACzB,SAAS,EAAE,QAAQ;YACnB,QAAQ,EAAE,QAAQ;SACnB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;
|
|
1
|
+
{"version":3,"file":"ResetSupabaseProjectPasswordRequest.js","sourceRoot":"","sources":["../../src/models/ResetSupabaseProjectPasswordRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,mCAAoC,SAAQ,KAAK,CAAC,KAAK;IAiClE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,eAAe,EAAE,iBAAiB;YAClC,iBAAiB,EAAE,mBAAmB;YACtC,SAAS,EAAE,WAAW;YACtB,QAAQ,EAAE,UAAU;SACrB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,eAAe,EAAE,QAAQ;YACzB,iBAAiB,EAAE,QAAQ;YAC3B,SAAS,EAAE,QAAQ;YACnB,QAAQ,EAAE,QAAQ;SACnB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA1DD,kFA0DC"}
|
package/package.json
CHANGED
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);
|
|
@@ -15874,6 +15850,10 @@ export default class Client extends OpenApi {
|
|
|
15874
15850
|
query["AutoScale"] = request.autoScale;
|
|
15875
15851
|
}
|
|
15876
15852
|
|
|
15853
|
+
if (!$dara.isNull(request.idleTimeHours)) {
|
|
15854
|
+
query["IdleTimeHours"] = request.idleTimeHours;
|
|
15855
|
+
}
|
|
15856
|
+
|
|
15877
15857
|
if (!$dara.isNull(request.projectId)) {
|
|
15878
15858
|
query["ProjectId"] = request.projectId;
|
|
15879
15859
|
}
|
|
@@ -17174,10 +17154,10 @@ export default class Client extends OpenApi {
|
|
|
17174
17154
|
}
|
|
17175
17155
|
|
|
17176
17156
|
/**
|
|
17177
|
-
*
|
|
17157
|
+
* Resets the password of a Supabase database.
|
|
17178
17158
|
*
|
|
17179
17159
|
* @remarks
|
|
17180
|
-
*
|
|
17160
|
+
* Resets the password of a Supabase database.
|
|
17181
17161
|
*
|
|
17182
17162
|
* @param request - ResetSupabaseProjectPasswordRequest
|
|
17183
17163
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -17190,6 +17170,10 @@ export default class Client extends OpenApi {
|
|
|
17190
17170
|
query["AccountPassword"] = request.accountPassword;
|
|
17191
17171
|
}
|
|
17192
17172
|
|
|
17173
|
+
if (!$dara.isNull(request.dashboardPassword)) {
|
|
17174
|
+
query["DashboardPassword"] = request.dashboardPassword;
|
|
17175
|
+
}
|
|
17176
|
+
|
|
17193
17177
|
if (!$dara.isNull(request.projectId)) {
|
|
17194
17178
|
query["ProjectId"] = request.projectId;
|
|
17195
17179
|
}
|
|
@@ -17216,10 +17200,10 @@ export default class Client extends OpenApi {
|
|
|
17216
17200
|
}
|
|
17217
17201
|
|
|
17218
17202
|
/**
|
|
17219
|
-
*
|
|
17203
|
+
* Resets the password of a Supabase database.
|
|
17220
17204
|
*
|
|
17221
17205
|
* @remarks
|
|
17222
|
-
*
|
|
17206
|
+
* Resets the password of a Supabase database.
|
|
17223
17207
|
*
|
|
17224
17208
|
* @param request - ResetSupabaseProjectPasswordRequest
|
|
17225
17209
|
* @returns ResetSupabaseProjectPasswordResponse
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class GetSupabaseProjectRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The Supabase instance ID. You can obtain
|
|
8
|
+
* The Supabase instance ID. You can obtain the ID from the Supabase page in the console.
|
|
9
9
|
*
|
|
10
10
|
* This parameter is required.
|
|
11
11
|
*
|
|
@@ -3,11 +3,16 @@ import * as $dara from '@darabonba/typescript';
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
export class GetSupabaseProjectResponseBody extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* 0.5
|
|
9
|
+
*/
|
|
10
|
+
appliedIdleTimeHours?: string;
|
|
6
11
|
/**
|
|
7
12
|
* @remarks
|
|
8
|
-
* Indicates whether **auto start
|
|
9
|
-
* - true: Enabled.
|
|
10
|
-
* - false: Disabled.
|
|
13
|
+
* Indicates whether **auto start and stop** is enabled. Valid values:
|
|
14
|
+
* - 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.
|
|
11
16
|
*
|
|
12
17
|
* @example
|
|
13
18
|
* false
|
|
@@ -31,7 +36,7 @@ export class GetSupabaseProjectResponseBody extends $dara.Model {
|
|
|
31
36
|
DBSecurityIpList?: string;
|
|
32
37
|
/**
|
|
33
38
|
* @remarks
|
|
34
|
-
* The Supabase Dashboard password
|
|
39
|
+
* The Supabase Dashboard password. This parameter is not in use.
|
|
35
40
|
*
|
|
36
41
|
* @example
|
|
37
42
|
* xxpassword
|
|
@@ -39,7 +44,7 @@ export class GetSupabaseProjectResponseBody extends $dara.Model {
|
|
|
39
44
|
dashboardPassword?: string;
|
|
40
45
|
/**
|
|
41
46
|
* @remarks
|
|
42
|
-
* The Supabase Dashboard username
|
|
47
|
+
* The Supabase Dashboard username. This parameter is not in use.
|
|
43
48
|
*
|
|
44
49
|
* @example
|
|
45
50
|
* username
|
|
@@ -47,7 +52,7 @@ export class GetSupabaseProjectResponseBody extends $dara.Model {
|
|
|
47
52
|
dashboardUserName?: string;
|
|
48
53
|
/**
|
|
49
54
|
* @remarks
|
|
50
|
-
* The cloud disk
|
|
55
|
+
* The performance level of the cloud disk. Valid values:
|
|
51
56
|
* - PL0
|
|
52
57
|
* - PL1
|
|
53
58
|
*
|
|
@@ -65,7 +70,7 @@ export class GetSupabaseProjectResponseBody extends $dara.Model {
|
|
|
65
70
|
engine?: string;
|
|
66
71
|
/**
|
|
67
72
|
* @remarks
|
|
68
|
-
* The
|
|
73
|
+
* The database engine version.
|
|
69
74
|
*
|
|
70
75
|
* @example
|
|
71
76
|
* 15
|
|
@@ -73,7 +78,7 @@ export class GetSupabaseProjectResponseBody extends $dara.Model {
|
|
|
73
78
|
engineVersion?: string;
|
|
74
79
|
/**
|
|
75
80
|
* @remarks
|
|
76
|
-
* The elastic network
|
|
81
|
+
* The elastic network interface (ENI) ID. The network interface controller (NIC) ID of the instance.
|
|
77
82
|
*
|
|
78
83
|
* @example
|
|
79
84
|
* eni-xxxxxx
|
|
@@ -87,14 +92,21 @@ export class GetSupabaseProjectResponseBody extends $dara.Model {
|
|
|
87
92
|
* v1.0.3
|
|
88
93
|
*/
|
|
89
94
|
instanceVersion?: string;
|
|
95
|
+
/**
|
|
96
|
+
* @remarks
|
|
97
|
+
* Indicates whether the project is a lightweight edition.
|
|
98
|
+
*
|
|
99
|
+
* @example
|
|
100
|
+
* false
|
|
101
|
+
*/
|
|
90
102
|
lightweight?: string;
|
|
91
103
|
/**
|
|
92
104
|
* @remarks
|
|
93
105
|
* The billing type. Valid values:
|
|
94
106
|
*
|
|
95
|
-
* - POSTPAY:
|
|
107
|
+
* - POSTPAY: pay-as-you-go.
|
|
96
108
|
*
|
|
97
|
-
* - PREPAY:
|
|
109
|
+
* - PREPAY: subscription.
|
|
98
110
|
*
|
|
99
111
|
* @example
|
|
100
112
|
* POSTPAY
|
|
@@ -232,6 +244,7 @@ export class GetSupabaseProjectResponseBody extends $dara.Model {
|
|
|
232
244
|
zoneId?: string;
|
|
233
245
|
static names(): { [key: string]: string } {
|
|
234
246
|
return {
|
|
247
|
+
appliedIdleTimeHours: 'AppliedIdleTimeHours',
|
|
235
248
|
autoScale: 'AutoScale',
|
|
236
249
|
createTime: 'CreateTime',
|
|
237
250
|
DBSecurityIpList: 'DBSecurityIpList',
|
|
@@ -264,6 +277,7 @@ export class GetSupabaseProjectResponseBody extends $dara.Model {
|
|
|
264
277
|
|
|
265
278
|
static types(): { [key: string]: any } {
|
|
266
279
|
return {
|
|
280
|
+
appliedIdleTimeHours: 'string',
|
|
267
281
|
autoScale: 'string',
|
|
268
282
|
createTime: 'string',
|
|
269
283
|
DBSecurityIpList: 'string',
|
|
@@ -15,6 +15,7 @@ export class ModifySupabaseAutoScalePolicyRequest extends $dara.Model {
|
|
|
15
15
|
* false
|
|
16
16
|
*/
|
|
17
17
|
autoScale?: boolean;
|
|
18
|
+
idleTimeHours?: string;
|
|
18
19
|
/**
|
|
19
20
|
* @remarks
|
|
20
21
|
* The ID of the Supabase project. You can obtain the workspace ID from the Supabase page in the console.
|
|
@@ -36,6 +37,7 @@ export class ModifySupabaseAutoScalePolicyRequest extends $dara.Model {
|
|
|
36
37
|
static names(): { [key: string]: string } {
|
|
37
38
|
return {
|
|
38
39
|
autoScale: 'AutoScale',
|
|
40
|
+
idleTimeHours: 'IdleTimeHours',
|
|
39
41
|
projectId: 'ProjectId',
|
|
40
42
|
regionId: 'RegionId',
|
|
41
43
|
};
|
|
@@ -44,6 +46,7 @@ export class ModifySupabaseAutoScalePolicyRequest extends $dara.Model {
|
|
|
44
46
|
static types(): { [key: string]: any } {
|
|
45
47
|
return {
|
|
46
48
|
autoScale: 'boolean',
|
|
49
|
+
idleTimeHours: 'string',
|
|
47
50
|
projectId: 'string',
|
|
48
51
|
regionId: 'string',
|
|
49
52
|
};
|
|
@@ -6,10 +6,9 @@ export class ResetSupabaseProjectPasswordRequest extends $dara.Model {
|
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
8
|
* The password of the database account.
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
*
|
|
12
|
-
* * The password must be 8 to 32 characters in length.
|
|
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: `!@#$%^&*()_+-=`
|
|
11
|
+
* - The password must be 8 to 32 characters in length.
|
|
13
12
|
*
|
|
14
13
|
* This parameter is required.
|
|
15
14
|
*
|
|
@@ -17,9 +16,10 @@ export class ResetSupabaseProjectPasswordRequest extends $dara.Model {
|
|
|
17
16
|
* Pw123456
|
|
18
17
|
*/
|
|
19
18
|
accountPassword?: string;
|
|
19
|
+
dashboardPassword?: string;
|
|
20
20
|
/**
|
|
21
21
|
* @remarks
|
|
22
|
-
* Supabase
|
|
22
|
+
* The Supabase instance ID.
|
|
23
23
|
*
|
|
24
24
|
* This parameter is required.
|
|
25
25
|
*
|
|
@@ -38,6 +38,7 @@ export class ResetSupabaseProjectPasswordRequest extends $dara.Model {
|
|
|
38
38
|
static names(): { [key: string]: string } {
|
|
39
39
|
return {
|
|
40
40
|
accountPassword: 'AccountPassword',
|
|
41
|
+
dashboardPassword: 'DashboardPassword',
|
|
41
42
|
projectId: 'ProjectId',
|
|
42
43
|
regionId: 'RegionId',
|
|
43
44
|
};
|
|
@@ -46,6 +47,7 @@ export class ResetSupabaseProjectPasswordRequest extends $dara.Model {
|
|
|
46
47
|
static types(): { [key: string]: any } {
|
|
47
48
|
return {
|
|
48
49
|
accountPassword: 'string',
|
|
50
|
+
dashboardPassword: 'string',
|
|
49
51
|
projectId: 'string',
|
|
50
52
|
regionId: 'string',
|
|
51
53
|
};
|