@alicloud/polardb20170801 8.2.2 → 8.2.4
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 +2 -2
- package/dist/client.js +26 -2
- package/dist/client.js.map +1 -1
- package/dist/models/CreateApplicationRequest.d.ts +271 -83
- package/dist/models/CreateApplicationRequest.js +103 -1
- package/dist/models/CreateApplicationRequest.js.map +1 -1
- package/dist/models/CreateApplicationResponseBody.d.ts +8 -8
- package/dist/models/CreateApplicationShrinkRequest.d.ts +81 -54
- package/dist/models/CreateApplicationShrinkRequest.js +10 -0
- package/dist/models/CreateApplicationShrinkRequest.js.map +1 -1
- package/dist/models/DescribeApplicationAttributeResponseBody.d.ts +95 -14
- package/dist/models/DescribeApplicationAttributeResponseBody.js +39 -1
- package/dist/models/DescribeApplicationAttributeResponseBody.js.map +1 -1
- package/dist/models/model.d.ts +4 -0
- package/dist/models/model.js +63 -55
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +34 -2
- package/src/models/CreateApplicationRequest.ts +346 -83
- package/src/models/CreateApplicationResponseBody.ts +8 -8
- package/src/models/CreateApplicationShrinkRequest.ts +91 -54
- package/src/models/DescribeApplicationAttributeResponseBody.ts +124 -14
- package/src/models/model.ts +4 -0
|
@@ -1,8 +1,68 @@
|
|
|
1
1
|
import * as $dara from '@darabonba/typescript';
|
|
2
|
+
export declare class CreateApplicationRequestAgenticDBBranchSpec extends $dara.Model {
|
|
3
|
+
/**
|
|
4
|
+
* @remarks
|
|
5
|
+
* The AgenticDB branch ID.
|
|
6
|
+
*
|
|
7
|
+
* @example
|
|
8
|
+
* br-9054b3b7649e4c0d977bd0df37
|
|
9
|
+
*/
|
|
10
|
+
branchId?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @remarks
|
|
13
|
+
* The AgenticDB cluster ID.
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* pagc-2zea920mcvd5o87
|
|
17
|
+
*/
|
|
18
|
+
DBClusterId?: string;
|
|
19
|
+
/**
|
|
20
|
+
* @remarks
|
|
21
|
+
* The ID of the source application.
|
|
22
|
+
*
|
|
23
|
+
* @example
|
|
24
|
+
* pa-source
|
|
25
|
+
*/
|
|
26
|
+
forkFromApplicationId?: string;
|
|
27
|
+
/**
|
|
28
|
+
* @remarks
|
|
29
|
+
* Specifies whether to create the application based on a specified AgenticDB branch.
|
|
30
|
+
*
|
|
31
|
+
* @example
|
|
32
|
+
* true
|
|
33
|
+
*/
|
|
34
|
+
forkFromBranch?: boolean;
|
|
35
|
+
/**
|
|
36
|
+
* @remarks
|
|
37
|
+
* The AgenticDB project ID.
|
|
38
|
+
*
|
|
39
|
+
* @example
|
|
40
|
+
* proj-d7849d0050664c758af795d468
|
|
41
|
+
*/
|
|
42
|
+
projectId?: string;
|
|
43
|
+
/**
|
|
44
|
+
* @remarks
|
|
45
|
+
* The AgenticDB tenant ID.
|
|
46
|
+
*
|
|
47
|
+
* @example
|
|
48
|
+
* t-cfc2d7df0e59439681f0087f51
|
|
49
|
+
*/
|
|
50
|
+
tenantId?: string;
|
|
51
|
+
static names(): {
|
|
52
|
+
[key: string]: string;
|
|
53
|
+
};
|
|
54
|
+
static types(): {
|
|
55
|
+
[key: string]: any;
|
|
56
|
+
};
|
|
57
|
+
validate(): void;
|
|
58
|
+
constructor(map?: {
|
|
59
|
+
[key: string]: any;
|
|
60
|
+
});
|
|
61
|
+
}
|
|
2
62
|
export declare class CreateApplicationRequestComponents extends $dara.Model {
|
|
3
63
|
/**
|
|
4
64
|
* @remarks
|
|
5
|
-
* The
|
|
65
|
+
* The specification of the application subcomponent.
|
|
6
66
|
*
|
|
7
67
|
* @example
|
|
8
68
|
* polar.app.g2.medium
|
|
@@ -10,9 +70,9 @@ export declare class CreateApplicationRequestComponents extends $dara.Model {
|
|
|
10
70
|
componentClass?: string;
|
|
11
71
|
/**
|
|
12
72
|
* @remarks
|
|
13
|
-
* The maximum number of
|
|
73
|
+
* The maximum number of replicas for the application subcomponent with the same specification. Default value: the value of ComponentReplica.
|
|
14
74
|
*
|
|
15
|
-
* -
|
|
75
|
+
* - Only raycluster supports this parameter.
|
|
16
76
|
*
|
|
17
77
|
* @example
|
|
18
78
|
* 1
|
|
@@ -20,7 +80,7 @@ export declare class CreateApplicationRequestComponents extends $dara.Model {
|
|
|
20
80
|
componentMaxReplica?: number;
|
|
21
81
|
/**
|
|
22
82
|
* @remarks
|
|
23
|
-
* The number of replicas for the
|
|
83
|
+
* The number of replicas for the application subcomponent. Default value: 1.
|
|
24
84
|
*
|
|
25
85
|
* @example
|
|
26
86
|
* 1
|
|
@@ -28,20 +88,17 @@ export declare class CreateApplicationRequestComponents extends $dara.Model {
|
|
|
28
88
|
componentReplica?: number;
|
|
29
89
|
/**
|
|
30
90
|
* @remarks
|
|
31
|
-
* The type of the
|
|
91
|
+
* The type of the application subcomponent.
|
|
32
92
|
*
|
|
33
|
-
* For supabase, valid values
|
|
93
|
+
* For supabase, valid values:
|
|
34
94
|
*
|
|
35
95
|
* - gateway
|
|
36
|
-
*
|
|
37
96
|
* - backend
|
|
38
97
|
*
|
|
39
|
-
* For raycluster, valid values
|
|
98
|
+
* For raycluster, valid values:
|
|
40
99
|
*
|
|
41
100
|
* - head
|
|
42
|
-
*
|
|
43
101
|
* - worker
|
|
44
|
-
*
|
|
45
102
|
* - gpuworker
|
|
46
103
|
*
|
|
47
104
|
* @example
|
|
@@ -50,7 +107,7 @@ export declare class CreateApplicationRequestComponents extends $dara.Model {
|
|
|
50
107
|
componentType?: string;
|
|
51
108
|
/**
|
|
52
109
|
* @remarks
|
|
53
|
-
* The maximum number of
|
|
110
|
+
* The maximum number of replicas for component scaling.
|
|
54
111
|
*
|
|
55
112
|
* @example
|
|
56
113
|
* 16
|
|
@@ -58,7 +115,7 @@ export declare class CreateApplicationRequestComponents extends $dara.Model {
|
|
|
58
115
|
scaleMax?: string;
|
|
59
116
|
/**
|
|
60
117
|
* @remarks
|
|
61
|
-
* The minimum number of
|
|
118
|
+
* The minimum number of replicas for component scaling.
|
|
62
119
|
*
|
|
63
120
|
* @example
|
|
64
121
|
* 1
|
|
@@ -66,7 +123,7 @@ export declare class CreateApplicationRequestComponents extends $dara.Model {
|
|
|
66
123
|
scaleMin?: string;
|
|
67
124
|
/**
|
|
68
125
|
* @remarks
|
|
69
|
-
* The security groups for the
|
|
126
|
+
* The list of security groups for the application subcomponent, separated by commas (,).
|
|
70
127
|
*
|
|
71
128
|
* @example
|
|
72
129
|
* sg-********************
|
|
@@ -74,7 +131,7 @@ export declare class CreateApplicationRequestComponents extends $dara.Model {
|
|
|
74
131
|
securityGroups?: string;
|
|
75
132
|
/**
|
|
76
133
|
* @remarks
|
|
77
|
-
* The name of the IP address
|
|
134
|
+
* The name of the whitelist IP address group for the application subcomponent. Default value: default.
|
|
78
135
|
*
|
|
79
136
|
* @example
|
|
80
137
|
* default
|
|
@@ -82,7 +139,7 @@ export declare class CreateApplicationRequestComponents extends $dara.Model {
|
|
|
82
139
|
securityIPArrayName?: string;
|
|
83
140
|
/**
|
|
84
141
|
* @remarks
|
|
85
|
-
* The IP
|
|
142
|
+
* The whitelist IP addresses of the application subcomponent, separated by commas (,).
|
|
86
143
|
*
|
|
87
144
|
* @example
|
|
88
145
|
* 127.0.0.1
|
|
@@ -90,7 +147,7 @@ export declare class CreateApplicationRequestComponents extends $dara.Model {
|
|
|
90
147
|
securityIPList?: string;
|
|
91
148
|
/**
|
|
92
149
|
* @remarks
|
|
93
|
-
* The type of the IP
|
|
150
|
+
* The type of the whitelist IP addresses for the application subcomponent. Default value: ipv4.
|
|
94
151
|
*
|
|
95
152
|
* @example
|
|
96
153
|
* ipv4
|
|
@@ -107,10 +164,38 @@ export declare class CreateApplicationRequestComponents extends $dara.Model {
|
|
|
107
164
|
[key: string]: any;
|
|
108
165
|
});
|
|
109
166
|
}
|
|
167
|
+
export declare class CreateApplicationRequestDnatEntries extends $dara.Model {
|
|
168
|
+
/**
|
|
169
|
+
* @remarks
|
|
170
|
+
* The frontend port. This parameter is optional. If not specified, the system automatically assigns a port that does not conflict with ports already in use on the gateway. You can query the assignment result by calling the DescribeApplicationAttribute operation.
|
|
171
|
+
*
|
|
172
|
+
* @example
|
|
173
|
+
* 10001
|
|
174
|
+
*/
|
|
175
|
+
frontPort?: number;
|
|
176
|
+
/**
|
|
177
|
+
* @remarks
|
|
178
|
+
* The port name. Valid values: webui, hermesagent, dashboard, and ssh.
|
|
179
|
+
*
|
|
180
|
+
* @example
|
|
181
|
+
* webui
|
|
182
|
+
*/
|
|
183
|
+
portName?: string;
|
|
184
|
+
static names(): {
|
|
185
|
+
[key: string]: string;
|
|
186
|
+
};
|
|
187
|
+
static types(): {
|
|
188
|
+
[key: string]: any;
|
|
189
|
+
};
|
|
190
|
+
validate(): void;
|
|
191
|
+
constructor(map?: {
|
|
192
|
+
[key: string]: any;
|
|
193
|
+
});
|
|
194
|
+
}
|
|
110
195
|
export declare class CreateApplicationRequestEndpoints extends $dara.Model {
|
|
111
196
|
/**
|
|
112
197
|
* @remarks
|
|
113
|
-
* The description of the
|
|
198
|
+
* The description of the service endpoint.
|
|
114
199
|
*
|
|
115
200
|
* @example
|
|
116
201
|
* my_endpoint
|
|
@@ -118,7 +203,7 @@ export declare class CreateApplicationRequestEndpoints extends $dara.Model {
|
|
|
118
203
|
description?: string;
|
|
119
204
|
/**
|
|
120
205
|
* @remarks
|
|
121
|
-
* The type of the
|
|
206
|
+
* The type of the service endpoint. The value is fixed as Primary.
|
|
122
207
|
*
|
|
123
208
|
* @example
|
|
124
209
|
* Primary
|
|
@@ -138,7 +223,7 @@ export declare class CreateApplicationRequestEndpoints extends $dara.Model {
|
|
|
138
223
|
export declare class CreateApplicationRequestKnowledgeApplicationSpec extends $dara.Model {
|
|
139
224
|
/**
|
|
140
225
|
* @remarks
|
|
141
|
-
* The password
|
|
226
|
+
* The dashboard password.
|
|
142
227
|
*/
|
|
143
228
|
dashboardPassword?: string;
|
|
144
229
|
/**
|
|
@@ -148,7 +233,7 @@ export declare class CreateApplicationRequestKnowledgeApplicationSpec extends $d
|
|
|
148
233
|
dbPassword?: string;
|
|
149
234
|
/**
|
|
150
235
|
* @remarks
|
|
151
|
-
*
|
|
236
|
+
* Required for knowledge applications. The LLM model name, such as qwen3-max.
|
|
152
237
|
*/
|
|
153
238
|
llmModel?: string;
|
|
154
239
|
static names(): {
|
|
@@ -165,7 +250,7 @@ export declare class CreateApplicationRequestKnowledgeApplicationSpec extends $d
|
|
|
165
250
|
export declare class CreateApplicationRequestMemApplicationSpec extends $dara.Model {
|
|
166
251
|
/**
|
|
167
252
|
* @remarks
|
|
168
|
-
* The name
|
|
253
|
+
* The database name.
|
|
169
254
|
*
|
|
170
255
|
* @example
|
|
171
256
|
* test-database-name
|
|
@@ -189,7 +274,7 @@ export declare class CreateApplicationRequestMemApplicationSpec extends $dara.Mo
|
|
|
189
274
|
dbUser?: string;
|
|
190
275
|
/**
|
|
191
276
|
* @remarks
|
|
192
|
-
*
|
|
277
|
+
* Required for mem0 applications. The embedder model name, such as text-embedding-v4.
|
|
193
278
|
*
|
|
194
279
|
* @example
|
|
195
280
|
* text-embedding-v4
|
|
@@ -205,7 +290,7 @@ export declare class CreateApplicationRequestMemApplicationSpec extends $dara.Mo
|
|
|
205
290
|
embedderModelDimension?: number;
|
|
206
291
|
/**
|
|
207
292
|
* @remarks
|
|
208
|
-
* The graph LLM.
|
|
293
|
+
* The graph LLM model.
|
|
209
294
|
*
|
|
210
295
|
* @example
|
|
211
296
|
* qwen-plus
|
|
@@ -213,7 +298,7 @@ export declare class CreateApplicationRequestMemApplicationSpec extends $dara.Mo
|
|
|
213
298
|
graphLlmModel?: string;
|
|
214
299
|
/**
|
|
215
300
|
* @remarks
|
|
216
|
-
*
|
|
301
|
+
* Required for mem0 applications. The LLM model name, such as qwen3-max.
|
|
217
302
|
*
|
|
218
303
|
* @example
|
|
219
304
|
* qwen3-max
|
|
@@ -221,7 +306,7 @@ export declare class CreateApplicationRequestMemApplicationSpec extends $dara.Mo
|
|
|
221
306
|
llmModel?: string;
|
|
222
307
|
/**
|
|
223
308
|
* @remarks
|
|
224
|
-
* The project name
|
|
309
|
+
* The project name, which corresponds to the database schema that stores project data.
|
|
225
310
|
*
|
|
226
311
|
* @example
|
|
227
312
|
* test-project-name
|
|
@@ -229,7 +314,7 @@ export declare class CreateApplicationRequestMemApplicationSpec extends $dara.Mo
|
|
|
229
314
|
projectName?: string;
|
|
230
315
|
/**
|
|
231
316
|
* @remarks
|
|
232
|
-
*
|
|
317
|
+
* Required for mem0 applications. The reranker model name, such as qwen3-rerank.
|
|
233
318
|
*
|
|
234
319
|
* @example
|
|
235
320
|
* qwen3-rerank
|
|
@@ -237,7 +322,7 @@ export declare class CreateApplicationRequestMemApplicationSpec extends $dara.Mo
|
|
|
237
322
|
rerankerModel?: string;
|
|
238
323
|
/**
|
|
239
324
|
* @remarks
|
|
240
|
-
* The number of
|
|
325
|
+
* The number of table shards.
|
|
241
326
|
*
|
|
242
327
|
* @example
|
|
243
328
|
* 1
|
|
@@ -257,7 +342,7 @@ export declare class CreateApplicationRequestMemApplicationSpec extends $dara.Mo
|
|
|
257
342
|
export declare class CreateApplicationRequestParameters extends $dara.Model {
|
|
258
343
|
/**
|
|
259
344
|
* @remarks
|
|
260
|
-
* The name
|
|
345
|
+
* The parameter name.
|
|
261
346
|
*
|
|
262
347
|
* @example
|
|
263
348
|
* secret.gateway.auth.token
|
|
@@ -265,7 +350,7 @@ export declare class CreateApplicationRequestParameters extends $dara.Model {
|
|
|
265
350
|
parameterName?: string;
|
|
266
351
|
/**
|
|
267
352
|
* @remarks
|
|
268
|
-
* The value
|
|
353
|
+
* The parameter value.
|
|
269
354
|
*
|
|
270
355
|
* @example
|
|
271
356
|
* TK***
|
|
@@ -282,10 +367,86 @@ export declare class CreateApplicationRequestParameters extends $dara.Model {
|
|
|
282
367
|
[key: string]: any;
|
|
283
368
|
});
|
|
284
369
|
}
|
|
370
|
+
export declare class CreateApplicationRequestStorages extends $dara.Model {
|
|
371
|
+
/**
|
|
372
|
+
* @remarks
|
|
373
|
+
* The mount path inside the container.
|
|
374
|
+
*
|
|
375
|
+
* @example
|
|
376
|
+
* /data/container
|
|
377
|
+
*/
|
|
378
|
+
containerMountPath?: string;
|
|
379
|
+
/**
|
|
380
|
+
* @remarks
|
|
381
|
+
* The storage endpoint ID.
|
|
382
|
+
*
|
|
383
|
+
* @example
|
|
384
|
+
* pe-xxxx
|
|
385
|
+
*/
|
|
386
|
+
endpointId?: string;
|
|
387
|
+
/**
|
|
388
|
+
* @remarks
|
|
389
|
+
* The storage mount path.
|
|
390
|
+
*
|
|
391
|
+
* @example
|
|
392
|
+
* /data/source
|
|
393
|
+
*/
|
|
394
|
+
mountPath?: string;
|
|
395
|
+
/**
|
|
396
|
+
* @remarks
|
|
397
|
+
* The storage capacity.
|
|
398
|
+
*
|
|
399
|
+
* @example
|
|
400
|
+
* 100
|
|
401
|
+
*/
|
|
402
|
+
storageCapacity?: string;
|
|
403
|
+
/**
|
|
404
|
+
* @remarks
|
|
405
|
+
* The storage access endpoint.
|
|
406
|
+
*
|
|
407
|
+
* @example
|
|
408
|
+
* polarfs.example.com
|
|
409
|
+
*/
|
|
410
|
+
storageEndpoint?: string;
|
|
411
|
+
/**
|
|
412
|
+
* @remarks
|
|
413
|
+
* The storage instance ID.
|
|
414
|
+
*
|
|
415
|
+
* @example
|
|
416
|
+
* pfs-xxxx
|
|
417
|
+
*/
|
|
418
|
+
storageInstanceId?: string;
|
|
419
|
+
/**
|
|
420
|
+
* @remarks
|
|
421
|
+
* The storage performance level.
|
|
422
|
+
*
|
|
423
|
+
* @example
|
|
424
|
+
* PL1
|
|
425
|
+
*/
|
|
426
|
+
storagePerformanceLevel?: string;
|
|
427
|
+
/**
|
|
428
|
+
* @remarks
|
|
429
|
+
* The storage type.
|
|
430
|
+
*
|
|
431
|
+
* @example
|
|
432
|
+
* oss
|
|
433
|
+
*/
|
|
434
|
+
storageType?: string;
|
|
435
|
+
static names(): {
|
|
436
|
+
[key: string]: string;
|
|
437
|
+
};
|
|
438
|
+
static types(): {
|
|
439
|
+
[key: string]: any;
|
|
440
|
+
};
|
|
441
|
+
validate(): void;
|
|
442
|
+
constructor(map?: {
|
|
443
|
+
[key: string]: any;
|
|
444
|
+
});
|
|
445
|
+
}
|
|
285
446
|
export declare class CreateApplicationRequestTag extends $dara.Model {
|
|
286
447
|
/**
|
|
287
448
|
* @remarks
|
|
288
|
-
* The key
|
|
449
|
+
* The tag key.
|
|
289
450
|
*
|
|
290
451
|
* @example
|
|
291
452
|
* testKey
|
|
@@ -293,7 +454,7 @@ export declare class CreateApplicationRequestTag extends $dara.Model {
|
|
|
293
454
|
key?: string;
|
|
294
455
|
/**
|
|
295
456
|
* @remarks
|
|
296
|
-
* The value
|
|
457
|
+
* The tag value.
|
|
297
458
|
*
|
|
298
459
|
* @example
|
|
299
460
|
* testValue
|
|
@@ -313,7 +474,7 @@ export declare class CreateApplicationRequestTag extends $dara.Model {
|
|
|
313
474
|
export declare class CreateApplicationRequest extends $dara.Model {
|
|
314
475
|
/**
|
|
315
476
|
* @remarks
|
|
316
|
-
* The ID of an existing model operator instance to associate. This parameter
|
|
477
|
+
* The ID of an existing model operator instance to associate. This parameter takes effect only when ApplicationType is set to polarclaw.
|
|
317
478
|
*
|
|
318
479
|
* @example
|
|
319
480
|
* pm-xxxxxx
|
|
@@ -321,13 +482,19 @@ export declare class CreateApplicationRequest extends $dara.Model {
|
|
|
321
482
|
AIDBClusterId?: string;
|
|
322
483
|
/**
|
|
323
484
|
* @remarks
|
|
324
|
-
* The
|
|
325
|
-
*
|
|
326
|
-
* - supabase: Creates a managed Supabase application.
|
|
485
|
+
* The AgenticDB branch specification.
|
|
327
486
|
*
|
|
328
|
-
*
|
|
487
|
+
* @example
|
|
488
|
+
* {"DBClusterId":"pagc-2zea920mcvd5o87","TenantId":"t-cfc2d7df0e59439681f0087f51","ProjectId":"proj-d7849d0050664c758af795d468","BranchId":"br-9054b3b7649e4c0d977bd0df37","ForkFromBranch":true,"ForkFromApplicationId":"pa-source"}
|
|
489
|
+
*/
|
|
490
|
+
agenticDBBranchSpec?: CreateApplicationRequestAgenticDBBranchSpec;
|
|
491
|
+
/**
|
|
492
|
+
* @remarks
|
|
493
|
+
* The application type. Valid values:
|
|
329
494
|
*
|
|
330
|
-
* -
|
|
495
|
+
* - supabase: Set this value to create a managed Supabase application.
|
|
496
|
+
* - raycluster: Set this value to create a managed Ray Cluster application.
|
|
497
|
+
* - polarclaw: Set this value to create a managed PolarClaw application.
|
|
331
498
|
*
|
|
332
499
|
* This parameter is required.
|
|
333
500
|
*
|
|
@@ -337,7 +504,7 @@ export declare class CreateApplicationRequest extends $dara.Model {
|
|
|
337
504
|
applicationType?: string;
|
|
338
505
|
/**
|
|
339
506
|
* @remarks
|
|
340
|
-
* The CPU architecture. Valid
|
|
507
|
+
* The CPU architecture. Valid values:
|
|
341
508
|
*
|
|
342
509
|
* - x86
|
|
343
510
|
*
|
|
@@ -357,7 +524,7 @@ export declare class CreateApplicationRequest extends $dara.Model {
|
|
|
357
524
|
authProvider?: string;
|
|
358
525
|
/**
|
|
359
526
|
* @remarks
|
|
360
|
-
* The
|
|
527
|
+
* The authentication provider configuration.
|
|
361
528
|
*
|
|
362
529
|
* @example
|
|
363
530
|
* xxx
|
|
@@ -365,7 +532,7 @@ export declare class CreateApplicationRequest extends $dara.Model {
|
|
|
365
532
|
authProviderConfig?: string;
|
|
366
533
|
/**
|
|
367
534
|
* @remarks
|
|
368
|
-
* Specifies whether to
|
|
535
|
+
* Specifies whether to enable automatic creation of an elastic IP address (EIP) and attach it to the instance. This is equivalent to associate with an EIP.
|
|
369
536
|
*
|
|
370
537
|
* @example
|
|
371
538
|
* qwen3-max
|
|
@@ -373,11 +540,9 @@ export declare class CreateApplicationRequest extends $dara.Model {
|
|
|
373
540
|
autoAllocatePublicEip?: boolean;
|
|
374
541
|
/**
|
|
375
542
|
* @remarks
|
|
376
|
-
* Specifies whether to
|
|
377
|
-
*
|
|
378
|
-
*
|
|
379
|
-
*
|
|
380
|
-
* - true: Automatically creates the instance.
|
|
543
|
+
* Specifies whether to enable automatic creation of a cold storage Polarlakebase instance. Valid values:
|
|
544
|
+
* * false (default): Automatic creation is disabled.
|
|
545
|
+
* * true: Automatic creation is enabled.
|
|
381
546
|
*
|
|
382
547
|
* @example
|
|
383
548
|
* false
|
|
@@ -393,11 +558,9 @@ export declare class CreateApplicationRequest extends $dara.Model {
|
|
|
393
558
|
autoRenew?: boolean;
|
|
394
559
|
/**
|
|
395
560
|
* @remarks
|
|
396
|
-
* Specifies whether to automatically use
|
|
397
|
-
*
|
|
398
|
-
*
|
|
399
|
-
*
|
|
400
|
-
* - false: Does not use a coupon.
|
|
561
|
+
* Specifies whether to automatically use coupons. Valid values:
|
|
562
|
+
* * true (default): Use coupons.
|
|
563
|
+
* * false: Do not use coupons.
|
|
401
564
|
*
|
|
402
565
|
* @example
|
|
403
566
|
* true
|
|
@@ -405,12 +568,12 @@ export declare class CreateApplicationRequest extends $dara.Model {
|
|
|
405
568
|
autoUseCoupon?: boolean;
|
|
406
569
|
/**
|
|
407
570
|
* @remarks
|
|
408
|
-
*
|
|
571
|
+
* The list of user-defined application subcomponents.
|
|
409
572
|
*/
|
|
410
573
|
components?: CreateApplicationRequestComponents[];
|
|
411
574
|
/**
|
|
412
575
|
* @remarks
|
|
413
|
-
* The ID of the PolarDB instance
|
|
576
|
+
* The instance ID of the PolarDB instance on which the application depends.
|
|
414
577
|
*
|
|
415
578
|
* @example
|
|
416
579
|
* pc-**************
|
|
@@ -426,7 +589,20 @@ export declare class CreateApplicationRequest extends $dara.Model {
|
|
|
426
589
|
description?: string;
|
|
427
590
|
/**
|
|
428
591
|
* @remarks
|
|
429
|
-
* The
|
|
592
|
+
* The list of expected DNAT entries for NAT mapping. Specify this parameter together with VpcNatGatewayId. This parameter can be left empty, which indicates that no DNAT entries are created.
|
|
593
|
+
*/
|
|
594
|
+
dnatEntries?: CreateApplicationRequestDnatEntries[];
|
|
595
|
+
/**
|
|
596
|
+
* @remarks
|
|
597
|
+
* The DNAT-dedicated NAT IP address that has been allocated (separate from the SNAT IP address) for NAT mapping. The IP address must belong to the specified gateway and be in an available state. The vSwitch of the gateway must belong to a primary CIDR block that is reachable from the office network. Specify this parameter together with VpcNatGatewayId. Prerequisite: An SNAT entry has been bound to the vSwitch where the application resides.
|
|
598
|
+
*
|
|
599
|
+
* @example
|
|
600
|
+
* 10.64.0.10
|
|
601
|
+
*/
|
|
602
|
+
dnatIpAddress?: string;
|
|
603
|
+
/**
|
|
604
|
+
* @remarks
|
|
605
|
+
* Default value: `false`. If you set this parameter to `true`, only parameter and resource validation is performed without actually creating the resource.
|
|
430
606
|
*
|
|
431
607
|
* @example
|
|
432
608
|
* false
|
|
@@ -434,22 +610,22 @@ export declare class CreateApplicationRequest extends $dara.Model {
|
|
|
434
610
|
dryRun?: boolean;
|
|
435
611
|
/**
|
|
436
612
|
* @remarks
|
|
437
|
-
*
|
|
613
|
+
* The list of user-defined service endpoints. By default, a VPC endpoint is created.
|
|
438
614
|
*/
|
|
439
615
|
endpoints?: CreateApplicationRequestEndpoints[];
|
|
440
616
|
/**
|
|
441
617
|
* @remarks
|
|
442
|
-
*
|
|
618
|
+
* Required for knowledge applications.
|
|
443
619
|
*/
|
|
444
620
|
knowledgeApplicationSpec?: CreateApplicationRequestKnowledgeApplicationSpec;
|
|
445
621
|
/**
|
|
446
622
|
* @remarks
|
|
447
|
-
*
|
|
623
|
+
* Required for mem0 applications.
|
|
448
624
|
*/
|
|
449
625
|
memApplicationSpec?: CreateApplicationRequestMemApplicationSpec;
|
|
450
626
|
/**
|
|
451
627
|
* @remarks
|
|
452
|
-
* The model API. This parameter
|
|
628
|
+
* The model API. This parameter takes effect only when ApplicationType is set to polarclaw.
|
|
453
629
|
*
|
|
454
630
|
* @example
|
|
455
631
|
* openai-completions
|
|
@@ -457,7 +633,7 @@ export declare class CreateApplicationRequest extends $dara.Model {
|
|
|
457
633
|
modelApi?: string;
|
|
458
634
|
/**
|
|
459
635
|
* @remarks
|
|
460
|
-
* The API key
|
|
636
|
+
* The model API key. This parameter takes effect only when ApplicationType is set to polarclaw.
|
|
461
637
|
*
|
|
462
638
|
* @example
|
|
463
639
|
* sk-xxxxxx
|
|
@@ -465,7 +641,7 @@ export declare class CreateApplicationRequest extends $dara.Model {
|
|
|
465
641
|
modelApiKey?: string;
|
|
466
642
|
/**
|
|
467
643
|
* @remarks
|
|
468
|
-
* The
|
|
644
|
+
* The model base URL. This parameter takes effect only when ApplicationType is set to polarclaw.
|
|
469
645
|
*
|
|
470
646
|
* @example
|
|
471
647
|
* https://dashscope.aliyuncs.com/compatible-mode/v1
|
|
@@ -473,13 +649,11 @@ export declare class CreateApplicationRequest extends $dara.Model {
|
|
|
473
649
|
modelBaseUrl?: string;
|
|
474
650
|
/**
|
|
475
651
|
* @remarks
|
|
476
|
-
* The source
|
|
477
|
-
*
|
|
478
|
-
* - bailian: Alibaba Cloud Model Studio model.
|
|
652
|
+
* The model source. Valid values:
|
|
479
653
|
*
|
|
480
|
-
*
|
|
481
|
-
*
|
|
482
|
-
*
|
|
654
|
+
* * bailian: Alibaba Cloud Model Studio model.
|
|
655
|
+
* * custom: Custom model.
|
|
656
|
+
* * maas: PolarDB model operator.
|
|
483
657
|
*
|
|
484
658
|
* @example
|
|
485
659
|
* bailian
|
|
@@ -487,7 +661,7 @@ export declare class CreateApplicationRequest extends $dara.Model {
|
|
|
487
661
|
modelFrom?: string;
|
|
488
662
|
/**
|
|
489
663
|
* @remarks
|
|
490
|
-
* The name
|
|
664
|
+
* The model name. This parameter takes effect only when ApplicationType is set to polarclaw.
|
|
491
665
|
*
|
|
492
666
|
* @example
|
|
493
667
|
* qwen3-max
|
|
@@ -495,12 +669,12 @@ export declare class CreateApplicationRequest extends $dara.Model {
|
|
|
495
669
|
modelName?: string;
|
|
496
670
|
/**
|
|
497
671
|
* @remarks
|
|
498
|
-
*
|
|
672
|
+
* The list of parameters.
|
|
499
673
|
*/
|
|
500
674
|
parameters?: CreateApplicationRequestParameters[];
|
|
501
675
|
/**
|
|
502
676
|
* @remarks
|
|
503
|
-
* The billing
|
|
677
|
+
* The billing type.
|
|
504
678
|
*
|
|
505
679
|
* @example
|
|
506
680
|
* Postpaid
|
|
@@ -508,7 +682,7 @@ export declare class CreateApplicationRequest extends $dara.Model {
|
|
|
508
682
|
payType?: string;
|
|
509
683
|
/**
|
|
510
684
|
* @remarks
|
|
511
|
-
* The subscription
|
|
685
|
+
* The subscription type (yearly or monthly).
|
|
512
686
|
*
|
|
513
687
|
* @example
|
|
514
688
|
* Year
|
|
@@ -516,12 +690,10 @@ export declare class CreateApplicationRequest extends $dara.Model {
|
|
|
516
690
|
period?: string;
|
|
517
691
|
/**
|
|
518
692
|
* @remarks
|
|
519
|
-
* The ID of the
|
|
520
|
-
*
|
|
521
|
-
* This feature is currently supported only by the following applications:
|
|
693
|
+
* The instance ID of the Polarlakebase cold storage or high-performance edition. Default value: empty. If specified, the corresponding storage is mounted to the application.
|
|
522
694
|
*
|
|
695
|
+
* Currently, only the following applications support this parameter:
|
|
523
696
|
* - supabase
|
|
524
|
-
*
|
|
525
697
|
* - raycluster
|
|
526
698
|
*
|
|
527
699
|
* @example
|
|
@@ -538,7 +710,7 @@ export declare class CreateApplicationRequest extends $dara.Model {
|
|
|
538
710
|
promotionCode?: string;
|
|
539
711
|
/**
|
|
540
712
|
* @remarks
|
|
541
|
-
* The region.
|
|
713
|
+
* The region. Default value: the region of the instance.
|
|
542
714
|
*
|
|
543
715
|
* @example
|
|
544
716
|
* cn-beijing
|
|
@@ -546,7 +718,7 @@ export declare class CreateApplicationRequest extends $dara.Model {
|
|
|
546
718
|
regionId?: string;
|
|
547
719
|
/**
|
|
548
720
|
* @remarks
|
|
549
|
-
* The
|
|
721
|
+
* The resource group ID.
|
|
550
722
|
*
|
|
551
723
|
* @example
|
|
552
724
|
* rg-********************
|
|
@@ -554,7 +726,7 @@ export declare class CreateApplicationRequest extends $dara.Model {
|
|
|
554
726
|
resourceGroupId?: string;
|
|
555
727
|
/**
|
|
556
728
|
* @remarks
|
|
557
|
-
* The
|
|
729
|
+
* The security group ID.
|
|
558
730
|
*
|
|
559
731
|
* @example
|
|
560
732
|
* sg-********************
|
|
@@ -562,7 +734,7 @@ export declare class CreateApplicationRequest extends $dara.Model {
|
|
|
562
734
|
securityGroupId?: string;
|
|
563
735
|
/**
|
|
564
736
|
* @remarks
|
|
565
|
-
* The name of the IP
|
|
737
|
+
* The name of the IP whitelist group. Default value: `default`.
|
|
566
738
|
*
|
|
567
739
|
* @example
|
|
568
740
|
* default
|
|
@@ -570,7 +742,7 @@ export declare class CreateApplicationRequest extends $dara.Model {
|
|
|
570
742
|
securityIPArrayName?: string;
|
|
571
743
|
/**
|
|
572
744
|
* @remarks
|
|
573
|
-
* The IP
|
|
745
|
+
* The IP whitelist. If you do not specify this parameter, the default value is `127.0.0.1`.
|
|
574
746
|
*
|
|
575
747
|
* @example
|
|
576
748
|
* 127.0.0.1,172.17.0.0/24
|
|
@@ -586,7 +758,7 @@ export declare class CreateApplicationRequest extends $dara.Model {
|
|
|
586
758
|
securityIPType?: string;
|
|
587
759
|
/**
|
|
588
760
|
* @remarks
|
|
589
|
-
* The
|
|
761
|
+
* The skill template ID.
|
|
590
762
|
*
|
|
591
763
|
* @example
|
|
592
764
|
* xxx
|
|
@@ -594,7 +766,15 @@ export declare class CreateApplicationRequest extends $dara.Model {
|
|
|
594
766
|
skillTemplateId?: string;
|
|
595
767
|
/**
|
|
596
768
|
* @remarks
|
|
597
|
-
* The
|
|
769
|
+
* The list of application storages.
|
|
770
|
+
*
|
|
771
|
+
* @example
|
|
772
|
+
* [{"StorageType":"oss","StorageInstanceId":"pfs-xxxx","EndpointId":"pe-xxxx"}]
|
|
773
|
+
*/
|
|
774
|
+
storages?: CreateApplicationRequestStorages[];
|
|
775
|
+
/**
|
|
776
|
+
* @remarks
|
|
777
|
+
* The tags.
|
|
598
778
|
*/
|
|
599
779
|
tag?: CreateApplicationRequestTag[];
|
|
600
780
|
/**
|
|
@@ -615,7 +795,7 @@ export declare class CreateApplicationRequest extends $dara.Model {
|
|
|
615
795
|
usedTime?: string;
|
|
616
796
|
/**
|
|
617
797
|
* @remarks
|
|
618
|
-
* The vSwitch.
|
|
798
|
+
* The vSwitch. Default value: the vSwitch in the primary zone of the instance.
|
|
619
799
|
*
|
|
620
800
|
* @example
|
|
621
801
|
* vsw-*********************
|
|
@@ -623,7 +803,7 @@ export declare class CreateApplicationRequest extends $dara.Model {
|
|
|
623
803
|
vSwitchId?: string;
|
|
624
804
|
/**
|
|
625
805
|
* @remarks
|
|
626
|
-
* The ID
|
|
806
|
+
* The VPC ID.
|
|
627
807
|
*
|
|
628
808
|
* @example
|
|
629
809
|
* vpc-********************
|
|
@@ -631,7 +811,15 @@ export declare class CreateApplicationRequest extends $dara.Model {
|
|
|
631
811
|
vpcId?: string;
|
|
632
812
|
/**
|
|
633
813
|
* @remarks
|
|
634
|
-
* The
|
|
814
|
+
* The VPC NAT gateway ID for NAT mapping. If specified, NAT mapping is enabled when the instance is created. The NAT gateway must be in the same VPC as the application, use the private network type (intranet), and be in an active state.
|
|
815
|
+
*
|
|
816
|
+
* @example
|
|
817
|
+
* ngw-xxx
|
|
818
|
+
*/
|
|
819
|
+
vpcNatGatewayId?: string;
|
|
820
|
+
/**
|
|
821
|
+
* @remarks
|
|
822
|
+
* The zone. Default value: the primary zone of the instance.
|
|
635
823
|
*
|
|
636
824
|
* @example
|
|
637
825
|
* cn-beijing-k
|