@alicloud/gpdb20160503 3.0.1 → 3.0.3
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 +81 -62
- package/dist/client.js.map +1 -1
- package/dist/models/ChatWithKnowledgeBaseStreamResponse.d.ts +2 -0
- package/dist/models/ChatWithKnowledgeBaseStreamResponse.js +4 -0
- package/dist/models/ChatWithKnowledgeBaseStreamResponse.js.map +1 -1
- package/dist/models/CreateSupabaseProjectRequest.d.ts +3 -0
- package/dist/models/CreateSupabaseProjectRequest.js +6 -0
- package/dist/models/CreateSupabaseProjectRequest.js.map +1 -1
- package/dist/models/CreateSupabaseProjectResponseBody.d.ts +1 -0
- package/dist/models/CreateSupabaseProjectResponseBody.js +2 -0
- package/dist/models/CreateSupabaseProjectResponseBody.js.map +1 -1
- package/dist/models/DescribeAccountsResponseBody.d.ts +0 -43
- package/dist/models/DescribeAccountsResponseBody.js.map +1 -1
- package/dist/models/DescribeDataShareInstancesResponseBody.d.ts +0 -60
- package/dist/models/DescribeDataShareInstancesResponseBody.js.map +1 -1
- package/dist/models/DescribeDbinstanceAttributeResponseBody.d.ts +0 -575
- package/dist/models/DescribeDbinstanceAttributeResponseBody.js.map +1 -1
- package/dist/models/DescribeDbinstanceIparrayListResponseBody.d.ts +0 -29
- package/dist/models/DescribeDbinstanceIparrayListResponseBody.js.map +1 -1
- package/dist/models/DescribeDbinstanceNetInfoResponseBody.d.ts +0 -63
- package/dist/models/DescribeDbinstanceNetInfoResponseBody.js.map +1 -1
- package/dist/models/DescribeDbinstancePlansResponseBody.d.ts +0 -97
- package/dist/models/DescribeDbinstancePlansResponseBody.js.map +1 -1
- package/dist/models/DescribeDbinstanceSupportMaxPerformanceResponseBody.d.ts +0 -32
- package/dist/models/DescribeDbinstanceSupportMaxPerformanceResponseBody.js.map +1 -1
- package/dist/models/DescribeDbinstancesResponseBody.d.ts +0 -259
- package/dist/models/DescribeDbinstancesResponseBody.js.map +1 -1
- package/dist/models/DescribeDbresourceGroupResponseBody.d.ts +0 -34
- package/dist/models/DescribeDbresourceGroupResponseBody.js.map +1 -1
- package/dist/models/DescribeRegionsResponseBody.d.ts +0 -32
- package/dist/models/DescribeRegionsResponseBody.js.map +1 -1
- package/dist/models/DescribeRolesResponseBody.d.ts +0 -4
- package/dist/models/DescribeRolesResponseBody.js.map +1 -1
- package/dist/models/DescribeTableResponseBody.d.ts +0 -4
- package/dist/models/DescribeTableResponseBody.js.map +1 -1
- package/dist/models/ExecuteStatementResponseBody.d.ts +0 -8
- package/dist/models/ExecuteStatementResponseBody.js.map +1 -1
- package/dist/models/GetStatementResultResponseBody.d.ts +0 -8
- package/dist/models/GetStatementResultResponseBody.js.map +1 -1
- package/dist/models/GetSupabaseProjectResponseBody.d.ts +1 -0
- package/dist/models/GetSupabaseProjectResponseBody.js +2 -0
- package/dist/models/GetSupabaseProjectResponseBody.js.map +1 -1
- package/dist/models/ListBackupJobsResponseBody.d.ts +0 -45
- package/dist/models/ListBackupJobsResponseBody.js.map +1 -1
- package/dist/models/ListCollectionsResponseBody.d.ts +0 -4
- package/dist/models/ListCollectionsResponseBody.js.map +1 -1
- package/dist/models/ListDatabasesResponseBody.d.ts +0 -4
- package/dist/models/ListDatabasesResponseBody.js.map +1 -1
- package/dist/models/ListDocumentCollectionsResponseBody.d.ts +0 -53
- package/dist/models/ListDocumentCollectionsResponseBody.js.map +1 -1
- package/dist/models/ListDocumentsResponseBody.d.ts +0 -18
- package/dist/models/ListDocumentsResponseBody.js.map +1 -1
- package/dist/models/ListIndicesResponseBody.d.ts +0 -32
- package/dist/models/ListIndicesResponseBody.js.map +1 -1
- package/dist/models/ListNamespacesResponseBody.d.ts +0 -4
- package/dist/models/ListNamespacesResponseBody.js.map +1 -1
- package/dist/models/ListRemoteAdbdataSourcesResponseBody.d.ts +0 -83
- package/dist/models/ListRemoteAdbdataSourcesResponseBody.js.map +1 -1
- package/dist/models/ListSchemasResponseBody.d.ts +0 -4
- package/dist/models/ListSchemasResponseBody.js.map +1 -1
- package/dist/models/ListSecretsResponseBody.d.ts +0 -53
- package/dist/models/ListSecretsResponseBody.js.map +1 -1
- package/dist/models/ListSupportModelsResponseBody.d.ts +0 -4
- package/dist/models/ListSupportModelsResponseBody.js.map +1 -1
- package/dist/models/ListTablesResponseBody.d.ts +0 -4
- package/dist/models/ListTablesResponseBody.js.map +1 -1
- package/dist/models/ListTagResourcesResponseBody.d.ts +0 -32
- package/dist/models/ListTagResourcesResponseBody.js.map +1 -1
- package/dist/models/ModifySupabaseProjectSecurityIpsRequest.d.ts +2 -0
- package/dist/models/ModifySupabaseProjectSecurityIpsRequest.js +4 -0
- package/dist/models/ModifySupabaseProjectSecurityIpsRequest.js.map +1 -1
- package/dist/models/QueryCollectionDataRequest.d.ts +10 -0
- package/dist/models/QueryCollectionDataRequest.js.map +1 -1
- package/dist/models/QueryCollectionDataResponseBody.d.ts +0 -26
- package/dist/models/QueryCollectionDataResponseBody.js.map +1 -1
- package/dist/models/QueryCollectionDataShrinkRequest.d.ts +10 -0
- package/dist/models/QueryCollectionDataShrinkRequest.js.map +1 -1
- package/dist/models/QueryContentAdvanceRequest.d.ts +7 -0
- package/dist/models/QueryContentAdvanceRequest.js.map +1 -1
- package/dist/models/QueryContentRequest.d.ts +7 -0
- package/dist/models/QueryContentRequest.js.map +1 -1
- package/dist/models/QueryContentResponseBody.d.ts +0 -196
- package/dist/models/QueryContentResponseBody.js.map +1 -1
- package/dist/models/QueryContentShrinkRequest.d.ts +7 -0
- package/dist/models/QueryContentShrinkRequest.js.map +1 -1
- package/dist/models/QueryKnowledgeBasesContentResponseBody.d.ts +0 -135
- package/dist/models/QueryKnowledgeBasesContentResponseBody.js.map +1 -1
- package/dist/models/RerankResponseBody.d.ts +0 -25
- package/dist/models/RerankResponseBody.js.map +1 -1
- package/dist/models/TextEmbeddingResponseBody.d.ts +0 -15
- package/dist/models/TextEmbeddingResponseBody.js.map +1 -1
- package/dist/models/UpsertCollectionDataRequest.d.ts +33 -0
- package/dist/models/UpsertCollectionDataRequest.js.map +1 -1
- package/dist/models/UpsertCollectionDataShrinkRequest.d.ts +4 -0
- package/dist/models/UpsertCollectionDataShrinkRequest.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +87 -66
- package/src/models/ChatWithKnowledgeBaseStreamResponse.ts +6 -0
- package/src/models/CreateSupabaseProjectRequest.ts +9 -0
- package/src/models/CreateSupabaseProjectResponseBody.ts +3 -0
- package/src/models/DescribeAccountsResponseBody.ts +0 -43
- package/src/models/DescribeDataShareInstancesResponseBody.ts +0 -60
- package/src/models/DescribeDbinstanceAttributeResponseBody.ts +0 -575
- package/src/models/DescribeDbinstanceIparrayListResponseBody.ts +0 -29
- package/src/models/DescribeDbinstanceNetInfoResponseBody.ts +0 -63
- package/src/models/DescribeDbinstancePlansResponseBody.ts +0 -97
- package/src/models/DescribeDbinstanceSupportMaxPerformanceResponseBody.ts +0 -32
- package/src/models/DescribeDbinstancesResponseBody.ts +0 -259
- package/src/models/DescribeDbresourceGroupResponseBody.ts +0 -34
- package/src/models/DescribeRegionsResponseBody.ts +0 -32
- package/src/models/DescribeRolesResponseBody.ts +0 -4
- package/src/models/DescribeTableResponseBody.ts +0 -4
- package/src/models/ExecuteStatementResponseBody.ts +0 -8
- package/src/models/GetStatementResultResponseBody.ts +0 -8
- package/src/models/GetSupabaseProjectResponseBody.ts +3 -0
- package/src/models/ListBackupJobsResponseBody.ts +0 -45
- package/src/models/ListCollectionsResponseBody.ts +0 -4
- package/src/models/ListDatabasesResponseBody.ts +0 -4
- package/src/models/ListDocumentCollectionsResponseBody.ts +0 -53
- package/src/models/ListDocumentsResponseBody.ts +0 -18
- package/src/models/ListIndicesResponseBody.ts +0 -32
- package/src/models/ListNamespacesResponseBody.ts +0 -4
- package/src/models/ListRemoteAdbdataSourcesResponseBody.ts +0 -83
- package/src/models/ListSchemasResponseBody.ts +0 -4
- package/src/models/ListSecretsResponseBody.ts +0 -53
- package/src/models/ListSupportModelsResponseBody.ts +0 -4
- package/src/models/ListTablesResponseBody.ts +0 -4
- package/src/models/ListTagResourcesResponseBody.ts +0 -32
- package/src/models/ModifySupabaseProjectSecurityIpsRequest.ts +6 -0
- package/src/models/QueryCollectionDataRequest.ts +10 -0
- package/src/models/QueryCollectionDataResponseBody.ts +0 -26
- package/src/models/QueryCollectionDataShrinkRequest.ts +10 -0
- package/src/models/QueryContentAdvanceRequest.ts +7 -0
- package/src/models/QueryContentRequest.ts +7 -0
- package/src/models/QueryContentResponseBody.ts +0 -196
- package/src/models/QueryContentShrinkRequest.ts +7 -0
- package/src/models/QueryKnowledgeBasesContentResponseBody.ts +0 -135
- package/src/models/RerankResponseBody.ts +0 -25
- package/src/models/TextEmbeddingResponseBody.ts +0 -15
- package/src/models/UpsertCollectionDataRequest.ts +33 -0
- package/src/models/UpsertCollectionDataShrinkRequest.ts +4 -0
|
@@ -3,72 +3,13 @@ import * as $dara from '@darabonba/typescript';
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
export class DescribeDBInstanceNetInfoResponseBodyDBInstanceNetInfosDBInstanceNetInfo extends $dara.Model {
|
|
6
|
-
/**
|
|
7
|
-
* @remarks
|
|
8
|
-
* The type of the endpoint.
|
|
9
|
-
*
|
|
10
|
-
* @example
|
|
11
|
-
* Intranet
|
|
12
|
-
*/
|
|
13
6
|
addressType?: string;
|
|
14
|
-
/**
|
|
15
|
-
* @remarks
|
|
16
|
-
* The endpoint that is used to connect to the instance.
|
|
17
|
-
*
|
|
18
|
-
* @example
|
|
19
|
-
* gp-xxxxxxx.gpdb.rds.aliyuncs.com
|
|
20
|
-
*/
|
|
21
7
|
connectionString?: string;
|
|
22
|
-
/**
|
|
23
|
-
* @remarks
|
|
24
|
-
* The IP address.
|
|
25
|
-
*
|
|
26
|
-
* @example
|
|
27
|
-
* 127.0.0.1
|
|
28
|
-
*/
|
|
29
8
|
IPAddress?: string;
|
|
30
|
-
/**
|
|
31
|
-
* @remarks
|
|
32
|
-
* The type of the IP address.
|
|
33
|
-
*
|
|
34
|
-
* * Valid values for instances in the classic network: Inner and Public.
|
|
35
|
-
* * Valid values for instances in a virtual private cloud (VPC): Private and Public.
|
|
36
|
-
*
|
|
37
|
-
* @example
|
|
38
|
-
* Inner
|
|
39
|
-
*/
|
|
40
9
|
IPType?: string;
|
|
41
|
-
/**
|
|
42
|
-
* @remarks
|
|
43
|
-
* The port number.
|
|
44
|
-
*
|
|
45
|
-
* @example
|
|
46
|
-
* 3432
|
|
47
|
-
*/
|
|
48
10
|
port?: string;
|
|
49
|
-
/**
|
|
50
|
-
* @remarks
|
|
51
|
-
* The VPC ID of the instance.
|
|
52
|
-
*
|
|
53
|
-
* @example
|
|
54
|
-
* vpc-xxxxxxx
|
|
55
|
-
*/
|
|
56
11
|
VPCId?: string;
|
|
57
|
-
/**
|
|
58
|
-
* @remarks
|
|
59
|
-
* The vSwitch ID. Multiple IDs are separated by commas (,).
|
|
60
|
-
*
|
|
61
|
-
* @example
|
|
62
|
-
* vsw-xxxxxxxx
|
|
63
|
-
*/
|
|
64
12
|
vSwitchId?: string;
|
|
65
|
-
/**
|
|
66
|
-
* @remarks
|
|
67
|
-
* The ID of the instance that is deployed in a VPC.
|
|
68
|
-
*
|
|
69
|
-
* @example
|
|
70
|
-
* vpc-xxxxxxx
|
|
71
|
-
*/
|
|
72
13
|
vpcInstanceId?: string;
|
|
73
14
|
static names(): { [key: string]: string } {
|
|
74
15
|
return {
|
|
@@ -132,10 +73,6 @@ export class DescribeDBInstanceNetInfoResponseBodyDBInstanceNetInfos extends $da
|
|
|
132
73
|
}
|
|
133
74
|
|
|
134
75
|
export class DescribeDBInstanceNetInfoResponseBody extends $dara.Model {
|
|
135
|
-
/**
|
|
136
|
-
* @remarks
|
|
137
|
-
* The connection information of the instance.
|
|
138
|
-
*/
|
|
139
76
|
DBInstanceNetInfos?: DescribeDBInstanceNetInfoResponseBodyDBInstanceNetInfos;
|
|
140
77
|
/**
|
|
141
78
|
* @remarks
|
|
@@ -3,108 +3,15 @@ import * as $dara from '@darabonba/typescript';
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
export class DescribeDBInstancePlansResponseBodyItemsPlanList extends $dara.Model {
|
|
6
|
-
/**
|
|
7
|
-
* @remarks
|
|
8
|
-
* The instance ID.
|
|
9
|
-
*
|
|
10
|
-
* @example
|
|
11
|
-
* gp-bp12ga6v69h86****
|
|
12
|
-
*/
|
|
13
6
|
DBInstanceId?: string;
|
|
14
|
-
/**
|
|
15
|
-
* @remarks
|
|
16
|
-
* The execution information of the plan.
|
|
17
|
-
*
|
|
18
|
-
* @example
|
|
19
|
-
* {"pause":{"planCronTime":"0 22 * * 5"},"resume":{"planCronTime":"0 23 * * 5"}}
|
|
20
|
-
*/
|
|
21
7
|
planConfig?: string;
|
|
22
|
-
/**
|
|
23
|
-
* @remarks
|
|
24
|
-
* The description of the plan.
|
|
25
|
-
*
|
|
26
|
-
* @example
|
|
27
|
-
* this is a test plan
|
|
28
|
-
*/
|
|
29
8
|
planDesc?: string;
|
|
30
|
-
/**
|
|
31
|
-
* @remarks
|
|
32
|
-
* The end time of the plan. The time follows the ISO 8601 standard in the *yyyy-MM-dd*T*HH:mm:ss*Z format. The time is displayed in UTC.
|
|
33
|
-
*
|
|
34
|
-
* >
|
|
35
|
-
*
|
|
36
|
-
* * This parameter is returned only for the plans that are periodically executed.
|
|
37
|
-
*
|
|
38
|
-
* * If you did not specify the end time when you created the plan, this parameter is not returned.
|
|
39
|
-
*
|
|
40
|
-
* @example
|
|
41
|
-
* 2023-04-17T23:00Z
|
|
42
|
-
*/
|
|
43
9
|
planEndDate?: string;
|
|
44
|
-
/**
|
|
45
|
-
* @remarks
|
|
46
|
-
* The plan ID.
|
|
47
|
-
*
|
|
48
|
-
* @example
|
|
49
|
-
* 1234
|
|
50
|
-
*/
|
|
51
10
|
planId?: string;
|
|
52
|
-
/**
|
|
53
|
-
* @remarks
|
|
54
|
-
* The name of the plan.
|
|
55
|
-
*
|
|
56
|
-
* @example
|
|
57
|
-
* test-plan
|
|
58
|
-
*/
|
|
59
11
|
planName?: string;
|
|
60
|
-
/**
|
|
61
|
-
* @remarks
|
|
62
|
-
* The execution mode of the plan. Valid values:
|
|
63
|
-
*
|
|
64
|
-
* * **Postpone**: The plan is executed later.
|
|
65
|
-
* * **Regular**: The plan is executed periodically.
|
|
66
|
-
*
|
|
67
|
-
* @example
|
|
68
|
-
* Regular
|
|
69
|
-
*/
|
|
70
12
|
planScheduleType?: string;
|
|
71
|
-
/**
|
|
72
|
-
* @remarks
|
|
73
|
-
* The start time of the plan. The time follows the ISO 8601 standard in the *yyyy-MM-dd*T*HH:mm:ss*Z format. The time is displayed in UTC.
|
|
74
|
-
*
|
|
75
|
-
* >
|
|
76
|
-
*
|
|
77
|
-
* * This parameter is returned only for the plans that are periodically executed.
|
|
78
|
-
*
|
|
79
|
-
* * If you did not specify the start time when you created the plan, the current time is returned.
|
|
80
|
-
*
|
|
81
|
-
* @example
|
|
82
|
-
* 2022-04-17T23:00Z
|
|
83
|
-
*/
|
|
84
13
|
planStartDate?: string;
|
|
85
|
-
/**
|
|
86
|
-
* @remarks
|
|
87
|
-
* The status of the plan. Valid values:
|
|
88
|
-
*
|
|
89
|
-
* * **active**
|
|
90
|
-
* * **cancel**
|
|
91
|
-
* * **deleted**
|
|
92
|
-
* * **finished**
|
|
93
|
-
*
|
|
94
|
-
* @example
|
|
95
|
-
* active
|
|
96
|
-
*/
|
|
97
14
|
planStatus?: string;
|
|
98
|
-
/**
|
|
99
|
-
* @remarks
|
|
100
|
-
* The type of the plan. Valid values:
|
|
101
|
-
*
|
|
102
|
-
* * **PauseResume**: pauses and resumes an instance.
|
|
103
|
-
* * **Resize**: scales an instance.
|
|
104
|
-
*
|
|
105
|
-
* @example
|
|
106
|
-
* PauseResume
|
|
107
|
-
*/
|
|
108
15
|
planType?: string;
|
|
109
16
|
static names(): { [key: string]: string } {
|
|
110
17
|
return {
|
|
@@ -182,10 +89,6 @@ export class DescribeDBInstancePlansResponseBody extends $dara.Model {
|
|
|
182
89
|
* ****
|
|
183
90
|
*/
|
|
184
91
|
errorMessage?: string;
|
|
185
|
-
/**
|
|
186
|
-
* @remarks
|
|
187
|
-
* The queried plans.
|
|
188
|
-
*/
|
|
189
92
|
items?: DescribeDBInstancePlansResponseBodyItems;
|
|
190
93
|
/**
|
|
191
94
|
* @remarks
|
|
@@ -3,37 +3,9 @@ import * as $dara from '@darabonba/typescript';
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
export class DescribeDBInstanceSupportMaxPerformanceResponseBodyPerformancesPerformance extends $dara.Model {
|
|
6
|
-
/**
|
|
7
|
-
* @remarks
|
|
8
|
-
* The performance bottleneck type.
|
|
9
|
-
*
|
|
10
|
-
* @example
|
|
11
|
-
* ecs or disk
|
|
12
|
-
*/
|
|
13
6
|
bottleneck?: string;
|
|
14
|
-
/**
|
|
15
|
-
* @remarks
|
|
16
|
-
* The name of the performance metric.
|
|
17
|
-
*
|
|
18
|
-
* @example
|
|
19
|
-
* adbpg_status,adbpg_disk_status,adbpg_connection_status,adbgp_segment_disk_usage_percent_max,adbpg_master_disk_usage_percent_max,adbpg_disk_usage_percent
|
|
20
|
-
*/
|
|
21
7
|
key?: string;
|
|
22
|
-
/**
|
|
23
|
-
* @remarks
|
|
24
|
-
* The unit of the performance metric.
|
|
25
|
-
*
|
|
26
|
-
* @example
|
|
27
|
-
* %
|
|
28
|
-
*/
|
|
29
8
|
unit?: string;
|
|
30
|
-
/**
|
|
31
|
-
* @remarks
|
|
32
|
-
* The value of the performance metric.
|
|
33
|
-
*
|
|
34
|
-
* @example
|
|
35
|
-
* 90
|
|
36
|
-
*/
|
|
37
9
|
value?: string;
|
|
38
10
|
static names(): { [key: string]: string } {
|
|
39
11
|
return {
|
|
@@ -97,10 +69,6 @@ export class DescribeDBInstanceSupportMaxPerformanceResponseBody extends $dara.M
|
|
|
97
69
|
* gp-bp***************
|
|
98
70
|
*/
|
|
99
71
|
DBInstanceId?: string;
|
|
100
|
-
/**
|
|
101
|
-
* @remarks
|
|
102
|
-
* The queried performance metric.
|
|
103
|
-
*/
|
|
104
72
|
performances?: DescribeDBInstanceSupportMaxPerformanceResponseBodyPerformances;
|
|
105
73
|
/**
|
|
106
74
|
* @remarks
|
|
@@ -3,21 +3,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
export class DescribeDBInstancesResponseBodyItemsDBInstanceTagsTag extends $dara.Model {
|
|
6
|
-
/**
|
|
7
|
-
* @remarks
|
|
8
|
-
* The key of tag N.
|
|
9
|
-
*
|
|
10
|
-
* @example
|
|
11
|
-
* test-key
|
|
12
|
-
*/
|
|
13
6
|
key?: string;
|
|
14
|
-
/**
|
|
15
|
-
* @remarks
|
|
16
|
-
* The value of tag N.
|
|
17
|
-
*
|
|
18
|
-
* @example
|
|
19
|
-
* test-value
|
|
20
|
-
*/
|
|
21
7
|
value?: string;
|
|
22
8
|
static names(): { [key: string]: string } {
|
|
23
9
|
return {
|
|
@@ -69,274 +55,33 @@ export class DescribeDBInstancesResponseBodyItemsDBInstanceTags extends $dara.Mo
|
|
|
69
55
|
}
|
|
70
56
|
|
|
71
57
|
export class DescribeDBInstancesResponseBodyItemsDBInstance extends $dara.Model {
|
|
72
|
-
/**
|
|
73
|
-
* @remarks
|
|
74
|
-
* An invalid parameter. It is no longer returned when you call this operation.
|
|
75
|
-
*
|
|
76
|
-
* You can call the [DescribeDBInstanceAttribute](https://help.aliyun.com/document_detail/86910.html) operation to query the access mode of an instance.
|
|
77
|
-
*
|
|
78
|
-
* @example
|
|
79
|
-
* null
|
|
80
|
-
*/
|
|
81
58
|
connectionMode?: string;
|
|
82
|
-
/**
|
|
83
|
-
* @remarks
|
|
84
|
-
* The time when the instance was created. The time is displayed in UTC.
|
|
85
|
-
*
|
|
86
|
-
* @example
|
|
87
|
-
* 2021-10-09T04:54:08Z
|
|
88
|
-
*/
|
|
89
59
|
createTime?: string;
|
|
90
|
-
/**
|
|
91
|
-
* @remarks
|
|
92
|
-
* The edition of the instance. Valid values:
|
|
93
|
-
*
|
|
94
|
-
* * **Basic**: Basic Edition.
|
|
95
|
-
* * **HighAvailability**: High-availability Edition.
|
|
96
|
-
* * **Finance**: Enterprise Edition.
|
|
97
|
-
*
|
|
98
|
-
* @example
|
|
99
|
-
* HighAvailability
|
|
100
|
-
*/
|
|
101
60
|
DBInstanceCategory?: string;
|
|
102
|
-
/**
|
|
103
|
-
* @remarks
|
|
104
|
-
* The description of the instance.
|
|
105
|
-
*
|
|
106
|
-
* @example
|
|
107
|
-
* gp-bp12ga6v69h86****
|
|
108
|
-
*/
|
|
109
61
|
DBInstanceDescription?: string;
|
|
110
|
-
/**
|
|
111
|
-
* @remarks
|
|
112
|
-
* The instance ID.
|
|
113
|
-
*
|
|
114
|
-
* @example
|
|
115
|
-
* gp-bp12ga6v69h86****
|
|
116
|
-
*/
|
|
117
62
|
DBInstanceId?: string;
|
|
118
|
-
/**
|
|
119
|
-
* @remarks
|
|
120
|
-
* The resource type of the instance. Valid values:
|
|
121
|
-
*
|
|
122
|
-
* * **Serverless**: Serverless mode.
|
|
123
|
-
* * **StorageElastic**: elastic storage mode.
|
|
124
|
-
* * **Classic**: reserved storage mode.
|
|
125
|
-
*
|
|
126
|
-
* @example
|
|
127
|
-
* StorageElastic
|
|
128
|
-
*/
|
|
129
63
|
DBInstanceMode?: string;
|
|
130
|
-
/**
|
|
131
|
-
* @remarks
|
|
132
|
-
* The type of the network interface card (NIC) that is used by the instance. Valid values:
|
|
133
|
-
*
|
|
134
|
-
* * **0**: Internet.
|
|
135
|
-
* * **1**: internal network.
|
|
136
|
-
* * **2**: VPC.
|
|
137
|
-
*
|
|
138
|
-
* @example
|
|
139
|
-
* 2
|
|
140
|
-
*/
|
|
141
64
|
DBInstanceNetType?: string;
|
|
142
|
-
/**
|
|
143
|
-
* @remarks
|
|
144
|
-
* The status of the instance. For more information, see [Instance statuses](https://help.aliyun.com/document_detail/86944.html).
|
|
145
|
-
*
|
|
146
|
-
* @example
|
|
147
|
-
* Running
|
|
148
|
-
*/
|
|
149
65
|
DBInstanceStatus?: string;
|
|
150
|
-
/**
|
|
151
|
-
* @remarks
|
|
152
|
-
* The database engine of the instance.
|
|
153
|
-
*
|
|
154
|
-
* @example
|
|
155
|
-
* gpdb
|
|
156
|
-
*/
|
|
157
66
|
engine?: string;
|
|
158
|
-
/**
|
|
159
|
-
* @remarks
|
|
160
|
-
* The database engine version of the instance.
|
|
161
|
-
*
|
|
162
|
-
* @example
|
|
163
|
-
* 6.0
|
|
164
|
-
*/
|
|
165
67
|
engineVersion?: string;
|
|
166
|
-
/**
|
|
167
|
-
* @remarks
|
|
168
|
-
* The expiration time of the instance. The time is displayed in UTC.
|
|
169
|
-
*
|
|
170
|
-
* > The expiration time of a pay-as-you-go instance is `2999-09-08T16:00:00Z`.
|
|
171
|
-
*
|
|
172
|
-
* @example
|
|
173
|
-
* 2999-09-08T16:00:00Z
|
|
174
|
-
*/
|
|
175
68
|
expireTime?: string;
|
|
176
|
-
/**
|
|
177
|
-
* @remarks
|
|
178
|
-
* The resource type of the instance. Valid values:
|
|
179
|
-
*
|
|
180
|
-
* * **cluster**: Serverless mode or elastic storage mode.
|
|
181
|
-
* * **replicaSet**: reserved storage mode.
|
|
182
|
-
*
|
|
183
|
-
* @example
|
|
184
|
-
* cluster
|
|
185
|
-
*/
|
|
186
69
|
instanceDeployType?: string;
|
|
187
|
-
/**
|
|
188
|
-
* @remarks
|
|
189
|
-
* The network type of the instance. Valid values:
|
|
190
|
-
*
|
|
191
|
-
* * **Classic**: classic network.
|
|
192
|
-
* * **VPC**: VPC.
|
|
193
|
-
*
|
|
194
|
-
* @example
|
|
195
|
-
* VPC
|
|
196
|
-
*/
|
|
197
70
|
instanceNetworkType?: string;
|
|
198
|
-
/**
|
|
199
|
-
* @remarks
|
|
200
|
-
* The lock mode of the instance. Valid values:
|
|
201
|
-
*
|
|
202
|
-
* * **Unlock**: The instance is not locked.
|
|
203
|
-
* * **ManualLock**: The instance is manually locked.
|
|
204
|
-
* * **LockByExpiration**: The instance is automatically locked due to instance expiration.
|
|
205
|
-
* * **LockByRestoration**: The instance is automatically locked due to instance restoration.
|
|
206
|
-
* * **LockByDiskQuota**: The instance is automatically locked due to exhausted storage.
|
|
207
|
-
* * **LockReadInstanceByDiskQuota**: The instance is a read-only instance and is automatically locked when the disk space is full.
|
|
208
|
-
*
|
|
209
|
-
* @example
|
|
210
|
-
* Unlock
|
|
211
|
-
*/
|
|
212
71
|
lockMode?: string;
|
|
213
|
-
/**
|
|
214
|
-
* @remarks
|
|
215
|
-
* The reason why the instance is locked. Valid values:
|
|
216
|
-
*
|
|
217
|
-
* * **0**: The instance is not locked.
|
|
218
|
-
* * **1**: The instance is manually locked.
|
|
219
|
-
* * **2**: The instance is automatically locked due to instance expiration.
|
|
220
|
-
* * **3**: The instance is automatically locked due to instance restoration.
|
|
221
|
-
* * **4**: The instance is automatically locked due to exhausted storage.
|
|
222
|
-
*
|
|
223
|
-
* > If the instance is in reserved storage mode and is not locked, null is returned.
|
|
224
|
-
*
|
|
225
|
-
* @example
|
|
226
|
-
* 0
|
|
227
|
-
*/
|
|
228
72
|
lockReason?: string;
|
|
229
|
-
/**
|
|
230
|
-
* @remarks
|
|
231
|
-
* The number of coordinator nodes.
|
|
232
|
-
*
|
|
233
|
-
* @example
|
|
234
|
-
* 1
|
|
235
|
-
*/
|
|
236
73
|
masterNodeNum?: number;
|
|
237
|
-
/**
|
|
238
|
-
* @remarks
|
|
239
|
-
* The billing method of the instance. Valid values:
|
|
240
|
-
*
|
|
241
|
-
* * **Postpaid**: pay-as-you-go.
|
|
242
|
-
* * **Prepaid**: subscription.
|
|
243
|
-
*
|
|
244
|
-
* @example
|
|
245
|
-
* Postpaid
|
|
246
|
-
*/
|
|
247
74
|
payType?: string;
|
|
248
|
-
/**
|
|
249
|
-
* @remarks
|
|
250
|
-
* product type
|
|
251
|
-
*
|
|
252
|
-
* @example
|
|
253
|
-
* standard
|
|
254
|
-
*/
|
|
255
75
|
prodType?: string;
|
|
256
|
-
/**
|
|
257
|
-
* @remarks
|
|
258
|
-
* The region ID.
|
|
259
|
-
*
|
|
260
|
-
* @example
|
|
261
|
-
* cn-hangzhou
|
|
262
|
-
*/
|
|
263
76
|
regionId?: string;
|
|
264
|
-
/**
|
|
265
|
-
* @remarks
|
|
266
|
-
* The ID of the resource group to which the instance belongs.
|
|
267
|
-
*
|
|
268
|
-
* @example
|
|
269
|
-
* rg-bp67acfmxazb4p****
|
|
270
|
-
*/
|
|
271
77
|
resourceGroupId?: string;
|
|
272
|
-
/**
|
|
273
|
-
* @remarks
|
|
274
|
-
* The number of compute nodes.
|
|
275
|
-
*
|
|
276
|
-
* @example
|
|
277
|
-
* 4
|
|
278
|
-
*/
|
|
279
78
|
segNodeNum?: string;
|
|
280
|
-
/**
|
|
281
|
-
* @remarks
|
|
282
|
-
* The type of the Serverless mode. Valid values:
|
|
283
|
-
*
|
|
284
|
-
* * **Manual**: manual scheduling.
|
|
285
|
-
* * **Auto**: automatic scheduling.
|
|
286
|
-
*
|
|
287
|
-
* > This parameter is returned only for instances in Serverless mode.
|
|
288
|
-
*
|
|
289
|
-
* @example
|
|
290
|
-
* Manual
|
|
291
|
-
*/
|
|
292
79
|
serverlessMode?: string;
|
|
293
|
-
/**
|
|
294
|
-
* @remarks
|
|
295
|
-
* The storage capacity of the instance. Unit: GB.
|
|
296
|
-
*
|
|
297
|
-
* @example
|
|
298
|
-
* 50
|
|
299
|
-
*/
|
|
300
80
|
storageSize?: string;
|
|
301
|
-
/**
|
|
302
|
-
* @remarks
|
|
303
|
-
* The storage type of the instance. Valid values:
|
|
304
|
-
*
|
|
305
|
-
* * **cloud_essd**: enhanced SSD (ESSD).
|
|
306
|
-
* * **cloud_efficiency**: ultra disk.
|
|
307
|
-
*
|
|
308
|
-
* @example
|
|
309
|
-
* cloud_essd
|
|
310
|
-
*/
|
|
311
81
|
storageType?: string;
|
|
312
|
-
/**
|
|
313
|
-
* @remarks
|
|
314
|
-
* The tags that are added to the instance.
|
|
315
|
-
*/
|
|
316
82
|
tags?: DescribeDBInstancesResponseBodyItemsDBInstanceTags;
|
|
317
|
-
/**
|
|
318
|
-
* @remarks
|
|
319
|
-
* The vSwitch ID.
|
|
320
|
-
*
|
|
321
|
-
* @example
|
|
322
|
-
* vsw-bp1cpq8mr64paltkb****
|
|
323
|
-
*/
|
|
324
83
|
vSwitchId?: string;
|
|
325
|
-
/**
|
|
326
|
-
* @remarks
|
|
327
|
-
* The VPC ID of the instance.
|
|
328
|
-
*
|
|
329
|
-
* @example
|
|
330
|
-
* vpc-bp19ame5m1r3oejns****
|
|
331
|
-
*/
|
|
332
84
|
vpcId?: string;
|
|
333
|
-
/**
|
|
334
|
-
* @remarks
|
|
335
|
-
* The zone ID.
|
|
336
|
-
*
|
|
337
|
-
* @example
|
|
338
|
-
* cn-hangzhou-h
|
|
339
|
-
*/
|
|
340
85
|
zoneId?: string;
|
|
341
86
|
static names(): { [key: string]: string } {
|
|
342
87
|
return {
|
|
@@ -443,10 +188,6 @@ export class DescribeDBInstancesResponseBodyItems extends $dara.Model {
|
|
|
443
188
|
}
|
|
444
189
|
|
|
445
190
|
export class DescribeDBInstancesResponseBody extends $dara.Model {
|
|
446
|
-
/**
|
|
447
|
-
* @remarks
|
|
448
|
-
* The queried instances.
|
|
449
|
-
*/
|
|
450
191
|
items?: DescribeDBInstancesResponseBodyItems;
|
|
451
192
|
/**
|
|
452
193
|
* @remarks
|
|
@@ -29,38 +29,8 @@ export class DescribeDBResourceGroupResponseBodyResourceGroupItemsResourceGroupI
|
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
export class DescribeDBResourceGroupResponseBodyResourceGroupItemsResourceGroupItem extends $dara.Model {
|
|
32
|
-
/**
|
|
33
|
-
* @remarks
|
|
34
|
-
* The configurations of the resource group.
|
|
35
|
-
*
|
|
36
|
-
* >
|
|
37
|
-
*
|
|
38
|
-
* * CpuRateLimit: the percentage of CPU resources that are available for the resource group. Unit: %.
|
|
39
|
-
*
|
|
40
|
-
* * MemoryLimit: the percentage of memory resources that are available for the resource group. Unit: %.
|
|
41
|
-
*
|
|
42
|
-
* * MemorySharedQuota: the percentage of memory resources shared among transactions that are submitted to the resource group. Unit: %. Default value: 80.
|
|
43
|
-
*
|
|
44
|
-
* * MemorySpillRatio: the memory spill ratio for memory-intensive transactions. When the memory that is used by memory-intensive transactions reaches this value, data is spilled to disks. Unit: %. Default value: 0.
|
|
45
|
-
*
|
|
46
|
-
* * Concurrency: the maximum number of concurrent transactions or parallel queries that are allowed for a resource group. Default value: 20.
|
|
47
|
-
*
|
|
48
|
-
* @example
|
|
49
|
-
* {"CpuRateLimit":"10","MemoryLimit":"12","MemorySharedQuota":"20","MemorySpillRatio":"75","Concurrency":"3"}
|
|
50
|
-
*/
|
|
51
32
|
resourceGroupConfig?: string;
|
|
52
|
-
/**
|
|
53
|
-
* @remarks
|
|
54
|
-
* The name of the resource group.
|
|
55
|
-
*
|
|
56
|
-
* @example
|
|
57
|
-
* testgroup
|
|
58
|
-
*/
|
|
59
33
|
resourceGroupName?: string;
|
|
60
|
-
/**
|
|
61
|
-
* @remarks
|
|
62
|
-
* The roles.
|
|
63
|
-
*/
|
|
64
34
|
roleList?: DescribeDBResourceGroupResponseBodyResourceGroupItemsResourceGroupItemRoleList;
|
|
65
35
|
static names(): { [key: string]: string } {
|
|
66
36
|
return {
|
|
@@ -125,10 +95,6 @@ export class DescribeDBResourceGroupResponseBody extends $dara.Model {
|
|
|
125
95
|
* ABB39CC3-4488-4857-905D-2E4A051D0521
|
|
126
96
|
*/
|
|
127
97
|
requestId?: string;
|
|
128
|
-
/**
|
|
129
|
-
* @remarks
|
|
130
|
-
* The queried resource group information.
|
|
131
|
-
*/
|
|
132
98
|
resourceGroupItems?: DescribeDBResourceGroupResponseBodyResourceGroupItems;
|
|
133
99
|
static names(): { [key: string]: string } {
|
|
134
100
|
return {
|
|
@@ -3,24 +3,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
export class DescribeRegionsResponseBodyRegionsRegionZonesZone extends $dara.Model {
|
|
6
|
-
/**
|
|
7
|
-
* @remarks
|
|
8
|
-
* Indicates whether Virtual Private Cloud (VPC) is available.
|
|
9
|
-
*
|
|
10
|
-
* * **true**: VPC is available.
|
|
11
|
-
* * **false**: VPC is unavailable.
|
|
12
|
-
*
|
|
13
|
-
* @example
|
|
14
|
-
* true
|
|
15
|
-
*/
|
|
16
6
|
vpcEnabled?: boolean;
|
|
17
|
-
/**
|
|
18
|
-
* @remarks
|
|
19
|
-
* The ID of the zone.
|
|
20
|
-
*
|
|
21
|
-
* @example
|
|
22
|
-
* cn-hangzhou-c
|
|
23
|
-
*/
|
|
24
7
|
zoneId?: string;
|
|
25
8
|
static names(): { [key: string]: string } {
|
|
26
9
|
return {
|
|
@@ -72,18 +55,7 @@ export class DescribeRegionsResponseBodyRegionsRegionZones extends $dara.Model {
|
|
|
72
55
|
}
|
|
73
56
|
|
|
74
57
|
export class DescribeRegionsResponseBodyRegionsRegion extends $dara.Model {
|
|
75
|
-
/**
|
|
76
|
-
* @remarks
|
|
77
|
-
* The ID of the region.
|
|
78
|
-
*
|
|
79
|
-
* @example
|
|
80
|
-
* cn-hangzhou
|
|
81
|
-
*/
|
|
82
58
|
regionId?: string;
|
|
83
|
-
/**
|
|
84
|
-
* @remarks
|
|
85
|
-
* Details of the zones.
|
|
86
|
-
*/
|
|
87
59
|
zones?: DescribeRegionsResponseBodyRegionsRegionZones;
|
|
88
60
|
static names(): { [key: string]: string } {
|
|
89
61
|
return {
|
|
@@ -138,10 +110,6 @@ export class DescribeRegionsResponseBodyRegions extends $dara.Model {
|
|
|
138
110
|
}
|
|
139
111
|
|
|
140
112
|
export class DescribeRegionsResponseBody extends $dara.Model {
|
|
141
|
-
/**
|
|
142
|
-
* @remarks
|
|
143
|
-
* Details of the regions.
|
|
144
|
-
*/
|
|
145
113
|
regions?: DescribeRegionsResponseBodyRegions;
|
|
146
114
|
/**
|
|
147
115
|
* @remarks
|
|
@@ -37,10 +37,6 @@ export class DescribeRolesResponseBody extends $dara.Model {
|
|
|
37
37
|
* ABB39CC3-4488-4857-905D-2E4A051D0521
|
|
38
38
|
*/
|
|
39
39
|
requestId?: string;
|
|
40
|
-
/**
|
|
41
|
-
* @remarks
|
|
42
|
-
* The roles.
|
|
43
|
-
*/
|
|
44
40
|
roleList?: DescribeRolesResponseBodyRoleList;
|
|
45
41
|
static names(): { [key: string]: string } {
|
|
46
42
|
return {
|
|
@@ -30,10 +30,6 @@ export class DescribeTableResponseBodyColumnList extends $dara.Model {
|
|
|
30
30
|
}
|
|
31
31
|
|
|
32
32
|
export class DescribeTableResponseBody extends $dara.Model {
|
|
33
|
-
/**
|
|
34
|
-
* @remarks
|
|
35
|
-
* The columns of the table.
|
|
36
|
-
*/
|
|
37
33
|
columnList?: DescribeTableResponseBodyColumnList;
|
|
38
34
|
/**
|
|
39
35
|
* @remarks
|
|
@@ -83,15 +83,7 @@ export class ExecuteStatementResponseBodyDataRecords extends $dara.Model {
|
|
|
83
83
|
}
|
|
84
84
|
|
|
85
85
|
export class ExecuteStatementResponseBodyData extends $dara.Model {
|
|
86
|
-
/**
|
|
87
|
-
* @remarks
|
|
88
|
-
* The metadata of the columns.
|
|
89
|
-
*/
|
|
90
86
|
columnMetadata?: ExecuteStatementResponseBodyDataColumnMetadata;
|
|
91
|
-
/**
|
|
92
|
-
* @remarks
|
|
93
|
-
* The rows of data.
|
|
94
|
-
*/
|
|
95
87
|
records?: ExecuteStatementResponseBodyDataRecords;
|
|
96
88
|
/**
|
|
97
89
|
* @remarks
|
|
@@ -83,15 +83,7 @@ export class GetStatementResultResponseBodyDataRecords extends $dara.Model {
|
|
|
83
83
|
}
|
|
84
84
|
|
|
85
85
|
export class GetStatementResultResponseBodyData extends $dara.Model {
|
|
86
|
-
/**
|
|
87
|
-
* @remarks
|
|
88
|
-
* List of column metadata.
|
|
89
|
-
*/
|
|
90
86
|
columnMetadata?: GetStatementResultResponseBodyDataColumnMetadata;
|
|
91
|
-
/**
|
|
92
|
-
* @remarks
|
|
93
|
-
* Multiple rows of data.
|
|
94
|
-
*/
|
|
95
87
|
records?: GetStatementResultResponseBodyDataRecords;
|
|
96
88
|
/**
|
|
97
89
|
* @remarks
|