@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
|
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class CreateApplicationRequestComponents extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* The specifications of the
|
|
5
|
+
* The specifications of the application subcomponent.
|
|
6
6
|
*
|
|
7
7
|
* @example
|
|
8
8
|
* polar.app.g2.medium
|
|
@@ -10,9 +10,9 @@ export declare class CreateApplicationRequestComponents extends $dara.Model {
|
|
|
10
10
|
componentClass?: string;
|
|
11
11
|
/**
|
|
12
12
|
* @remarks
|
|
13
|
-
* The maximum number of
|
|
13
|
+
* The maximum number of application subcomponents with the same specifications. Default value: the value of ComponentReplica.
|
|
14
14
|
*
|
|
15
|
-
* -
|
|
15
|
+
* - Only raycluster supports this parameter.
|
|
16
16
|
*
|
|
17
17
|
* @example
|
|
18
18
|
* 1
|
|
@@ -20,7 +20,7 @@ export declare class CreateApplicationRequestComponents extends $dara.Model {
|
|
|
20
20
|
componentMaxReplica?: number;
|
|
21
21
|
/**
|
|
22
22
|
* @remarks
|
|
23
|
-
* The number of replicas for the
|
|
23
|
+
* The number of replicas for the application subcomponent. Default value: 1.
|
|
24
24
|
*
|
|
25
25
|
* @example
|
|
26
26
|
* 1
|
|
@@ -28,20 +28,17 @@ export declare class CreateApplicationRequestComponents extends $dara.Model {
|
|
|
28
28
|
componentReplica?: number;
|
|
29
29
|
/**
|
|
30
30
|
* @remarks
|
|
31
|
-
* The type of the
|
|
31
|
+
* The type of the application subcomponent.
|
|
32
32
|
*
|
|
33
|
-
* For supabase, valid values
|
|
33
|
+
* For supabase, valid values:
|
|
34
34
|
*
|
|
35
35
|
* - gateway
|
|
36
|
-
*
|
|
37
36
|
* - backend
|
|
38
37
|
*
|
|
39
|
-
* For raycluster, valid values
|
|
38
|
+
* For raycluster, valid values:
|
|
40
39
|
*
|
|
41
40
|
* - head
|
|
42
|
-
*
|
|
43
41
|
* - worker
|
|
44
|
-
*
|
|
45
42
|
* - gpuworker
|
|
46
43
|
*
|
|
47
44
|
* @example
|
|
@@ -50,7 +47,7 @@ export declare class CreateApplicationRequestComponents extends $dara.Model {
|
|
|
50
47
|
componentType?: string;
|
|
51
48
|
/**
|
|
52
49
|
* @remarks
|
|
53
|
-
* The maximum number of
|
|
50
|
+
* The maximum number of replicas for component scaling.
|
|
54
51
|
*
|
|
55
52
|
* @example
|
|
56
53
|
* 16
|
|
@@ -58,7 +55,7 @@ export declare class CreateApplicationRequestComponents extends $dara.Model {
|
|
|
58
55
|
scaleMax?: string;
|
|
59
56
|
/**
|
|
60
57
|
* @remarks
|
|
61
|
-
* The minimum number of
|
|
58
|
+
* The minimum number of replicas for component scaling.
|
|
62
59
|
*
|
|
63
60
|
* @example
|
|
64
61
|
* 1
|
|
@@ -66,7 +63,7 @@ export declare class CreateApplicationRequestComponents extends $dara.Model {
|
|
|
66
63
|
scaleMin?: string;
|
|
67
64
|
/**
|
|
68
65
|
* @remarks
|
|
69
|
-
* The security groups for the
|
|
66
|
+
* The list of security groups for the application subcomponent. Separate multiple security groups with commas (,).
|
|
70
67
|
*
|
|
71
68
|
* @example
|
|
72
69
|
* sg-********************
|
|
@@ -74,7 +71,7 @@ export declare class CreateApplicationRequestComponents extends $dara.Model {
|
|
|
74
71
|
securityGroups?: string;
|
|
75
72
|
/**
|
|
76
73
|
* @remarks
|
|
77
|
-
* The name of the IP address
|
|
74
|
+
* The name of the whitelist IP address group for the application subcomponent. Default value: default.
|
|
78
75
|
*
|
|
79
76
|
* @example
|
|
80
77
|
* default
|
|
@@ -82,7 +79,7 @@ export declare class CreateApplicationRequestComponents extends $dara.Model {
|
|
|
82
79
|
securityIPArrayName?: string;
|
|
83
80
|
/**
|
|
84
81
|
* @remarks
|
|
85
|
-
* The IP
|
|
82
|
+
* The whitelist IP addresses of the application subcomponent. Separate multiple IP addresses with commas (,).
|
|
86
83
|
*
|
|
87
84
|
* @example
|
|
88
85
|
* 127.0.0.1
|
|
@@ -90,7 +87,7 @@ export declare class CreateApplicationRequestComponents extends $dara.Model {
|
|
|
90
87
|
securityIPList?: string;
|
|
91
88
|
/**
|
|
92
89
|
* @remarks
|
|
93
|
-
* The type of the IP
|
|
90
|
+
* The type of the whitelist IP addresses for the application subcomponent. Default value: ipv4.
|
|
94
91
|
*
|
|
95
92
|
* @example
|
|
96
93
|
* ipv4
|
|
@@ -107,10 +104,38 @@ export declare class CreateApplicationRequestComponents extends $dara.Model {
|
|
|
107
104
|
[key: string]: any;
|
|
108
105
|
});
|
|
109
106
|
}
|
|
107
|
+
export declare class CreateApplicationRequestDnatEntries extends $dara.Model {
|
|
108
|
+
/**
|
|
109
|
+
* @remarks
|
|
110
|
+
* 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.
|
|
111
|
+
*
|
|
112
|
+
* @example
|
|
113
|
+
* 10001
|
|
114
|
+
*/
|
|
115
|
+
frontPort?: number;
|
|
116
|
+
/**
|
|
117
|
+
* @remarks
|
|
118
|
+
* The port name. Valid values: webui, hermesagent, dashboard, and ssh.
|
|
119
|
+
*
|
|
120
|
+
* @example
|
|
121
|
+
* webui
|
|
122
|
+
*/
|
|
123
|
+
portName?: string;
|
|
124
|
+
static names(): {
|
|
125
|
+
[key: string]: string;
|
|
126
|
+
};
|
|
127
|
+
static types(): {
|
|
128
|
+
[key: string]: any;
|
|
129
|
+
};
|
|
130
|
+
validate(): void;
|
|
131
|
+
constructor(map?: {
|
|
132
|
+
[key: string]: any;
|
|
133
|
+
});
|
|
134
|
+
}
|
|
110
135
|
export declare class CreateApplicationRequestEndpoints extends $dara.Model {
|
|
111
136
|
/**
|
|
112
137
|
* @remarks
|
|
113
|
-
* The description of the
|
|
138
|
+
* The description of the service endpoint.
|
|
114
139
|
*
|
|
115
140
|
* @example
|
|
116
141
|
* my_endpoint
|
|
@@ -118,7 +143,7 @@ export declare class CreateApplicationRequestEndpoints extends $dara.Model {
|
|
|
118
143
|
description?: string;
|
|
119
144
|
/**
|
|
120
145
|
* @remarks
|
|
121
|
-
* The type of the
|
|
146
|
+
* The type of the service endpoint. The value is fixed as Primary.
|
|
122
147
|
*
|
|
123
148
|
* @example
|
|
124
149
|
* Primary
|
|
@@ -138,7 +163,7 @@ export declare class CreateApplicationRequestEndpoints extends $dara.Model {
|
|
|
138
163
|
export declare class CreateApplicationRequestKnowledgeApplicationSpec extends $dara.Model {
|
|
139
164
|
/**
|
|
140
165
|
* @remarks
|
|
141
|
-
* The password
|
|
166
|
+
* The dashboard password.
|
|
142
167
|
*/
|
|
143
168
|
dashboardPassword?: string;
|
|
144
169
|
/**
|
|
@@ -148,7 +173,7 @@ export declare class CreateApplicationRequestKnowledgeApplicationSpec extends $d
|
|
|
148
173
|
dbPassword?: string;
|
|
149
174
|
/**
|
|
150
175
|
* @remarks
|
|
151
|
-
*
|
|
176
|
+
* Required for knowledge applications. The name of the LLM model, such as qwen3-max.
|
|
152
177
|
*/
|
|
153
178
|
llmModel?: string;
|
|
154
179
|
static names(): {
|
|
@@ -165,7 +190,7 @@ export declare class CreateApplicationRequestKnowledgeApplicationSpec extends $d
|
|
|
165
190
|
export declare class CreateApplicationRequestMemApplicationSpec extends $dara.Model {
|
|
166
191
|
/**
|
|
167
192
|
* @remarks
|
|
168
|
-
* The name
|
|
193
|
+
* The database name.
|
|
169
194
|
*
|
|
170
195
|
* @example
|
|
171
196
|
* test-database-name
|
|
@@ -189,7 +214,7 @@ export declare class CreateApplicationRequestMemApplicationSpec extends $dara.Mo
|
|
|
189
214
|
dbUser?: string;
|
|
190
215
|
/**
|
|
191
216
|
* @remarks
|
|
192
|
-
*
|
|
217
|
+
* Required for mem0 applications. The name of the embedder model, such as text-embedding-v4.
|
|
193
218
|
*
|
|
194
219
|
* @example
|
|
195
220
|
* text-embedding-v4
|
|
@@ -205,7 +230,7 @@ export declare class CreateApplicationRequestMemApplicationSpec extends $dara.Mo
|
|
|
205
230
|
embedderModelDimension?: number;
|
|
206
231
|
/**
|
|
207
232
|
* @remarks
|
|
208
|
-
* The graph LLM.
|
|
233
|
+
* The graph LLM model.
|
|
209
234
|
*
|
|
210
235
|
* @example
|
|
211
236
|
* qwen-plus
|
|
@@ -213,7 +238,7 @@ export declare class CreateApplicationRequestMemApplicationSpec extends $dara.Mo
|
|
|
213
238
|
graphLlmModel?: string;
|
|
214
239
|
/**
|
|
215
240
|
* @remarks
|
|
216
|
-
*
|
|
241
|
+
* Required for mem0 applications. The name of the LLM model, such as qwen3-max.
|
|
217
242
|
*
|
|
218
243
|
* @example
|
|
219
244
|
* qwen3-max
|
|
@@ -221,7 +246,7 @@ export declare class CreateApplicationRequestMemApplicationSpec extends $dara.Mo
|
|
|
221
246
|
llmModel?: string;
|
|
222
247
|
/**
|
|
223
248
|
* @remarks
|
|
224
|
-
* The project name
|
|
249
|
+
* The project name, which corresponds to the database schema that stores project data.
|
|
225
250
|
*
|
|
226
251
|
* @example
|
|
227
252
|
* test-project-name
|
|
@@ -229,7 +254,7 @@ export declare class CreateApplicationRequestMemApplicationSpec extends $dara.Mo
|
|
|
229
254
|
projectName?: string;
|
|
230
255
|
/**
|
|
231
256
|
* @remarks
|
|
232
|
-
*
|
|
257
|
+
* Required for mem0 applications. The name of the reranker model, such as qwen3-rerank.
|
|
233
258
|
*
|
|
234
259
|
* @example
|
|
235
260
|
* qwen3-rerank
|
|
@@ -237,7 +262,7 @@ export declare class CreateApplicationRequestMemApplicationSpec extends $dara.Mo
|
|
|
237
262
|
rerankerModel?: string;
|
|
238
263
|
/**
|
|
239
264
|
* @remarks
|
|
240
|
-
* The number of
|
|
265
|
+
* The number of table shards.
|
|
241
266
|
*
|
|
242
267
|
* @example
|
|
243
268
|
* 1
|
|
@@ -257,7 +282,7 @@ export declare class CreateApplicationRequestMemApplicationSpec extends $dara.Mo
|
|
|
257
282
|
export declare class CreateApplicationRequestParameters extends $dara.Model {
|
|
258
283
|
/**
|
|
259
284
|
* @remarks
|
|
260
|
-
* The name
|
|
285
|
+
* The parameter name.
|
|
261
286
|
*
|
|
262
287
|
* @example
|
|
263
288
|
* secret.gateway.auth.token
|
|
@@ -265,7 +290,7 @@ export declare class CreateApplicationRequestParameters extends $dara.Model {
|
|
|
265
290
|
parameterName?: string;
|
|
266
291
|
/**
|
|
267
292
|
* @remarks
|
|
268
|
-
* The value
|
|
293
|
+
* The parameter value.
|
|
269
294
|
*
|
|
270
295
|
* @example
|
|
271
296
|
* TK***
|
|
@@ -285,7 +310,7 @@ export declare class CreateApplicationRequestParameters extends $dara.Model {
|
|
|
285
310
|
export declare class CreateApplicationRequestTag extends $dara.Model {
|
|
286
311
|
/**
|
|
287
312
|
* @remarks
|
|
288
|
-
* The key
|
|
313
|
+
* The tag key.
|
|
289
314
|
*
|
|
290
315
|
* @example
|
|
291
316
|
* testKey
|
|
@@ -293,7 +318,7 @@ export declare class CreateApplicationRequestTag extends $dara.Model {
|
|
|
293
318
|
key?: string;
|
|
294
319
|
/**
|
|
295
320
|
* @remarks
|
|
296
|
-
* The value
|
|
321
|
+
* The tag value.
|
|
297
322
|
*
|
|
298
323
|
* @example
|
|
299
324
|
* testValue
|
|
@@ -313,7 +338,7 @@ export declare class CreateApplicationRequestTag extends $dara.Model {
|
|
|
313
338
|
export declare class CreateApplicationRequest extends $dara.Model {
|
|
314
339
|
/**
|
|
315
340
|
* @remarks
|
|
316
|
-
* The ID of an existing
|
|
341
|
+
* The ID of an existing template operator instance to associate. This parameter takes effect only when ApplicationType is set to polarclaw.
|
|
317
342
|
*
|
|
318
343
|
* @example
|
|
319
344
|
* pm-xxxxxx
|
|
@@ -321,13 +346,11 @@ export declare class CreateApplicationRequest extends $dara.Model {
|
|
|
321
346
|
AIDBClusterId?: string;
|
|
322
347
|
/**
|
|
323
348
|
* @remarks
|
|
324
|
-
* The type
|
|
349
|
+
* The application type. Valid values:
|
|
325
350
|
*
|
|
326
|
-
* - supabase:
|
|
327
|
-
*
|
|
328
|
-
* -
|
|
329
|
-
*
|
|
330
|
-
* - polarclaw: Creates a managed PolarClaw application.
|
|
351
|
+
* - supabase: Set this value to create a managed Supabase application.
|
|
352
|
+
* - raycluster: Set this value to create a managed Ray Cluster application.
|
|
353
|
+
* - polarclaw: Set this value to create a managed PolarClaw application.
|
|
331
354
|
*
|
|
332
355
|
* This parameter is required.
|
|
333
356
|
*
|
|
@@ -337,7 +360,7 @@ export declare class CreateApplicationRequest extends $dara.Model {
|
|
|
337
360
|
applicationType?: string;
|
|
338
361
|
/**
|
|
339
362
|
* @remarks
|
|
340
|
-
* The CPU architecture. Valid
|
|
363
|
+
* The CPU architecture. Valid values:
|
|
341
364
|
*
|
|
342
365
|
* - x86
|
|
343
366
|
*
|
|
@@ -365,7 +388,7 @@ export declare class CreateApplicationRequest extends $dara.Model {
|
|
|
365
388
|
authProviderConfig?: string;
|
|
366
389
|
/**
|
|
367
390
|
* @remarks
|
|
368
|
-
* Specifies whether to automatically create and
|
|
391
|
+
* Specifies whether to automatically create and associate with an elastic IP address (EIP).
|
|
369
392
|
*
|
|
370
393
|
* @example
|
|
371
394
|
* qwen3-max
|
|
@@ -373,11 +396,9 @@ export declare class CreateApplicationRequest extends $dara.Model {
|
|
|
373
396
|
autoAllocatePublicEip?: boolean;
|
|
374
397
|
/**
|
|
375
398
|
* @remarks
|
|
376
|
-
* Specifies whether to
|
|
377
|
-
*
|
|
378
|
-
*
|
|
379
|
-
*
|
|
380
|
-
* - true: Automatically creates the instance.
|
|
399
|
+
* Specifies whether to enable automatic creation of a cold storage Polarlakebase instance. Valid values:
|
|
400
|
+
* * false (default): Automatic creation is disabled.
|
|
401
|
+
* * true: Automatic creation is enabled.
|
|
381
402
|
*
|
|
382
403
|
* @example
|
|
383
404
|
* false
|
|
@@ -393,11 +414,9 @@ export declare class CreateApplicationRequest extends $dara.Model {
|
|
|
393
414
|
autoRenew?: boolean;
|
|
394
415
|
/**
|
|
395
416
|
* @remarks
|
|
396
|
-
* Specifies whether to automatically use
|
|
397
|
-
*
|
|
398
|
-
*
|
|
399
|
-
*
|
|
400
|
-
* - false: Does not use a coupon.
|
|
417
|
+
* Specifies whether to automatically use coupons. Valid values:
|
|
418
|
+
* * true (default): Use coupons.
|
|
419
|
+
* * false: Do not use coupons.
|
|
401
420
|
*
|
|
402
421
|
* @example
|
|
403
422
|
* true
|
|
@@ -405,12 +424,12 @@ export declare class CreateApplicationRequest extends $dara.Model {
|
|
|
405
424
|
autoUseCoupon?: boolean;
|
|
406
425
|
/**
|
|
407
426
|
* @remarks
|
|
408
|
-
*
|
|
427
|
+
* The list of user-defined application subcomponents.
|
|
409
428
|
*/
|
|
410
429
|
components?: CreateApplicationRequestComponents[];
|
|
411
430
|
/**
|
|
412
431
|
* @remarks
|
|
413
|
-
* The ID of the PolarDB instance
|
|
432
|
+
* The instance ID of the PolarDB instance on which the application depends.
|
|
414
433
|
*
|
|
415
434
|
* @example
|
|
416
435
|
* pc-**************
|
|
@@ -426,7 +445,20 @@ export declare class CreateApplicationRequest extends $dara.Model {
|
|
|
426
445
|
description?: string;
|
|
427
446
|
/**
|
|
428
447
|
* @remarks
|
|
429
|
-
* The
|
|
448
|
+
* 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.
|
|
449
|
+
*/
|
|
450
|
+
dnatEntries?: CreateApplicationRequestDnatEntries[];
|
|
451
|
+
/**
|
|
452
|
+
* @remarks
|
|
453
|
+
* 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.
|
|
454
|
+
*
|
|
455
|
+
* @example
|
|
456
|
+
* 10.64.0.10
|
|
457
|
+
*/
|
|
458
|
+
dnatIpAddress?: string;
|
|
459
|
+
/**
|
|
460
|
+
* @remarks
|
|
461
|
+
* Default value: `false`. If you set this parameter to `true`, only parameter and resource validation is performed without actually creating resources.
|
|
430
462
|
*
|
|
431
463
|
* @example
|
|
432
464
|
* false
|
|
@@ -434,22 +466,22 @@ export declare class CreateApplicationRequest extends $dara.Model {
|
|
|
434
466
|
dryRun?: boolean;
|
|
435
467
|
/**
|
|
436
468
|
* @remarks
|
|
437
|
-
*
|
|
469
|
+
* The list of user-defined service endpoints. By default, a VPC endpoint is created.
|
|
438
470
|
*/
|
|
439
471
|
endpoints?: CreateApplicationRequestEndpoints[];
|
|
440
472
|
/**
|
|
441
473
|
* @remarks
|
|
442
|
-
*
|
|
474
|
+
* Required for knowledge applications.
|
|
443
475
|
*/
|
|
444
476
|
knowledgeApplicationSpec?: CreateApplicationRequestKnowledgeApplicationSpec;
|
|
445
477
|
/**
|
|
446
478
|
* @remarks
|
|
447
|
-
*
|
|
479
|
+
* Required for mem0 applications.
|
|
448
480
|
*/
|
|
449
481
|
memApplicationSpec?: CreateApplicationRequestMemApplicationSpec;
|
|
450
482
|
/**
|
|
451
483
|
* @remarks
|
|
452
|
-
* The model
|
|
484
|
+
* The API of the model. This parameter takes effect only when ApplicationType is set to polarclaw.
|
|
453
485
|
*
|
|
454
486
|
* @example
|
|
455
487
|
* openai-completions
|
|
@@ -457,7 +489,7 @@ export declare class CreateApplicationRequest extends $dara.Model {
|
|
|
457
489
|
modelApi?: string;
|
|
458
490
|
/**
|
|
459
491
|
* @remarks
|
|
460
|
-
* The API key
|
|
492
|
+
* The API key of the model. This parameter takes effect only when ApplicationType is set to polarclaw.
|
|
461
493
|
*
|
|
462
494
|
* @example
|
|
463
495
|
* sk-xxxxxx
|
|
@@ -465,7 +497,7 @@ export declare class CreateApplicationRequest extends $dara.Model {
|
|
|
465
497
|
modelApiKey?: string;
|
|
466
498
|
/**
|
|
467
499
|
* @remarks
|
|
468
|
-
* The URL of the model. This parameter
|
|
500
|
+
* The URL of the model. This parameter takes effect only when ApplicationType is set to polarclaw.
|
|
469
501
|
*
|
|
470
502
|
* @example
|
|
471
503
|
* https://dashscope.aliyuncs.com/compatible-mode/v1
|
|
@@ -473,13 +505,10 @@ export declare class CreateApplicationRequest extends $dara.Model {
|
|
|
473
505
|
modelBaseUrl?: string;
|
|
474
506
|
/**
|
|
475
507
|
* @remarks
|
|
476
|
-
* The source
|
|
477
|
-
*
|
|
478
|
-
*
|
|
479
|
-
*
|
|
480
|
-
* - custom: A custom model.
|
|
481
|
-
*
|
|
482
|
-
* - maas: PolarDB model operator.
|
|
508
|
+
* The model source. Valid values:
|
|
509
|
+
* * bailian: Bailian model.
|
|
510
|
+
* * custom: Custom model.
|
|
511
|
+
* * maas: PolarDB model operator.
|
|
483
512
|
*
|
|
484
513
|
* @example
|
|
485
514
|
* bailian
|
|
@@ -487,7 +516,7 @@ export declare class CreateApplicationRequest extends $dara.Model {
|
|
|
487
516
|
modelFrom?: string;
|
|
488
517
|
/**
|
|
489
518
|
* @remarks
|
|
490
|
-
* The name of the model. This parameter
|
|
519
|
+
* The name of the model. This parameter takes effect only when ApplicationType is set to polarclaw.
|
|
491
520
|
*
|
|
492
521
|
* @example
|
|
493
522
|
* qwen3-max
|
|
@@ -495,12 +524,12 @@ export declare class CreateApplicationRequest extends $dara.Model {
|
|
|
495
524
|
modelName?: string;
|
|
496
525
|
/**
|
|
497
526
|
* @remarks
|
|
498
|
-
*
|
|
527
|
+
* The list of parameters.
|
|
499
528
|
*/
|
|
500
529
|
parameters?: CreateApplicationRequestParameters[];
|
|
501
530
|
/**
|
|
502
531
|
* @remarks
|
|
503
|
-
* The billing
|
|
532
|
+
* The billing type.
|
|
504
533
|
*
|
|
505
534
|
* @example
|
|
506
535
|
* Postpaid
|
|
@@ -508,7 +537,7 @@ export declare class CreateApplicationRequest extends $dara.Model {
|
|
|
508
537
|
payType?: string;
|
|
509
538
|
/**
|
|
510
539
|
* @remarks
|
|
511
|
-
* The subscription
|
|
540
|
+
* The subscription type, such as yearly or monthly.
|
|
512
541
|
*
|
|
513
542
|
* @example
|
|
514
543
|
* Year
|
|
@@ -516,12 +545,10 @@ export declare class CreateApplicationRequest extends $dara.Model {
|
|
|
516
545
|
period?: string;
|
|
517
546
|
/**
|
|
518
547
|
* @remarks
|
|
519
|
-
* The ID of the
|
|
520
|
-
*
|
|
521
|
-
* This feature is currently supported only by the following applications:
|
|
548
|
+
* 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.
|
|
522
549
|
*
|
|
550
|
+
* Currently, only the following applications support this parameter:
|
|
523
551
|
* - supabase
|
|
524
|
-
*
|
|
525
552
|
* - raycluster
|
|
526
553
|
*
|
|
527
554
|
* @example
|
|
@@ -538,7 +565,7 @@ export declare class CreateApplicationRequest extends $dara.Model {
|
|
|
538
565
|
promotionCode?: string;
|
|
539
566
|
/**
|
|
540
567
|
* @remarks
|
|
541
|
-
* The region.
|
|
568
|
+
* The region. Default value: the region of the instance.
|
|
542
569
|
*
|
|
543
570
|
* @example
|
|
544
571
|
* cn-beijing
|
|
@@ -546,7 +573,7 @@ export declare class CreateApplicationRequest extends $dara.Model {
|
|
|
546
573
|
regionId?: string;
|
|
547
574
|
/**
|
|
548
575
|
* @remarks
|
|
549
|
-
* The
|
|
576
|
+
* The resource group ID.
|
|
550
577
|
*
|
|
551
578
|
* @example
|
|
552
579
|
* rg-********************
|
|
@@ -554,7 +581,7 @@ export declare class CreateApplicationRequest extends $dara.Model {
|
|
|
554
581
|
resourceGroupId?: string;
|
|
555
582
|
/**
|
|
556
583
|
* @remarks
|
|
557
|
-
* The
|
|
584
|
+
* The security group ID.
|
|
558
585
|
*
|
|
559
586
|
* @example
|
|
560
587
|
* sg-********************
|
|
@@ -562,7 +589,7 @@ export declare class CreateApplicationRequest extends $dara.Model {
|
|
|
562
589
|
securityGroupId?: string;
|
|
563
590
|
/**
|
|
564
591
|
* @remarks
|
|
565
|
-
* The name of the IP
|
|
592
|
+
* The name of the IP whitelist group. Default value: `default`.
|
|
566
593
|
*
|
|
567
594
|
* @example
|
|
568
595
|
* default
|
|
@@ -570,7 +597,7 @@ export declare class CreateApplicationRequest extends $dara.Model {
|
|
|
570
597
|
securityIPArrayName?: string;
|
|
571
598
|
/**
|
|
572
599
|
* @remarks
|
|
573
|
-
* The IP
|
|
600
|
+
* The IP whitelist. If you do not specify this parameter, the default value `127.0.0.1` is used.
|
|
574
601
|
*
|
|
575
602
|
* @example
|
|
576
603
|
* 127.0.0.1,172.17.0.0/24
|
|
@@ -586,7 +613,7 @@ export declare class CreateApplicationRequest extends $dara.Model {
|
|
|
586
613
|
securityIPType?: string;
|
|
587
614
|
/**
|
|
588
615
|
* @remarks
|
|
589
|
-
* The
|
|
616
|
+
* The skill template ID.
|
|
590
617
|
*
|
|
591
618
|
* @example
|
|
592
619
|
* xxx
|
|
@@ -594,7 +621,7 @@ export declare class CreateApplicationRequest extends $dara.Model {
|
|
|
594
621
|
skillTemplateId?: string;
|
|
595
622
|
/**
|
|
596
623
|
* @remarks
|
|
597
|
-
* The
|
|
624
|
+
* The tags.
|
|
598
625
|
*/
|
|
599
626
|
tag?: CreateApplicationRequestTag[];
|
|
600
627
|
/**
|
|
@@ -615,7 +642,7 @@ export declare class CreateApplicationRequest extends $dara.Model {
|
|
|
615
642
|
usedTime?: string;
|
|
616
643
|
/**
|
|
617
644
|
* @remarks
|
|
618
|
-
* The vSwitch.
|
|
645
|
+
* The vSwitch. Default value: the current vSwitch in the primary zone of the instance.
|
|
619
646
|
*
|
|
620
647
|
* @example
|
|
621
648
|
* vsw-*********************
|
|
@@ -623,7 +650,7 @@ export declare class CreateApplicationRequest extends $dara.Model {
|
|
|
623
650
|
vSwitchId?: string;
|
|
624
651
|
/**
|
|
625
652
|
* @remarks
|
|
626
|
-
* The ID
|
|
653
|
+
* The VPC ID.
|
|
627
654
|
*
|
|
628
655
|
* @example
|
|
629
656
|
* vpc-********************
|
|
@@ -631,7 +658,15 @@ export declare class CreateApplicationRequest extends $dara.Model {
|
|
|
631
658
|
vpcId?: string;
|
|
632
659
|
/**
|
|
633
660
|
* @remarks
|
|
634
|
-
* The
|
|
661
|
+
* 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.
|
|
662
|
+
*
|
|
663
|
+
* @example
|
|
664
|
+
* ngw-xxx
|
|
665
|
+
*/
|
|
666
|
+
vpcNatGatewayId?: string;
|
|
667
|
+
/**
|
|
668
|
+
* @remarks
|
|
669
|
+
* The zone. Default value: the primary zone of the instance.
|
|
635
670
|
*
|
|
636
671
|
* @example
|
|
637
672
|
* cn-beijing-k
|
|
@@ -33,7 +33,7 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
33
33
|
};
|
|
34
34
|
})();
|
|
35
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
-
exports.CreateApplicationRequest = exports.CreateApplicationRequestTag = exports.CreateApplicationRequestParameters = exports.CreateApplicationRequestMemApplicationSpec = exports.CreateApplicationRequestKnowledgeApplicationSpec = exports.CreateApplicationRequestEndpoints = exports.CreateApplicationRequestComponents = void 0;
|
|
36
|
+
exports.CreateApplicationRequest = exports.CreateApplicationRequestTag = exports.CreateApplicationRequestParameters = exports.CreateApplicationRequestMemApplicationSpec = exports.CreateApplicationRequestKnowledgeApplicationSpec = exports.CreateApplicationRequestEndpoints = exports.CreateApplicationRequestDnatEntries = exports.CreateApplicationRequestComponents = void 0;
|
|
37
37
|
// This file is auto-generated, don't edit it
|
|
38
38
|
const $dara = __importStar(require("@darabonba/typescript"));
|
|
39
39
|
class CreateApplicationRequestComponents extends $dara.Model {
|
|
@@ -73,6 +73,27 @@ class CreateApplicationRequestComponents extends $dara.Model {
|
|
|
73
73
|
}
|
|
74
74
|
}
|
|
75
75
|
exports.CreateApplicationRequestComponents = CreateApplicationRequestComponents;
|
|
76
|
+
class CreateApplicationRequestDnatEntries extends $dara.Model {
|
|
77
|
+
static names() {
|
|
78
|
+
return {
|
|
79
|
+
frontPort: 'FrontPort',
|
|
80
|
+
portName: 'PortName',
|
|
81
|
+
};
|
|
82
|
+
}
|
|
83
|
+
static types() {
|
|
84
|
+
return {
|
|
85
|
+
frontPort: 'number',
|
|
86
|
+
portName: 'string',
|
|
87
|
+
};
|
|
88
|
+
}
|
|
89
|
+
validate() {
|
|
90
|
+
super.validate();
|
|
91
|
+
}
|
|
92
|
+
constructor(map) {
|
|
93
|
+
super(map);
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
exports.CreateApplicationRequestDnatEntries = CreateApplicationRequestDnatEntries;
|
|
76
97
|
class CreateApplicationRequestEndpoints extends $dara.Model {
|
|
77
98
|
static names() {
|
|
78
99
|
return {
|
|
@@ -211,6 +232,8 @@ class CreateApplicationRequest extends $dara.Model {
|
|
|
211
232
|
components: 'Components',
|
|
212
233
|
DBClusterId: 'DBClusterId',
|
|
213
234
|
description: 'Description',
|
|
235
|
+
dnatEntries: 'DnatEntries',
|
|
236
|
+
dnatIpAddress: 'DnatIpAddress',
|
|
214
237
|
dryRun: 'DryRun',
|
|
215
238
|
endpoints: 'Endpoints',
|
|
216
239
|
knowledgeApplicationSpec: 'KnowledgeApplicationSpec',
|
|
@@ -237,6 +260,7 @@ class CreateApplicationRequest extends $dara.Model {
|
|
|
237
260
|
usedTime: 'UsedTime',
|
|
238
261
|
vSwitchId: 'VSwitchId',
|
|
239
262
|
vpcId: 'VpcId',
|
|
263
|
+
vpcNatGatewayId: 'VpcNatGatewayId',
|
|
240
264
|
zoneId: 'ZoneId',
|
|
241
265
|
};
|
|
242
266
|
}
|
|
@@ -254,6 +278,8 @@ class CreateApplicationRequest extends $dara.Model {
|
|
|
254
278
|
components: { 'type': 'array', 'itemType': CreateApplicationRequestComponents },
|
|
255
279
|
DBClusterId: 'string',
|
|
256
280
|
description: 'string',
|
|
281
|
+
dnatEntries: { 'type': 'array', 'itemType': CreateApplicationRequestDnatEntries },
|
|
282
|
+
dnatIpAddress: 'string',
|
|
257
283
|
dryRun: 'boolean',
|
|
258
284
|
endpoints: { 'type': 'array', 'itemType': CreateApplicationRequestEndpoints },
|
|
259
285
|
knowledgeApplicationSpec: CreateApplicationRequestKnowledgeApplicationSpec,
|
|
@@ -280,6 +306,7 @@ class CreateApplicationRequest extends $dara.Model {
|
|
|
280
306
|
usedTime: 'string',
|
|
281
307
|
vSwitchId: 'string',
|
|
282
308
|
vpcId: 'string',
|
|
309
|
+
vpcNatGatewayId: 'string',
|
|
283
310
|
zoneId: 'string',
|
|
284
311
|
};
|
|
285
312
|
}
|
|
@@ -287,6 +314,9 @@ class CreateApplicationRequest extends $dara.Model {
|
|
|
287
314
|
if (Array.isArray(this.components)) {
|
|
288
315
|
$dara.Model.validateArray(this.components);
|
|
289
316
|
}
|
|
317
|
+
if (Array.isArray(this.dnatEntries)) {
|
|
318
|
+
$dara.Model.validateArray(this.dnatEntries);
|
|
319
|
+
}
|
|
290
320
|
if (Array.isArray(this.endpoints)) {
|
|
291
321
|
$dara.Model.validateArray(this.endpoints);
|
|
292
322
|
}
|