@alicloud/rdsai20250507 3.0.0 → 3.1.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 +17 -2
- package/dist/client.js +50 -2
- package/dist/client.js.map +1 -1
- package/dist/models/DisableAgentRuntimeRequest.d.ts +31 -0
- package/dist/models/DisableAgentRuntimeRequest.js +62 -0
- package/dist/models/DisableAgentRuntimeRequest.js.map +1 -0
- package/dist/models/DisableAgentRuntimeResponse.d.ts +19 -0
- package/dist/models/DisableAgentRuntimeResponse.js +69 -0
- package/dist/models/DisableAgentRuntimeResponse.js.map +1 -0
- package/dist/models/DisableAgentRuntimeResponseBody.d.ts +26 -0
- package/dist/models/DisableAgentRuntimeResponseBody.js +60 -0
- package/dist/models/DisableAgentRuntimeResponseBody.js.map +1 -0
- package/dist/models/GetModelOperatorOrderResponseBody.d.ts +32 -0
- package/dist/models/GetModelOperatorOrderResponseBody.js.map +1 -1
- package/dist/models/ListApiKeysResponseBody.d.ts +2 -0
- package/dist/models/ListApiKeysResponseBody.js +4 -0
- package/dist/models/ListApiKeysResponseBody.js.map +1 -1
- package/dist/models/StopInstanceRequest.d.ts +1 -0
- package/dist/models/StopInstanceRequest.js +2 -0
- package/dist/models/StopInstanceRequest.js.map +1 -1
- package/dist/models/model.d.ts +3 -0
- package/dist/models/model.js +10 -4
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +56 -2
- package/src/models/DisableAgentRuntimeRequest.ts +48 -0
- package/src/models/DisableAgentRuntimeResponse.ts +40 -0
- package/src/models/DisableAgentRuntimeResponseBody.ts +41 -0
- package/src/models/GetModelOperatorOrderResponseBody.ts +32 -0
- package/src/models/ListApiKeysResponseBody.ts +6 -0
- package/src/models/StopInstanceRequest.ts +3 -0
- package/src/models/model.ts +3 -0
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { DisableAgentRuntimeResponseBody } from "./DisableAgentRuntimeResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class DisableAgentRuntimeResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: DisableAgentRuntimeResponseBody;
|
|
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: DisableAgentRuntimeResponseBody,
|
|
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,41 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DisableAgentRuntimeResponseBody extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* ra-supabase-8moov5lxba****
|
|
9
|
+
*/
|
|
10
|
+
instanceName?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @remarks
|
|
13
|
+
* Id of the request
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* D984FD38-6C2D-55DF-B0D7-8BCAC2E1F8C2
|
|
17
|
+
*/
|
|
18
|
+
requestId?: string;
|
|
19
|
+
static names(): { [key: string]: string } {
|
|
20
|
+
return {
|
|
21
|
+
instanceName: 'InstanceName',
|
|
22
|
+
requestId: 'RequestId',
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
static types(): { [key: string]: any } {
|
|
27
|
+
return {
|
|
28
|
+
instanceName: 'string',
|
|
29
|
+
requestId: 'string',
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
validate() {
|
|
34
|
+
super.validate();
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
constructor(map?: { [key: string]: any }) {
|
|
38
|
+
super(map);
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
|
|
@@ -4,26 +4,41 @@ import * as $dara from '@darabonba/typescript';
|
|
|
4
4
|
|
|
5
5
|
export class GetModelOperatorOrderResponseBodyDataInstanceList extends $dara.Model {
|
|
6
6
|
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The instance end time (format: Timestamp).
|
|
9
|
+
*
|
|
7
10
|
* @example
|
|
8
11
|
* 1775145600000
|
|
9
12
|
*/
|
|
10
13
|
endTime?: number;
|
|
11
14
|
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* instance type
|
|
17
|
+
*
|
|
12
18
|
* @example
|
|
13
19
|
* xlarge
|
|
14
20
|
*/
|
|
15
21
|
instanceClass?: string;
|
|
16
22
|
/**
|
|
23
|
+
* @remarks
|
|
24
|
+
* The instance name.
|
|
25
|
+
*
|
|
17
26
|
* @example
|
|
18
27
|
* rds_copilot***_public_cn-*********6
|
|
19
28
|
*/
|
|
20
29
|
instanceId?: string;
|
|
21
30
|
/**
|
|
31
|
+
* @remarks
|
|
32
|
+
* The instance start time (format: Timestamp).
|
|
33
|
+
*
|
|
22
34
|
* @example
|
|
23
35
|
* 1772439028000
|
|
24
36
|
*/
|
|
25
37
|
startTime?: number;
|
|
26
38
|
/**
|
|
39
|
+
* @remarks
|
|
40
|
+
* The instance status.
|
|
41
|
+
*
|
|
27
42
|
* @example
|
|
28
43
|
* active/creating
|
|
29
44
|
*/
|
|
@@ -59,10 +74,17 @@ export class GetModelOperatorOrderResponseBodyDataInstanceList extends $dara.Mod
|
|
|
59
74
|
|
|
60
75
|
export class GetModelOperatorOrderResponseBodyData extends $dara.Model {
|
|
61
76
|
/**
|
|
77
|
+
* @remarks
|
|
78
|
+
* Indicates whether a valid order exists.
|
|
79
|
+
*
|
|
62
80
|
* @example
|
|
63
81
|
* true
|
|
64
82
|
*/
|
|
65
83
|
hasValidOrder?: boolean;
|
|
84
|
+
/**
|
|
85
|
+
* @remarks
|
|
86
|
+
* The instance list.
|
|
87
|
+
*/
|
|
66
88
|
instanceList?: GetModelOperatorOrderResponseBodyDataInstanceList[];
|
|
67
89
|
static names(): { [key: string]: string } {
|
|
68
90
|
return {
|
|
@@ -91,8 +113,15 @@ export class GetModelOperatorOrderResponseBodyData extends $dara.Model {
|
|
|
91
113
|
}
|
|
92
114
|
|
|
93
115
|
export class GetModelOperatorOrderResponseBody extends $dara.Model {
|
|
116
|
+
/**
|
|
117
|
+
* @remarks
|
|
118
|
+
* The query result.
|
|
119
|
+
*/
|
|
94
120
|
data?: GetModelOperatorOrderResponseBodyData;
|
|
95
121
|
/**
|
|
122
|
+
* @remarks
|
|
123
|
+
* The returned message.
|
|
124
|
+
*
|
|
96
125
|
* @example
|
|
97
126
|
* success
|
|
98
127
|
*/
|
|
@@ -106,6 +135,9 @@ export class GetModelOperatorOrderResponseBody extends $dara.Model {
|
|
|
106
135
|
*/
|
|
107
136
|
requestId?: string;
|
|
108
137
|
/**
|
|
138
|
+
* @remarks
|
|
139
|
+
* Request result.
|
|
140
|
+
*
|
|
109
141
|
* @example
|
|
110
142
|
* true
|
|
111
143
|
*/
|
|
@@ -27,6 +27,7 @@ export class ListApiKeysResponseBodyDataCustomKeyList extends $dara.Model {
|
|
|
27
27
|
* fixed
|
|
28
28
|
*/
|
|
29
29
|
limitType?: string;
|
|
30
|
+
thresholdPercent?: number;
|
|
30
31
|
/**
|
|
31
32
|
* @example
|
|
32
33
|
* 10000
|
|
@@ -39,6 +40,7 @@ export class ListApiKeysResponseBodyDataCustomKeyList extends $dara.Model {
|
|
|
39
40
|
keyName: 'KeyName',
|
|
40
41
|
limitRate: 'LimitRate',
|
|
41
42
|
limitType: 'LimitType',
|
|
43
|
+
thresholdPercent: 'ThresholdPercent',
|
|
42
44
|
tokenQuota: 'TokenQuota',
|
|
43
45
|
};
|
|
44
46
|
}
|
|
@@ -50,6 +52,7 @@ export class ListApiKeysResponseBodyDataCustomKeyList extends $dara.Model {
|
|
|
50
52
|
keyName: 'string',
|
|
51
53
|
limitRate: 'number',
|
|
52
54
|
limitType: 'string',
|
|
55
|
+
thresholdPercent: 'number',
|
|
53
56
|
tokenQuota: 'number',
|
|
54
57
|
};
|
|
55
58
|
}
|
|
@@ -86,6 +89,7 @@ export class ListApiKeysResponseBodyData extends $dara.Model {
|
|
|
86
89
|
* sk-rds-xxx
|
|
87
90
|
*/
|
|
88
91
|
systemApiKey?: string;
|
|
92
|
+
thresholdPercent?: number;
|
|
89
93
|
/**
|
|
90
94
|
* @example
|
|
91
95
|
* 138
|
|
@@ -99,6 +103,7 @@ export class ListApiKeysResponseBodyData extends $dara.Model {
|
|
|
99
103
|
page: 'Page',
|
|
100
104
|
pageSize: 'PageSize',
|
|
101
105
|
systemApiKey: 'SystemApiKey',
|
|
106
|
+
thresholdPercent: 'ThresholdPercent',
|
|
102
107
|
total: 'Total',
|
|
103
108
|
};
|
|
104
109
|
}
|
|
@@ -111,6 +116,7 @@ export class ListApiKeysResponseBodyData extends $dara.Model {
|
|
|
111
116
|
page: 'number',
|
|
112
117
|
pageSize: 'number',
|
|
113
118
|
systemApiKey: 'string',
|
|
119
|
+
thresholdPercent: 'number',
|
|
114
120
|
total: 'number',
|
|
115
121
|
};
|
|
116
122
|
}
|
|
@@ -3,6 +3,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
export class StopInstanceRequest extends $dara.Model {
|
|
6
|
+
force?: boolean;
|
|
6
7
|
/**
|
|
7
8
|
* @remarks
|
|
8
9
|
* The region ID of the instance.
|
|
@@ -23,6 +24,7 @@ export class StopInstanceRequest extends $dara.Model {
|
|
|
23
24
|
regionId?: string;
|
|
24
25
|
static names(): { [key: string]: string } {
|
|
25
26
|
return {
|
|
27
|
+
force: 'Force',
|
|
26
28
|
instanceName: 'InstanceName',
|
|
27
29
|
regionId: 'RegionId',
|
|
28
30
|
};
|
|
@@ -30,6 +32,7 @@ export class StopInstanceRequest extends $dara.Model {
|
|
|
30
32
|
|
|
31
33
|
static types(): { [key: string]: any } {
|
|
32
34
|
return {
|
|
35
|
+
force: 'boolean',
|
|
33
36
|
instanceName: 'string',
|
|
34
37
|
regionId: 'string',
|
|
35
38
|
};
|
package/src/models/model.ts
CHANGED
|
@@ -141,6 +141,9 @@ export { DescribeSandboxTemplatesResponse } from './DescribeSandboxTemplatesResp
|
|
|
141
141
|
export { DescribeWhitelistIpsRequest } from './DescribeWhitelistIpsRequest';
|
|
142
142
|
export { DescribeWhitelistIpsResponseBody } from './DescribeWhitelistIpsResponseBody';
|
|
143
143
|
export { DescribeWhitelistIpsResponse } from './DescribeWhitelistIpsResponse';
|
|
144
|
+
export { DisableAgentRuntimeRequest } from './DisableAgentRuntimeRequest';
|
|
145
|
+
export { DisableAgentRuntimeResponseBody } from './DisableAgentRuntimeResponseBody';
|
|
146
|
+
export { DisableAgentRuntimeResponse } from './DisableAgentRuntimeResponse';
|
|
144
147
|
export { EnableAgentRuntimeRequest } from './EnableAgentRuntimeRequest';
|
|
145
148
|
export { EnableAgentRuntimeResponseBody } from './EnableAgentRuntimeResponseBody';
|
|
146
149
|
export { EnableAgentRuntimeResponse } from './EnableAgentRuntimeResponse';
|