@alicloud/polardb20170801 8.2.2 → 8.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +2 -2
- package/dist/client.js +14 -2
- package/dist/client.js.map +1 -1
- package/dist/models/CreateApplicationRequest.d.ts +119 -84
- package/dist/models/CreateApplicationRequest.js +31 -1
- package/dist/models/CreateApplicationRequest.js.map +1 -1
- package/dist/models/CreateApplicationResponseBody.d.ts +7 -7
- package/dist/models/CreateApplicationShrinkRequest.d.ts +65 -55
- package/dist/models/CreateApplicationShrinkRequest.js +6 -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 +2 -0
- package/dist/models/model.js +58 -54
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +18 -2
- package/src/models/CreateApplicationRequest.ts +140 -84
- package/src/models/CreateApplicationResponseBody.ts +7 -7
- package/src/models/CreateApplicationShrinkRequest.ts +71 -55
- package/src/models/DescribeApplicationAttributeResponseBody.ts +124 -14
- package/src/models/model.ts +2 -0
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class CreateApplicationRequestComponents extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The specifications of the
|
|
8
|
+
* The specifications of the application subcomponent.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* polar.app.g2.medium
|
|
@@ -13,9 +13,9 @@ export class CreateApplicationRequestComponents extends $dara.Model {
|
|
|
13
13
|
componentClass?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The maximum number of
|
|
16
|
+
* The maximum number of application subcomponents with the same specifications. Default value: the value of ComponentReplica.
|
|
17
17
|
*
|
|
18
|
-
* -
|
|
18
|
+
* - Only raycluster supports this parameter.
|
|
19
19
|
*
|
|
20
20
|
* @example
|
|
21
21
|
* 1
|
|
@@ -23,7 +23,7 @@ export class CreateApplicationRequestComponents extends $dara.Model {
|
|
|
23
23
|
componentMaxReplica?: number;
|
|
24
24
|
/**
|
|
25
25
|
* @remarks
|
|
26
|
-
* The number of replicas for the
|
|
26
|
+
* The number of replicas for the application subcomponent. Default value: 1.
|
|
27
27
|
*
|
|
28
28
|
* @example
|
|
29
29
|
* 1
|
|
@@ -31,20 +31,17 @@ export class CreateApplicationRequestComponents extends $dara.Model {
|
|
|
31
31
|
componentReplica?: number;
|
|
32
32
|
/**
|
|
33
33
|
* @remarks
|
|
34
|
-
* The type of the
|
|
34
|
+
* The type of the application subcomponent.
|
|
35
35
|
*
|
|
36
|
-
* For supabase, valid values
|
|
36
|
+
* For supabase, valid values:
|
|
37
37
|
*
|
|
38
38
|
* - gateway
|
|
39
|
-
*
|
|
40
39
|
* - backend
|
|
41
40
|
*
|
|
42
|
-
* For raycluster, valid values
|
|
41
|
+
* For raycluster, valid values:
|
|
43
42
|
*
|
|
44
43
|
* - head
|
|
45
|
-
*
|
|
46
44
|
* - worker
|
|
47
|
-
*
|
|
48
45
|
* - gpuworker
|
|
49
46
|
*
|
|
50
47
|
* @example
|
|
@@ -53,7 +50,7 @@ export class CreateApplicationRequestComponents extends $dara.Model {
|
|
|
53
50
|
componentType?: string;
|
|
54
51
|
/**
|
|
55
52
|
* @remarks
|
|
56
|
-
* The maximum number of
|
|
53
|
+
* The maximum number of replicas for component scaling.
|
|
57
54
|
*
|
|
58
55
|
* @example
|
|
59
56
|
* 16
|
|
@@ -61,7 +58,7 @@ export class CreateApplicationRequestComponents extends $dara.Model {
|
|
|
61
58
|
scaleMax?: string;
|
|
62
59
|
/**
|
|
63
60
|
* @remarks
|
|
64
|
-
* The minimum number of
|
|
61
|
+
* The minimum number of replicas for component scaling.
|
|
65
62
|
*
|
|
66
63
|
* @example
|
|
67
64
|
* 1
|
|
@@ -69,7 +66,7 @@ export class CreateApplicationRequestComponents extends $dara.Model {
|
|
|
69
66
|
scaleMin?: string;
|
|
70
67
|
/**
|
|
71
68
|
* @remarks
|
|
72
|
-
* The security groups for the
|
|
69
|
+
* The list of security groups for the application subcomponent. Separate multiple security groups with commas (,).
|
|
73
70
|
*
|
|
74
71
|
* @example
|
|
75
72
|
* sg-********************
|
|
@@ -77,7 +74,7 @@ export class CreateApplicationRequestComponents extends $dara.Model {
|
|
|
77
74
|
securityGroups?: string;
|
|
78
75
|
/**
|
|
79
76
|
* @remarks
|
|
80
|
-
* The name of the IP address
|
|
77
|
+
* The name of the whitelist IP address group for the application subcomponent. Default value: default.
|
|
81
78
|
*
|
|
82
79
|
* @example
|
|
83
80
|
* default
|
|
@@ -85,7 +82,7 @@ export class CreateApplicationRequestComponents extends $dara.Model {
|
|
|
85
82
|
securityIPArrayName?: string;
|
|
86
83
|
/**
|
|
87
84
|
* @remarks
|
|
88
|
-
* The IP
|
|
85
|
+
* The whitelist IP addresses of the application subcomponent. Separate multiple IP addresses with commas (,).
|
|
89
86
|
*
|
|
90
87
|
* @example
|
|
91
88
|
* 127.0.0.1
|
|
@@ -93,7 +90,7 @@ export class CreateApplicationRequestComponents extends $dara.Model {
|
|
|
93
90
|
securityIPList?: string;
|
|
94
91
|
/**
|
|
95
92
|
* @remarks
|
|
96
|
-
* The type of the IP
|
|
93
|
+
* The type of the whitelist IP addresses for the application subcomponent. Default value: ipv4.
|
|
97
94
|
*
|
|
98
95
|
* @example
|
|
99
96
|
* ipv4
|
|
@@ -138,10 +135,50 @@ export class CreateApplicationRequestComponents extends $dara.Model {
|
|
|
138
135
|
}
|
|
139
136
|
}
|
|
140
137
|
|
|
138
|
+
export class CreateApplicationRequestDnatEntries extends $dara.Model {
|
|
139
|
+
/**
|
|
140
|
+
* @remarks
|
|
141
|
+
* The frontend port. This parameter is optional. If not specified, the port is automatically assigned by the control plane to avoid conflicts with ports already in use on the gateway. You can query the assignment result by calling the DescribeApplicationAttribute operation.
|
|
142
|
+
*
|
|
143
|
+
* @example
|
|
144
|
+
* 10001
|
|
145
|
+
*/
|
|
146
|
+
frontPort?: number;
|
|
147
|
+
/**
|
|
148
|
+
* @remarks
|
|
149
|
+
* The port name. Valid values: webui, hermesagent, dashboard, and ssh.
|
|
150
|
+
*
|
|
151
|
+
* @example
|
|
152
|
+
* webui
|
|
153
|
+
*/
|
|
154
|
+
portName?: string;
|
|
155
|
+
static names(): { [key: string]: string } {
|
|
156
|
+
return {
|
|
157
|
+
frontPort: 'FrontPort',
|
|
158
|
+
portName: 'PortName',
|
|
159
|
+
};
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
static types(): { [key: string]: any } {
|
|
163
|
+
return {
|
|
164
|
+
frontPort: 'number',
|
|
165
|
+
portName: 'string',
|
|
166
|
+
};
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
validate() {
|
|
170
|
+
super.validate();
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
constructor(map?: { [key: string]: any }) {
|
|
174
|
+
super(map);
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
|
|
141
178
|
export class CreateApplicationRequestEndpoints extends $dara.Model {
|
|
142
179
|
/**
|
|
143
180
|
* @remarks
|
|
144
|
-
* The description of the
|
|
181
|
+
* The description of the service endpoint.
|
|
145
182
|
*
|
|
146
183
|
* @example
|
|
147
184
|
* my_endpoint
|
|
@@ -149,7 +186,7 @@ export class CreateApplicationRequestEndpoints extends $dara.Model {
|
|
|
149
186
|
description?: string;
|
|
150
187
|
/**
|
|
151
188
|
* @remarks
|
|
152
|
-
* The type of the
|
|
189
|
+
* The type of the service endpoint. The value is fixed as Primary.
|
|
153
190
|
*
|
|
154
191
|
* @example
|
|
155
192
|
* Primary
|
|
@@ -181,7 +218,7 @@ export class CreateApplicationRequestEndpoints extends $dara.Model {
|
|
|
181
218
|
export class CreateApplicationRequestKnowledgeApplicationSpec extends $dara.Model {
|
|
182
219
|
/**
|
|
183
220
|
* @remarks
|
|
184
|
-
* The password
|
|
221
|
+
* The dashboard password.
|
|
185
222
|
*/
|
|
186
223
|
dashboardPassword?: string;
|
|
187
224
|
/**
|
|
@@ -191,7 +228,7 @@ export class CreateApplicationRequestKnowledgeApplicationSpec extends $dara.Mode
|
|
|
191
228
|
dbPassword?: string;
|
|
192
229
|
/**
|
|
193
230
|
* @remarks
|
|
194
|
-
*
|
|
231
|
+
* Required for knowledge applications. The name of the LLM model, such as qwen3-max.
|
|
195
232
|
*/
|
|
196
233
|
llmModel?: string;
|
|
197
234
|
static names(): { [key: string]: string } {
|
|
@@ -222,7 +259,7 @@ export class CreateApplicationRequestKnowledgeApplicationSpec extends $dara.Mode
|
|
|
222
259
|
export class CreateApplicationRequestMemApplicationSpec extends $dara.Model {
|
|
223
260
|
/**
|
|
224
261
|
* @remarks
|
|
225
|
-
* The name
|
|
262
|
+
* The database name.
|
|
226
263
|
*
|
|
227
264
|
* @example
|
|
228
265
|
* test-database-name
|
|
@@ -246,7 +283,7 @@ export class CreateApplicationRequestMemApplicationSpec extends $dara.Model {
|
|
|
246
283
|
dbUser?: string;
|
|
247
284
|
/**
|
|
248
285
|
* @remarks
|
|
249
|
-
*
|
|
286
|
+
* Required for mem0 applications. The name of the embedder model, such as text-embedding-v4.
|
|
250
287
|
*
|
|
251
288
|
* @example
|
|
252
289
|
* text-embedding-v4
|
|
@@ -262,7 +299,7 @@ export class CreateApplicationRequestMemApplicationSpec extends $dara.Model {
|
|
|
262
299
|
embedderModelDimension?: number;
|
|
263
300
|
/**
|
|
264
301
|
* @remarks
|
|
265
|
-
* The graph LLM.
|
|
302
|
+
* The graph LLM model.
|
|
266
303
|
*
|
|
267
304
|
* @example
|
|
268
305
|
* qwen-plus
|
|
@@ -270,7 +307,7 @@ export class CreateApplicationRequestMemApplicationSpec extends $dara.Model {
|
|
|
270
307
|
graphLlmModel?: string;
|
|
271
308
|
/**
|
|
272
309
|
* @remarks
|
|
273
|
-
*
|
|
310
|
+
* Required for mem0 applications. The name of the LLM model, such as qwen3-max.
|
|
274
311
|
*
|
|
275
312
|
* @example
|
|
276
313
|
* qwen3-max
|
|
@@ -278,7 +315,7 @@ export class CreateApplicationRequestMemApplicationSpec extends $dara.Model {
|
|
|
278
315
|
llmModel?: string;
|
|
279
316
|
/**
|
|
280
317
|
* @remarks
|
|
281
|
-
* The project name
|
|
318
|
+
* The project name, which corresponds to the database schema that stores project data.
|
|
282
319
|
*
|
|
283
320
|
* @example
|
|
284
321
|
* test-project-name
|
|
@@ -286,7 +323,7 @@ export class CreateApplicationRequestMemApplicationSpec extends $dara.Model {
|
|
|
286
323
|
projectName?: string;
|
|
287
324
|
/**
|
|
288
325
|
* @remarks
|
|
289
|
-
*
|
|
326
|
+
* Required for mem0 applications. The name of the reranker model, such as qwen3-rerank.
|
|
290
327
|
*
|
|
291
328
|
* @example
|
|
292
329
|
* qwen3-rerank
|
|
@@ -294,7 +331,7 @@ export class CreateApplicationRequestMemApplicationSpec extends $dara.Model {
|
|
|
294
331
|
rerankerModel?: string;
|
|
295
332
|
/**
|
|
296
333
|
* @remarks
|
|
297
|
-
* The number of
|
|
334
|
+
* The number of table shards.
|
|
298
335
|
*
|
|
299
336
|
* @example
|
|
300
337
|
* 1
|
|
@@ -342,7 +379,7 @@ export class CreateApplicationRequestMemApplicationSpec extends $dara.Model {
|
|
|
342
379
|
export class CreateApplicationRequestParameters extends $dara.Model {
|
|
343
380
|
/**
|
|
344
381
|
* @remarks
|
|
345
|
-
* The name
|
|
382
|
+
* The parameter name.
|
|
346
383
|
*
|
|
347
384
|
* @example
|
|
348
385
|
* secret.gateway.auth.token
|
|
@@ -350,7 +387,7 @@ export class CreateApplicationRequestParameters extends $dara.Model {
|
|
|
350
387
|
parameterName?: string;
|
|
351
388
|
/**
|
|
352
389
|
* @remarks
|
|
353
|
-
* The value
|
|
390
|
+
* The parameter value.
|
|
354
391
|
*
|
|
355
392
|
* @example
|
|
356
393
|
* TK***
|
|
@@ -382,7 +419,7 @@ export class CreateApplicationRequestParameters extends $dara.Model {
|
|
|
382
419
|
export class CreateApplicationRequestTag extends $dara.Model {
|
|
383
420
|
/**
|
|
384
421
|
* @remarks
|
|
385
|
-
* The key
|
|
422
|
+
* The tag key.
|
|
386
423
|
*
|
|
387
424
|
* @example
|
|
388
425
|
* testKey
|
|
@@ -390,7 +427,7 @@ export class CreateApplicationRequestTag extends $dara.Model {
|
|
|
390
427
|
key?: string;
|
|
391
428
|
/**
|
|
392
429
|
* @remarks
|
|
393
|
-
* The value
|
|
430
|
+
* The tag value.
|
|
394
431
|
*
|
|
395
432
|
* @example
|
|
396
433
|
* testValue
|
|
@@ -422,7 +459,7 @@ export class CreateApplicationRequestTag extends $dara.Model {
|
|
|
422
459
|
export class CreateApplicationRequest extends $dara.Model {
|
|
423
460
|
/**
|
|
424
461
|
* @remarks
|
|
425
|
-
* The ID of an existing
|
|
462
|
+
* The ID of an existing template operator instance to associate. This parameter takes effect only when ApplicationType is set to polarclaw.
|
|
426
463
|
*
|
|
427
464
|
* @example
|
|
428
465
|
* pm-xxxxxx
|
|
@@ -430,13 +467,11 @@ export class CreateApplicationRequest extends $dara.Model {
|
|
|
430
467
|
AIDBClusterId?: string;
|
|
431
468
|
/**
|
|
432
469
|
* @remarks
|
|
433
|
-
* The type
|
|
434
|
-
*
|
|
435
|
-
* - supabase: Creates a managed Supabase application.
|
|
470
|
+
* The application type. Valid values:
|
|
436
471
|
*
|
|
437
|
-
* -
|
|
438
|
-
*
|
|
439
|
-
* - polarclaw:
|
|
472
|
+
* - supabase: Set this value to create a managed Supabase application.
|
|
473
|
+
* - raycluster: Set this value to create a managed Ray Cluster application.
|
|
474
|
+
* - polarclaw: Set this value to create a managed PolarClaw application.
|
|
440
475
|
*
|
|
441
476
|
* This parameter is required.
|
|
442
477
|
*
|
|
@@ -446,7 +481,7 @@ export class CreateApplicationRequest extends $dara.Model {
|
|
|
446
481
|
applicationType?: string;
|
|
447
482
|
/**
|
|
448
483
|
* @remarks
|
|
449
|
-
* The CPU architecture. Valid
|
|
484
|
+
* The CPU architecture. Valid values:
|
|
450
485
|
*
|
|
451
486
|
* - x86
|
|
452
487
|
*
|
|
@@ -474,7 +509,7 @@ export class CreateApplicationRequest extends $dara.Model {
|
|
|
474
509
|
authProviderConfig?: string;
|
|
475
510
|
/**
|
|
476
511
|
* @remarks
|
|
477
|
-
* Specifies whether to automatically create and
|
|
512
|
+
* Specifies whether to automatically create and associate with an elastic IP address (EIP).
|
|
478
513
|
*
|
|
479
514
|
* @example
|
|
480
515
|
* qwen3-max
|
|
@@ -482,11 +517,9 @@ export class CreateApplicationRequest extends $dara.Model {
|
|
|
482
517
|
autoAllocatePublicEip?: boolean;
|
|
483
518
|
/**
|
|
484
519
|
* @remarks
|
|
485
|
-
* Specifies whether to
|
|
486
|
-
*
|
|
487
|
-
*
|
|
488
|
-
*
|
|
489
|
-
* - true: Automatically creates the instance.
|
|
520
|
+
* Specifies whether to enable automatic creation of a cold storage Polarlakebase instance. Valid values:
|
|
521
|
+
* * false (default): Automatic creation is disabled.
|
|
522
|
+
* * true: Automatic creation is enabled.
|
|
490
523
|
*
|
|
491
524
|
* @example
|
|
492
525
|
* false
|
|
@@ -502,11 +535,9 @@ export class CreateApplicationRequest extends $dara.Model {
|
|
|
502
535
|
autoRenew?: boolean;
|
|
503
536
|
/**
|
|
504
537
|
* @remarks
|
|
505
|
-
* Specifies whether to automatically use
|
|
506
|
-
*
|
|
507
|
-
*
|
|
508
|
-
*
|
|
509
|
-
* - false: Does not use a coupon.
|
|
538
|
+
* Specifies whether to automatically use coupons. Valid values:
|
|
539
|
+
* * true (default): Use coupons.
|
|
540
|
+
* * false: Do not use coupons.
|
|
510
541
|
*
|
|
511
542
|
* @example
|
|
512
543
|
* true
|
|
@@ -514,12 +545,12 @@ export class CreateApplicationRequest extends $dara.Model {
|
|
|
514
545
|
autoUseCoupon?: boolean;
|
|
515
546
|
/**
|
|
516
547
|
* @remarks
|
|
517
|
-
*
|
|
548
|
+
* The list of user-defined application subcomponents.
|
|
518
549
|
*/
|
|
519
550
|
components?: CreateApplicationRequestComponents[];
|
|
520
551
|
/**
|
|
521
552
|
* @remarks
|
|
522
|
-
* The ID of the PolarDB instance
|
|
553
|
+
* The instance ID of the PolarDB instance on which the application depends.
|
|
523
554
|
*
|
|
524
555
|
* @example
|
|
525
556
|
* pc-**************
|
|
@@ -535,7 +566,20 @@ export class CreateApplicationRequest extends $dara.Model {
|
|
|
535
566
|
description?: string;
|
|
536
567
|
/**
|
|
537
568
|
* @remarks
|
|
538
|
-
* The
|
|
569
|
+
* 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.
|
|
570
|
+
*/
|
|
571
|
+
dnatEntries?: CreateApplicationRequestDnatEntries[];
|
|
572
|
+
/**
|
|
573
|
+
* @remarks
|
|
574
|
+
* The dedicated DNAT NAT IP address that is allocated by the customer (separate from the SNAT IP address) for NAT mapping. The IP address must belong to the specified gateway and be in the available state. The vSwitch of the gateway must belong to the primary CIDR block that is reachable from the office network. Specify this parameter together with VpcNatGatewayId. Prerequisite: An SNAT entry is bound to the vSwitch where the application resides.
|
|
575
|
+
*
|
|
576
|
+
* @example
|
|
577
|
+
* 10.64.0.10
|
|
578
|
+
*/
|
|
579
|
+
dnatIpAddress?: string;
|
|
580
|
+
/**
|
|
581
|
+
* @remarks
|
|
582
|
+
* Default value: `false`. If you set this parameter to `true`, only parameter and resource validation is performed without actually creating resources.
|
|
539
583
|
*
|
|
540
584
|
* @example
|
|
541
585
|
* false
|
|
@@ -543,22 +587,22 @@ export class CreateApplicationRequest extends $dara.Model {
|
|
|
543
587
|
dryRun?: boolean;
|
|
544
588
|
/**
|
|
545
589
|
* @remarks
|
|
546
|
-
*
|
|
590
|
+
* The list of user-defined service endpoints. By default, a VPC endpoint is created.
|
|
547
591
|
*/
|
|
548
592
|
endpoints?: CreateApplicationRequestEndpoints[];
|
|
549
593
|
/**
|
|
550
594
|
* @remarks
|
|
551
|
-
*
|
|
595
|
+
* Required for knowledge applications.
|
|
552
596
|
*/
|
|
553
597
|
knowledgeApplicationSpec?: CreateApplicationRequestKnowledgeApplicationSpec;
|
|
554
598
|
/**
|
|
555
599
|
* @remarks
|
|
556
|
-
*
|
|
600
|
+
* Required for mem0 applications.
|
|
557
601
|
*/
|
|
558
602
|
memApplicationSpec?: CreateApplicationRequestMemApplicationSpec;
|
|
559
603
|
/**
|
|
560
604
|
* @remarks
|
|
561
|
-
* The model
|
|
605
|
+
* The API of the model. This parameter takes effect only when ApplicationType is set to polarclaw.
|
|
562
606
|
*
|
|
563
607
|
* @example
|
|
564
608
|
* openai-completions
|
|
@@ -566,7 +610,7 @@ export class CreateApplicationRequest extends $dara.Model {
|
|
|
566
610
|
modelApi?: string;
|
|
567
611
|
/**
|
|
568
612
|
* @remarks
|
|
569
|
-
* The API key
|
|
613
|
+
* The API key of the model. This parameter takes effect only when ApplicationType is set to polarclaw.
|
|
570
614
|
*
|
|
571
615
|
* @example
|
|
572
616
|
* sk-xxxxxx
|
|
@@ -574,7 +618,7 @@ export class CreateApplicationRequest extends $dara.Model {
|
|
|
574
618
|
modelApiKey?: string;
|
|
575
619
|
/**
|
|
576
620
|
* @remarks
|
|
577
|
-
* The URL of the model. This parameter
|
|
621
|
+
* The URL of the model. This parameter takes effect only when ApplicationType is set to polarclaw.
|
|
578
622
|
*
|
|
579
623
|
* @example
|
|
580
624
|
* https://dashscope.aliyuncs.com/compatible-mode/v1
|
|
@@ -582,13 +626,10 @@ export class CreateApplicationRequest extends $dara.Model {
|
|
|
582
626
|
modelBaseUrl?: string;
|
|
583
627
|
/**
|
|
584
628
|
* @remarks
|
|
585
|
-
* The source
|
|
586
|
-
*
|
|
587
|
-
*
|
|
588
|
-
*
|
|
589
|
-
* - custom: A custom model.
|
|
590
|
-
*
|
|
591
|
-
* - maas: PolarDB model operator.
|
|
629
|
+
* The model source. Valid values:
|
|
630
|
+
* * bailian: Bailian model.
|
|
631
|
+
* * custom: Custom model.
|
|
632
|
+
* * maas: PolarDB model operator.
|
|
592
633
|
*
|
|
593
634
|
* @example
|
|
594
635
|
* bailian
|
|
@@ -596,7 +637,7 @@ export class CreateApplicationRequest extends $dara.Model {
|
|
|
596
637
|
modelFrom?: string;
|
|
597
638
|
/**
|
|
598
639
|
* @remarks
|
|
599
|
-
* The name of the model. This parameter
|
|
640
|
+
* The name of the model. This parameter takes effect only when ApplicationType is set to polarclaw.
|
|
600
641
|
*
|
|
601
642
|
* @example
|
|
602
643
|
* qwen3-max
|
|
@@ -604,12 +645,12 @@ export class CreateApplicationRequest extends $dara.Model {
|
|
|
604
645
|
modelName?: string;
|
|
605
646
|
/**
|
|
606
647
|
* @remarks
|
|
607
|
-
*
|
|
648
|
+
* The list of parameters.
|
|
608
649
|
*/
|
|
609
650
|
parameters?: CreateApplicationRequestParameters[];
|
|
610
651
|
/**
|
|
611
652
|
* @remarks
|
|
612
|
-
* The billing
|
|
653
|
+
* The billing type.
|
|
613
654
|
*
|
|
614
655
|
* @example
|
|
615
656
|
* Postpaid
|
|
@@ -617,7 +658,7 @@ export class CreateApplicationRequest extends $dara.Model {
|
|
|
617
658
|
payType?: string;
|
|
618
659
|
/**
|
|
619
660
|
* @remarks
|
|
620
|
-
* The subscription
|
|
661
|
+
* The subscription type, such as yearly or monthly.
|
|
621
662
|
*
|
|
622
663
|
* @example
|
|
623
664
|
* Year
|
|
@@ -625,12 +666,10 @@ export class CreateApplicationRequest extends $dara.Model {
|
|
|
625
666
|
period?: string;
|
|
626
667
|
/**
|
|
627
668
|
* @remarks
|
|
628
|
-
* The ID of the
|
|
629
|
-
*
|
|
630
|
-
* This feature is currently supported only by the following applications:
|
|
669
|
+
* The instance ID of the Polarlakebase cold storage or high-performance instance. Default value: empty. If specified, the corresponding storage is mounted to the application.
|
|
631
670
|
*
|
|
671
|
+
* Currently, only the following applications support this parameter:
|
|
632
672
|
* - supabase
|
|
633
|
-
*
|
|
634
673
|
* - raycluster
|
|
635
674
|
*
|
|
636
675
|
* @example
|
|
@@ -647,7 +686,7 @@ export class CreateApplicationRequest extends $dara.Model {
|
|
|
647
686
|
promotionCode?: string;
|
|
648
687
|
/**
|
|
649
688
|
* @remarks
|
|
650
|
-
* The region.
|
|
689
|
+
* The region. Default value: the region of the instance.
|
|
651
690
|
*
|
|
652
691
|
* @example
|
|
653
692
|
* cn-beijing
|
|
@@ -655,7 +694,7 @@ export class CreateApplicationRequest extends $dara.Model {
|
|
|
655
694
|
regionId?: string;
|
|
656
695
|
/**
|
|
657
696
|
* @remarks
|
|
658
|
-
* The
|
|
697
|
+
* The resource group ID.
|
|
659
698
|
*
|
|
660
699
|
* @example
|
|
661
700
|
* rg-********************
|
|
@@ -663,7 +702,7 @@ export class CreateApplicationRequest extends $dara.Model {
|
|
|
663
702
|
resourceGroupId?: string;
|
|
664
703
|
/**
|
|
665
704
|
* @remarks
|
|
666
|
-
* The
|
|
705
|
+
* The security group ID.
|
|
667
706
|
*
|
|
668
707
|
* @example
|
|
669
708
|
* sg-********************
|
|
@@ -671,7 +710,7 @@ export class CreateApplicationRequest extends $dara.Model {
|
|
|
671
710
|
securityGroupId?: string;
|
|
672
711
|
/**
|
|
673
712
|
* @remarks
|
|
674
|
-
* The name of the IP
|
|
713
|
+
* The name of the IP whitelist group. Default value: `default`.
|
|
675
714
|
*
|
|
676
715
|
* @example
|
|
677
716
|
* default
|
|
@@ -679,7 +718,7 @@ export class CreateApplicationRequest extends $dara.Model {
|
|
|
679
718
|
securityIPArrayName?: string;
|
|
680
719
|
/**
|
|
681
720
|
* @remarks
|
|
682
|
-
* The IP
|
|
721
|
+
* The IP whitelist. If you do not specify this parameter, the default value `127.0.0.1` is used.
|
|
683
722
|
*
|
|
684
723
|
* @example
|
|
685
724
|
* 127.0.0.1,172.17.0.0/24
|
|
@@ -695,7 +734,7 @@ export class CreateApplicationRequest extends $dara.Model {
|
|
|
695
734
|
securityIPType?: string;
|
|
696
735
|
/**
|
|
697
736
|
* @remarks
|
|
698
|
-
* The
|
|
737
|
+
* The skill template ID.
|
|
699
738
|
*
|
|
700
739
|
* @example
|
|
701
740
|
* xxx
|
|
@@ -703,7 +742,7 @@ export class CreateApplicationRequest extends $dara.Model {
|
|
|
703
742
|
skillTemplateId?: string;
|
|
704
743
|
/**
|
|
705
744
|
* @remarks
|
|
706
|
-
* The
|
|
745
|
+
* The tags.
|
|
707
746
|
*/
|
|
708
747
|
tag?: CreateApplicationRequestTag[];
|
|
709
748
|
/**
|
|
@@ -724,7 +763,7 @@ export class CreateApplicationRequest extends $dara.Model {
|
|
|
724
763
|
usedTime?: string;
|
|
725
764
|
/**
|
|
726
765
|
* @remarks
|
|
727
|
-
* The vSwitch.
|
|
766
|
+
* The vSwitch. Default value: the current vSwitch in the primary zone of the instance.
|
|
728
767
|
*
|
|
729
768
|
* @example
|
|
730
769
|
* vsw-*********************
|
|
@@ -732,7 +771,7 @@ export class CreateApplicationRequest extends $dara.Model {
|
|
|
732
771
|
vSwitchId?: string;
|
|
733
772
|
/**
|
|
734
773
|
* @remarks
|
|
735
|
-
* The ID
|
|
774
|
+
* The VPC ID.
|
|
736
775
|
*
|
|
737
776
|
* @example
|
|
738
777
|
* vpc-********************
|
|
@@ -740,7 +779,15 @@ export class CreateApplicationRequest extends $dara.Model {
|
|
|
740
779
|
vpcId?: string;
|
|
741
780
|
/**
|
|
742
781
|
* @remarks
|
|
743
|
-
* The
|
|
782
|
+
* 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 the active state.
|
|
783
|
+
*
|
|
784
|
+
* @example
|
|
785
|
+
* ngw-xxx
|
|
786
|
+
*/
|
|
787
|
+
vpcNatGatewayId?: string;
|
|
788
|
+
/**
|
|
789
|
+
* @remarks
|
|
790
|
+
* The zone. Default value: the primary zone of the instance.
|
|
744
791
|
*
|
|
745
792
|
* @example
|
|
746
793
|
* cn-beijing-k
|
|
@@ -760,6 +807,8 @@ export class CreateApplicationRequest extends $dara.Model {
|
|
|
760
807
|
components: 'Components',
|
|
761
808
|
DBClusterId: 'DBClusterId',
|
|
762
809
|
description: 'Description',
|
|
810
|
+
dnatEntries: 'DnatEntries',
|
|
811
|
+
dnatIpAddress: 'DnatIpAddress',
|
|
763
812
|
dryRun: 'DryRun',
|
|
764
813
|
endpoints: 'Endpoints',
|
|
765
814
|
knowledgeApplicationSpec: 'KnowledgeApplicationSpec',
|
|
@@ -786,6 +835,7 @@ export class CreateApplicationRequest extends $dara.Model {
|
|
|
786
835
|
usedTime: 'UsedTime',
|
|
787
836
|
vSwitchId: 'VSwitchId',
|
|
788
837
|
vpcId: 'VpcId',
|
|
838
|
+
vpcNatGatewayId: 'VpcNatGatewayId',
|
|
789
839
|
zoneId: 'ZoneId',
|
|
790
840
|
};
|
|
791
841
|
}
|
|
@@ -804,6 +854,8 @@ export class CreateApplicationRequest extends $dara.Model {
|
|
|
804
854
|
components: { 'type': 'array', 'itemType': CreateApplicationRequestComponents },
|
|
805
855
|
DBClusterId: 'string',
|
|
806
856
|
description: 'string',
|
|
857
|
+
dnatEntries: { 'type': 'array', 'itemType': CreateApplicationRequestDnatEntries },
|
|
858
|
+
dnatIpAddress: 'string',
|
|
807
859
|
dryRun: 'boolean',
|
|
808
860
|
endpoints: { 'type': 'array', 'itemType': CreateApplicationRequestEndpoints },
|
|
809
861
|
knowledgeApplicationSpec: CreateApplicationRequestKnowledgeApplicationSpec,
|
|
@@ -830,6 +882,7 @@ export class CreateApplicationRequest extends $dara.Model {
|
|
|
830
882
|
usedTime: 'string',
|
|
831
883
|
vSwitchId: 'string',
|
|
832
884
|
vpcId: 'string',
|
|
885
|
+
vpcNatGatewayId: 'string',
|
|
833
886
|
zoneId: 'string',
|
|
834
887
|
};
|
|
835
888
|
}
|
|
@@ -838,6 +891,9 @@ export class CreateApplicationRequest extends $dara.Model {
|
|
|
838
891
|
if(Array.isArray(this.components)) {
|
|
839
892
|
$dara.Model.validateArray(this.components);
|
|
840
893
|
}
|
|
894
|
+
if(Array.isArray(this.dnatEntries)) {
|
|
895
|
+
$dara.Model.validateArray(this.dnatEntries);
|
|
896
|
+
}
|
|
841
897
|
if(Array.isArray(this.endpoints)) {
|
|
842
898
|
$dara.Model.validateArray(this.endpoints);
|
|
843
899
|
}
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class CreateApplicationResponseBodyComponents extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The
|
|
8
|
+
* The child component ID.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* pac-********************
|
|
@@ -35,7 +35,7 @@ export class CreateApplicationResponseBodyComponents extends $dara.Model {
|
|
|
35
35
|
export class CreateApplicationResponseBody extends $dara.Model {
|
|
36
36
|
/**
|
|
37
37
|
* @remarks
|
|
38
|
-
* The ID
|
|
38
|
+
* The application ID.
|
|
39
39
|
*
|
|
40
40
|
* @example
|
|
41
41
|
* pa-********************
|
|
@@ -43,7 +43,7 @@ export class CreateApplicationResponseBody extends $dara.Model {
|
|
|
43
43
|
applicationId?: string;
|
|
44
44
|
/**
|
|
45
45
|
* @remarks
|
|
46
|
-
*
|
|
46
|
+
* The list of child components.
|
|
47
47
|
*/
|
|
48
48
|
components?: CreateApplicationResponseBodyComponents[];
|
|
49
49
|
/**
|
|
@@ -56,7 +56,7 @@ export class CreateApplicationResponseBody extends $dara.Model {
|
|
|
56
56
|
description?: string;
|
|
57
57
|
/**
|
|
58
58
|
* @remarks
|
|
59
|
-
* The
|
|
59
|
+
* The generated order ID.
|
|
60
60
|
*
|
|
61
61
|
* @example
|
|
62
62
|
* 2148126708*****
|
|
@@ -64,7 +64,7 @@ export class CreateApplicationResponseBody extends $dara.Model {
|
|
|
64
64
|
orderId?: string;
|
|
65
65
|
/**
|
|
66
66
|
* @remarks
|
|
67
|
-
* The ID
|
|
67
|
+
* The request ID.
|
|
68
68
|
*
|
|
69
69
|
* @example
|
|
70
70
|
* 3E5CD764-FCCA-5C9C-838E-20E0DE84B2AF
|
|
@@ -72,7 +72,7 @@ export class CreateApplicationResponseBody extends $dara.Model {
|
|
|
72
72
|
requestId?: string;
|
|
73
73
|
/**
|
|
74
74
|
* @remarks
|
|
75
|
-
* Indicates whether
|
|
75
|
+
* Indicates whether resources are sufficient. This parameter is returned only when DryRun is set to true.
|
|
76
76
|
*
|
|
77
77
|
* @example
|
|
78
78
|
* true
|
|
@@ -80,7 +80,7 @@ export class CreateApplicationResponseBody extends $dara.Model {
|
|
|
80
80
|
resourceAvailable?: boolean;
|
|
81
81
|
/**
|
|
82
82
|
* @remarks
|
|
83
|
-
* The
|
|
83
|
+
* The resource group ID.
|
|
84
84
|
*
|
|
85
85
|
* @example
|
|
86
86
|
* rg-********************
|