@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
|
@@ -2,10 +2,90 @@
|
|
|
2
2
|
import * as $dara from '@darabonba/typescript';
|
|
3
3
|
|
|
4
4
|
|
|
5
|
+
export class CreateApplicationRequestAgenticDBBranchSpec extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The AgenticDB branch ID.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* br-9054b3b7649e4c0d977bd0df37
|
|
12
|
+
*/
|
|
13
|
+
branchId?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The AgenticDB cluster ID.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* pagc-2zea920mcvd5o87
|
|
20
|
+
*/
|
|
21
|
+
DBClusterId?: string;
|
|
22
|
+
/**
|
|
23
|
+
* @remarks
|
|
24
|
+
* The ID of the source application.
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* pa-source
|
|
28
|
+
*/
|
|
29
|
+
forkFromApplicationId?: string;
|
|
30
|
+
/**
|
|
31
|
+
* @remarks
|
|
32
|
+
* Specifies whether to create the application based on a specified AgenticDB branch.
|
|
33
|
+
*
|
|
34
|
+
* @example
|
|
35
|
+
* true
|
|
36
|
+
*/
|
|
37
|
+
forkFromBranch?: boolean;
|
|
38
|
+
/**
|
|
39
|
+
* @remarks
|
|
40
|
+
* The AgenticDB project ID.
|
|
41
|
+
*
|
|
42
|
+
* @example
|
|
43
|
+
* proj-d7849d0050664c758af795d468
|
|
44
|
+
*/
|
|
45
|
+
projectId?: string;
|
|
46
|
+
/**
|
|
47
|
+
* @remarks
|
|
48
|
+
* The AgenticDB tenant ID.
|
|
49
|
+
*
|
|
50
|
+
* @example
|
|
51
|
+
* t-cfc2d7df0e59439681f0087f51
|
|
52
|
+
*/
|
|
53
|
+
tenantId?: string;
|
|
54
|
+
static names(): { [key: string]: string } {
|
|
55
|
+
return {
|
|
56
|
+
branchId: 'BranchId',
|
|
57
|
+
DBClusterId: 'DBClusterId',
|
|
58
|
+
forkFromApplicationId: 'ForkFromApplicationId',
|
|
59
|
+
forkFromBranch: 'ForkFromBranch',
|
|
60
|
+
projectId: 'ProjectId',
|
|
61
|
+
tenantId: 'TenantId',
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
static types(): { [key: string]: any } {
|
|
66
|
+
return {
|
|
67
|
+
branchId: 'string',
|
|
68
|
+
DBClusterId: 'string',
|
|
69
|
+
forkFromApplicationId: 'string',
|
|
70
|
+
forkFromBranch: 'boolean',
|
|
71
|
+
projectId: 'string',
|
|
72
|
+
tenantId: 'string',
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
validate() {
|
|
77
|
+
super.validate();
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
constructor(map?: { [key: string]: any }) {
|
|
81
|
+
super(map);
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
|
|
5
85
|
export class CreateApplicationRequestComponents extends $dara.Model {
|
|
6
86
|
/**
|
|
7
87
|
* @remarks
|
|
8
|
-
* The
|
|
88
|
+
* The specification of the application subcomponent.
|
|
9
89
|
*
|
|
10
90
|
* @example
|
|
11
91
|
* polar.app.g2.medium
|
|
@@ -13,9 +93,9 @@ export class CreateApplicationRequestComponents extends $dara.Model {
|
|
|
13
93
|
componentClass?: string;
|
|
14
94
|
/**
|
|
15
95
|
* @remarks
|
|
16
|
-
* The maximum number of
|
|
96
|
+
* The maximum number of replicas for the application subcomponent with the same specification. Default value: the value of ComponentReplica.
|
|
17
97
|
*
|
|
18
|
-
* -
|
|
98
|
+
* - Only raycluster supports this parameter.
|
|
19
99
|
*
|
|
20
100
|
* @example
|
|
21
101
|
* 1
|
|
@@ -23,7 +103,7 @@ export class CreateApplicationRequestComponents extends $dara.Model {
|
|
|
23
103
|
componentMaxReplica?: number;
|
|
24
104
|
/**
|
|
25
105
|
* @remarks
|
|
26
|
-
* The number of replicas for the
|
|
106
|
+
* The number of replicas for the application subcomponent. Default value: 1.
|
|
27
107
|
*
|
|
28
108
|
* @example
|
|
29
109
|
* 1
|
|
@@ -31,20 +111,17 @@ export class CreateApplicationRequestComponents extends $dara.Model {
|
|
|
31
111
|
componentReplica?: number;
|
|
32
112
|
/**
|
|
33
113
|
* @remarks
|
|
34
|
-
* The type of the
|
|
114
|
+
* The type of the application subcomponent.
|
|
35
115
|
*
|
|
36
|
-
* For supabase, valid values
|
|
116
|
+
* For supabase, valid values:
|
|
37
117
|
*
|
|
38
118
|
* - gateway
|
|
39
|
-
*
|
|
40
119
|
* - backend
|
|
41
120
|
*
|
|
42
|
-
* For raycluster, valid values
|
|
121
|
+
* For raycluster, valid values:
|
|
43
122
|
*
|
|
44
123
|
* - head
|
|
45
|
-
*
|
|
46
124
|
* - worker
|
|
47
|
-
*
|
|
48
125
|
* - gpuworker
|
|
49
126
|
*
|
|
50
127
|
* @example
|
|
@@ -53,7 +130,7 @@ export class CreateApplicationRequestComponents extends $dara.Model {
|
|
|
53
130
|
componentType?: string;
|
|
54
131
|
/**
|
|
55
132
|
* @remarks
|
|
56
|
-
* The maximum number of
|
|
133
|
+
* The maximum number of replicas for component scaling.
|
|
57
134
|
*
|
|
58
135
|
* @example
|
|
59
136
|
* 16
|
|
@@ -61,7 +138,7 @@ export class CreateApplicationRequestComponents extends $dara.Model {
|
|
|
61
138
|
scaleMax?: string;
|
|
62
139
|
/**
|
|
63
140
|
* @remarks
|
|
64
|
-
* The minimum number of
|
|
141
|
+
* The minimum number of replicas for component scaling.
|
|
65
142
|
*
|
|
66
143
|
* @example
|
|
67
144
|
* 1
|
|
@@ -69,7 +146,7 @@ export class CreateApplicationRequestComponents extends $dara.Model {
|
|
|
69
146
|
scaleMin?: string;
|
|
70
147
|
/**
|
|
71
148
|
* @remarks
|
|
72
|
-
* The security groups for the
|
|
149
|
+
* The list of security groups for the application subcomponent, separated by commas (,).
|
|
73
150
|
*
|
|
74
151
|
* @example
|
|
75
152
|
* sg-********************
|
|
@@ -77,7 +154,7 @@ export class CreateApplicationRequestComponents extends $dara.Model {
|
|
|
77
154
|
securityGroups?: string;
|
|
78
155
|
/**
|
|
79
156
|
* @remarks
|
|
80
|
-
* The name of the IP address
|
|
157
|
+
* The name of the whitelist IP address group for the application subcomponent. Default value: default.
|
|
81
158
|
*
|
|
82
159
|
* @example
|
|
83
160
|
* default
|
|
@@ -85,7 +162,7 @@ export class CreateApplicationRequestComponents extends $dara.Model {
|
|
|
85
162
|
securityIPArrayName?: string;
|
|
86
163
|
/**
|
|
87
164
|
* @remarks
|
|
88
|
-
* The IP
|
|
165
|
+
* The whitelist IP addresses of the application subcomponent, separated by commas (,).
|
|
89
166
|
*
|
|
90
167
|
* @example
|
|
91
168
|
* 127.0.0.1
|
|
@@ -93,7 +170,7 @@ export class CreateApplicationRequestComponents extends $dara.Model {
|
|
|
93
170
|
securityIPList?: string;
|
|
94
171
|
/**
|
|
95
172
|
* @remarks
|
|
96
|
-
* The type of the IP
|
|
173
|
+
* The type of the whitelist IP addresses for the application subcomponent. Default value: ipv4.
|
|
97
174
|
*
|
|
98
175
|
* @example
|
|
99
176
|
* ipv4
|
|
@@ -138,10 +215,50 @@ export class CreateApplicationRequestComponents extends $dara.Model {
|
|
|
138
215
|
}
|
|
139
216
|
}
|
|
140
217
|
|
|
218
|
+
export class CreateApplicationRequestDnatEntries extends $dara.Model {
|
|
219
|
+
/**
|
|
220
|
+
* @remarks
|
|
221
|
+
* 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.
|
|
222
|
+
*
|
|
223
|
+
* @example
|
|
224
|
+
* 10001
|
|
225
|
+
*/
|
|
226
|
+
frontPort?: number;
|
|
227
|
+
/**
|
|
228
|
+
* @remarks
|
|
229
|
+
* The port name. Valid values: webui, hermesagent, dashboard, and ssh.
|
|
230
|
+
*
|
|
231
|
+
* @example
|
|
232
|
+
* webui
|
|
233
|
+
*/
|
|
234
|
+
portName?: string;
|
|
235
|
+
static names(): { [key: string]: string } {
|
|
236
|
+
return {
|
|
237
|
+
frontPort: 'FrontPort',
|
|
238
|
+
portName: 'PortName',
|
|
239
|
+
};
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
static types(): { [key: string]: any } {
|
|
243
|
+
return {
|
|
244
|
+
frontPort: 'number',
|
|
245
|
+
portName: 'string',
|
|
246
|
+
};
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
validate() {
|
|
250
|
+
super.validate();
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
constructor(map?: { [key: string]: any }) {
|
|
254
|
+
super(map);
|
|
255
|
+
}
|
|
256
|
+
}
|
|
257
|
+
|
|
141
258
|
export class CreateApplicationRequestEndpoints extends $dara.Model {
|
|
142
259
|
/**
|
|
143
260
|
* @remarks
|
|
144
|
-
* The description of the
|
|
261
|
+
* The description of the service endpoint.
|
|
145
262
|
*
|
|
146
263
|
* @example
|
|
147
264
|
* my_endpoint
|
|
@@ -149,7 +266,7 @@ export class CreateApplicationRequestEndpoints extends $dara.Model {
|
|
|
149
266
|
description?: string;
|
|
150
267
|
/**
|
|
151
268
|
* @remarks
|
|
152
|
-
* The type of the
|
|
269
|
+
* The type of the service endpoint. The value is fixed as Primary.
|
|
153
270
|
*
|
|
154
271
|
* @example
|
|
155
272
|
* Primary
|
|
@@ -181,7 +298,7 @@ export class CreateApplicationRequestEndpoints extends $dara.Model {
|
|
|
181
298
|
export class CreateApplicationRequestKnowledgeApplicationSpec extends $dara.Model {
|
|
182
299
|
/**
|
|
183
300
|
* @remarks
|
|
184
|
-
* The password
|
|
301
|
+
* The dashboard password.
|
|
185
302
|
*/
|
|
186
303
|
dashboardPassword?: string;
|
|
187
304
|
/**
|
|
@@ -191,7 +308,7 @@ export class CreateApplicationRequestKnowledgeApplicationSpec extends $dara.Mode
|
|
|
191
308
|
dbPassword?: string;
|
|
192
309
|
/**
|
|
193
310
|
* @remarks
|
|
194
|
-
*
|
|
311
|
+
* Required for knowledge applications. The LLM model name, such as qwen3-max.
|
|
195
312
|
*/
|
|
196
313
|
llmModel?: string;
|
|
197
314
|
static names(): { [key: string]: string } {
|
|
@@ -222,7 +339,7 @@ export class CreateApplicationRequestKnowledgeApplicationSpec extends $dara.Mode
|
|
|
222
339
|
export class CreateApplicationRequestMemApplicationSpec extends $dara.Model {
|
|
223
340
|
/**
|
|
224
341
|
* @remarks
|
|
225
|
-
* The name
|
|
342
|
+
* The database name.
|
|
226
343
|
*
|
|
227
344
|
* @example
|
|
228
345
|
* test-database-name
|
|
@@ -246,7 +363,7 @@ export class CreateApplicationRequestMemApplicationSpec extends $dara.Model {
|
|
|
246
363
|
dbUser?: string;
|
|
247
364
|
/**
|
|
248
365
|
* @remarks
|
|
249
|
-
*
|
|
366
|
+
* Required for mem0 applications. The embedder model name, such as text-embedding-v4.
|
|
250
367
|
*
|
|
251
368
|
* @example
|
|
252
369
|
* text-embedding-v4
|
|
@@ -262,7 +379,7 @@ export class CreateApplicationRequestMemApplicationSpec extends $dara.Model {
|
|
|
262
379
|
embedderModelDimension?: number;
|
|
263
380
|
/**
|
|
264
381
|
* @remarks
|
|
265
|
-
* The graph LLM.
|
|
382
|
+
* The graph LLM model.
|
|
266
383
|
*
|
|
267
384
|
* @example
|
|
268
385
|
* qwen-plus
|
|
@@ -270,7 +387,7 @@ export class CreateApplicationRequestMemApplicationSpec extends $dara.Model {
|
|
|
270
387
|
graphLlmModel?: string;
|
|
271
388
|
/**
|
|
272
389
|
* @remarks
|
|
273
|
-
*
|
|
390
|
+
* Required for mem0 applications. The LLM model name, such as qwen3-max.
|
|
274
391
|
*
|
|
275
392
|
* @example
|
|
276
393
|
* qwen3-max
|
|
@@ -278,7 +395,7 @@ export class CreateApplicationRequestMemApplicationSpec extends $dara.Model {
|
|
|
278
395
|
llmModel?: string;
|
|
279
396
|
/**
|
|
280
397
|
* @remarks
|
|
281
|
-
* The project name
|
|
398
|
+
* The project name, which corresponds to the database schema that stores project data.
|
|
282
399
|
*
|
|
283
400
|
* @example
|
|
284
401
|
* test-project-name
|
|
@@ -286,7 +403,7 @@ export class CreateApplicationRequestMemApplicationSpec extends $dara.Model {
|
|
|
286
403
|
projectName?: string;
|
|
287
404
|
/**
|
|
288
405
|
* @remarks
|
|
289
|
-
*
|
|
406
|
+
* Required for mem0 applications. The reranker model name, such as qwen3-rerank.
|
|
290
407
|
*
|
|
291
408
|
* @example
|
|
292
409
|
* qwen3-rerank
|
|
@@ -294,7 +411,7 @@ export class CreateApplicationRequestMemApplicationSpec extends $dara.Model {
|
|
|
294
411
|
rerankerModel?: string;
|
|
295
412
|
/**
|
|
296
413
|
* @remarks
|
|
297
|
-
* The number of
|
|
414
|
+
* The number of table shards.
|
|
298
415
|
*
|
|
299
416
|
* @example
|
|
300
417
|
* 1
|
|
@@ -342,7 +459,7 @@ export class CreateApplicationRequestMemApplicationSpec extends $dara.Model {
|
|
|
342
459
|
export class CreateApplicationRequestParameters extends $dara.Model {
|
|
343
460
|
/**
|
|
344
461
|
* @remarks
|
|
345
|
-
* The name
|
|
462
|
+
* The parameter name.
|
|
346
463
|
*
|
|
347
464
|
* @example
|
|
348
465
|
* secret.gateway.auth.token
|
|
@@ -350,7 +467,7 @@ export class CreateApplicationRequestParameters extends $dara.Model {
|
|
|
350
467
|
parameterName?: string;
|
|
351
468
|
/**
|
|
352
469
|
* @remarks
|
|
353
|
-
* The value
|
|
470
|
+
* The parameter value.
|
|
354
471
|
*
|
|
355
472
|
* @example
|
|
356
473
|
* TK***
|
|
@@ -379,10 +496,110 @@ export class CreateApplicationRequestParameters extends $dara.Model {
|
|
|
379
496
|
}
|
|
380
497
|
}
|
|
381
498
|
|
|
499
|
+
export class CreateApplicationRequestStorages extends $dara.Model {
|
|
500
|
+
/**
|
|
501
|
+
* @remarks
|
|
502
|
+
* The mount path inside the container.
|
|
503
|
+
*
|
|
504
|
+
* @example
|
|
505
|
+
* /data/container
|
|
506
|
+
*/
|
|
507
|
+
containerMountPath?: string;
|
|
508
|
+
/**
|
|
509
|
+
* @remarks
|
|
510
|
+
* The storage endpoint ID.
|
|
511
|
+
*
|
|
512
|
+
* @example
|
|
513
|
+
* pe-xxxx
|
|
514
|
+
*/
|
|
515
|
+
endpointId?: string;
|
|
516
|
+
/**
|
|
517
|
+
* @remarks
|
|
518
|
+
* The storage mount path.
|
|
519
|
+
*
|
|
520
|
+
* @example
|
|
521
|
+
* /data/source
|
|
522
|
+
*/
|
|
523
|
+
mountPath?: string;
|
|
524
|
+
/**
|
|
525
|
+
* @remarks
|
|
526
|
+
* The storage capacity.
|
|
527
|
+
*
|
|
528
|
+
* @example
|
|
529
|
+
* 100
|
|
530
|
+
*/
|
|
531
|
+
storageCapacity?: string;
|
|
532
|
+
/**
|
|
533
|
+
* @remarks
|
|
534
|
+
* The storage access endpoint.
|
|
535
|
+
*
|
|
536
|
+
* @example
|
|
537
|
+
* polarfs.example.com
|
|
538
|
+
*/
|
|
539
|
+
storageEndpoint?: string;
|
|
540
|
+
/**
|
|
541
|
+
* @remarks
|
|
542
|
+
* The storage instance ID.
|
|
543
|
+
*
|
|
544
|
+
* @example
|
|
545
|
+
* pfs-xxxx
|
|
546
|
+
*/
|
|
547
|
+
storageInstanceId?: string;
|
|
548
|
+
/**
|
|
549
|
+
* @remarks
|
|
550
|
+
* The storage performance level.
|
|
551
|
+
*
|
|
552
|
+
* @example
|
|
553
|
+
* PL1
|
|
554
|
+
*/
|
|
555
|
+
storagePerformanceLevel?: string;
|
|
556
|
+
/**
|
|
557
|
+
* @remarks
|
|
558
|
+
* The storage type.
|
|
559
|
+
*
|
|
560
|
+
* @example
|
|
561
|
+
* oss
|
|
562
|
+
*/
|
|
563
|
+
storageType?: string;
|
|
564
|
+
static names(): { [key: string]: string } {
|
|
565
|
+
return {
|
|
566
|
+
containerMountPath: 'ContainerMountPath',
|
|
567
|
+
endpointId: 'EndpointId',
|
|
568
|
+
mountPath: 'MountPath',
|
|
569
|
+
storageCapacity: 'StorageCapacity',
|
|
570
|
+
storageEndpoint: 'StorageEndpoint',
|
|
571
|
+
storageInstanceId: 'StorageInstanceId',
|
|
572
|
+
storagePerformanceLevel: 'StoragePerformanceLevel',
|
|
573
|
+
storageType: 'StorageType',
|
|
574
|
+
};
|
|
575
|
+
}
|
|
576
|
+
|
|
577
|
+
static types(): { [key: string]: any } {
|
|
578
|
+
return {
|
|
579
|
+
containerMountPath: 'string',
|
|
580
|
+
endpointId: 'string',
|
|
581
|
+
mountPath: 'string',
|
|
582
|
+
storageCapacity: 'string',
|
|
583
|
+
storageEndpoint: 'string',
|
|
584
|
+
storageInstanceId: 'string',
|
|
585
|
+
storagePerformanceLevel: 'string',
|
|
586
|
+
storageType: 'string',
|
|
587
|
+
};
|
|
588
|
+
}
|
|
589
|
+
|
|
590
|
+
validate() {
|
|
591
|
+
super.validate();
|
|
592
|
+
}
|
|
593
|
+
|
|
594
|
+
constructor(map?: { [key: string]: any }) {
|
|
595
|
+
super(map);
|
|
596
|
+
}
|
|
597
|
+
}
|
|
598
|
+
|
|
382
599
|
export class CreateApplicationRequestTag extends $dara.Model {
|
|
383
600
|
/**
|
|
384
601
|
* @remarks
|
|
385
|
-
* The key
|
|
602
|
+
* The tag key.
|
|
386
603
|
*
|
|
387
604
|
* @example
|
|
388
605
|
* testKey
|
|
@@ -390,7 +607,7 @@ export class CreateApplicationRequestTag extends $dara.Model {
|
|
|
390
607
|
key?: string;
|
|
391
608
|
/**
|
|
392
609
|
* @remarks
|
|
393
|
-
* The value
|
|
610
|
+
* The tag value.
|
|
394
611
|
*
|
|
395
612
|
* @example
|
|
396
613
|
* testValue
|
|
@@ -422,7 +639,7 @@ export class CreateApplicationRequestTag extends $dara.Model {
|
|
|
422
639
|
export class CreateApplicationRequest extends $dara.Model {
|
|
423
640
|
/**
|
|
424
641
|
* @remarks
|
|
425
|
-
* The ID of an existing model operator instance to associate. This parameter
|
|
642
|
+
* The ID of an existing model operator instance to associate. This parameter takes effect only when ApplicationType is set to polarclaw.
|
|
426
643
|
*
|
|
427
644
|
* @example
|
|
428
645
|
* pm-xxxxxx
|
|
@@ -430,13 +647,19 @@ export class CreateApplicationRequest extends $dara.Model {
|
|
|
430
647
|
AIDBClusterId?: string;
|
|
431
648
|
/**
|
|
432
649
|
* @remarks
|
|
433
|
-
* The
|
|
434
|
-
*
|
|
435
|
-
* - supabase: Creates a managed Supabase application.
|
|
650
|
+
* The AgenticDB branch specification.
|
|
436
651
|
*
|
|
437
|
-
*
|
|
652
|
+
* @example
|
|
653
|
+
* {"DBClusterId":"pagc-2zea920mcvd5o87","TenantId":"t-cfc2d7df0e59439681f0087f51","ProjectId":"proj-d7849d0050664c758af795d468","BranchId":"br-9054b3b7649e4c0d977bd0df37","ForkFromBranch":true,"ForkFromApplicationId":"pa-source"}
|
|
654
|
+
*/
|
|
655
|
+
agenticDBBranchSpec?: CreateApplicationRequestAgenticDBBranchSpec;
|
|
656
|
+
/**
|
|
657
|
+
* @remarks
|
|
658
|
+
* The application type. Valid values:
|
|
438
659
|
*
|
|
439
|
-
* -
|
|
660
|
+
* - supabase: Set this value to create a managed Supabase application.
|
|
661
|
+
* - raycluster: Set this value to create a managed Ray Cluster application.
|
|
662
|
+
* - polarclaw: Set this value to create a managed PolarClaw application.
|
|
440
663
|
*
|
|
441
664
|
* This parameter is required.
|
|
442
665
|
*
|
|
@@ -446,7 +669,7 @@ export class CreateApplicationRequest extends $dara.Model {
|
|
|
446
669
|
applicationType?: string;
|
|
447
670
|
/**
|
|
448
671
|
* @remarks
|
|
449
|
-
* The CPU architecture. Valid
|
|
672
|
+
* The CPU architecture. Valid values:
|
|
450
673
|
*
|
|
451
674
|
* - x86
|
|
452
675
|
*
|
|
@@ -466,7 +689,7 @@ export class CreateApplicationRequest extends $dara.Model {
|
|
|
466
689
|
authProvider?: string;
|
|
467
690
|
/**
|
|
468
691
|
* @remarks
|
|
469
|
-
* The
|
|
692
|
+
* The authentication provider configuration.
|
|
470
693
|
*
|
|
471
694
|
* @example
|
|
472
695
|
* xxx
|
|
@@ -474,7 +697,7 @@ export class CreateApplicationRequest extends $dara.Model {
|
|
|
474
697
|
authProviderConfig?: string;
|
|
475
698
|
/**
|
|
476
699
|
* @remarks
|
|
477
|
-
* Specifies whether to
|
|
700
|
+
* 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.
|
|
478
701
|
*
|
|
479
702
|
* @example
|
|
480
703
|
* qwen3-max
|
|
@@ -482,11 +705,9 @@ export class CreateApplicationRequest extends $dara.Model {
|
|
|
482
705
|
autoAllocatePublicEip?: boolean;
|
|
483
706
|
/**
|
|
484
707
|
* @remarks
|
|
485
|
-
* Specifies whether to
|
|
486
|
-
*
|
|
487
|
-
*
|
|
488
|
-
*
|
|
489
|
-
* - true: Automatically creates the instance.
|
|
708
|
+
* Specifies whether to enable automatic creation of a cold storage Polarlakebase instance. Valid values:
|
|
709
|
+
* * false (default): Automatic creation is disabled.
|
|
710
|
+
* * true: Automatic creation is enabled.
|
|
490
711
|
*
|
|
491
712
|
* @example
|
|
492
713
|
* false
|
|
@@ -502,11 +723,9 @@ export class CreateApplicationRequest extends $dara.Model {
|
|
|
502
723
|
autoRenew?: boolean;
|
|
503
724
|
/**
|
|
504
725
|
* @remarks
|
|
505
|
-
* Specifies whether to automatically use
|
|
506
|
-
*
|
|
507
|
-
*
|
|
508
|
-
*
|
|
509
|
-
* - false: Does not use a coupon.
|
|
726
|
+
* Specifies whether to automatically use coupons. Valid values:
|
|
727
|
+
* * true (default): Use coupons.
|
|
728
|
+
* * false: Do not use coupons.
|
|
510
729
|
*
|
|
511
730
|
* @example
|
|
512
731
|
* true
|
|
@@ -514,12 +733,12 @@ export class CreateApplicationRequest extends $dara.Model {
|
|
|
514
733
|
autoUseCoupon?: boolean;
|
|
515
734
|
/**
|
|
516
735
|
* @remarks
|
|
517
|
-
*
|
|
736
|
+
* The list of user-defined application subcomponents.
|
|
518
737
|
*/
|
|
519
738
|
components?: CreateApplicationRequestComponents[];
|
|
520
739
|
/**
|
|
521
740
|
* @remarks
|
|
522
|
-
* The ID of the PolarDB instance
|
|
741
|
+
* The instance ID of the PolarDB instance on which the application depends.
|
|
523
742
|
*
|
|
524
743
|
* @example
|
|
525
744
|
* pc-**************
|
|
@@ -535,7 +754,20 @@ export class CreateApplicationRequest extends $dara.Model {
|
|
|
535
754
|
description?: string;
|
|
536
755
|
/**
|
|
537
756
|
* @remarks
|
|
538
|
-
* The
|
|
757
|
+
* 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.
|
|
758
|
+
*/
|
|
759
|
+
dnatEntries?: CreateApplicationRequestDnatEntries[];
|
|
760
|
+
/**
|
|
761
|
+
* @remarks
|
|
762
|
+
* 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.
|
|
763
|
+
*
|
|
764
|
+
* @example
|
|
765
|
+
* 10.64.0.10
|
|
766
|
+
*/
|
|
767
|
+
dnatIpAddress?: string;
|
|
768
|
+
/**
|
|
769
|
+
* @remarks
|
|
770
|
+
* Default value: `false`. If you set this parameter to `true`, only parameter and resource validation is performed without actually creating the resource.
|
|
539
771
|
*
|
|
540
772
|
* @example
|
|
541
773
|
* false
|
|
@@ -543,22 +775,22 @@ export class CreateApplicationRequest extends $dara.Model {
|
|
|
543
775
|
dryRun?: boolean;
|
|
544
776
|
/**
|
|
545
777
|
* @remarks
|
|
546
|
-
*
|
|
778
|
+
* The list of user-defined service endpoints. By default, a VPC endpoint is created.
|
|
547
779
|
*/
|
|
548
780
|
endpoints?: CreateApplicationRequestEndpoints[];
|
|
549
781
|
/**
|
|
550
782
|
* @remarks
|
|
551
|
-
*
|
|
783
|
+
* Required for knowledge applications.
|
|
552
784
|
*/
|
|
553
785
|
knowledgeApplicationSpec?: CreateApplicationRequestKnowledgeApplicationSpec;
|
|
554
786
|
/**
|
|
555
787
|
* @remarks
|
|
556
|
-
*
|
|
788
|
+
* Required for mem0 applications.
|
|
557
789
|
*/
|
|
558
790
|
memApplicationSpec?: CreateApplicationRequestMemApplicationSpec;
|
|
559
791
|
/**
|
|
560
792
|
* @remarks
|
|
561
|
-
* The model API. This parameter
|
|
793
|
+
* The model API. This parameter takes effect only when ApplicationType is set to polarclaw.
|
|
562
794
|
*
|
|
563
795
|
* @example
|
|
564
796
|
* openai-completions
|
|
@@ -566,7 +798,7 @@ export class CreateApplicationRequest extends $dara.Model {
|
|
|
566
798
|
modelApi?: string;
|
|
567
799
|
/**
|
|
568
800
|
* @remarks
|
|
569
|
-
* The API key
|
|
801
|
+
* The model API key. This parameter takes effect only when ApplicationType is set to polarclaw.
|
|
570
802
|
*
|
|
571
803
|
* @example
|
|
572
804
|
* sk-xxxxxx
|
|
@@ -574,7 +806,7 @@ export class CreateApplicationRequest extends $dara.Model {
|
|
|
574
806
|
modelApiKey?: string;
|
|
575
807
|
/**
|
|
576
808
|
* @remarks
|
|
577
|
-
* The
|
|
809
|
+
* The model base URL. This parameter takes effect only when ApplicationType is set to polarclaw.
|
|
578
810
|
*
|
|
579
811
|
* @example
|
|
580
812
|
* https://dashscope.aliyuncs.com/compatible-mode/v1
|
|
@@ -582,13 +814,11 @@ export class CreateApplicationRequest extends $dara.Model {
|
|
|
582
814
|
modelBaseUrl?: string;
|
|
583
815
|
/**
|
|
584
816
|
* @remarks
|
|
585
|
-
* The source
|
|
586
|
-
*
|
|
587
|
-
* - bailian: Alibaba Cloud Model Studio model.
|
|
817
|
+
* The model source. Valid values:
|
|
588
818
|
*
|
|
589
|
-
*
|
|
590
|
-
*
|
|
591
|
-
*
|
|
819
|
+
* * bailian: Alibaba Cloud Model Studio model.
|
|
820
|
+
* * custom: Custom model.
|
|
821
|
+
* * maas: PolarDB model operator.
|
|
592
822
|
*
|
|
593
823
|
* @example
|
|
594
824
|
* bailian
|
|
@@ -596,7 +826,7 @@ export class CreateApplicationRequest extends $dara.Model {
|
|
|
596
826
|
modelFrom?: string;
|
|
597
827
|
/**
|
|
598
828
|
* @remarks
|
|
599
|
-
* The name
|
|
829
|
+
* The model name. This parameter takes effect only when ApplicationType is set to polarclaw.
|
|
600
830
|
*
|
|
601
831
|
* @example
|
|
602
832
|
* qwen3-max
|
|
@@ -604,12 +834,12 @@ export class CreateApplicationRequest extends $dara.Model {
|
|
|
604
834
|
modelName?: string;
|
|
605
835
|
/**
|
|
606
836
|
* @remarks
|
|
607
|
-
*
|
|
837
|
+
* The list of parameters.
|
|
608
838
|
*/
|
|
609
839
|
parameters?: CreateApplicationRequestParameters[];
|
|
610
840
|
/**
|
|
611
841
|
* @remarks
|
|
612
|
-
* The billing
|
|
842
|
+
* The billing type.
|
|
613
843
|
*
|
|
614
844
|
* @example
|
|
615
845
|
* Postpaid
|
|
@@ -617,7 +847,7 @@ export class CreateApplicationRequest extends $dara.Model {
|
|
|
617
847
|
payType?: string;
|
|
618
848
|
/**
|
|
619
849
|
* @remarks
|
|
620
|
-
* The subscription
|
|
850
|
+
* The subscription type (yearly or monthly).
|
|
621
851
|
*
|
|
622
852
|
* @example
|
|
623
853
|
* Year
|
|
@@ -625,12 +855,10 @@ export class CreateApplicationRequest extends $dara.Model {
|
|
|
625
855
|
period?: string;
|
|
626
856
|
/**
|
|
627
857
|
* @remarks
|
|
628
|
-
* The ID of the
|
|
629
|
-
*
|
|
630
|
-
* This feature is currently supported only by the following applications:
|
|
858
|
+
* 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.
|
|
631
859
|
*
|
|
860
|
+
* Currently, only the following applications support this parameter:
|
|
632
861
|
* - supabase
|
|
633
|
-
*
|
|
634
862
|
* - raycluster
|
|
635
863
|
*
|
|
636
864
|
* @example
|
|
@@ -647,7 +875,7 @@ export class CreateApplicationRequest extends $dara.Model {
|
|
|
647
875
|
promotionCode?: string;
|
|
648
876
|
/**
|
|
649
877
|
* @remarks
|
|
650
|
-
* The region.
|
|
878
|
+
* The region. Default value: the region of the instance.
|
|
651
879
|
*
|
|
652
880
|
* @example
|
|
653
881
|
* cn-beijing
|
|
@@ -655,7 +883,7 @@ export class CreateApplicationRequest extends $dara.Model {
|
|
|
655
883
|
regionId?: string;
|
|
656
884
|
/**
|
|
657
885
|
* @remarks
|
|
658
|
-
* The
|
|
886
|
+
* The resource group ID.
|
|
659
887
|
*
|
|
660
888
|
* @example
|
|
661
889
|
* rg-********************
|
|
@@ -663,7 +891,7 @@ export class CreateApplicationRequest extends $dara.Model {
|
|
|
663
891
|
resourceGroupId?: string;
|
|
664
892
|
/**
|
|
665
893
|
* @remarks
|
|
666
|
-
* The
|
|
894
|
+
* The security group ID.
|
|
667
895
|
*
|
|
668
896
|
* @example
|
|
669
897
|
* sg-********************
|
|
@@ -671,7 +899,7 @@ export class CreateApplicationRequest extends $dara.Model {
|
|
|
671
899
|
securityGroupId?: string;
|
|
672
900
|
/**
|
|
673
901
|
* @remarks
|
|
674
|
-
* The name of the IP
|
|
902
|
+
* The name of the IP whitelist group. Default value: `default`.
|
|
675
903
|
*
|
|
676
904
|
* @example
|
|
677
905
|
* default
|
|
@@ -679,7 +907,7 @@ export class CreateApplicationRequest extends $dara.Model {
|
|
|
679
907
|
securityIPArrayName?: string;
|
|
680
908
|
/**
|
|
681
909
|
* @remarks
|
|
682
|
-
* The IP
|
|
910
|
+
* The IP whitelist. If you do not specify this parameter, the default value is `127.0.0.1`.
|
|
683
911
|
*
|
|
684
912
|
* @example
|
|
685
913
|
* 127.0.0.1,172.17.0.0/24
|
|
@@ -695,7 +923,7 @@ export class CreateApplicationRequest extends $dara.Model {
|
|
|
695
923
|
securityIPType?: string;
|
|
696
924
|
/**
|
|
697
925
|
* @remarks
|
|
698
|
-
* The
|
|
926
|
+
* The skill template ID.
|
|
699
927
|
*
|
|
700
928
|
* @example
|
|
701
929
|
* xxx
|
|
@@ -703,7 +931,15 @@ export class CreateApplicationRequest extends $dara.Model {
|
|
|
703
931
|
skillTemplateId?: string;
|
|
704
932
|
/**
|
|
705
933
|
* @remarks
|
|
706
|
-
* The
|
|
934
|
+
* The list of application storages.
|
|
935
|
+
*
|
|
936
|
+
* @example
|
|
937
|
+
* [{"StorageType":"oss","StorageInstanceId":"pfs-xxxx","EndpointId":"pe-xxxx"}]
|
|
938
|
+
*/
|
|
939
|
+
storages?: CreateApplicationRequestStorages[];
|
|
940
|
+
/**
|
|
941
|
+
* @remarks
|
|
942
|
+
* The tags.
|
|
707
943
|
*/
|
|
708
944
|
tag?: CreateApplicationRequestTag[];
|
|
709
945
|
/**
|
|
@@ -724,7 +960,7 @@ export class CreateApplicationRequest extends $dara.Model {
|
|
|
724
960
|
usedTime?: string;
|
|
725
961
|
/**
|
|
726
962
|
* @remarks
|
|
727
|
-
* The vSwitch.
|
|
963
|
+
* The vSwitch. Default value: the vSwitch in the primary zone of the instance.
|
|
728
964
|
*
|
|
729
965
|
* @example
|
|
730
966
|
* vsw-*********************
|
|
@@ -732,7 +968,7 @@ export class CreateApplicationRequest extends $dara.Model {
|
|
|
732
968
|
vSwitchId?: string;
|
|
733
969
|
/**
|
|
734
970
|
* @remarks
|
|
735
|
-
* The ID
|
|
971
|
+
* The VPC ID.
|
|
736
972
|
*
|
|
737
973
|
* @example
|
|
738
974
|
* vpc-********************
|
|
@@ -740,7 +976,15 @@ export class CreateApplicationRequest extends $dara.Model {
|
|
|
740
976
|
vpcId?: string;
|
|
741
977
|
/**
|
|
742
978
|
* @remarks
|
|
743
|
-
* The
|
|
979
|
+
* 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.
|
|
980
|
+
*
|
|
981
|
+
* @example
|
|
982
|
+
* ngw-xxx
|
|
983
|
+
*/
|
|
984
|
+
vpcNatGatewayId?: string;
|
|
985
|
+
/**
|
|
986
|
+
* @remarks
|
|
987
|
+
* The zone. Default value: the primary zone of the instance.
|
|
744
988
|
*
|
|
745
989
|
* @example
|
|
746
990
|
* cn-beijing-k
|
|
@@ -749,6 +993,7 @@ export class CreateApplicationRequest extends $dara.Model {
|
|
|
749
993
|
static names(): { [key: string]: string } {
|
|
750
994
|
return {
|
|
751
995
|
AIDBClusterId: 'AIDBClusterId',
|
|
996
|
+
agenticDBBranchSpec: 'AgenticDBBranchSpec',
|
|
752
997
|
applicationType: 'ApplicationType',
|
|
753
998
|
architecture: 'Architecture',
|
|
754
999
|
authProvider: 'AuthProvider',
|
|
@@ -760,6 +1005,8 @@ export class CreateApplicationRequest extends $dara.Model {
|
|
|
760
1005
|
components: 'Components',
|
|
761
1006
|
DBClusterId: 'DBClusterId',
|
|
762
1007
|
description: 'Description',
|
|
1008
|
+
dnatEntries: 'DnatEntries',
|
|
1009
|
+
dnatIpAddress: 'DnatIpAddress',
|
|
763
1010
|
dryRun: 'DryRun',
|
|
764
1011
|
endpoints: 'Endpoints',
|
|
765
1012
|
knowledgeApplicationSpec: 'KnowledgeApplicationSpec',
|
|
@@ -781,11 +1028,13 @@ export class CreateApplicationRequest extends $dara.Model {
|
|
|
781
1028
|
securityIPList: 'SecurityIPList',
|
|
782
1029
|
securityIPType: 'SecurityIPType',
|
|
783
1030
|
skillTemplateId: 'SkillTemplateId',
|
|
1031
|
+
storages: 'Storages',
|
|
784
1032
|
tag: 'Tag',
|
|
785
1033
|
targetVersion: 'TargetVersion',
|
|
786
1034
|
usedTime: 'UsedTime',
|
|
787
1035
|
vSwitchId: 'VSwitchId',
|
|
788
1036
|
vpcId: 'VpcId',
|
|
1037
|
+
vpcNatGatewayId: 'VpcNatGatewayId',
|
|
789
1038
|
zoneId: 'ZoneId',
|
|
790
1039
|
};
|
|
791
1040
|
}
|
|
@@ -793,6 +1042,7 @@ export class CreateApplicationRequest extends $dara.Model {
|
|
|
793
1042
|
static types(): { [key: string]: any } {
|
|
794
1043
|
return {
|
|
795
1044
|
AIDBClusterId: 'string',
|
|
1045
|
+
agenticDBBranchSpec: CreateApplicationRequestAgenticDBBranchSpec,
|
|
796
1046
|
applicationType: 'string',
|
|
797
1047
|
architecture: 'string',
|
|
798
1048
|
authProvider: 'string',
|
|
@@ -804,6 +1054,8 @@ export class CreateApplicationRequest extends $dara.Model {
|
|
|
804
1054
|
components: { 'type': 'array', 'itemType': CreateApplicationRequestComponents },
|
|
805
1055
|
DBClusterId: 'string',
|
|
806
1056
|
description: 'string',
|
|
1057
|
+
dnatEntries: { 'type': 'array', 'itemType': CreateApplicationRequestDnatEntries },
|
|
1058
|
+
dnatIpAddress: 'string',
|
|
807
1059
|
dryRun: 'boolean',
|
|
808
1060
|
endpoints: { 'type': 'array', 'itemType': CreateApplicationRequestEndpoints },
|
|
809
1061
|
knowledgeApplicationSpec: CreateApplicationRequestKnowledgeApplicationSpec,
|
|
@@ -825,19 +1077,27 @@ export class CreateApplicationRequest extends $dara.Model {
|
|
|
825
1077
|
securityIPList: 'string',
|
|
826
1078
|
securityIPType: 'string',
|
|
827
1079
|
skillTemplateId: 'string',
|
|
1080
|
+
storages: { 'type': 'array', 'itemType': CreateApplicationRequestStorages },
|
|
828
1081
|
tag: { 'type': 'array', 'itemType': CreateApplicationRequestTag },
|
|
829
1082
|
targetVersion: 'string',
|
|
830
1083
|
usedTime: 'string',
|
|
831
1084
|
vSwitchId: 'string',
|
|
832
1085
|
vpcId: 'string',
|
|
1086
|
+
vpcNatGatewayId: 'string',
|
|
833
1087
|
zoneId: 'string',
|
|
834
1088
|
};
|
|
835
1089
|
}
|
|
836
1090
|
|
|
837
1091
|
validate() {
|
|
1092
|
+
if(this.agenticDBBranchSpec && typeof (this.agenticDBBranchSpec as any).validate === 'function') {
|
|
1093
|
+
(this.agenticDBBranchSpec as any).validate();
|
|
1094
|
+
}
|
|
838
1095
|
if(Array.isArray(this.components)) {
|
|
839
1096
|
$dara.Model.validateArray(this.components);
|
|
840
1097
|
}
|
|
1098
|
+
if(Array.isArray(this.dnatEntries)) {
|
|
1099
|
+
$dara.Model.validateArray(this.dnatEntries);
|
|
1100
|
+
}
|
|
841
1101
|
if(Array.isArray(this.endpoints)) {
|
|
842
1102
|
$dara.Model.validateArray(this.endpoints);
|
|
843
1103
|
}
|
|
@@ -850,6 +1110,9 @@ export class CreateApplicationRequest extends $dara.Model {
|
|
|
850
1110
|
if(Array.isArray(this.parameters)) {
|
|
851
1111
|
$dara.Model.validateArray(this.parameters);
|
|
852
1112
|
}
|
|
1113
|
+
if(Array.isArray(this.storages)) {
|
|
1114
|
+
$dara.Model.validateArray(this.storages);
|
|
1115
|
+
}
|
|
853
1116
|
if(Array.isArray(this.tag)) {
|
|
854
1117
|
$dara.Model.validateArray(this.tag);
|
|
855
1118
|
}
|