@alicloud/gpdb20160503 3.11.0 → 3.11.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 +56 -56
- package/dist/client.js +61 -59
- package/dist/client.js.map +1 -1
- package/dist/models/CreateApiKeyRequest.d.ts +14 -0
- package/dist/models/CreateApiKeyRequest.js.map +1 -1
- package/dist/models/CreateApiKeyResponseBody.d.ts +9 -0
- package/dist/models/CreateApiKeyResponseBody.js.map +1 -1
- package/dist/models/CreateApiKeyShrinkRequest.d.ts +14 -0
- package/dist/models/CreateApiKeyShrinkRequest.js.map +1 -1
- package/dist/models/CreateDbinstanceRequest.d.ts +116 -171
- package/dist/models/CreateDbinstanceRequest.js.map +1 -1
- package/dist/models/CreateDbinstanceResponseBody.d.ts +3 -3
- package/dist/models/CreateSupabaseProjectRequest.d.ts +20 -5
- package/dist/models/CreateSupabaseProjectRequest.js +27 -1
- package/dist/models/CreateSupabaseProjectRequest.js.map +1 -1
- package/dist/models/CreateSupabaseProjectResponseBody.d.ts +2 -2
- package/dist/models/DeleteApiKeyRequest.d.ts +5 -0
- package/dist/models/DeleteApiKeyRequest.js.map +1 -1
- package/dist/models/DeleteApiKeyResponseBody.d.ts +6 -0
- package/dist/models/DeleteApiKeyResponseBody.js.map +1 -1
- package/dist/models/DeleteWorkspaceRequest.d.ts +5 -0
- package/dist/models/DeleteWorkspaceRequest.js.map +1 -1
- package/dist/models/DeleteWorkspaceResponseBody.d.ts +6 -0
- package/dist/models/DeleteWorkspaceResponseBody.js.map +1 -1
- package/dist/models/GetApiKeyRequest.d.ts +5 -0
- package/dist/models/GetApiKeyRequest.js.map +1 -1
- package/dist/models/GetApiKeyResponseBody.d.ts +34 -0
- package/dist/models/GetApiKeyResponseBody.js.map +1 -1
- package/dist/models/GetSaasServiceRequest.d.ts +5 -0
- package/dist/models/GetSaasServiceRequest.js.map +1 -1
- package/dist/models/GetSaasServiceResponseBody.d.ts +38 -0
- package/dist/models/GetSaasServiceResponseBody.js.map +1 -1
- package/dist/models/GetServiceAccessInfoRequest.d.ts +5 -0
- package/dist/models/GetServiceAccessInfoRequest.js.map +1 -1
- package/dist/models/GetServiceAccessInfoResponseBody.d.ts +9 -0
- package/dist/models/GetServiceAccessInfoResponseBody.js.map +1 -1
- package/dist/models/GetWorkspaceRequest.d.ts +5 -0
- package/dist/models/GetWorkspaceRequest.js.map +1 -1
- package/dist/models/GetWorkspaceResponseBody.d.ts +83 -0
- package/dist/models/GetWorkspaceResponseBody.js.map +1 -1
- package/dist/models/ListApiKeysRequest.d.ts +14 -0
- package/dist/models/ListApiKeysRequest.js.map +1 -1
- package/dist/models/ListApiKeysResponseBody.d.ts +45 -0
- package/dist/models/ListApiKeysResponseBody.js.map +1 -1
- package/dist/models/ListSaasServiceRequest.d.ts +1 -1
- package/dist/models/ListSaasServiceResponseBody.d.ts +21 -1
- package/dist/models/ListSaasServiceResponseBody.js +37 -1
- package/dist/models/ListSaasServiceResponseBody.js.map +1 -1
- package/dist/models/ListWorkspacesResponseBody.d.ts +21 -1
- package/dist/models/ListWorkspacesResponseBody.js +37 -1
- package/dist/models/ListWorkspacesResponseBody.js.map +1 -1
- package/dist/models/PauseSaasServiceRequest.d.ts +5 -0
- package/dist/models/PauseSaasServiceRequest.js.map +1 -1
- package/dist/models/PauseSaasServiceResponseBody.d.ts +6 -0
- package/dist/models/PauseSaasServiceResponseBody.js.map +1 -1
- package/dist/models/QueryContentAdvanceRequest.d.ts +26 -27
- package/dist/models/QueryContentAdvanceRequest.js.map +1 -1
- package/dist/models/QueryContentRequest.d.ts +26 -27
- package/dist/models/QueryContentRequest.js.map +1 -1
- package/dist/models/QueryContentResponseBody.d.ts +2 -2
- package/dist/models/QueryContentShrinkRequest.d.ts +24 -24
- package/dist/models/ResumeSaasServiceRequest.d.ts +5 -0
- package/dist/models/ResumeSaasServiceRequest.js.map +1 -1
- package/dist/models/ResumeSaasServiceResponseBody.d.ts +6 -0
- package/dist/models/ResumeSaasServiceResponseBody.js.map +1 -1
- package/dist/models/model.d.ts +3 -0
- package/dist/models/model.js +38 -32
- package/dist/models/model.js.map +1 -1
- package/package.json +2 -2
- package/src/client.ts +62 -59
- package/src/models/CreateApiKeyRequest.ts +14 -0
- package/src/models/CreateApiKeyResponseBody.ts +9 -0
- package/src/models/CreateApiKeyShrinkRequest.ts +14 -0
- package/src/models/CreateDbinstanceRequest.ts +124 -179
- package/src/models/CreateDbinstanceResponseBody.ts +3 -3
- package/src/models/CreateSupabaseProjectRequest.ts +37 -5
- package/src/models/CreateSupabaseProjectResponseBody.ts +2 -2
- package/src/models/DeleteApiKeyRequest.ts +5 -0
- package/src/models/DeleteApiKeyResponseBody.ts +6 -0
- package/src/models/DeleteWorkspaceRequest.ts +5 -0
- package/src/models/DeleteWorkspaceResponseBody.ts +6 -0
- package/src/models/GetApiKeyRequest.ts +5 -0
- package/src/models/GetApiKeyResponseBody.ts +34 -0
- package/src/models/GetSaasServiceRequest.ts +5 -0
- package/src/models/GetSaasServiceResponseBody.ts +38 -0
- package/src/models/GetServiceAccessInfoRequest.ts +5 -0
- package/src/models/GetServiceAccessInfoResponseBody.ts +9 -0
- package/src/models/GetWorkspaceRequest.ts +5 -0
- package/src/models/GetWorkspaceResponseBody.ts +83 -0
- package/src/models/ListApiKeysRequest.ts +14 -0
- package/src/models/ListApiKeysResponseBody.ts +45 -0
- package/src/models/ListSaasServiceRequest.ts +1 -1
- package/src/models/ListSaasServiceResponseBody.ts +48 -1
- package/src/models/ListWorkspacesResponseBody.ts +48 -1
- package/src/models/PauseSaasServiceRequest.ts +5 -0
- package/src/models/PauseSaasServiceResponseBody.ts +6 -0
- package/src/models/QueryContentAdvanceRequest.ts +26 -27
- package/src/models/QueryContentRequest.ts +26 -27
- package/src/models/QueryContentResponseBody.ts +2 -2
- package/src/models/QueryContentShrinkRequest.ts +24 -24
- package/src/models/ResumeSaasServiceRequest.ts +5 -0
- package/src/models/ResumeSaasServiceResponseBody.ts +6 -0
- package/src/models/model.ts +3 -0
|
@@ -5,9 +5,9 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class CreateDBInstanceResponseBody extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* This parameter is deprecated and
|
|
8
|
+
* **[Deprecated]** This parameter is deprecated and no value is returned.
|
|
9
9
|
*
|
|
10
|
-
* You can call the [DescribeDBInstanceAttribute](https://help.aliyun.com/document_detail/86910.html) operation to query the
|
|
10
|
+
* You can call the [DescribeDBInstanceAttribute](https://help.aliyun.com/document_detail/86910.html) operation to query the endpoint of the instance.
|
|
11
11
|
*
|
|
12
12
|
* @example
|
|
13
13
|
* gp-bp12ga6v69h86****.gpdb.rds.aliyuncs.com
|
|
@@ -31,7 +31,7 @@ export class CreateDBInstanceResponseBody extends $dara.Model {
|
|
|
31
31
|
orderId?: string;
|
|
32
32
|
/**
|
|
33
33
|
* @remarks
|
|
34
|
-
* This parameter is deprecated and
|
|
34
|
+
* **[Deprecated]** This parameter is deprecated and no value is returned.
|
|
35
35
|
*
|
|
36
36
|
* You can call the [DescribeDBInstanceAttribute](https://help.aliyun.com/document_detail/86910.html) operation to query the port number of the instance.
|
|
37
37
|
*
|
|
@@ -2,6 +2,32 @@
|
|
|
2
2
|
import * as $dara from '@darabonba/typescript';
|
|
3
3
|
|
|
4
4
|
|
|
5
|
+
export class CreateSupabaseProjectRequestTags extends $dara.Model {
|
|
6
|
+
key?: string;
|
|
7
|
+
value?: string;
|
|
8
|
+
static names(): { [key: string]: string } {
|
|
9
|
+
return {
|
|
10
|
+
key: 'Key',
|
|
11
|
+
value: 'Value',
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
static types(): { [key: string]: any } {
|
|
16
|
+
return {
|
|
17
|
+
key: 'string',
|
|
18
|
+
value: 'string',
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
validate() {
|
|
23
|
+
super.validate();
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
constructor(map?: { [key: string]: any }) {
|
|
27
|
+
super(map);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
5
31
|
export class CreateSupabaseProjectRequest extends $dara.Model {
|
|
6
32
|
/**
|
|
7
33
|
* @remarks
|
|
@@ -21,7 +47,7 @@ export class CreateSupabaseProjectRequest extends $dara.Model {
|
|
|
21
47
|
accountPassword?: string;
|
|
22
48
|
/**
|
|
23
49
|
* @remarks
|
|
24
|
-
* Specifies whether to enable auto start/stop. If this parameter is not specified, the default value
|
|
50
|
+
* Specifies whether to enable auto start/stop. If this parameter is not specified, the default value is false.
|
|
25
51
|
*
|
|
26
52
|
* @example
|
|
27
53
|
* false
|
|
@@ -29,7 +55,7 @@ export class CreateSupabaseProjectRequest extends $dara.Model {
|
|
|
29
55
|
autoScale?: boolean;
|
|
30
56
|
/**
|
|
31
57
|
* @remarks
|
|
32
|
-
* The idempotency token. Ensures that
|
|
58
|
+
* The idempotency token. Ensures that repeated requests do not execute the same operation more than once.
|
|
33
59
|
*
|
|
34
60
|
* @example
|
|
35
61
|
* 123e4567-e89b-12d3-a456-426655440000
|
|
@@ -69,9 +95,9 @@ export class CreateSupabaseProjectRequest extends $dara.Model {
|
|
|
69
95
|
*
|
|
70
96
|
* Valid values:
|
|
71
97
|
*
|
|
72
|
-
* - Free:
|
|
73
|
-
* - Postpaid:
|
|
74
|
-
* - Prepaid:
|
|
98
|
+
* - Free: Free tier.
|
|
99
|
+
* - Postpaid: Pay-as-you-go.
|
|
100
|
+
* - Prepaid: Subscription.
|
|
75
101
|
*
|
|
76
102
|
* @example
|
|
77
103
|
* Free
|
|
@@ -142,6 +168,7 @@ export class CreateSupabaseProjectRequest extends $dara.Model {
|
|
|
142
168
|
* 50
|
|
143
169
|
*/
|
|
144
170
|
storageSize?: number;
|
|
171
|
+
tags?: CreateSupabaseProjectRequestTags[];
|
|
145
172
|
/**
|
|
146
173
|
* @remarks
|
|
147
174
|
* The subscription duration. This parameter takes effect only when PayType is set to PrePay. If this parameter is not specified, the default value is 1.
|
|
@@ -194,6 +221,7 @@ export class CreateSupabaseProjectRequest extends $dara.Model {
|
|
|
194
221
|
regionId: 'RegionId',
|
|
195
222
|
securityIPList: 'SecurityIPList',
|
|
196
223
|
storageSize: 'StorageSize',
|
|
224
|
+
tags: 'Tags',
|
|
197
225
|
usedTime: 'UsedTime',
|
|
198
226
|
vSwitchId: 'VSwitchId',
|
|
199
227
|
vpcId: 'VpcId',
|
|
@@ -215,6 +243,7 @@ export class CreateSupabaseProjectRequest extends $dara.Model {
|
|
|
215
243
|
regionId: 'string',
|
|
216
244
|
securityIPList: 'string',
|
|
217
245
|
storageSize: 'number',
|
|
246
|
+
tags: { 'type': 'array', 'itemType': CreateSupabaseProjectRequestTags },
|
|
218
247
|
usedTime: 'string',
|
|
219
248
|
vSwitchId: 'string',
|
|
220
249
|
vpcId: 'string',
|
|
@@ -223,6 +252,9 @@ export class CreateSupabaseProjectRequest extends $dara.Model {
|
|
|
223
252
|
}
|
|
224
253
|
|
|
225
254
|
validate() {
|
|
255
|
+
if(Array.isArray(this.tags)) {
|
|
256
|
+
$dara.Model.validateArray(this.tags);
|
|
257
|
+
}
|
|
226
258
|
super.validate();
|
|
227
259
|
}
|
|
228
260
|
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class CreateSupabaseProjectResponseBody extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The
|
|
8
|
+
* The associated order ID.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* 278880417310796
|
|
@@ -13,7 +13,7 @@ export class CreateSupabaseProjectResponseBody extends $dara.Model {
|
|
|
13
13
|
orderId?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The instance ID
|
|
16
|
+
* The Supabase instance ID.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* spb-xxxx
|
|
@@ -5,6 +5,8 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class DeleteApiKeyRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
+
* API KEY ID。
|
|
9
|
+
*
|
|
8
10
|
* This parameter is required.
|
|
9
11
|
*
|
|
10
12
|
* @example
|
|
@@ -12,6 +14,9 @@ export class DeleteApiKeyRequest extends $dara.Model {
|
|
|
12
14
|
*/
|
|
13
15
|
keyId?: string;
|
|
14
16
|
/**
|
|
17
|
+
* @remarks
|
|
18
|
+
* The region ID.
|
|
19
|
+
*
|
|
15
20
|
* @example
|
|
16
21
|
* cn-beijing
|
|
17
22
|
*/
|
|
@@ -4,11 +4,17 @@ import * as $dara from '@darabonba/typescript';
|
|
|
4
4
|
|
|
5
5
|
export class DeleteApiKeyResponseBody extends $dara.Model {
|
|
6
6
|
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* API KEY ID。
|
|
9
|
+
*
|
|
7
10
|
* @example
|
|
8
11
|
* api-xxxxxx
|
|
9
12
|
*/
|
|
10
13
|
keyId?: string;
|
|
11
14
|
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The request ID.
|
|
17
|
+
*
|
|
12
18
|
* @example
|
|
13
19
|
* ABB39CC3-4488-4857-905D-2E4A051D****
|
|
14
20
|
*/
|
|
@@ -4,12 +4,17 @@ import * as $dara from '@darabonba/typescript';
|
|
|
4
4
|
|
|
5
5
|
export class DeleteWorkspaceRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The region ID of the instance.
|
|
9
|
+
*
|
|
7
10
|
* @example
|
|
8
11
|
* cn-beijing
|
|
9
12
|
*/
|
|
10
13
|
regionId?: string;
|
|
11
14
|
/**
|
|
12
15
|
* @remarks
|
|
16
|
+
* The workspace ID.
|
|
17
|
+
*
|
|
13
18
|
* This parameter is required.
|
|
14
19
|
*
|
|
15
20
|
* @example
|
|
@@ -4,11 +4,17 @@ import * as $dara from '@darabonba/typescript';
|
|
|
4
4
|
|
|
5
5
|
export class DeleteWorkspaceResponseBody extends $dara.Model {
|
|
6
6
|
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The request ID.
|
|
9
|
+
*
|
|
7
10
|
* @example
|
|
8
11
|
* ABB39CC3-4488-4857-905D-2E4A051D0521
|
|
9
12
|
*/
|
|
10
13
|
requestId?: string;
|
|
11
14
|
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The workspace ID.
|
|
17
|
+
*
|
|
12
18
|
* @example
|
|
13
19
|
* ws-*****
|
|
14
20
|
*/
|
|
@@ -5,6 +5,8 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class GetApiKeyRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
+
* API KEY ID。
|
|
9
|
+
*
|
|
8
10
|
* This parameter is required.
|
|
9
11
|
*
|
|
10
12
|
* @example
|
|
@@ -12,6 +14,9 @@ export class GetApiKeyRequest extends $dara.Model {
|
|
|
12
14
|
*/
|
|
13
15
|
keyId?: string;
|
|
14
16
|
/**
|
|
17
|
+
* @remarks
|
|
18
|
+
* The region ID.
|
|
19
|
+
*
|
|
15
20
|
* @example
|
|
16
21
|
* cn-beijing
|
|
17
22
|
*/
|
|
@@ -4,11 +4,20 @@ import * as $dara from '@darabonba/typescript';
|
|
|
4
4
|
|
|
5
5
|
export class GetApiKeyResponseBodyAuthServices extends $dara.Model {
|
|
6
6
|
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The service IDs.
|
|
9
|
+
*
|
|
7
10
|
* @example
|
|
8
11
|
* agdb-2ze8x9278c9iizl
|
|
9
12
|
*/
|
|
10
13
|
serviceId?: string;
|
|
11
14
|
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The service type. Valid values:
|
|
17
|
+
*
|
|
18
|
+
* - **drama**
|
|
19
|
+
* - **memroy**
|
|
20
|
+
*
|
|
12
21
|
* @example
|
|
13
22
|
* memory
|
|
14
23
|
*/
|
|
@@ -38,37 +47,62 @@ export class GetApiKeyResponseBodyAuthServices extends $dara.Model {
|
|
|
38
47
|
|
|
39
48
|
export class GetApiKeyResponseBody extends $dara.Model {
|
|
40
49
|
/**
|
|
50
|
+
* @remarks
|
|
51
|
+
* The content of the API key.
|
|
52
|
+
*
|
|
41
53
|
* @example
|
|
42
54
|
* sk-xxxxxxx
|
|
43
55
|
*/
|
|
44
56
|
apiKey?: string;
|
|
57
|
+
/**
|
|
58
|
+
* @remarks
|
|
59
|
+
* The service IDs.
|
|
60
|
+
*/
|
|
45
61
|
authServices?: GetApiKeyResponseBodyAuthServices[];
|
|
46
62
|
/**
|
|
63
|
+
* @remarks
|
|
64
|
+
* The creation time.
|
|
65
|
+
*
|
|
47
66
|
* @example
|
|
48
67
|
* 2019-09-08T16:00:00Z
|
|
49
68
|
*/
|
|
50
69
|
createTime?: string;
|
|
51
70
|
/**
|
|
71
|
+
* @remarks
|
|
72
|
+
* The description.
|
|
73
|
+
*
|
|
52
74
|
* @example
|
|
53
75
|
* test api key
|
|
54
76
|
*/
|
|
55
77
|
description?: string;
|
|
56
78
|
/**
|
|
79
|
+
* @remarks
|
|
80
|
+
* The ID of the API key.
|
|
81
|
+
*
|
|
57
82
|
* @example
|
|
58
83
|
* api-xxxxxxx
|
|
59
84
|
*/
|
|
60
85
|
keyId?: string;
|
|
61
86
|
/**
|
|
87
|
+
* @remarks
|
|
88
|
+
* The name of the API key.
|
|
89
|
+
*
|
|
62
90
|
* @example
|
|
63
91
|
* test api key
|
|
64
92
|
*/
|
|
65
93
|
keyName?: string;
|
|
66
94
|
/**
|
|
95
|
+
* @remarks
|
|
96
|
+
* The prefix of the API key.
|
|
97
|
+
*
|
|
67
98
|
* @example
|
|
68
99
|
* sk-1235*****
|
|
69
100
|
*/
|
|
70
101
|
keyPrefix?: string;
|
|
71
102
|
/**
|
|
103
|
+
* @remarks
|
|
104
|
+
* The request ID.
|
|
105
|
+
*
|
|
72
106
|
* @example
|
|
73
107
|
* 7565770E-7C45-462D-BA4A-8A5396****
|
|
74
108
|
*/
|
|
@@ -4,12 +4,17 @@ import * as $dara from '@darabonba/typescript';
|
|
|
4
4
|
|
|
5
5
|
export class GetSaasServiceRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The region ID where the SaaS service resides.
|
|
9
|
+
*
|
|
7
10
|
* @example
|
|
8
11
|
* cn-beijing
|
|
9
12
|
*/
|
|
10
13
|
regionId?: string;
|
|
11
14
|
/**
|
|
12
15
|
* @remarks
|
|
16
|
+
* The service ID.
|
|
17
|
+
*
|
|
13
18
|
* This parameter is required.
|
|
14
19
|
*
|
|
15
20
|
* @example
|
|
@@ -4,46 +4,84 @@ import * as $dara from '@darabonba/typescript';
|
|
|
4
4
|
|
|
5
5
|
export class GetSaasServiceResponseBody extends $dara.Model {
|
|
6
6
|
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The compute resource of the service.
|
|
9
|
+
*
|
|
7
10
|
* @example
|
|
8
11
|
* 1
|
|
9
12
|
*/
|
|
10
13
|
cu?: string;
|
|
11
14
|
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The billing type. Valid values:
|
|
17
|
+
*
|
|
18
|
+
* - **POSTPAY**: pay-as-you-go
|
|
19
|
+
* - **PREPAY**: subscription
|
|
20
|
+
*
|
|
21
|
+
* > - If this parameter is not specified, the default value is pay-as-you-go.
|
|
22
|
+
* > - In subscription billing mode, a discount is available when you purchase a duration of one year or longer. Select a billing type as needed.
|
|
23
|
+
*
|
|
12
24
|
* @example
|
|
13
25
|
* POSTPAY
|
|
14
26
|
*/
|
|
15
27
|
payType?: string;
|
|
16
28
|
/**
|
|
29
|
+
* @remarks
|
|
30
|
+
* The region ID where the service resides.
|
|
31
|
+
*
|
|
17
32
|
* @example
|
|
18
33
|
* cn-beijing
|
|
19
34
|
*/
|
|
20
35
|
regionId?: string;
|
|
21
36
|
/**
|
|
37
|
+
* @remarks
|
|
38
|
+
* The request ID.
|
|
39
|
+
*
|
|
22
40
|
* @example
|
|
23
41
|
* ABB39CC3-4488-4857-905D-2E4A051D0521
|
|
24
42
|
*/
|
|
25
43
|
requestId?: string;
|
|
26
44
|
/**
|
|
45
|
+
* @remarks
|
|
46
|
+
* The service ID.
|
|
47
|
+
*
|
|
27
48
|
* @example
|
|
28
49
|
* 1
|
|
29
50
|
*/
|
|
30
51
|
serviceId?: string;
|
|
31
52
|
/**
|
|
53
|
+
* @remarks
|
|
54
|
+
* The service name.
|
|
55
|
+
*
|
|
32
56
|
* @example
|
|
33
57
|
* agdb-xxxxx
|
|
34
58
|
*/
|
|
35
59
|
serviceName?: string;
|
|
36
60
|
/**
|
|
61
|
+
* @remarks
|
|
62
|
+
* The service type. Valid values:
|
|
63
|
+
*
|
|
64
|
+
* - **drama**
|
|
65
|
+
* - **memroy**
|
|
66
|
+
*
|
|
37
67
|
* @example
|
|
38
68
|
* drama
|
|
39
69
|
*/
|
|
40
70
|
serviceType?: string;
|
|
41
71
|
/**
|
|
72
|
+
* @remarks
|
|
73
|
+
* The service status. Valid values:
|
|
74
|
+
* - **creating**: Being created.
|
|
75
|
+
* - **active**: Running.
|
|
76
|
+
*
|
|
42
77
|
* @example
|
|
43
78
|
* creating
|
|
44
79
|
*/
|
|
45
80
|
status?: string;
|
|
46
81
|
/**
|
|
82
|
+
* @remarks
|
|
83
|
+
* The workspace ID where the service resides.
|
|
84
|
+
*
|
|
47
85
|
* @example
|
|
48
86
|
* ws-*****
|
|
49
87
|
*/
|
|
@@ -4,12 +4,17 @@ import * as $dara from '@darabonba/typescript';
|
|
|
4
4
|
|
|
5
5
|
export class GetServiceAccessInfoRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The region ID where the SaaS service resides.
|
|
9
|
+
*
|
|
7
10
|
* @example
|
|
8
11
|
* cn-beijing
|
|
9
12
|
*/
|
|
10
13
|
regionId?: string;
|
|
11
14
|
/**
|
|
12
15
|
* @remarks
|
|
16
|
+
* The service ID.
|
|
17
|
+
*
|
|
13
18
|
* This parameter is required.
|
|
14
19
|
*
|
|
15
20
|
* @example
|
|
@@ -4,16 +4,25 @@ import * as $dara from '@darabonba/typescript';
|
|
|
4
4
|
|
|
5
5
|
export class GetServiceAccessInfoResponseBody extends $dara.Model {
|
|
6
6
|
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The redirect URL for logging on to the service console.
|
|
9
|
+
*
|
|
7
10
|
* @example
|
|
8
11
|
* http://xxxxxxxxx
|
|
9
12
|
*/
|
|
10
13
|
callbackUrl?: string;
|
|
11
14
|
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The request ID.
|
|
17
|
+
*
|
|
12
18
|
* @example
|
|
13
19
|
* ABB39CC3-4488-4857-905D-2E4A051D0521
|
|
14
20
|
*/
|
|
15
21
|
requestId?: string;
|
|
16
22
|
/**
|
|
23
|
+
* @remarks
|
|
24
|
+
* The verification code for the service console logon URL.
|
|
25
|
+
*
|
|
17
26
|
* @example
|
|
18
27
|
* dcwedsxcx
|
|
19
28
|
*/
|
|
@@ -4,12 +4,17 @@ import * as $dara from '@darabonba/typescript';
|
|
|
4
4
|
|
|
5
5
|
export class GetWorkspaceRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The region ID of the workspace.
|
|
9
|
+
*
|
|
7
10
|
* @example
|
|
8
11
|
* cn-beijing
|
|
9
12
|
*/
|
|
10
13
|
regionId?: string;
|
|
11
14
|
/**
|
|
12
15
|
* @remarks
|
|
16
|
+
* The ID of the workspace where the service resides.
|
|
17
|
+
*
|
|
13
18
|
* This parameter is required.
|
|
14
19
|
*
|
|
15
20
|
* @example
|
|
@@ -4,11 +4,20 @@ import * as $dara from '@darabonba/typescript';
|
|
|
4
4
|
|
|
5
5
|
export class GetWorkspaceResponseBodyApikeysAuthServices extends $dara.Model {
|
|
6
6
|
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The service ID.
|
|
9
|
+
*
|
|
7
10
|
* @example
|
|
8
11
|
* agdb-xxxxxx
|
|
9
12
|
*/
|
|
10
13
|
serviceId?: string;
|
|
11
14
|
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The service type. Valid values:
|
|
17
|
+
*
|
|
18
|
+
* - memory
|
|
19
|
+
* - drama
|
|
20
|
+
*
|
|
12
21
|
* @example
|
|
13
22
|
* memory
|
|
14
23
|
*/
|
|
@@ -37,28 +46,47 @@ export class GetWorkspaceResponseBodyApikeysAuthServices extends $dara.Model {
|
|
|
37
46
|
}
|
|
38
47
|
|
|
39
48
|
export class GetWorkspaceResponseBodyApikeys extends $dara.Model {
|
|
49
|
+
/**
|
|
50
|
+
* @remarks
|
|
51
|
+
* The service ID.
|
|
52
|
+
*/
|
|
40
53
|
authServices?: GetWorkspaceResponseBodyApikeysAuthServices[];
|
|
41
54
|
/**
|
|
55
|
+
* @remarks
|
|
56
|
+
* The creation time.
|
|
57
|
+
*
|
|
42
58
|
* @example
|
|
43
59
|
* Sat Mar 14 14:44:27 GMT+08:00 2026
|
|
44
60
|
*/
|
|
45
61
|
createTime?: string;
|
|
46
62
|
/**
|
|
63
|
+
* @remarks
|
|
64
|
+
* The description.
|
|
65
|
+
*
|
|
47
66
|
* @example
|
|
48
67
|
* my test key
|
|
49
68
|
*/
|
|
50
69
|
description?: string;
|
|
51
70
|
/**
|
|
71
|
+
* @remarks
|
|
72
|
+
* The ID of the API key.
|
|
73
|
+
*
|
|
52
74
|
* @example
|
|
53
75
|
* api-xxxxxx
|
|
54
76
|
*/
|
|
55
77
|
keyId?: string;
|
|
56
78
|
/**
|
|
79
|
+
* @remarks
|
|
80
|
+
* The name of the API key.
|
|
81
|
+
*
|
|
57
82
|
* @example
|
|
58
83
|
* my test key
|
|
59
84
|
*/
|
|
60
85
|
keyName?: string;
|
|
61
86
|
/**
|
|
87
|
+
* @remarks
|
|
88
|
+
* The prefix of the API key.
|
|
89
|
+
*
|
|
62
90
|
* @example
|
|
63
91
|
* sk-1235*****
|
|
64
92
|
*/
|
|
@@ -99,41 +127,76 @@ export class GetWorkspaceResponseBodyApikeys extends $dara.Model {
|
|
|
99
127
|
|
|
100
128
|
export class GetWorkspaceResponseBodyServices extends $dara.Model {
|
|
101
129
|
/**
|
|
130
|
+
* @remarks
|
|
131
|
+
* The creation time.
|
|
132
|
+
*
|
|
102
133
|
* @example
|
|
103
134
|
* 2026-03-01T00:00:00Z
|
|
104
135
|
*/
|
|
105
136
|
createTime?: string;
|
|
106
137
|
/**
|
|
138
|
+
* @remarks
|
|
139
|
+
* The compute resource.
|
|
140
|
+
*
|
|
107
141
|
* @example
|
|
108
142
|
* 2
|
|
109
143
|
*/
|
|
110
144
|
cu?: string;
|
|
111
145
|
/**
|
|
146
|
+
* @remarks
|
|
147
|
+
* The expiration time.
|
|
148
|
+
*
|
|
112
149
|
* @example
|
|
113
150
|
* 2026-06-21T16:00:00Z
|
|
114
151
|
*/
|
|
115
152
|
expireTime?: string;
|
|
116
153
|
/**
|
|
154
|
+
* @remarks
|
|
155
|
+
* The billing type. Valid values:
|
|
156
|
+
*
|
|
157
|
+
* - **POSTPAY**: pay-as-you-go.
|
|
158
|
+
* - **PREPAY**: subscription.
|
|
159
|
+
*
|
|
160
|
+
* > - If this parameter is not specified, the default value is pay-as-you-go.
|
|
161
|
+
* > - In subscription billing mode, a discount is available when you purchase a duration of one year or longer. Select a billing type as needed.
|
|
162
|
+
*
|
|
117
163
|
* @example
|
|
118
164
|
* Postpaid
|
|
119
165
|
*/
|
|
120
166
|
payType?: string;
|
|
121
167
|
/**
|
|
168
|
+
* @remarks
|
|
169
|
+
* The service ID.
|
|
170
|
+
*
|
|
122
171
|
* @example
|
|
123
172
|
* agdb-xxx
|
|
124
173
|
*/
|
|
125
174
|
serviceId?: string;
|
|
126
175
|
/**
|
|
176
|
+
* @remarks
|
|
177
|
+
* The service name.
|
|
178
|
+
*
|
|
127
179
|
* @example
|
|
128
180
|
* agdb-xxx
|
|
129
181
|
*/
|
|
130
182
|
serviceName?: string;
|
|
131
183
|
/**
|
|
184
|
+
* @remarks
|
|
185
|
+
* The service type. Valid values:
|
|
186
|
+
*
|
|
187
|
+
* - **memory**
|
|
188
|
+
* - **drama**
|
|
189
|
+
*
|
|
132
190
|
* @example
|
|
133
191
|
* memory
|
|
134
192
|
*/
|
|
135
193
|
serviceType?: string;
|
|
136
194
|
/**
|
|
195
|
+
* @remarks
|
|
196
|
+
* The service status. Valid values:
|
|
197
|
+
* - creating: being created.
|
|
198
|
+
* - active: running.
|
|
199
|
+
*
|
|
137
200
|
* @example
|
|
138
201
|
* active
|
|
139
202
|
*/
|
|
@@ -174,24 +237,44 @@ export class GetWorkspaceResponseBodyServices extends $dara.Model {
|
|
|
174
237
|
}
|
|
175
238
|
|
|
176
239
|
export class GetWorkspaceResponseBody extends $dara.Model {
|
|
240
|
+
/**
|
|
241
|
+
* @remarks
|
|
242
|
+
* The list of workspace API keys.
|
|
243
|
+
*/
|
|
177
244
|
apikeys?: GetWorkspaceResponseBodyApikeys[];
|
|
178
245
|
/**
|
|
246
|
+
* @remarks
|
|
247
|
+
* The creation time.
|
|
248
|
+
*
|
|
179
249
|
* @example
|
|
180
250
|
* 2026-06-01T00:00:00Z
|
|
181
251
|
*/
|
|
182
252
|
createTime?: string;
|
|
183
253
|
/**
|
|
254
|
+
* @remarks
|
|
255
|
+
* The request ID.
|
|
256
|
+
*
|
|
184
257
|
* @example
|
|
185
258
|
* ABB39CC3-4488-4857-905D-2E4A051D0521
|
|
186
259
|
*/
|
|
187
260
|
requestId?: string;
|
|
261
|
+
/**
|
|
262
|
+
* @remarks
|
|
263
|
+
* The list of service details.
|
|
264
|
+
*/
|
|
188
265
|
services?: GetWorkspaceResponseBodyServices[];
|
|
189
266
|
/**
|
|
267
|
+
* @remarks
|
|
268
|
+
* The workspace ID.
|
|
269
|
+
*
|
|
190
270
|
* @example
|
|
191
271
|
* ws-*****
|
|
192
272
|
*/
|
|
193
273
|
workspaceId?: string;
|
|
194
274
|
/**
|
|
275
|
+
* @remarks
|
|
276
|
+
* The workspace name.
|
|
277
|
+
*
|
|
195
278
|
* @example
|
|
196
279
|
* my-first-workspace
|
|
197
280
|
*/
|