@alicloud/gpdb20160503 3.11.0 → 3.12.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 +182 -56
- package/dist/client.js +377 -59
- package/dist/client.js.map +1 -1
- package/dist/models/CheckSaasServiceVersionRequest.d.ts +31 -0
- package/dist/models/CheckSaasServiceVersionRequest.js +60 -0
- package/dist/models/CheckSaasServiceVersionRequest.js.map +1 -0
- package/dist/models/CheckSaasServiceVersionResponse.d.ts +19 -0
- package/dist/models/CheckSaasServiceVersionResponse.js +69 -0
- package/dist/models/CheckSaasServiceVersionResponse.js.map +1 -0
- package/dist/models/CheckSaasServiceVersionResponseBody.d.ts +45 -0
- package/dist/models/CheckSaasServiceVersionResponseBody.js +64 -0
- package/dist/models/CheckSaasServiceVersionResponseBody.js.map +1 -0
- 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/GetApiEndpointsRequest.d.ts +37 -0
- package/dist/models/GetApiEndpointsRequest.js +62 -0
- package/dist/models/GetApiEndpointsRequest.js.map +1 -0
- package/dist/models/GetApiEndpointsResponse.d.ts +19 -0
- package/dist/models/GetApiEndpointsResponse.js +69 -0
- package/dist/models/GetApiEndpointsResponse.js.map +1 -0
- package/dist/models/GetApiEndpointsResponseBody.d.ts +89 -0
- package/dist/models/GetApiEndpointsResponseBody.js +92 -0
- package/dist/models/GetApiEndpointsResponseBody.js.map +1 -0
- 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/GrantApiKeyRequest.d.ts +48 -0
- package/dist/models/GrantApiKeyRequest.js +67 -0
- package/dist/models/GrantApiKeyRequest.js.map +1 -0
- package/dist/models/GrantApiKeyResponse.d.ts +19 -0
- package/dist/models/GrantApiKeyResponse.js +69 -0
- package/dist/models/GrantApiKeyResponse.js.map +1 -0
- package/dist/models/GrantApiKeyResponseBody.d.ts +21 -0
- package/dist/models/GrantApiKeyResponseBody.js +58 -0
- package/dist/models/GrantApiKeyResponseBody.js.map +1 -0
- package/dist/models/GrantApiKeyShrinkRequest.d.ts +48 -0
- package/dist/models/GrantApiKeyShrinkRequest.js +64 -0
- package/dist/models/GrantApiKeyShrinkRequest.js.map +1 -0
- 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 +80 -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/ModifySaasServiceDeletionProtectionRequest.d.ts +39 -0
- package/dist/models/ModifySaasServiceDeletionProtectionRequest.js +62 -0
- package/dist/models/ModifySaasServiceDeletionProtectionRequest.js.map +1 -0
- package/dist/models/ModifySaasServiceDeletionProtectionResponse.d.ts +19 -0
- package/dist/models/ModifySaasServiceDeletionProtectionResponse.js +69 -0
- package/dist/models/ModifySaasServiceDeletionProtectionResponse.js.map +1 -0
- package/dist/models/ModifySaasServiceDeletionProtectionResponseBody.d.ts +37 -0
- package/dist/models/ModifySaasServiceDeletionProtectionResponseBody.js +62 -0
- package/dist/models/ModifySaasServiceDeletionProtectionResponseBody.js.map +1 -0
- 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/RevokeApiKeyRequest.d.ts +48 -0
- package/dist/models/RevokeApiKeyRequest.js +67 -0
- package/dist/models/RevokeApiKeyRequest.js.map +1 -0
- package/dist/models/RevokeApiKeyResponse.d.ts +19 -0
- package/dist/models/RevokeApiKeyResponse.js +69 -0
- package/dist/models/RevokeApiKeyResponse.js.map +1 -0
- package/dist/models/RevokeApiKeyResponseBody.d.ts +21 -0
- package/dist/models/RevokeApiKeyResponseBody.js +58 -0
- package/dist/models/RevokeApiKeyResponseBody.js.map +1 -0
- package/dist/models/RevokeApiKeyShrinkRequest.d.ts +48 -0
- package/dist/models/RevokeApiKeyShrinkRequest.js +64 -0
- package/dist/models/RevokeApiKeyShrinkRequest.js.map +1 -0
- package/dist/models/UpdateSaasServiceVersionRequest.d.ts +31 -0
- package/dist/models/UpdateSaasServiceVersionRequest.js +60 -0
- package/dist/models/UpdateSaasServiceVersionRequest.js.map +1 -0
- package/dist/models/UpdateSaasServiceVersionResponse.d.ts +19 -0
- package/dist/models/UpdateSaasServiceVersionResponse.js +69 -0
- package/dist/models/UpdateSaasServiceVersionResponse.js.map +1 -0
- package/dist/models/UpdateSaasServiceVersionResponseBody.d.ts +37 -0
- package/dist/models/UpdateSaasServiceVersionResponseBody.js +62 -0
- package/dist/models/UpdateSaasServiceVersionResponseBody.js.map +1 -0
- package/dist/models/model.d.ts +24 -0
- package/dist/models/model.js +80 -32
- package/dist/models/model.js.map +1 -1
- package/package.json +2 -2
- package/src/client.ts +410 -59
- package/src/models/CheckSaasServiceVersionRequest.ts +46 -0
- package/src/models/CheckSaasServiceVersionResponse.ts +40 -0
- package/src/models/CheckSaasServiceVersionResponseBody.ts +64 -0
- 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/GetApiEndpointsRequest.ts +54 -0
- package/src/models/GetApiEndpointsResponse.ts +40 -0
- package/src/models/GetApiEndpointsResponseBody.ts +127 -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/GrantApiKeyRequest.ts +70 -0
- package/src/models/GrantApiKeyResponse.ts +40 -0
- package/src/models/GrantApiKeyResponseBody.ts +34 -0
- package/src/models/GrantApiKeyShrinkRequest.ts +67 -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 +107 -1
- package/src/models/ListWorkspacesResponseBody.ts +48 -1
- package/src/models/ModifySaasServiceDeletionProtectionRequest.ts +56 -0
- package/src/models/ModifySaasServiceDeletionProtectionResponse.ts +40 -0
- package/src/models/ModifySaasServiceDeletionProtectionResponseBody.ts +54 -0
- 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/RevokeApiKeyRequest.ts +70 -0
- package/src/models/RevokeApiKeyResponse.ts +40 -0
- package/src/models/RevokeApiKeyResponseBody.ts +34 -0
- package/src/models/RevokeApiKeyShrinkRequest.ts +67 -0
- package/src/models/UpdateSaasServiceVersionRequest.ts +46 -0
- package/src/models/UpdateSaasServiceVersionResponse.ts +40 -0
- package/src/models/UpdateSaasServiceVersionResponseBody.ts +54 -0
- package/src/models/model.ts +24 -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
|
*/
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class GetApiEndpointsRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The maximum number of records to return in this query.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* 20
|
|
12
|
+
*/
|
|
13
|
+
maxResults?: number;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The pagination token for the next query.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* caeba0bbb2be03f84eb48b699f0a4883
|
|
20
|
+
*/
|
|
21
|
+
nextToken?: string;
|
|
22
|
+
/**
|
|
23
|
+
* @remarks
|
|
24
|
+
* The region ID.
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* cn-hangzhou
|
|
28
|
+
*/
|
|
29
|
+
regionId?: string;
|
|
30
|
+
static names(): { [key: string]: string } {
|
|
31
|
+
return {
|
|
32
|
+
maxResults: 'MaxResults',
|
|
33
|
+
nextToken: 'NextToken',
|
|
34
|
+
regionId: 'RegionId',
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
static types(): { [key: string]: any } {
|
|
39
|
+
return {
|
|
40
|
+
maxResults: 'number',
|
|
41
|
+
nextToken: 'string',
|
|
42
|
+
regionId: 'string',
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
validate() {
|
|
47
|
+
super.validate();
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
constructor(map?: { [key: string]: any }) {
|
|
51
|
+
super(map);
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { GetApiEndpointsResponseBody } from "./GetApiEndpointsResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class GetApiEndpointsResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: GetApiEndpointsResponseBody;
|
|
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: GetApiEndpointsResponseBody,
|
|
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,127 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class GetApiEndpointsResponseBodyItems extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The endpoint.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* https://api-longmemory-cn-beijing.opentrust.net/
|
|
12
|
+
*/
|
|
13
|
+
endpoint?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The region ID.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* cn-hangzhou
|
|
20
|
+
*/
|
|
21
|
+
regionId?: string;
|
|
22
|
+
/**
|
|
23
|
+
* @remarks
|
|
24
|
+
* The service type. Valid values:
|
|
25
|
+
*
|
|
26
|
+
* - **memory**
|
|
27
|
+
* - **drama**
|
|
28
|
+
*
|
|
29
|
+
* @example
|
|
30
|
+
* memory
|
|
31
|
+
*/
|
|
32
|
+
serviceType?: string;
|
|
33
|
+
static names(): { [key: string]: string } {
|
|
34
|
+
return {
|
|
35
|
+
endpoint: 'Endpoint',
|
|
36
|
+
regionId: 'RegionId',
|
|
37
|
+
serviceType: 'ServiceType',
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
static types(): { [key: string]: any } {
|
|
42
|
+
return {
|
|
43
|
+
endpoint: 'string',
|
|
44
|
+
regionId: 'string',
|
|
45
|
+
serviceType: 'string',
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
validate() {
|
|
50
|
+
super.validate();
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
constructor(map?: { [key: string]: any }) {
|
|
54
|
+
super(map);
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
export class GetApiEndpointsResponseBody extends $dara.Model {
|
|
59
|
+
/**
|
|
60
|
+
* @remarks
|
|
61
|
+
* The list of parameters.
|
|
62
|
+
*/
|
|
63
|
+
items?: GetApiEndpointsResponseBodyItems[];
|
|
64
|
+
/**
|
|
65
|
+
* @remarks
|
|
66
|
+
* The maximum number of records to return in this query.
|
|
67
|
+
*
|
|
68
|
+
* @example
|
|
69
|
+
* 20
|
|
70
|
+
*/
|
|
71
|
+
maxResults?: number;
|
|
72
|
+
/**
|
|
73
|
+
* @remarks
|
|
74
|
+
* The token for the next query during paging. Use this token to start the next query.
|
|
75
|
+
*
|
|
76
|
+
* @example
|
|
77
|
+
* caeba0bbb2be03f84eb48b699f0a4883
|
|
78
|
+
*/
|
|
79
|
+
nextToken?: string;
|
|
80
|
+
/**
|
|
81
|
+
* @remarks
|
|
82
|
+
* Id of the request
|
|
83
|
+
*
|
|
84
|
+
* @example
|
|
85
|
+
* ABB39CC3-4488-4857-905D-2E4A051D0521
|
|
86
|
+
*/
|
|
87
|
+
requestId?: string;
|
|
88
|
+
/**
|
|
89
|
+
* @remarks
|
|
90
|
+
* The total number of records.
|
|
91
|
+
*
|
|
92
|
+
* @example
|
|
93
|
+
* 2
|
|
94
|
+
*/
|
|
95
|
+
totalRecordCount?: number;
|
|
96
|
+
static names(): { [key: string]: string } {
|
|
97
|
+
return {
|
|
98
|
+
items: 'Items',
|
|
99
|
+
maxResults: 'MaxResults',
|
|
100
|
+
nextToken: 'NextToken',
|
|
101
|
+
requestId: 'RequestId',
|
|
102
|
+
totalRecordCount: 'TotalRecordCount',
|
|
103
|
+
};
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
static types(): { [key: string]: any } {
|
|
107
|
+
return {
|
|
108
|
+
items: { 'type': 'array', 'itemType': GetApiEndpointsResponseBodyItems },
|
|
109
|
+
maxResults: 'number',
|
|
110
|
+
nextToken: 'string',
|
|
111
|
+
requestId: 'string',
|
|
112
|
+
totalRecordCount: 'number',
|
|
113
|
+
};
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
validate() {
|
|
117
|
+
if(Array.isArray(this.items)) {
|
|
118
|
+
$dara.Model.validateArray(this.items);
|
|
119
|
+
}
|
|
120
|
+
super.validate();
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
constructor(map?: { [key: string]: any }) {
|
|
124
|
+
super(map);
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
|
|
@@ -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
|