@alicloud/gpdb20160503 3.12.1 → 3.13.0
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 +23 -8
- package/dist/client.js +98 -20
- package/dist/client.js.map +1 -1
- package/dist/models/CreateSupabaseProjectRequest.d.ts +4 -3
- package/dist/models/CreateSupabaseProjectRequest.js +2 -0
- package/dist/models/CreateSupabaseProjectRequest.js.map +1 -1
- package/dist/models/CreateSupabaseProjectResponseBody.d.ts +1 -1
- package/dist/models/DescribeBranchRequest.d.ts +1 -1
- package/dist/models/DescribeBranchResponseBody.d.ts +11 -4
- package/dist/models/DescribeBranchResponseBody.js.map +1 -1
- package/dist/models/DescribeDbversionRequest.d.ts +24 -0
- package/dist/models/DescribeDbversionRequest.js +60 -0
- package/dist/models/DescribeDbversionRequest.js.map +1 -0
- package/dist/models/DescribeDbversionResponse.d.ts +19 -0
- package/dist/models/DescribeDbversionResponse.js +69 -0
- package/dist/models/DescribeDbversionResponse.js.map +1 -0
- package/dist/models/DescribeDbversionResponseBody.d.ts +29 -0
- package/dist/models/DescribeDbversionResponseBody.js +60 -0
- package/dist/models/DescribeDbversionResponseBody.js.map +1 -0
- package/dist/models/GetSupabaseProjectRequest.d.ts +2 -2
- package/dist/models/GetSupabaseProjectResponseBody.d.ts +26 -36
- package/dist/models/GetSupabaseProjectResponseBody.js +2 -0
- package/dist/models/GetSupabaseProjectResponseBody.js.map +1 -1
- package/dist/models/ListBranchesRequest.d.ts +2 -2
- package/dist/models/model.d.ts +3 -0
- package/dist/models/model.js +18 -12
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +103 -20
- package/src/models/CreateSupabaseProjectRequest.ts +6 -3
- package/src/models/CreateSupabaseProjectResponseBody.ts +1 -1
- package/src/models/DescribeBranchRequest.ts +1 -1
- package/src/models/DescribeBranchResponseBody.ts +11 -4
- package/src/models/DescribeDbversionRequest.ts +39 -0
- package/src/models/DescribeDbversionResponse.ts +40 -0
- package/src/models/DescribeDbversionResponseBody.ts +44 -0
- package/src/models/GetSupabaseProjectRequest.ts +2 -2
- package/src/models/GetSupabaseProjectResponseBody.ts +28 -36
- package/src/models/ListBranchesRequest.ts +2 -2
- package/src/models/model.ts +3 -0
package/src/client.ts
CHANGED
|
@@ -13,33 +13,66 @@ export default class Client extends OpenApi {
|
|
|
13
13
|
super(config);
|
|
14
14
|
this._endpointRule = "regional";
|
|
15
15
|
this._endpointMap = {
|
|
16
|
-
'cn-beijing': "gpdb.aliyuncs.com",
|
|
17
16
|
'cn-hangzhou': "gpdb.aliyuncs.com",
|
|
18
|
-
'cn-shanghai': "gpdb.aliyuncs.com",
|
|
19
|
-
'cn-shenzhen': "gpdb.aliyuncs.com",
|
|
20
|
-
'cn-hongkong': "gpdb.aliyuncs.com",
|
|
21
|
-
'ap-southeast-1': "gpdb.aliyuncs.com",
|
|
22
|
-
'us-west-1': "gpdb.aliyuncs.com",
|
|
23
|
-
'us-east-1': "gpdb.aliyuncs.com",
|
|
24
17
|
'cn-hangzhou-finance': "gpdb.aliyuncs.com",
|
|
25
|
-
'
|
|
26
|
-
'
|
|
27
|
-
'
|
|
28
|
-
'cn-
|
|
18
|
+
'ap-northeast-2-pop': "gpdb.aliyuncs.com",
|
|
19
|
+
'ap-south-1': "gpdb.aliyuncs.com",
|
|
20
|
+
'ap-southeast-2': "gpdb.aliyuncs.com",
|
|
21
|
+
'cn-beijing-finance-1': "gpdb.aliyuncs.com",
|
|
22
|
+
'cn-beijing-finance-pop': "gpdb.aliyuncs.com",
|
|
23
|
+
'cn-beijing-gov-1': "gpdb.aliyuncs.com",
|
|
24
|
+
'cn-beijing-nu16-b01': "gpdb.aliyuncs.com",
|
|
25
|
+
'cn-edge-1': "gpdb.aliyuncs.com",
|
|
26
|
+
'cn-fujian': "gpdb.aliyuncs.com",
|
|
27
|
+
'cn-haidian-cm12-c01': "gpdb.aliyuncs.com",
|
|
28
|
+
'cn-hangzhou-bj-b01': "gpdb.aliyuncs.com",
|
|
29
|
+
'cn-hangzhou-internal-prod-1': "gpdb.aliyuncs.com",
|
|
30
|
+
'cn-hangzhou-internal-test-1': "gpdb.aliyuncs.com",
|
|
31
|
+
'cn-hangzhou-internal-test-2': "gpdb.aliyuncs.com",
|
|
32
|
+
'cn-hangzhou-internal-test-3': "gpdb.aliyuncs.com",
|
|
33
|
+
'cn-hangzhou-test-306': "gpdb.aliyuncs.com",
|
|
34
|
+
'cn-hongkong-finance-pop': "gpdb.aliyuncs.com",
|
|
35
|
+
'cn-huhehaote-nebula-1': "gpdb.aliyuncs.com",
|
|
36
|
+
'cn-qingdao-nebula': "gpdb.aliyuncs.com",
|
|
37
|
+
'cn-shanghai-et15-b01': "gpdb.aliyuncs.com",
|
|
38
|
+
'cn-shanghai-et2-b01': "gpdb.aliyuncs.com",
|
|
39
|
+
'cn-shanghai-inner': "gpdb.aliyuncs.com",
|
|
40
|
+
'cn-shanghai-internal-test-1': "gpdb.aliyuncs.com",
|
|
41
|
+
'cn-shenzhen-inner': "gpdb.aliyuncs.com",
|
|
42
|
+
'cn-shenzhen-st4-d01': "gpdb.aliyuncs.com",
|
|
43
|
+
'cn-shenzhen-su18-b01': "gpdb.aliyuncs.com",
|
|
44
|
+
'cn-wuhan': "gpdb.aliyuncs.com",
|
|
45
|
+
'cn-yushanfang': "gpdb.aliyuncs.com",
|
|
46
|
+
'cn-zhangbei': "gpdb.aliyuncs.com",
|
|
47
|
+
'cn-zhangbei-na61-b01': "gpdb.aliyuncs.com",
|
|
48
|
+
'cn-zhangjiakou-na62-a01': "gpdb.aliyuncs.com",
|
|
49
|
+
'cn-zhengzhou-nebula-1': "gpdb.aliyuncs.com",
|
|
50
|
+
'eu-west-1-oxs': "gpdb.aliyuncs.com",
|
|
51
|
+
'rus-west-1-pop': "gpdb.aliyuncs.com",
|
|
29
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",
|
|
30
57
|
'cn-zhangjiakou': "gpdb.cn-zhangjiakou.aliyuncs.com",
|
|
58
|
+
'cn-shenzhen': "gpdb.cn-shenzhen.aliyuncs.com",
|
|
31
59
|
'ap-northeast-2': "gpdb.ap-northeast-2.aliyuncs.com",
|
|
32
60
|
'ap-northeast-1': "gpdb.ap-northeast-1.aliyuncs.com",
|
|
33
61
|
'cn-chengdu': "gpdb.cn-chengdu.aliyuncs.com",
|
|
62
|
+
'ap-southeast-1': "gpdb.ap-southeast-1.aliyuncs.com",
|
|
34
63
|
'ap-southeast-3': "gpdb.ap-southeast-3.aliyuncs.com",
|
|
35
64
|
'cn-huhehaote': "gpdb.cn-huhehaote.aliyuncs.com",
|
|
36
65
|
'ap-southeast-5': "gpdb.ap-southeast-5.aliyuncs.com",
|
|
37
66
|
'ap-southeast-7': "gpdb.ap-southeast-7.aliyuncs.com",
|
|
67
|
+
'us-east-1': "gpdb.us-east-1.aliyuncs.com",
|
|
38
68
|
'eu-west-1': "gpdb.eu-west-1.aliyuncs.com",
|
|
69
|
+
'us-west-1': "gpdb.us-west-1.aliyuncs.com",
|
|
39
70
|
'eu-central-1': "gpdb.eu-central-1.aliyuncs.com",
|
|
40
71
|
'me-east-1': "gpdb.me-east-1.aliyuncs.com",
|
|
41
72
|
'me-central-1': "gpdb.me-central-1.aliyuncs.com",
|
|
42
|
-
'cn-
|
|
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",
|
|
43
76
|
};
|
|
44
77
|
this.checkConfig(config);
|
|
45
78
|
this._endpoint = this.getEndpoint("gpdb", this._regionId, this._endpointRule, this._network, this._suffix, this._endpointMap, this._endpoint);
|
|
@@ -3514,7 +3547,7 @@ export default class Client extends OpenApi {
|
|
|
3514
3547
|
* Creates a Supabase project.
|
|
3515
3548
|
*
|
|
3516
3549
|
* @remarks
|
|
3517
|
-
* Creates a Supabase project in a specified region and zone. This operation supports Free, pay-as-you-go, and subscription billing methods. You can specify the network, specifications, storage, access IP address whitelist, DPI engine version, and auto start/stop configurations.
|
|
3550
|
+
* Creates a Supabase project in a specified region and zone. This operation supports the Free, pay-as-you-go, and subscription billing methods. You can specify the network, specifications, storage, access IP address whitelist, DPI engine version, and auto start/stop configurations.
|
|
3518
3551
|
*
|
|
3519
3552
|
* @param request - CreateSupabaseProjectRequest
|
|
3520
3553
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3543,6 +3576,10 @@ export default class Client extends OpenApi {
|
|
|
3543
3576
|
query["EngineVersion"] = request.engineVersion;
|
|
3544
3577
|
}
|
|
3545
3578
|
|
|
3579
|
+
if (!$dara.isNull(request.lightweight)) {
|
|
3580
|
+
query["Lightweight"] = request.lightweight;
|
|
3581
|
+
}
|
|
3582
|
+
|
|
3546
3583
|
if (!$dara.isNull(request.payType)) {
|
|
3547
3584
|
query["PayType"] = request.payType;
|
|
3548
3585
|
}
|
|
@@ -3612,7 +3649,7 @@ export default class Client extends OpenApi {
|
|
|
3612
3649
|
* Creates a Supabase project.
|
|
3613
3650
|
*
|
|
3614
3651
|
* @remarks
|
|
3615
|
-
* Creates a Supabase project in a specified region and zone. This operation supports Free, pay-as-you-go, and subscription billing methods. You can specify the network, specifications, storage, access IP address whitelist, DPI engine version, and auto start/stop configurations.
|
|
3652
|
+
* Creates a Supabase project in a specified region and zone. This operation supports the Free, pay-as-you-go, and subscription billing methods. You can specify the network, specifications, storage, access IP address whitelist, DPI engine version, and auto start/stop configurations.
|
|
3616
3653
|
*
|
|
3617
3654
|
* @param request - CreateSupabaseProjectRequest
|
|
3618
3655
|
* @returns CreateSupabaseProjectResponse
|
|
@@ -6070,7 +6107,7 @@ export default class Client extends OpenApi {
|
|
|
6070
6107
|
* Queries the details of a Supabase branch.
|
|
6071
6108
|
*
|
|
6072
6109
|
* @remarks
|
|
6073
|
-
*
|
|
6110
|
+
* This operation queries the details of a specified Supabase branch and returns the basic attributes, parent branch information, protection status, and connection information of the branch.
|
|
6074
6111
|
*
|
|
6075
6112
|
* @param request - DescribeBranchRequest
|
|
6076
6113
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6108,7 +6145,7 @@ export default class Client extends OpenApi {
|
|
|
6108
6145
|
* Queries the details of a Supabase branch.
|
|
6109
6146
|
*
|
|
6110
6147
|
* @remarks
|
|
6111
|
-
*
|
|
6148
|
+
* This operation queries the details of a specified Supabase branch and returns the basic attributes, parent branch information, protection status, and connection information of the branch.
|
|
6112
6149
|
*
|
|
6113
6150
|
* @param request - DescribeBranchRequest
|
|
6114
6151
|
* @returns DescribeBranchResponse
|
|
@@ -7358,6 +7395,52 @@ export default class Client extends OpenApi {
|
|
|
7358
7395
|
return await this.describeDBResourceManagementModeWithOptions(request, runtime);
|
|
7359
7396
|
}
|
|
7360
7397
|
|
|
7398
|
+
/**
|
|
7399
|
+
* Queries the kernel update version information.
|
|
7400
|
+
*
|
|
7401
|
+
* @param request - DescribeDBVersionRequest
|
|
7402
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
7403
|
+
* @returns DescribeDBVersionResponse
|
|
7404
|
+
*/
|
|
7405
|
+
async describeDBVersionWithOptions(request: $_model.DescribeDBVersionRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeDBVersionResponse> {
|
|
7406
|
+
request.validate();
|
|
7407
|
+
let query = { };
|
|
7408
|
+
if (!$dara.isNull(request.DBInstanceId)) {
|
|
7409
|
+
query["DBInstanceId"] = request.DBInstanceId;
|
|
7410
|
+
}
|
|
7411
|
+
|
|
7412
|
+
if (!$dara.isNull(request.ownerId)) {
|
|
7413
|
+
query["OwnerId"] = request.ownerId;
|
|
7414
|
+
}
|
|
7415
|
+
|
|
7416
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
7417
|
+
query: OpenApiUtil.query(query),
|
|
7418
|
+
});
|
|
7419
|
+
let params = new $OpenApiUtil.Params({
|
|
7420
|
+
action: "DescribeDBVersion",
|
|
7421
|
+
version: "2016-05-03",
|
|
7422
|
+
protocol: "HTTPS",
|
|
7423
|
+
pathname: "/",
|
|
7424
|
+
method: "POST",
|
|
7425
|
+
authType: "AK",
|
|
7426
|
+
style: "RPC",
|
|
7427
|
+
reqBodyType: "formData",
|
|
7428
|
+
bodyType: "json",
|
|
7429
|
+
});
|
|
7430
|
+
return $dara.cast<$_model.DescribeDBVersionResponse>(await this.callApi(params, req, runtime), new $_model.DescribeDBVersionResponse({}));
|
|
7431
|
+
}
|
|
7432
|
+
|
|
7433
|
+
/**
|
|
7434
|
+
* Queries the kernel update version information.
|
|
7435
|
+
*
|
|
7436
|
+
* @param request - DescribeDBVersionRequest
|
|
7437
|
+
* @returns DescribeDBVersionResponse
|
|
7438
|
+
*/
|
|
7439
|
+
async describeDBVersion(request: $_model.DescribeDBVersionRequest): Promise<$_model.DescribeDBVersionResponse> {
|
|
7440
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
7441
|
+
return await this.describeDBVersionWithOptions(request, runtime);
|
|
7442
|
+
}
|
|
7443
|
+
|
|
7361
7444
|
/**
|
|
7362
7445
|
* Queries the information about minor versions of AnalyticDB for PostgreSQL instances.
|
|
7363
7446
|
*
|
|
@@ -11403,10 +11486,10 @@ export default class Client extends OpenApi {
|
|
|
11403
11486
|
}
|
|
11404
11487
|
|
|
11405
11488
|
/**
|
|
11406
|
-
*
|
|
11489
|
+
* Queries the details of a Supabase instance.
|
|
11407
11490
|
*
|
|
11408
11491
|
* @remarks
|
|
11409
|
-
*
|
|
11492
|
+
* Queries the details of a Supabase instance.
|
|
11410
11493
|
*
|
|
11411
11494
|
* @param request - GetSupabaseProjectRequest
|
|
11412
11495
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -11441,10 +11524,10 @@ export default class Client extends OpenApi {
|
|
|
11441
11524
|
}
|
|
11442
11525
|
|
|
11443
11526
|
/**
|
|
11444
|
-
*
|
|
11527
|
+
* Queries the details of a Supabase instance.
|
|
11445
11528
|
*
|
|
11446
11529
|
* @remarks
|
|
11447
|
-
*
|
|
11530
|
+
* Queries the details of a Supabase instance.
|
|
11448
11531
|
*
|
|
11449
11532
|
* @param request - GetSupabaseProjectRequest
|
|
11450
11533
|
* @returns GetSupabaseProjectResponse
|
|
@@ -55,7 +55,7 @@ export class CreateSupabaseProjectRequest extends $dara.Model {
|
|
|
55
55
|
autoScale?: boolean;
|
|
56
56
|
/**
|
|
57
57
|
* @remarks
|
|
58
|
-
* The idempotency token. Ensures that
|
|
58
|
+
* The idempotency token. Ensures that duplicate requests do not result in duplicate operations.
|
|
59
59
|
*
|
|
60
60
|
* @example
|
|
61
61
|
* 123e4567-e89b-12d3-a456-426655440000
|
|
@@ -89,9 +89,10 @@ export class CreateSupabaseProjectRequest extends $dara.Model {
|
|
|
89
89
|
* PG15
|
|
90
90
|
*/
|
|
91
91
|
engineVersion?: string;
|
|
92
|
+
lightweight?: boolean;
|
|
92
93
|
/**
|
|
93
94
|
* @remarks
|
|
94
|
-
* The billing
|
|
95
|
+
* The billing type. If this parameter is not specified, the default value Free is used.
|
|
95
96
|
*
|
|
96
97
|
* Valid values:
|
|
97
98
|
*
|
|
@@ -162,7 +163,7 @@ export class CreateSupabaseProjectRequest extends $dara.Model {
|
|
|
162
163
|
securityIPList?: string;
|
|
163
164
|
/**
|
|
164
165
|
* @remarks
|
|
165
|
-
* The storage size
|
|
166
|
+
* The storage size, in GB. If this parameter is not specified for non-Free billing types, the default value is 1 GB.
|
|
166
167
|
*
|
|
167
168
|
* @example
|
|
168
169
|
* 50
|
|
@@ -214,6 +215,7 @@ export class CreateSupabaseProjectRequest extends $dara.Model {
|
|
|
214
215
|
clientToken: 'ClientToken',
|
|
215
216
|
diskPerformanceLevel: 'DiskPerformanceLevel',
|
|
216
217
|
engineVersion: 'EngineVersion',
|
|
218
|
+
lightweight: 'Lightweight',
|
|
217
219
|
payType: 'PayType',
|
|
218
220
|
period: 'Period',
|
|
219
221
|
projectName: 'ProjectName',
|
|
@@ -236,6 +238,7 @@ export class CreateSupabaseProjectRequest extends $dara.Model {
|
|
|
236
238
|
clientToken: 'string',
|
|
237
239
|
diskPerformanceLevel: 'string',
|
|
238
240
|
engineVersion: 'string',
|
|
241
|
+
lightweight: 'boolean',
|
|
239
242
|
payType: 'string',
|
|
240
243
|
period: 'string',
|
|
241
244
|
projectName: 'string',
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class DescribeBranchRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The branch ID
|
|
8
|
+
* The branch ID, which uniquely identifies a Supabase branch.
|
|
9
9
|
*
|
|
10
10
|
* This parameter is required.
|
|
11
11
|
*
|
|
@@ -45,7 +45,7 @@ export class DescribeBranchResponseBodyBranchTags extends $dara.Model {
|
|
|
45
45
|
export class DescribeBranchResponseBodyBranch extends $dara.Model {
|
|
46
46
|
/**
|
|
47
47
|
* @remarks
|
|
48
|
-
* The branch ID
|
|
48
|
+
* The branch ID, which uniquely identifies a Supabase branch.
|
|
49
49
|
*
|
|
50
50
|
* @example
|
|
51
51
|
* br-xxxx
|
|
@@ -85,7 +85,7 @@ export class DescribeBranchResponseBodyBranch extends $dara.Model {
|
|
|
85
85
|
description?: string;
|
|
86
86
|
/**
|
|
87
87
|
* @remarks
|
|
88
|
-
* The time when the branch
|
|
88
|
+
* The time when the branch expires and is automatically deleted, in ISO 8601 UTC format.
|
|
89
89
|
*
|
|
90
90
|
* @example
|
|
91
91
|
* 2026-10-08T09:11:12Z
|
|
@@ -105,7 +105,7 @@ export class DescribeBranchResponseBodyBranch extends $dara.Model {
|
|
|
105
105
|
initSource?: string;
|
|
106
106
|
/**
|
|
107
107
|
* @remarks
|
|
108
|
-
* Indicates whether
|
|
108
|
+
* Indicates whether this is the default branch.
|
|
109
109
|
*
|
|
110
110
|
* @example
|
|
111
111
|
* true
|
|
@@ -129,7 +129,7 @@ export class DescribeBranchResponseBodyBranch extends $dara.Model {
|
|
|
129
129
|
parentBranchName?: string;
|
|
130
130
|
/**
|
|
131
131
|
* @remarks
|
|
132
|
-
* The
|
|
132
|
+
* The LSN of the parent branch at the time this branch was created.
|
|
133
133
|
*
|
|
134
134
|
* @example
|
|
135
135
|
* 0/3522648
|
|
@@ -175,6 +175,13 @@ export class DescribeBranchResponseBodyBranch extends $dara.Model {
|
|
|
175
175
|
* Supabase
|
|
176
176
|
*/
|
|
177
177
|
serviceType?: string;
|
|
178
|
+
/**
|
|
179
|
+
* @remarks
|
|
180
|
+
* The Supabase project ID that corresponds to the current branch.
|
|
181
|
+
*
|
|
182
|
+
* @example
|
|
183
|
+
* spb-xxxx
|
|
184
|
+
*/
|
|
178
185
|
spbProjectId?: string;
|
|
179
186
|
/**
|
|
180
187
|
* @remarks
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DescribeDBVersionRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The instance ID.
|
|
9
|
+
*
|
|
10
|
+
* This parameter is required.
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* gp-xxxxxxxxxx
|
|
14
|
+
*/
|
|
15
|
+
DBInstanceId?: string;
|
|
16
|
+
ownerId?: number;
|
|
17
|
+
static names(): { [key: string]: string } {
|
|
18
|
+
return {
|
|
19
|
+
DBInstanceId: 'DBInstanceId',
|
|
20
|
+
ownerId: 'OwnerId',
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
static types(): { [key: string]: any } {
|
|
25
|
+
return {
|
|
26
|
+
DBInstanceId: 'string',
|
|
27
|
+
ownerId: 'number',
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
validate() {
|
|
32
|
+
super.validate();
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
constructor(map?: { [key: string]: any }) {
|
|
36
|
+
super(map);
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { DescribeDBVersionResponseBody } from "./DescribeDbversionResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class DescribeDBVersionResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: DescribeDBVersionResponseBody;
|
|
10
|
+
static names(): { [key: string]: string } {
|
|
11
|
+
return {
|
|
12
|
+
headers: 'headers',
|
|
13
|
+
statusCode: 'statusCode',
|
|
14
|
+
body: 'body',
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
static types(): { [key: string]: any } {
|
|
19
|
+
return {
|
|
20
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
21
|
+
statusCode: 'number',
|
|
22
|
+
body: DescribeDBVersionResponseBody,
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
validate() {
|
|
27
|
+
if(this.headers) {
|
|
28
|
+
$dara.Model.validateMap(this.headers);
|
|
29
|
+
}
|
|
30
|
+
if(this.body && typeof (this.body as any).validate === 'function') {
|
|
31
|
+
(this.body as any).validate();
|
|
32
|
+
}
|
|
33
|
+
super.validate();
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
constructor(map?: { [key: string]: any }) {
|
|
37
|
+
super(map);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DescribeDBVersionResponseBody extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The request ID.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* 25C11EE5-B7E8-481A-A07C-BD619971A570
|
|
12
|
+
*/
|
|
13
|
+
requestId?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The recommended upgrade version in the format of "major version,minor version" (separated by a comma). The first value is the target version for major engine version upgrade, and the second value is the target version for minor engine version update.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* mm.v7.4.2.7-202608031659,mm.v7.3.2.12-202608071438
|
|
20
|
+
*/
|
|
21
|
+
versionSuggestion?: string;
|
|
22
|
+
static names(): { [key: string]: string } {
|
|
23
|
+
return {
|
|
24
|
+
requestId: 'RequestId',
|
|
25
|
+
versionSuggestion: 'VersionSuggestion',
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
static types(): { [key: string]: any } {
|
|
30
|
+
return {
|
|
31
|
+
requestId: 'string',
|
|
32
|
+
versionSuggestion: 'string',
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
validate() {
|
|
37
|
+
super.validate();
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
constructor(map?: { [key: string]: any }) {
|
|
41
|
+
super(map);
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
@@ -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
|
|
8
|
+
* The Supabase instance ID. You can obtain this value from the Supabase page in the console.
|
|
9
9
|
*
|
|
10
10
|
* This parameter is required.
|
|
11
11
|
*
|
|
@@ -17,7 +17,7 @@ export class GetSupabaseProjectRequest extends $dara.Model {
|
|
|
17
17
|
* @remarks
|
|
18
18
|
* The region ID.
|
|
19
19
|
*
|
|
20
|
-
* > You can call the [DescribeRegions](https://help.aliyun.com/document_detail/86912.html) operation to
|
|
20
|
+
* > You can call the [DescribeRegions](https://help.aliyun.com/document_detail/86912.html) operation to query available region IDs.
|
|
21
21
|
*
|
|
22
22
|
* @example
|
|
23
23
|
* cn-hangzhou
|