@alicloud/polardb20170801 7.9.0 → 7.10.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 +156 -0
- package/dist/client.js +425 -0
- package/dist/client.js.map +1 -1
- package/dist/models/BindResourceControlRequest.d.ts +63 -0
- package/dist/models/BindResourceControlRequest.js +66 -0
- package/dist/models/BindResourceControlRequest.js.map +1 -0
- package/dist/models/BindResourceControlResponse.d.ts +19 -0
- package/dist/models/BindResourceControlResponse.js +69 -0
- package/dist/models/BindResourceControlResponse.js.map +1 -0
- package/dist/models/BindResourceControlResponseBody.d.ts +21 -0
- package/dist/models/BindResourceControlResponseBody.js +58 -0
- package/dist/models/BindResourceControlResponseBody.js.map +1 -0
- package/dist/models/CreateResourceControlRequest.d.ts +58 -0
- package/dist/models/CreateResourceControlRequest.js +66 -0
- package/dist/models/CreateResourceControlRequest.js.map +1 -0
- package/dist/models/CreateResourceControlResponse.d.ts +19 -0
- package/dist/models/CreateResourceControlResponse.js +69 -0
- package/dist/models/CreateResourceControlResponse.js.map +1 -0
- package/dist/models/CreateResourceControlResponseBody.d.ts +21 -0
- package/dist/models/CreateResourceControlResponseBody.js +58 -0
- package/dist/models/CreateResourceControlResponseBody.js.map +1 -0
- package/dist/models/DeleteResourceControlRequest.d.ts +41 -0
- package/dist/models/DeleteResourceControlRequest.js +62 -0
- package/dist/models/DeleteResourceControlRequest.js.map +1 -0
- package/dist/models/DeleteResourceControlResponse.d.ts +19 -0
- package/dist/models/DeleteResourceControlResponse.js +69 -0
- package/dist/models/DeleteResourceControlResponse.js.map +1 -0
- package/dist/models/DeleteResourceControlResponseBody.d.ts +21 -0
- package/dist/models/DeleteResourceControlResponseBody.js +58 -0
- package/dist/models/DeleteResourceControlResponseBody.js.map +1 -0
- package/dist/models/DescribeApplicationUsageRequest.d.ts +31 -0
- package/dist/models/DescribeApplicationUsageRequest.js +60 -0
- package/dist/models/DescribeApplicationUsageRequest.js.map +1 -0
- package/dist/models/DescribeApplicationUsageResponse.d.ts +19 -0
- package/dist/models/DescribeApplicationUsageResponse.js +69 -0
- package/dist/models/DescribeApplicationUsageResponse.js.map +1 -0
- package/dist/models/DescribeApplicationUsageResponseBody.d.ts +354 -0
- package/dist/models/DescribeApplicationUsageResponseBody.js +230 -0
- package/dist/models/DescribeApplicationUsageResponseBody.js.map +1 -0
- package/dist/models/ModifyApplicationEndpointAddressRequest.d.ts +95 -0
- package/dist/models/ModifyApplicationEndpointAddressRequest.js +92 -0
- package/dist/models/ModifyApplicationEndpointAddressRequest.js.map +1 -0
- package/dist/models/ModifyApplicationEndpointAddressResponse.d.ts +19 -0
- package/dist/models/ModifyApplicationEndpointAddressResponse.js +69 -0
- package/dist/models/ModifyApplicationEndpointAddressResponse.js.map +1 -0
- package/dist/models/ModifyApplicationEndpointAddressResponseBody.d.ts +37 -0
- package/dist/models/ModifyApplicationEndpointAddressResponseBody.js +62 -0
- package/dist/models/ModifyApplicationEndpointAddressResponseBody.js.map +1 -0
- package/dist/models/ModifyApplicationEndpointAddressShrinkRequest.d.ts +59 -0
- package/dist/models/ModifyApplicationEndpointAddressShrinkRequest.js +66 -0
- package/dist/models/ModifyApplicationEndpointAddressShrinkRequest.js.map +1 -0
- package/dist/models/ModifyResourceControlRequest.d.ts +58 -0
- package/dist/models/ModifyResourceControlRequest.js +66 -0
- package/dist/models/ModifyResourceControlRequest.js.map +1 -0
- package/dist/models/ModifyResourceControlResponse.d.ts +19 -0
- package/dist/models/ModifyResourceControlResponse.js +69 -0
- package/dist/models/ModifyResourceControlResponse.js.map +1 -0
- package/dist/models/ModifyResourceControlResponseBody.d.ts +21 -0
- package/dist/models/ModifyResourceControlResponseBody.js +58 -0
- package/dist/models/ModifyResourceControlResponseBody.js.map +1 -0
- package/dist/models/UnbindResourceControlRequest.d.ts +62 -0
- package/dist/models/UnbindResourceControlRequest.js +66 -0
- package/dist/models/UnbindResourceControlRequest.js.map +1 -0
- package/dist/models/UnbindResourceControlResponse.d.ts +19 -0
- package/dist/models/UnbindResourceControlResponse.js +69 -0
- package/dist/models/UnbindResourceControlResponse.js.map +1 -0
- package/dist/models/UnbindResourceControlResponseBody.d.ts +21 -0
- package/dist/models/UnbindResourceControlResponseBody.js +58 -0
- package/dist/models/UnbindResourceControlResponseBody.js.map +1 -0
- package/dist/models/UpgradeApplicationVersionRequest.d.ts +31 -0
- package/dist/models/UpgradeApplicationVersionRequest.js +60 -0
- package/dist/models/UpgradeApplicationVersionRequest.js.map +1 -0
- package/dist/models/UpgradeApplicationVersionResponse.d.ts +19 -0
- package/dist/models/UpgradeApplicationVersionResponse.js +69 -0
- package/dist/models/UpgradeApplicationVersionResponse.js.map +1 -0
- package/dist/models/UpgradeApplicationVersionResponseBody.d.ts +21 -0
- package/dist/models/UpgradeApplicationVersionResponseBody.js +58 -0
- package/dist/models/UpgradeApplicationVersionResponseBody.js.map +1 -0
- package/dist/models/model.d.ts +31 -0
- package/dist/models/model.js +95 -33
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +474 -0
- package/src/models/BindResourceControlRequest.ts +84 -0
- package/src/models/BindResourceControlResponse.ts +40 -0
- package/src/models/BindResourceControlResponseBody.ts +34 -0
- package/src/models/CreateResourceControlRequest.ts +79 -0
- package/src/models/CreateResourceControlResponse.ts +40 -0
- package/src/models/CreateResourceControlResponseBody.ts +34 -0
- package/src/models/DeleteResourceControlRequest.ts +58 -0
- package/src/models/DeleteResourceControlResponse.ts +40 -0
- package/src/models/DeleteResourceControlResponseBody.ts +34 -0
- package/src/models/DescribeApplicationUsageRequest.ts +46 -0
- package/src/models/DescribeApplicationUsageResponse.ts +40 -0
- package/src/models/DescribeApplicationUsageResponseBody.ts +494 -0
- package/src/models/ModifyApplicationEndpointAddressRequest.ts +133 -0
- package/src/models/ModifyApplicationEndpointAddressResponse.ts +40 -0
- package/src/models/ModifyApplicationEndpointAddressResponseBody.ts +54 -0
- package/src/models/ModifyApplicationEndpointAddressShrinkRequest.ts +80 -0
- package/src/models/ModifyResourceControlRequest.ts +79 -0
- package/src/models/ModifyResourceControlResponse.ts +40 -0
- package/src/models/ModifyResourceControlResponseBody.ts +34 -0
- package/src/models/UnbindResourceControlRequest.ts +83 -0
- package/src/models/UnbindResourceControlResponse.ts +40 -0
- package/src/models/UnbindResourceControlResponseBody.ts +34 -0
- package/src/models/UpgradeApplicationVersionRequest.ts +46 -0
- package/src/models/UpgradeApplicationVersionResponse.ts +40 -0
- package/src/models/UpgradeApplicationVersionResponseBody.ts +34 -0
- package/src/models/model.ts +31 -0
|
@@ -0,0 +1,494 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DescribeApplicationUsageResponseBodyDailyUsage extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The number of model API calls for the day.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* 48
|
|
12
|
+
*/
|
|
13
|
+
APICalls?: number;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The number of tokens served from cache hits for the day.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* 1800
|
|
20
|
+
*/
|
|
21
|
+
cacheReadTokens?: number;
|
|
22
|
+
/**
|
|
23
|
+
* @remarks
|
|
24
|
+
* The UTC date.
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* 2026-07-24
|
|
28
|
+
*/
|
|
29
|
+
date?: string;
|
|
30
|
+
/**
|
|
31
|
+
* @remarks
|
|
32
|
+
* The number of input tokens for the day.
|
|
33
|
+
*
|
|
34
|
+
* @example
|
|
35
|
+
* 12000
|
|
36
|
+
*/
|
|
37
|
+
inputTokens?: number;
|
|
38
|
+
/**
|
|
39
|
+
* @remarks
|
|
40
|
+
* The number of output tokens for the day.
|
|
41
|
+
*
|
|
42
|
+
* @example
|
|
43
|
+
* 3600
|
|
44
|
+
*/
|
|
45
|
+
outputTokens?: number;
|
|
46
|
+
/**
|
|
47
|
+
* @remarks
|
|
48
|
+
* The number of reasoning tokens for the day.
|
|
49
|
+
*
|
|
50
|
+
* @example
|
|
51
|
+
* 600
|
|
52
|
+
*/
|
|
53
|
+
reasoningTokens?: number;
|
|
54
|
+
/**
|
|
55
|
+
* @remarks
|
|
56
|
+
* The number of sessions for the day.
|
|
57
|
+
*
|
|
58
|
+
* @example
|
|
59
|
+
* 12
|
|
60
|
+
*/
|
|
61
|
+
sessions?: number;
|
|
62
|
+
static names(): { [key: string]: string } {
|
|
63
|
+
return {
|
|
64
|
+
APICalls: 'APICalls',
|
|
65
|
+
cacheReadTokens: 'CacheReadTokens',
|
|
66
|
+
date: 'Date',
|
|
67
|
+
inputTokens: 'InputTokens',
|
|
68
|
+
outputTokens: 'OutputTokens',
|
|
69
|
+
reasoningTokens: 'ReasoningTokens',
|
|
70
|
+
sessions: 'Sessions',
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
static types(): { [key: string]: any } {
|
|
75
|
+
return {
|
|
76
|
+
APICalls: 'number',
|
|
77
|
+
cacheReadTokens: 'number',
|
|
78
|
+
date: 'string',
|
|
79
|
+
inputTokens: 'number',
|
|
80
|
+
outputTokens: 'number',
|
|
81
|
+
reasoningTokens: 'number',
|
|
82
|
+
sessions: 'number',
|
|
83
|
+
};
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
validate() {
|
|
87
|
+
super.validate();
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
constructor(map?: { [key: string]: any }) {
|
|
91
|
+
super(map);
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
export class DescribeApplicationUsageResponseBodyModelUsage extends $dara.Model {
|
|
96
|
+
/**
|
|
97
|
+
* @remarks
|
|
98
|
+
* The number of API calls for this model.
|
|
99
|
+
*
|
|
100
|
+
* @example
|
|
101
|
+
* 320
|
|
102
|
+
*/
|
|
103
|
+
APICalls?: number;
|
|
104
|
+
/**
|
|
105
|
+
* @remarks
|
|
106
|
+
* The number of tokens served from cache hits for this model.
|
|
107
|
+
*
|
|
108
|
+
* @example
|
|
109
|
+
* 12000
|
|
110
|
+
*/
|
|
111
|
+
cacheReadTokens?: number;
|
|
112
|
+
/**
|
|
113
|
+
* @remarks
|
|
114
|
+
* The number of input tokens consumed by this model.
|
|
115
|
+
*
|
|
116
|
+
* @example
|
|
117
|
+
* 80000
|
|
118
|
+
*/
|
|
119
|
+
inputTokens?: number;
|
|
120
|
+
/**
|
|
121
|
+
* @remarks
|
|
122
|
+
* The model identifier.
|
|
123
|
+
*
|
|
124
|
+
* @example
|
|
125
|
+
* qwen3-max
|
|
126
|
+
*/
|
|
127
|
+
model?: string;
|
|
128
|
+
/**
|
|
129
|
+
* @remarks
|
|
130
|
+
* The number of output tokens generated by this model.
|
|
131
|
+
*
|
|
132
|
+
* @example
|
|
133
|
+
* 24000
|
|
134
|
+
*/
|
|
135
|
+
outputTokens?: number;
|
|
136
|
+
/**
|
|
137
|
+
* @remarks
|
|
138
|
+
* The model provider.
|
|
139
|
+
*
|
|
140
|
+
* @example
|
|
141
|
+
* bailian
|
|
142
|
+
*/
|
|
143
|
+
provider?: string;
|
|
144
|
+
/**
|
|
145
|
+
* @remarks
|
|
146
|
+
* The number of reasoning tokens generated by this model.
|
|
147
|
+
*
|
|
148
|
+
* @example
|
|
149
|
+
* 4000
|
|
150
|
+
*/
|
|
151
|
+
reasoningTokens?: number;
|
|
152
|
+
/**
|
|
153
|
+
* @remarks
|
|
154
|
+
* The number of sessions that used this model.
|
|
155
|
+
*
|
|
156
|
+
* @example
|
|
157
|
+
* 80
|
|
158
|
+
*/
|
|
159
|
+
sessions?: number;
|
|
160
|
+
static names(): { [key: string]: string } {
|
|
161
|
+
return {
|
|
162
|
+
APICalls: 'APICalls',
|
|
163
|
+
cacheReadTokens: 'CacheReadTokens',
|
|
164
|
+
inputTokens: 'InputTokens',
|
|
165
|
+
model: 'Model',
|
|
166
|
+
outputTokens: 'OutputTokens',
|
|
167
|
+
provider: 'Provider',
|
|
168
|
+
reasoningTokens: 'ReasoningTokens',
|
|
169
|
+
sessions: 'Sessions',
|
|
170
|
+
};
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
static types(): { [key: string]: any } {
|
|
174
|
+
return {
|
|
175
|
+
APICalls: 'number',
|
|
176
|
+
cacheReadTokens: 'number',
|
|
177
|
+
inputTokens: 'number',
|
|
178
|
+
model: 'string',
|
|
179
|
+
outputTokens: 'number',
|
|
180
|
+
provider: 'string',
|
|
181
|
+
reasoningTokens: 'number',
|
|
182
|
+
sessions: 'number',
|
|
183
|
+
};
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
validate() {
|
|
187
|
+
super.validate();
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
constructor(map?: { [key: string]: any }) {
|
|
191
|
+
super(map);
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
export class DescribeApplicationUsageResponseBodySessionSummary extends $dara.Model {
|
|
196
|
+
/**
|
|
197
|
+
* @remarks
|
|
198
|
+
* The number of currently active sessions.
|
|
199
|
+
*
|
|
200
|
+
* @example
|
|
201
|
+
* 5
|
|
202
|
+
*/
|
|
203
|
+
activeSessions?: number;
|
|
204
|
+
/**
|
|
205
|
+
* @remarks
|
|
206
|
+
* The total number of sessions in session storage.
|
|
207
|
+
*
|
|
208
|
+
* @example
|
|
209
|
+
* 120
|
|
210
|
+
*/
|
|
211
|
+
storedSessions?: number;
|
|
212
|
+
static names(): { [key: string]: string } {
|
|
213
|
+
return {
|
|
214
|
+
activeSessions: 'ActiveSessions',
|
|
215
|
+
storedSessions: 'StoredSessions',
|
|
216
|
+
};
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
static types(): { [key: string]: any } {
|
|
220
|
+
return {
|
|
221
|
+
activeSessions: 'number',
|
|
222
|
+
storedSessions: 'number',
|
|
223
|
+
};
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
validate() {
|
|
227
|
+
super.validate();
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
constructor(map?: { [key: string]: any }) {
|
|
231
|
+
super(map);
|
|
232
|
+
}
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
export class DescribeApplicationUsageResponseBodySkillUsage extends $dara.Model {
|
|
236
|
+
/**
|
|
237
|
+
* @remarks
|
|
238
|
+
* The number of distinct skills that have activity records.
|
|
239
|
+
*
|
|
240
|
+
* @example
|
|
241
|
+
* 8
|
|
242
|
+
*/
|
|
243
|
+
distinctSkills?: number;
|
|
244
|
+
/**
|
|
245
|
+
* @remarks
|
|
246
|
+
* The total number of skill-related operations.
|
|
247
|
+
*
|
|
248
|
+
* @example
|
|
249
|
+
* 60
|
|
250
|
+
*/
|
|
251
|
+
totalActions?: number;
|
|
252
|
+
/**
|
|
253
|
+
* @remarks
|
|
254
|
+
* The number of times skills were edited or managed.
|
|
255
|
+
*
|
|
256
|
+
* @example
|
|
257
|
+
* 10
|
|
258
|
+
*/
|
|
259
|
+
totalEdits?: number;
|
|
260
|
+
/**
|
|
261
|
+
* @remarks
|
|
262
|
+
* The number of times skills were loaded or viewed.
|
|
263
|
+
*
|
|
264
|
+
* @example
|
|
265
|
+
* 50
|
|
266
|
+
*/
|
|
267
|
+
totalLoads?: number;
|
|
268
|
+
static names(): { [key: string]: string } {
|
|
269
|
+
return {
|
|
270
|
+
distinctSkills: 'DistinctSkills',
|
|
271
|
+
totalActions: 'TotalActions',
|
|
272
|
+
totalEdits: 'TotalEdits',
|
|
273
|
+
totalLoads: 'TotalLoads',
|
|
274
|
+
};
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
static types(): { [key: string]: any } {
|
|
278
|
+
return {
|
|
279
|
+
distinctSkills: 'number',
|
|
280
|
+
totalActions: 'number',
|
|
281
|
+
totalEdits: 'number',
|
|
282
|
+
totalLoads: 'number',
|
|
283
|
+
};
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
validate() {
|
|
287
|
+
super.validate();
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
constructor(map?: { [key: string]: any }) {
|
|
291
|
+
super(map);
|
|
292
|
+
}
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
export class DescribeApplicationUsageResponseBodySummary extends $dara.Model {
|
|
296
|
+
/**
|
|
297
|
+
* @remarks
|
|
298
|
+
* The number of model API calls.
|
|
299
|
+
*
|
|
300
|
+
* @example
|
|
301
|
+
* 480
|
|
302
|
+
*/
|
|
303
|
+
APICalls?: number;
|
|
304
|
+
/**
|
|
305
|
+
* @remarks
|
|
306
|
+
* The number of tokens served from cache hits.
|
|
307
|
+
*
|
|
308
|
+
* @example
|
|
309
|
+
* 18000
|
|
310
|
+
*/
|
|
311
|
+
cacheReadTokens?: number;
|
|
312
|
+
/**
|
|
313
|
+
* @remarks
|
|
314
|
+
* The number of input tokens.
|
|
315
|
+
*
|
|
316
|
+
* @example
|
|
317
|
+
* 120000
|
|
318
|
+
*/
|
|
319
|
+
inputTokens?: number;
|
|
320
|
+
/**
|
|
321
|
+
* @remarks
|
|
322
|
+
* The number of output tokens.
|
|
323
|
+
*
|
|
324
|
+
* @example
|
|
325
|
+
* 36000
|
|
326
|
+
*/
|
|
327
|
+
outputTokens?: number;
|
|
328
|
+
/**
|
|
329
|
+
* @remarks
|
|
330
|
+
* The number of reasoning tokens.
|
|
331
|
+
*
|
|
332
|
+
* @example
|
|
333
|
+
* 6000
|
|
334
|
+
*/
|
|
335
|
+
reasoningTokens?: number;
|
|
336
|
+
/**
|
|
337
|
+
* @remarks
|
|
338
|
+
* The number of sessions.
|
|
339
|
+
*
|
|
340
|
+
* @example
|
|
341
|
+
* 120
|
|
342
|
+
*/
|
|
343
|
+
sessions?: number;
|
|
344
|
+
static names(): { [key: string]: string } {
|
|
345
|
+
return {
|
|
346
|
+
APICalls: 'APICalls',
|
|
347
|
+
cacheReadTokens: 'CacheReadTokens',
|
|
348
|
+
inputTokens: 'InputTokens',
|
|
349
|
+
outputTokens: 'OutputTokens',
|
|
350
|
+
reasoningTokens: 'ReasoningTokens',
|
|
351
|
+
sessions: 'Sessions',
|
|
352
|
+
};
|
|
353
|
+
}
|
|
354
|
+
|
|
355
|
+
static types(): { [key: string]: any } {
|
|
356
|
+
return {
|
|
357
|
+
APICalls: 'number',
|
|
358
|
+
cacheReadTokens: 'number',
|
|
359
|
+
inputTokens: 'number',
|
|
360
|
+
outputTokens: 'number',
|
|
361
|
+
reasoningTokens: 'number',
|
|
362
|
+
sessions: 'number',
|
|
363
|
+
};
|
|
364
|
+
}
|
|
365
|
+
|
|
366
|
+
validate() {
|
|
367
|
+
super.validate();
|
|
368
|
+
}
|
|
369
|
+
|
|
370
|
+
constructor(map?: { [key: string]: any }) {
|
|
371
|
+
super(map);
|
|
372
|
+
}
|
|
373
|
+
}
|
|
374
|
+
|
|
375
|
+
export class DescribeApplicationUsageResponseBody extends $dara.Model {
|
|
376
|
+
/**
|
|
377
|
+
* @remarks
|
|
378
|
+
* The Hermes application ID.
|
|
379
|
+
*
|
|
380
|
+
* @example
|
|
381
|
+
* pa-123456
|
|
382
|
+
*/
|
|
383
|
+
applicationId?: string;
|
|
384
|
+
/**
|
|
385
|
+
* @remarks
|
|
386
|
+
* The response status code.
|
|
387
|
+
*
|
|
388
|
+
* @example
|
|
389
|
+
* 200
|
|
390
|
+
*/
|
|
391
|
+
code?: number;
|
|
392
|
+
/**
|
|
393
|
+
* @remarks
|
|
394
|
+
* The usage statistics grouped by UTC date.
|
|
395
|
+
*/
|
|
396
|
+
dailyUsage?: DescribeApplicationUsageResponseBodyDailyUsage[];
|
|
397
|
+
/**
|
|
398
|
+
* @remarks
|
|
399
|
+
* The number of days covered by this statistical period.
|
|
400
|
+
*
|
|
401
|
+
* @example
|
|
402
|
+
* 30
|
|
403
|
+
*/
|
|
404
|
+
days?: number;
|
|
405
|
+
/**
|
|
406
|
+
* @remarks
|
|
407
|
+
* The response message.
|
|
408
|
+
*
|
|
409
|
+
* @example
|
|
410
|
+
* successful
|
|
411
|
+
*/
|
|
412
|
+
message?: string;
|
|
413
|
+
/**
|
|
414
|
+
* @remarks
|
|
415
|
+
* The usage statistics grouped by model.
|
|
416
|
+
*/
|
|
417
|
+
modelUsage?: DescribeApplicationUsageResponseBodyModelUsage[];
|
|
418
|
+
/**
|
|
419
|
+
* @remarks
|
|
420
|
+
* The request ID.
|
|
421
|
+
*
|
|
422
|
+
* @example
|
|
423
|
+
* F45FFACC-1234-5678-90AB-1234567890AB
|
|
424
|
+
*/
|
|
425
|
+
requestId?: string;
|
|
426
|
+
/**
|
|
427
|
+
* @remarks
|
|
428
|
+
* The current session runtime and storage statistics.
|
|
429
|
+
*/
|
|
430
|
+
sessionSummary?: DescribeApplicationUsageResponseBodySessionSummary;
|
|
431
|
+
/**
|
|
432
|
+
* @remarks
|
|
433
|
+
* The aggregated statistics of skill activities.
|
|
434
|
+
*/
|
|
435
|
+
skillUsage?: DescribeApplicationUsageResponseBodySkillUsage;
|
|
436
|
+
/**
|
|
437
|
+
* @remarks
|
|
438
|
+
* The aggregated usage within the query period.
|
|
439
|
+
*/
|
|
440
|
+
summary?: DescribeApplicationUsageResponseBodySummary;
|
|
441
|
+
static names(): { [key: string]: string } {
|
|
442
|
+
return {
|
|
443
|
+
applicationId: 'ApplicationId',
|
|
444
|
+
code: 'Code',
|
|
445
|
+
dailyUsage: 'DailyUsage',
|
|
446
|
+
days: 'Days',
|
|
447
|
+
message: 'Message',
|
|
448
|
+
modelUsage: 'ModelUsage',
|
|
449
|
+
requestId: 'RequestId',
|
|
450
|
+
sessionSummary: 'SessionSummary',
|
|
451
|
+
skillUsage: 'SkillUsage',
|
|
452
|
+
summary: 'Summary',
|
|
453
|
+
};
|
|
454
|
+
}
|
|
455
|
+
|
|
456
|
+
static types(): { [key: string]: any } {
|
|
457
|
+
return {
|
|
458
|
+
applicationId: 'string',
|
|
459
|
+
code: 'number',
|
|
460
|
+
dailyUsage: { 'type': 'array', 'itemType': DescribeApplicationUsageResponseBodyDailyUsage },
|
|
461
|
+
days: 'number',
|
|
462
|
+
message: 'string',
|
|
463
|
+
modelUsage: { 'type': 'array', 'itemType': DescribeApplicationUsageResponseBodyModelUsage },
|
|
464
|
+
requestId: 'string',
|
|
465
|
+
sessionSummary: DescribeApplicationUsageResponseBodySessionSummary,
|
|
466
|
+
skillUsage: DescribeApplicationUsageResponseBodySkillUsage,
|
|
467
|
+
summary: DescribeApplicationUsageResponseBodySummary,
|
|
468
|
+
};
|
|
469
|
+
}
|
|
470
|
+
|
|
471
|
+
validate() {
|
|
472
|
+
if(Array.isArray(this.dailyUsage)) {
|
|
473
|
+
$dara.Model.validateArray(this.dailyUsage);
|
|
474
|
+
}
|
|
475
|
+
if(Array.isArray(this.modelUsage)) {
|
|
476
|
+
$dara.Model.validateArray(this.modelUsage);
|
|
477
|
+
}
|
|
478
|
+
if(this.sessionSummary && typeof (this.sessionSummary as any).validate === 'function') {
|
|
479
|
+
(this.sessionSummary as any).validate();
|
|
480
|
+
}
|
|
481
|
+
if(this.skillUsage && typeof (this.skillUsage as any).validate === 'function') {
|
|
482
|
+
(this.skillUsage as any).validate();
|
|
483
|
+
}
|
|
484
|
+
if(this.summary && typeof (this.summary as any).validate === 'function') {
|
|
485
|
+
(this.summary as any).validate();
|
|
486
|
+
}
|
|
487
|
+
super.validate();
|
|
488
|
+
}
|
|
489
|
+
|
|
490
|
+
constructor(map?: { [key: string]: any }) {
|
|
491
|
+
super(map);
|
|
492
|
+
}
|
|
493
|
+
}
|
|
494
|
+
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class ModifyApplicationEndpointAddressRequestNewPorts extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The new port value.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* 443
|
|
12
|
+
*/
|
|
13
|
+
newPort?: number;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The old port value.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* 18789
|
|
20
|
+
*/
|
|
21
|
+
oldPort?: number;
|
|
22
|
+
/**
|
|
23
|
+
* @remarks
|
|
24
|
+
* The port name.
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* polarclaw
|
|
28
|
+
*/
|
|
29
|
+
portName?: string;
|
|
30
|
+
static names(): { [key: string]: string } {
|
|
31
|
+
return {
|
|
32
|
+
newPort: 'NewPort',
|
|
33
|
+
oldPort: 'OldPort',
|
|
34
|
+
portName: 'PortName',
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
static types(): { [key: string]: any } {
|
|
39
|
+
return {
|
|
40
|
+
newPort: 'number',
|
|
41
|
+
oldPort: 'number',
|
|
42
|
+
portName: 'string',
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
validate() {
|
|
47
|
+
super.validate();
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
constructor(map?: { [key: string]: any }) {
|
|
51
|
+
super(map);
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export class ModifyApplicationEndpointAddressRequest extends $dara.Model {
|
|
56
|
+
/**
|
|
57
|
+
* @remarks
|
|
58
|
+
* The application ID.
|
|
59
|
+
*
|
|
60
|
+
* This parameter is required.
|
|
61
|
+
*
|
|
62
|
+
* @example
|
|
63
|
+
* pa-**************
|
|
64
|
+
*/
|
|
65
|
+
applicationId?: string;
|
|
66
|
+
/**
|
|
67
|
+
* @remarks
|
|
68
|
+
* The endpoint ID.
|
|
69
|
+
*
|
|
70
|
+
* This parameter is required.
|
|
71
|
+
*
|
|
72
|
+
* @example
|
|
73
|
+
* pa-**************
|
|
74
|
+
*/
|
|
75
|
+
endpointId?: string;
|
|
76
|
+
/**
|
|
77
|
+
* @remarks
|
|
78
|
+
* The network type of the endpoint address. Valid values:
|
|
79
|
+
*
|
|
80
|
+
* * **Public**: public network.
|
|
81
|
+
* * **Private**: private network.
|
|
82
|
+
*
|
|
83
|
+
* This parameter is required.
|
|
84
|
+
*
|
|
85
|
+
* @example
|
|
86
|
+
* Public
|
|
87
|
+
*/
|
|
88
|
+
netType?: string;
|
|
89
|
+
/**
|
|
90
|
+
* @remarks
|
|
91
|
+
* The new endpoint prefix.
|
|
92
|
+
*
|
|
93
|
+
* @example
|
|
94
|
+
* xg06iror0l
|
|
95
|
+
*/
|
|
96
|
+
newConnectionStringPrefix?: string;
|
|
97
|
+
/**
|
|
98
|
+
* @remarks
|
|
99
|
+
* The list of new ports.
|
|
100
|
+
*/
|
|
101
|
+
newPorts?: ModifyApplicationEndpointAddressRequestNewPorts[];
|
|
102
|
+
static names(): { [key: string]: string } {
|
|
103
|
+
return {
|
|
104
|
+
applicationId: 'ApplicationId',
|
|
105
|
+
endpointId: 'EndpointId',
|
|
106
|
+
netType: 'NetType',
|
|
107
|
+
newConnectionStringPrefix: 'NewConnectionStringPrefix',
|
|
108
|
+
newPorts: 'NewPorts',
|
|
109
|
+
};
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
static types(): { [key: string]: any } {
|
|
113
|
+
return {
|
|
114
|
+
applicationId: 'string',
|
|
115
|
+
endpointId: 'string',
|
|
116
|
+
netType: 'string',
|
|
117
|
+
newConnectionStringPrefix: 'string',
|
|
118
|
+
newPorts: { 'type': 'array', 'itemType': ModifyApplicationEndpointAddressRequestNewPorts },
|
|
119
|
+
};
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
validate() {
|
|
123
|
+
if(Array.isArray(this.newPorts)) {
|
|
124
|
+
$dara.Model.validateArray(this.newPorts);
|
|
125
|
+
}
|
|
126
|
+
super.validate();
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
constructor(map?: { [key: string]: any }) {
|
|
130
|
+
super(map);
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { ModifyApplicationEndpointAddressResponseBody } from "./ModifyApplicationEndpointAddressResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class ModifyApplicationEndpointAddressResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: ModifyApplicationEndpointAddressResponseBody;
|
|
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: ModifyApplicationEndpointAddressResponseBody,
|
|
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,54 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class ModifyApplicationEndpointAddressResponseBody extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The application ID.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* pa-**************
|
|
12
|
+
*/
|
|
13
|
+
applicationId?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The endpoint ID.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* pa-**************
|
|
20
|
+
*/
|
|
21
|
+
endpointId?: string;
|
|
22
|
+
/**
|
|
23
|
+
* @remarks
|
|
24
|
+
* The request ID.
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* 155462B9-205F-4FFC-BB43-4855FE******
|
|
28
|
+
*/
|
|
29
|
+
requestId?: string;
|
|
30
|
+
static names(): { [key: string]: string } {
|
|
31
|
+
return {
|
|
32
|
+
applicationId: 'ApplicationId',
|
|
33
|
+
endpointId: 'EndpointId',
|
|
34
|
+
requestId: 'RequestId',
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
static types(): { [key: string]: any } {
|
|
39
|
+
return {
|
|
40
|
+
applicationId: 'string',
|
|
41
|
+
endpointId: 'string',
|
|
42
|
+
requestId: 'string',
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
validate() {
|
|
47
|
+
super.validate();
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
constructor(map?: { [key: string]: any }) {
|
|
51
|
+
super(map);
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|