@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
|
@@ -33,9 +33,38 @@ 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.CreateApplicationRequestStorages = exports.CreateApplicationRequestParameters = exports.CreateApplicationRequestMemApplicationSpec = exports.CreateApplicationRequestKnowledgeApplicationSpec = exports.CreateApplicationRequestEndpoints = exports.CreateApplicationRequestDnatEntries = exports.CreateApplicationRequestComponents = exports.CreateApplicationRequestAgenticDBBranchSpec = void 0;
|
|
37
37
|
// This file is auto-generated, don't edit it
|
|
38
38
|
const $dara = __importStar(require("@darabonba/typescript"));
|
|
39
|
+
class CreateApplicationRequestAgenticDBBranchSpec extends $dara.Model {
|
|
40
|
+
static names() {
|
|
41
|
+
return {
|
|
42
|
+
branchId: 'BranchId',
|
|
43
|
+
DBClusterId: 'DBClusterId',
|
|
44
|
+
forkFromApplicationId: 'ForkFromApplicationId',
|
|
45
|
+
forkFromBranch: 'ForkFromBranch',
|
|
46
|
+
projectId: 'ProjectId',
|
|
47
|
+
tenantId: 'TenantId',
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
static types() {
|
|
51
|
+
return {
|
|
52
|
+
branchId: 'string',
|
|
53
|
+
DBClusterId: 'string',
|
|
54
|
+
forkFromApplicationId: 'string',
|
|
55
|
+
forkFromBranch: 'boolean',
|
|
56
|
+
projectId: 'string',
|
|
57
|
+
tenantId: 'string',
|
|
58
|
+
};
|
|
59
|
+
}
|
|
60
|
+
validate() {
|
|
61
|
+
super.validate();
|
|
62
|
+
}
|
|
63
|
+
constructor(map) {
|
|
64
|
+
super(map);
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
exports.CreateApplicationRequestAgenticDBBranchSpec = CreateApplicationRequestAgenticDBBranchSpec;
|
|
39
68
|
class CreateApplicationRequestComponents extends $dara.Model {
|
|
40
69
|
static names() {
|
|
41
70
|
return {
|
|
@@ -73,6 +102,27 @@ class CreateApplicationRequestComponents extends $dara.Model {
|
|
|
73
102
|
}
|
|
74
103
|
}
|
|
75
104
|
exports.CreateApplicationRequestComponents = CreateApplicationRequestComponents;
|
|
105
|
+
class CreateApplicationRequestDnatEntries extends $dara.Model {
|
|
106
|
+
static names() {
|
|
107
|
+
return {
|
|
108
|
+
frontPort: 'FrontPort',
|
|
109
|
+
portName: 'PortName',
|
|
110
|
+
};
|
|
111
|
+
}
|
|
112
|
+
static types() {
|
|
113
|
+
return {
|
|
114
|
+
frontPort: 'number',
|
|
115
|
+
portName: 'string',
|
|
116
|
+
};
|
|
117
|
+
}
|
|
118
|
+
validate() {
|
|
119
|
+
super.validate();
|
|
120
|
+
}
|
|
121
|
+
constructor(map) {
|
|
122
|
+
super(map);
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
exports.CreateApplicationRequestDnatEntries = CreateApplicationRequestDnatEntries;
|
|
76
126
|
class CreateApplicationRequestEndpoints extends $dara.Model {
|
|
77
127
|
static names() {
|
|
78
128
|
return {
|
|
@@ -175,6 +225,39 @@ class CreateApplicationRequestParameters extends $dara.Model {
|
|
|
175
225
|
}
|
|
176
226
|
}
|
|
177
227
|
exports.CreateApplicationRequestParameters = CreateApplicationRequestParameters;
|
|
228
|
+
class CreateApplicationRequestStorages extends $dara.Model {
|
|
229
|
+
static names() {
|
|
230
|
+
return {
|
|
231
|
+
containerMountPath: 'ContainerMountPath',
|
|
232
|
+
endpointId: 'EndpointId',
|
|
233
|
+
mountPath: 'MountPath',
|
|
234
|
+
storageCapacity: 'StorageCapacity',
|
|
235
|
+
storageEndpoint: 'StorageEndpoint',
|
|
236
|
+
storageInstanceId: 'StorageInstanceId',
|
|
237
|
+
storagePerformanceLevel: 'StoragePerformanceLevel',
|
|
238
|
+
storageType: 'StorageType',
|
|
239
|
+
};
|
|
240
|
+
}
|
|
241
|
+
static types() {
|
|
242
|
+
return {
|
|
243
|
+
containerMountPath: 'string',
|
|
244
|
+
endpointId: 'string',
|
|
245
|
+
mountPath: 'string',
|
|
246
|
+
storageCapacity: 'string',
|
|
247
|
+
storageEndpoint: 'string',
|
|
248
|
+
storageInstanceId: 'string',
|
|
249
|
+
storagePerformanceLevel: 'string',
|
|
250
|
+
storageType: 'string',
|
|
251
|
+
};
|
|
252
|
+
}
|
|
253
|
+
validate() {
|
|
254
|
+
super.validate();
|
|
255
|
+
}
|
|
256
|
+
constructor(map) {
|
|
257
|
+
super(map);
|
|
258
|
+
}
|
|
259
|
+
}
|
|
260
|
+
exports.CreateApplicationRequestStorages = CreateApplicationRequestStorages;
|
|
178
261
|
class CreateApplicationRequestTag extends $dara.Model {
|
|
179
262
|
static names() {
|
|
180
263
|
return {
|
|
@@ -200,6 +283,7 @@ class CreateApplicationRequest extends $dara.Model {
|
|
|
200
283
|
static names() {
|
|
201
284
|
return {
|
|
202
285
|
AIDBClusterId: 'AIDBClusterId',
|
|
286
|
+
agenticDBBranchSpec: 'AgenticDBBranchSpec',
|
|
203
287
|
applicationType: 'ApplicationType',
|
|
204
288
|
architecture: 'Architecture',
|
|
205
289
|
authProvider: 'AuthProvider',
|
|
@@ -211,6 +295,8 @@ class CreateApplicationRequest extends $dara.Model {
|
|
|
211
295
|
components: 'Components',
|
|
212
296
|
DBClusterId: 'DBClusterId',
|
|
213
297
|
description: 'Description',
|
|
298
|
+
dnatEntries: 'DnatEntries',
|
|
299
|
+
dnatIpAddress: 'DnatIpAddress',
|
|
214
300
|
dryRun: 'DryRun',
|
|
215
301
|
endpoints: 'Endpoints',
|
|
216
302
|
knowledgeApplicationSpec: 'KnowledgeApplicationSpec',
|
|
@@ -232,17 +318,20 @@ class CreateApplicationRequest extends $dara.Model {
|
|
|
232
318
|
securityIPList: 'SecurityIPList',
|
|
233
319
|
securityIPType: 'SecurityIPType',
|
|
234
320
|
skillTemplateId: 'SkillTemplateId',
|
|
321
|
+
storages: 'Storages',
|
|
235
322
|
tag: 'Tag',
|
|
236
323
|
targetVersion: 'TargetVersion',
|
|
237
324
|
usedTime: 'UsedTime',
|
|
238
325
|
vSwitchId: 'VSwitchId',
|
|
239
326
|
vpcId: 'VpcId',
|
|
327
|
+
vpcNatGatewayId: 'VpcNatGatewayId',
|
|
240
328
|
zoneId: 'ZoneId',
|
|
241
329
|
};
|
|
242
330
|
}
|
|
243
331
|
static types() {
|
|
244
332
|
return {
|
|
245
333
|
AIDBClusterId: 'string',
|
|
334
|
+
agenticDBBranchSpec: CreateApplicationRequestAgenticDBBranchSpec,
|
|
246
335
|
applicationType: 'string',
|
|
247
336
|
architecture: 'string',
|
|
248
337
|
authProvider: 'string',
|
|
@@ -254,6 +343,8 @@ class CreateApplicationRequest extends $dara.Model {
|
|
|
254
343
|
components: { 'type': 'array', 'itemType': CreateApplicationRequestComponents },
|
|
255
344
|
DBClusterId: 'string',
|
|
256
345
|
description: 'string',
|
|
346
|
+
dnatEntries: { 'type': 'array', 'itemType': CreateApplicationRequestDnatEntries },
|
|
347
|
+
dnatIpAddress: 'string',
|
|
257
348
|
dryRun: 'boolean',
|
|
258
349
|
endpoints: { 'type': 'array', 'itemType': CreateApplicationRequestEndpoints },
|
|
259
350
|
knowledgeApplicationSpec: CreateApplicationRequestKnowledgeApplicationSpec,
|
|
@@ -275,18 +366,26 @@ class CreateApplicationRequest extends $dara.Model {
|
|
|
275
366
|
securityIPList: 'string',
|
|
276
367
|
securityIPType: 'string',
|
|
277
368
|
skillTemplateId: 'string',
|
|
369
|
+
storages: { 'type': 'array', 'itemType': CreateApplicationRequestStorages },
|
|
278
370
|
tag: { 'type': 'array', 'itemType': CreateApplicationRequestTag },
|
|
279
371
|
targetVersion: 'string',
|
|
280
372
|
usedTime: 'string',
|
|
281
373
|
vSwitchId: 'string',
|
|
282
374
|
vpcId: 'string',
|
|
375
|
+
vpcNatGatewayId: 'string',
|
|
283
376
|
zoneId: 'string',
|
|
284
377
|
};
|
|
285
378
|
}
|
|
286
379
|
validate() {
|
|
380
|
+
if (this.agenticDBBranchSpec && typeof this.agenticDBBranchSpec.validate === 'function') {
|
|
381
|
+
this.agenticDBBranchSpec.validate();
|
|
382
|
+
}
|
|
287
383
|
if (Array.isArray(this.components)) {
|
|
288
384
|
$dara.Model.validateArray(this.components);
|
|
289
385
|
}
|
|
386
|
+
if (Array.isArray(this.dnatEntries)) {
|
|
387
|
+
$dara.Model.validateArray(this.dnatEntries);
|
|
388
|
+
}
|
|
290
389
|
if (Array.isArray(this.endpoints)) {
|
|
291
390
|
$dara.Model.validateArray(this.endpoints);
|
|
292
391
|
}
|
|
@@ -299,6 +398,9 @@ class CreateApplicationRequest extends $dara.Model {
|
|
|
299
398
|
if (Array.isArray(this.parameters)) {
|
|
300
399
|
$dara.Model.validateArray(this.parameters);
|
|
301
400
|
}
|
|
401
|
+
if (Array.isArray(this.storages)) {
|
|
402
|
+
$dara.Model.validateArray(this.storages);
|
|
403
|
+
}
|
|
302
404
|
if (Array.isArray(this.tag)) {
|
|
303
405
|
$dara.Model.validateArray(this.tag);
|
|
304
406
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateApplicationRequest.js","sourceRoot":"","sources":["../../src/models/CreateApplicationRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,kCAAmC,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"CreateApplicationRequest.js","sourceRoot":"","sources":["../../src/models/CreateApplicationRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,2CAA4C,SAAQ,KAAK,CAAC,KAAK;IAiD1E,MAAM,CAAC,KAAK;QACV,OAAO;YACL,QAAQ,EAAE,UAAU;YACpB,WAAW,EAAE,aAAa;YAC1B,qBAAqB,EAAE,uBAAuB;YAC9C,cAAc,EAAE,gBAAgB;YAChC,SAAS,EAAE,WAAW;YACtB,QAAQ,EAAE,UAAU;SACrB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,QAAQ,EAAE,QAAQ;YAClB,WAAW,EAAE,QAAQ;YACrB,qBAAqB,EAAE,QAAQ;YAC/B,cAAc,EAAE,SAAS;YACzB,SAAS,EAAE,QAAQ;YACnB,QAAQ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KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;QAC3C,CAAC;QACD,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC;YAC3B,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;QACtC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAteD,4DAseC"}
|
|
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class CreateApplicationResponseBodyComponents extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* The
|
|
5
|
+
* The child component ID.
|
|
6
6
|
*
|
|
7
7
|
* @example
|
|
8
8
|
* pac-********************
|
|
@@ -22,7 +22,7 @@ export declare class CreateApplicationResponseBodyComponents extends $dara.Model
|
|
|
22
22
|
export declare class CreateApplicationResponseBody extends $dara.Model {
|
|
23
23
|
/**
|
|
24
24
|
* @remarks
|
|
25
|
-
* The ID
|
|
25
|
+
* The application ID.
|
|
26
26
|
*
|
|
27
27
|
* @example
|
|
28
28
|
* pa-********************
|
|
@@ -30,12 +30,12 @@ export declare class CreateApplicationResponseBody extends $dara.Model {
|
|
|
30
30
|
applicationId?: string;
|
|
31
31
|
/**
|
|
32
32
|
* @remarks
|
|
33
|
-
*
|
|
33
|
+
* The list of child components.
|
|
34
34
|
*/
|
|
35
35
|
components?: CreateApplicationResponseBodyComponents[];
|
|
36
36
|
/**
|
|
37
37
|
* @remarks
|
|
38
|
-
* The description
|
|
38
|
+
* The application description.
|
|
39
39
|
*
|
|
40
40
|
* @example
|
|
41
41
|
* myapp
|
|
@@ -43,7 +43,7 @@ export declare class CreateApplicationResponseBody extends $dara.Model {
|
|
|
43
43
|
description?: string;
|
|
44
44
|
/**
|
|
45
45
|
* @remarks
|
|
46
|
-
* The
|
|
46
|
+
* The generated order ID.
|
|
47
47
|
*
|
|
48
48
|
* @example
|
|
49
49
|
* 2148126708*****
|
|
@@ -51,7 +51,7 @@ export declare class CreateApplicationResponseBody extends $dara.Model {
|
|
|
51
51
|
orderId?: string;
|
|
52
52
|
/**
|
|
53
53
|
* @remarks
|
|
54
|
-
* The ID
|
|
54
|
+
* The request ID.
|
|
55
55
|
*
|
|
56
56
|
* @example
|
|
57
57
|
* 3E5CD764-FCCA-5C9C-838E-20E0DE84B2AF
|
|
@@ -59,7 +59,7 @@ export declare class CreateApplicationResponseBody extends $dara.Model {
|
|
|
59
59
|
requestId?: string;
|
|
60
60
|
/**
|
|
61
61
|
* @remarks
|
|
62
|
-
* Indicates whether
|
|
62
|
+
* Indicates whether resources are sufficient. This parameter is returned only when DryRun is set to true.
|
|
63
63
|
*
|
|
64
64
|
* @example
|
|
65
65
|
* true
|
|
@@ -67,7 +67,7 @@ export declare class CreateApplicationResponseBody extends $dara.Model {
|
|
|
67
67
|
resourceAvailable?: boolean;
|
|
68
68
|
/**
|
|
69
69
|
* @remarks
|
|
70
|
-
* The
|
|
70
|
+
* The resource group ID.
|
|
71
71
|
*
|
|
72
72
|
* @example
|
|
73
73
|
* rg-********************
|
|
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class CreateApplicationShrinkRequestTag extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* The key
|
|
5
|
+
* The tag key.
|
|
6
6
|
*
|
|
7
7
|
* @example
|
|
8
8
|
* testKey
|
|
@@ -10,7 +10,7 @@ export declare class CreateApplicationShrinkRequestTag extends $dara.Model {
|
|
|
10
10
|
key?: string;
|
|
11
11
|
/**
|
|
12
12
|
* @remarks
|
|
13
|
-
* The value
|
|
13
|
+
* The tag value.
|
|
14
14
|
*
|
|
15
15
|
* @example
|
|
16
16
|
* testValue
|
|
@@ -30,7 +30,7 @@ export declare class CreateApplicationShrinkRequestTag extends $dara.Model {
|
|
|
30
30
|
export declare class CreateApplicationShrinkRequest extends $dara.Model {
|
|
31
31
|
/**
|
|
32
32
|
* @remarks
|
|
33
|
-
* The ID of an existing model operator instance to associate. This parameter
|
|
33
|
+
* The ID of an existing model operator instance to associate. This parameter takes effect only when ApplicationType is set to polarclaw.
|
|
34
34
|
*
|
|
35
35
|
* @example
|
|
36
36
|
* pm-xxxxxx
|
|
@@ -38,13 +38,19 @@ export declare class CreateApplicationShrinkRequest extends $dara.Model {
|
|
|
38
38
|
AIDBClusterId?: string;
|
|
39
39
|
/**
|
|
40
40
|
* @remarks
|
|
41
|
-
* The
|
|
41
|
+
* The AgenticDB branch specification.
|
|
42
42
|
*
|
|
43
|
-
*
|
|
44
|
-
*
|
|
45
|
-
|
|
43
|
+
* @example
|
|
44
|
+
* {"DBClusterId":"pagc-2zea920mcvd5o87","TenantId":"t-cfc2d7df0e59439681f0087f51","ProjectId":"proj-d7849d0050664c758af795d468","BranchId":"br-9054b3b7649e4c0d977bd0df37","ForkFromBranch":true,"ForkFromApplicationId":"pa-source"}
|
|
45
|
+
*/
|
|
46
|
+
agenticDBBranchSpecShrink?: string;
|
|
47
|
+
/**
|
|
48
|
+
* @remarks
|
|
49
|
+
* The application type. Valid values:
|
|
46
50
|
*
|
|
47
|
-
* -
|
|
51
|
+
* - supabase: Set this value to create a managed Supabase application.
|
|
52
|
+
* - raycluster: Set this value to create a managed Ray Cluster application.
|
|
53
|
+
* - polarclaw: Set this value to create a managed PolarClaw application.
|
|
48
54
|
*
|
|
49
55
|
* This parameter is required.
|
|
50
56
|
*
|
|
@@ -54,7 +60,7 @@ export declare class CreateApplicationShrinkRequest extends $dara.Model {
|
|
|
54
60
|
applicationType?: string;
|
|
55
61
|
/**
|
|
56
62
|
* @remarks
|
|
57
|
-
* The CPU architecture. Valid
|
|
63
|
+
* The CPU architecture. Valid values:
|
|
58
64
|
*
|
|
59
65
|
* - x86
|
|
60
66
|
*
|
|
@@ -74,7 +80,7 @@ export declare class CreateApplicationShrinkRequest extends $dara.Model {
|
|
|
74
80
|
authProvider?: string;
|
|
75
81
|
/**
|
|
76
82
|
* @remarks
|
|
77
|
-
* The
|
|
83
|
+
* The authentication provider configuration.
|
|
78
84
|
*
|
|
79
85
|
* @example
|
|
80
86
|
* xxx
|
|
@@ -82,7 +88,7 @@ export declare class CreateApplicationShrinkRequest extends $dara.Model {
|
|
|
82
88
|
authProviderConfig?: string;
|
|
83
89
|
/**
|
|
84
90
|
* @remarks
|
|
85
|
-
* Specifies whether to
|
|
91
|
+
* 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.
|
|
86
92
|
*
|
|
87
93
|
* @example
|
|
88
94
|
* qwen3-max
|
|
@@ -90,11 +96,9 @@ export declare class CreateApplicationShrinkRequest extends $dara.Model {
|
|
|
90
96
|
autoAllocatePublicEip?: boolean;
|
|
91
97
|
/**
|
|
92
98
|
* @remarks
|
|
93
|
-
* Specifies whether to
|
|
94
|
-
*
|
|
95
|
-
*
|
|
96
|
-
*
|
|
97
|
-
* - true: Automatically creates the instance.
|
|
99
|
+
* Specifies whether to enable automatic creation of a cold storage Polarlakebase instance. Valid values:
|
|
100
|
+
* * false (default): Automatic creation is disabled.
|
|
101
|
+
* * true: Automatic creation is enabled.
|
|
98
102
|
*
|
|
99
103
|
* @example
|
|
100
104
|
* false
|
|
@@ -110,11 +114,9 @@ export declare class CreateApplicationShrinkRequest extends $dara.Model {
|
|
|
110
114
|
autoRenew?: boolean;
|
|
111
115
|
/**
|
|
112
116
|
* @remarks
|
|
113
|
-
* Specifies whether to automatically use
|
|
114
|
-
*
|
|
115
|
-
*
|
|
116
|
-
*
|
|
117
|
-
* - false: Does not use a coupon.
|
|
117
|
+
* Specifies whether to automatically use coupons. Valid values:
|
|
118
|
+
* * true (default): Use coupons.
|
|
119
|
+
* * false: Do not use coupons.
|
|
118
120
|
*
|
|
119
121
|
* @example
|
|
120
122
|
* true
|
|
@@ -122,12 +124,12 @@ export declare class CreateApplicationShrinkRequest extends $dara.Model {
|
|
|
122
124
|
autoUseCoupon?: boolean;
|
|
123
125
|
/**
|
|
124
126
|
* @remarks
|
|
125
|
-
*
|
|
127
|
+
* The list of user-defined application subcomponents.
|
|
126
128
|
*/
|
|
127
129
|
componentsShrink?: string;
|
|
128
130
|
/**
|
|
129
131
|
* @remarks
|
|
130
|
-
* The ID of the PolarDB instance
|
|
132
|
+
* The instance ID of the PolarDB instance on which the application depends.
|
|
131
133
|
*
|
|
132
134
|
* @example
|
|
133
135
|
* pc-**************
|
|
@@ -143,7 +145,20 @@ export declare class CreateApplicationShrinkRequest extends $dara.Model {
|
|
|
143
145
|
description?: string;
|
|
144
146
|
/**
|
|
145
147
|
* @remarks
|
|
146
|
-
* The
|
|
148
|
+
* 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.
|
|
149
|
+
*/
|
|
150
|
+
dnatEntriesShrink?: string;
|
|
151
|
+
/**
|
|
152
|
+
* @remarks
|
|
153
|
+
* 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.
|
|
154
|
+
*
|
|
155
|
+
* @example
|
|
156
|
+
* 10.64.0.10
|
|
157
|
+
*/
|
|
158
|
+
dnatIpAddress?: string;
|
|
159
|
+
/**
|
|
160
|
+
* @remarks
|
|
161
|
+
* Default value: `false`. If you set this parameter to `true`, only parameter and resource validation is performed without actually creating the resource.
|
|
147
162
|
*
|
|
148
163
|
* @example
|
|
149
164
|
* false
|
|
@@ -151,22 +166,22 @@ export declare class CreateApplicationShrinkRequest extends $dara.Model {
|
|
|
151
166
|
dryRun?: boolean;
|
|
152
167
|
/**
|
|
153
168
|
* @remarks
|
|
154
|
-
*
|
|
169
|
+
* The list of user-defined service endpoints. By default, a VPC endpoint is created.
|
|
155
170
|
*/
|
|
156
171
|
endpointsShrink?: string;
|
|
157
172
|
/**
|
|
158
173
|
* @remarks
|
|
159
|
-
*
|
|
174
|
+
* Required for knowledge applications.
|
|
160
175
|
*/
|
|
161
176
|
knowledgeApplicationSpecShrink?: string;
|
|
162
177
|
/**
|
|
163
178
|
* @remarks
|
|
164
|
-
*
|
|
179
|
+
* Required for mem0 applications.
|
|
165
180
|
*/
|
|
166
181
|
memApplicationSpecShrink?: string;
|
|
167
182
|
/**
|
|
168
183
|
* @remarks
|
|
169
|
-
* The model API. This parameter
|
|
184
|
+
* The model API. This parameter takes effect only when ApplicationType is set to polarclaw.
|
|
170
185
|
*
|
|
171
186
|
* @example
|
|
172
187
|
* openai-completions
|
|
@@ -174,7 +189,7 @@ export declare class CreateApplicationShrinkRequest extends $dara.Model {
|
|
|
174
189
|
modelApi?: string;
|
|
175
190
|
/**
|
|
176
191
|
* @remarks
|
|
177
|
-
* The API key
|
|
192
|
+
* The model API key. This parameter takes effect only when ApplicationType is set to polarclaw.
|
|
178
193
|
*
|
|
179
194
|
* @example
|
|
180
195
|
* sk-xxxxxx
|
|
@@ -182,7 +197,7 @@ export declare class CreateApplicationShrinkRequest extends $dara.Model {
|
|
|
182
197
|
modelApiKey?: string;
|
|
183
198
|
/**
|
|
184
199
|
* @remarks
|
|
185
|
-
* The
|
|
200
|
+
* The model base URL. This parameter takes effect only when ApplicationType is set to polarclaw.
|
|
186
201
|
*
|
|
187
202
|
* @example
|
|
188
203
|
* https://dashscope.aliyuncs.com/compatible-mode/v1
|
|
@@ -190,13 +205,11 @@ export declare class CreateApplicationShrinkRequest extends $dara.Model {
|
|
|
190
205
|
modelBaseUrl?: string;
|
|
191
206
|
/**
|
|
192
207
|
* @remarks
|
|
193
|
-
* The source
|
|
194
|
-
*
|
|
195
|
-
* - bailian: Alibaba Cloud Model Studio model.
|
|
208
|
+
* The model source. Valid values:
|
|
196
209
|
*
|
|
197
|
-
*
|
|
198
|
-
*
|
|
199
|
-
*
|
|
210
|
+
* * bailian: Alibaba Cloud Model Studio model.
|
|
211
|
+
* * custom: Custom model.
|
|
212
|
+
* * maas: PolarDB model operator.
|
|
200
213
|
*
|
|
201
214
|
* @example
|
|
202
215
|
* bailian
|
|
@@ -204,7 +217,7 @@ export declare class CreateApplicationShrinkRequest extends $dara.Model {
|
|
|
204
217
|
modelFrom?: string;
|
|
205
218
|
/**
|
|
206
219
|
* @remarks
|
|
207
|
-
* The name
|
|
220
|
+
* The model name. This parameter takes effect only when ApplicationType is set to polarclaw.
|
|
208
221
|
*
|
|
209
222
|
* @example
|
|
210
223
|
* qwen3-max
|
|
@@ -212,12 +225,12 @@ export declare class CreateApplicationShrinkRequest extends $dara.Model {
|
|
|
212
225
|
modelName?: string;
|
|
213
226
|
/**
|
|
214
227
|
* @remarks
|
|
215
|
-
*
|
|
228
|
+
* The list of parameters.
|
|
216
229
|
*/
|
|
217
230
|
parametersShrink?: string;
|
|
218
231
|
/**
|
|
219
232
|
* @remarks
|
|
220
|
-
* The billing
|
|
233
|
+
* The billing type.
|
|
221
234
|
*
|
|
222
235
|
* @example
|
|
223
236
|
* Postpaid
|
|
@@ -225,7 +238,7 @@ export declare class CreateApplicationShrinkRequest extends $dara.Model {
|
|
|
225
238
|
payType?: string;
|
|
226
239
|
/**
|
|
227
240
|
* @remarks
|
|
228
|
-
* The subscription
|
|
241
|
+
* The subscription type (yearly or monthly).
|
|
229
242
|
*
|
|
230
243
|
* @example
|
|
231
244
|
* Year
|
|
@@ -233,12 +246,10 @@ export declare class CreateApplicationShrinkRequest extends $dara.Model {
|
|
|
233
246
|
period?: string;
|
|
234
247
|
/**
|
|
235
248
|
* @remarks
|
|
236
|
-
* The ID of the
|
|
237
|
-
*
|
|
238
|
-
* This feature is currently supported only by the following applications:
|
|
249
|
+
* 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.
|
|
239
250
|
*
|
|
251
|
+
* Currently, only the following applications support this parameter:
|
|
240
252
|
* - supabase
|
|
241
|
-
*
|
|
242
253
|
* - raycluster
|
|
243
254
|
*
|
|
244
255
|
* @example
|
|
@@ -255,7 +266,7 @@ export declare class CreateApplicationShrinkRequest extends $dara.Model {
|
|
|
255
266
|
promotionCode?: string;
|
|
256
267
|
/**
|
|
257
268
|
* @remarks
|
|
258
|
-
* The region.
|
|
269
|
+
* The region. Default value: the region of the instance.
|
|
259
270
|
*
|
|
260
271
|
* @example
|
|
261
272
|
* cn-beijing
|
|
@@ -263,7 +274,7 @@ export declare class CreateApplicationShrinkRequest extends $dara.Model {
|
|
|
263
274
|
regionId?: string;
|
|
264
275
|
/**
|
|
265
276
|
* @remarks
|
|
266
|
-
* The
|
|
277
|
+
* The resource group ID.
|
|
267
278
|
*
|
|
268
279
|
* @example
|
|
269
280
|
* rg-********************
|
|
@@ -271,7 +282,7 @@ export declare class CreateApplicationShrinkRequest extends $dara.Model {
|
|
|
271
282
|
resourceGroupId?: string;
|
|
272
283
|
/**
|
|
273
284
|
* @remarks
|
|
274
|
-
* The
|
|
285
|
+
* The security group ID.
|
|
275
286
|
*
|
|
276
287
|
* @example
|
|
277
288
|
* sg-********************
|
|
@@ -279,7 +290,7 @@ export declare class CreateApplicationShrinkRequest extends $dara.Model {
|
|
|
279
290
|
securityGroupId?: string;
|
|
280
291
|
/**
|
|
281
292
|
* @remarks
|
|
282
|
-
* The name of the IP
|
|
293
|
+
* The name of the IP whitelist group. Default value: `default`.
|
|
283
294
|
*
|
|
284
295
|
* @example
|
|
285
296
|
* default
|
|
@@ -287,7 +298,7 @@ export declare class CreateApplicationShrinkRequest extends $dara.Model {
|
|
|
287
298
|
securityIPArrayName?: string;
|
|
288
299
|
/**
|
|
289
300
|
* @remarks
|
|
290
|
-
* The IP
|
|
301
|
+
* The IP whitelist. If you do not specify this parameter, the default value is `127.0.0.1`.
|
|
291
302
|
*
|
|
292
303
|
* @example
|
|
293
304
|
* 127.0.0.1,172.17.0.0/24
|
|
@@ -303,7 +314,7 @@ export declare class CreateApplicationShrinkRequest extends $dara.Model {
|
|
|
303
314
|
securityIPType?: string;
|
|
304
315
|
/**
|
|
305
316
|
* @remarks
|
|
306
|
-
* The
|
|
317
|
+
* The skill template ID.
|
|
307
318
|
*
|
|
308
319
|
* @example
|
|
309
320
|
* xxx
|
|
@@ -311,7 +322,15 @@ export declare class CreateApplicationShrinkRequest extends $dara.Model {
|
|
|
311
322
|
skillTemplateId?: string;
|
|
312
323
|
/**
|
|
313
324
|
* @remarks
|
|
314
|
-
* The
|
|
325
|
+
* The list of application storages.
|
|
326
|
+
*
|
|
327
|
+
* @example
|
|
328
|
+
* [{"StorageType":"oss","StorageInstanceId":"pfs-xxxx","EndpointId":"pe-xxxx"}]
|
|
329
|
+
*/
|
|
330
|
+
storagesShrink?: string;
|
|
331
|
+
/**
|
|
332
|
+
* @remarks
|
|
333
|
+
* The tags.
|
|
315
334
|
*/
|
|
316
335
|
tag?: CreateApplicationShrinkRequestTag[];
|
|
317
336
|
/**
|
|
@@ -332,7 +351,7 @@ export declare class CreateApplicationShrinkRequest extends $dara.Model {
|
|
|
332
351
|
usedTime?: string;
|
|
333
352
|
/**
|
|
334
353
|
* @remarks
|
|
335
|
-
* The vSwitch.
|
|
354
|
+
* The vSwitch. Default value: the vSwitch in the primary zone of the instance.
|
|
336
355
|
*
|
|
337
356
|
* @example
|
|
338
357
|
* vsw-*********************
|
|
@@ -340,7 +359,7 @@ export declare class CreateApplicationShrinkRequest extends $dara.Model {
|
|
|
340
359
|
vSwitchId?: string;
|
|
341
360
|
/**
|
|
342
361
|
* @remarks
|
|
343
|
-
* The ID
|
|
362
|
+
* The VPC ID.
|
|
344
363
|
*
|
|
345
364
|
* @example
|
|
346
365
|
* vpc-********************
|
|
@@ -348,7 +367,15 @@ export declare class CreateApplicationShrinkRequest extends $dara.Model {
|
|
|
348
367
|
vpcId?: string;
|
|
349
368
|
/**
|
|
350
369
|
* @remarks
|
|
351
|
-
* The
|
|
370
|
+
* 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.
|
|
371
|
+
*
|
|
372
|
+
* @example
|
|
373
|
+
* ngw-xxx
|
|
374
|
+
*/
|
|
375
|
+
vpcNatGatewayId?: string;
|
|
376
|
+
/**
|
|
377
|
+
* @remarks
|
|
378
|
+
* The zone. Default value: the primary zone of the instance.
|
|
352
379
|
*
|
|
353
380
|
* @example
|
|
354
381
|
* cn-beijing-k
|