@alicloud/polardb20170801 8.2.3 → 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 +14 -2
- package/dist/client.js.map +1 -1
- package/dist/models/CreateApplicationRequest.d.ts +177 -24
- package/dist/models/CreateApplicationRequest.js +73 -1
- package/dist/models/CreateApplicationRequest.js.map +1 -1
- package/dist/models/CreateApplicationResponseBody.d.ts +1 -1
- package/dist/models/CreateApplicationShrinkRequest.d.ts +32 -15
- package/dist/models/CreateApplicationShrinkRequest.js +4 -0
- package/dist/models/CreateApplicationShrinkRequest.js.map +1 -1
- package/dist/models/model.d.ts +2 -0
- package/dist/models/model.js +51 -47
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +18 -2
- package/src/models/CreateApplicationRequest.ts +231 -24
- package/src/models/CreateApplicationResponseBody.ts +1 -1
- package/src/models/CreateApplicationShrinkRequest.ts +36 -15
- package/src/models/model.ts +2 -0
|
@@ -30,12 +30,20 @@ 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
|
|
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
|
|
37
37
|
*/
|
|
38
38
|
AIDBClusterId?: string;
|
|
39
|
+
/**
|
|
40
|
+
* @remarks
|
|
41
|
+
* The AgenticDB branch specification.
|
|
42
|
+
*
|
|
43
|
+
* @example
|
|
44
|
+
* {"DBClusterId":"pagc-2zea920mcvd5o87","TenantId":"t-cfc2d7df0e59439681f0087f51","ProjectId":"proj-d7849d0050664c758af795d468","BranchId":"br-9054b3b7649e4c0d977bd0df37","ForkFromBranch":true,"ForkFromApplicationId":"pa-source"}
|
|
45
|
+
*/
|
|
46
|
+
agenticDBBranchSpecShrink?: string;
|
|
39
47
|
/**
|
|
40
48
|
* @remarks
|
|
41
49
|
* The application type. Valid values:
|
|
@@ -72,7 +80,7 @@ export declare class CreateApplicationShrinkRequest extends $dara.Model {
|
|
|
72
80
|
authProvider?: string;
|
|
73
81
|
/**
|
|
74
82
|
* @remarks
|
|
75
|
-
* The
|
|
83
|
+
* The authentication provider configuration.
|
|
76
84
|
*
|
|
77
85
|
* @example
|
|
78
86
|
* xxx
|
|
@@ -80,7 +88,7 @@ export declare class CreateApplicationShrinkRequest extends $dara.Model {
|
|
|
80
88
|
authProviderConfig?: string;
|
|
81
89
|
/**
|
|
82
90
|
* @remarks
|
|
83
|
-
* 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.
|
|
84
92
|
*
|
|
85
93
|
* @example
|
|
86
94
|
* qwen3-max
|
|
@@ -142,7 +150,7 @@ export declare class CreateApplicationShrinkRequest extends $dara.Model {
|
|
|
142
150
|
dnatEntriesShrink?: string;
|
|
143
151
|
/**
|
|
144
152
|
* @remarks
|
|
145
|
-
* The dedicated
|
|
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.
|
|
146
154
|
*
|
|
147
155
|
* @example
|
|
148
156
|
* 10.64.0.10
|
|
@@ -150,7 +158,7 @@ export declare class CreateApplicationShrinkRequest extends $dara.Model {
|
|
|
150
158
|
dnatIpAddress?: string;
|
|
151
159
|
/**
|
|
152
160
|
* @remarks
|
|
153
|
-
* Default value: `false`. If you set this parameter to `true`, only parameter and resource validation is performed without actually creating
|
|
161
|
+
* Default value: `false`. If you set this parameter to `true`, only parameter and resource validation is performed without actually creating the resource.
|
|
154
162
|
*
|
|
155
163
|
* @example
|
|
156
164
|
* false
|
|
@@ -173,7 +181,7 @@ export declare class CreateApplicationShrinkRequest extends $dara.Model {
|
|
|
173
181
|
memApplicationSpecShrink?: string;
|
|
174
182
|
/**
|
|
175
183
|
* @remarks
|
|
176
|
-
* The API
|
|
184
|
+
* The model API. This parameter takes effect only when ApplicationType is set to polarclaw.
|
|
177
185
|
*
|
|
178
186
|
* @example
|
|
179
187
|
* openai-completions
|
|
@@ -181,7 +189,7 @@ export declare class CreateApplicationShrinkRequest extends $dara.Model {
|
|
|
181
189
|
modelApi?: string;
|
|
182
190
|
/**
|
|
183
191
|
* @remarks
|
|
184
|
-
* The API key
|
|
192
|
+
* The model API key. This parameter takes effect only when ApplicationType is set to polarclaw.
|
|
185
193
|
*
|
|
186
194
|
* @example
|
|
187
195
|
* sk-xxxxxx
|
|
@@ -189,7 +197,7 @@ export declare class CreateApplicationShrinkRequest extends $dara.Model {
|
|
|
189
197
|
modelApiKey?: string;
|
|
190
198
|
/**
|
|
191
199
|
* @remarks
|
|
192
|
-
* The
|
|
200
|
+
* The model base URL. This parameter takes effect only when ApplicationType is set to polarclaw.
|
|
193
201
|
*
|
|
194
202
|
* @example
|
|
195
203
|
* https://dashscope.aliyuncs.com/compatible-mode/v1
|
|
@@ -198,7 +206,8 @@ export declare class CreateApplicationShrinkRequest extends $dara.Model {
|
|
|
198
206
|
/**
|
|
199
207
|
* @remarks
|
|
200
208
|
* The model source. Valid values:
|
|
201
|
-
*
|
|
209
|
+
*
|
|
210
|
+
* * bailian: Alibaba Cloud Model Studio model.
|
|
202
211
|
* * custom: Custom model.
|
|
203
212
|
* * maas: PolarDB model operator.
|
|
204
213
|
*
|
|
@@ -208,7 +217,7 @@ export declare class CreateApplicationShrinkRequest extends $dara.Model {
|
|
|
208
217
|
modelFrom?: string;
|
|
209
218
|
/**
|
|
210
219
|
* @remarks
|
|
211
|
-
* The name
|
|
220
|
+
* The model name. This parameter takes effect only when ApplicationType is set to polarclaw.
|
|
212
221
|
*
|
|
213
222
|
* @example
|
|
214
223
|
* qwen3-max
|
|
@@ -229,7 +238,7 @@ export declare class CreateApplicationShrinkRequest extends $dara.Model {
|
|
|
229
238
|
payType?: string;
|
|
230
239
|
/**
|
|
231
240
|
* @remarks
|
|
232
|
-
* The subscription type
|
|
241
|
+
* The subscription type (yearly or monthly).
|
|
233
242
|
*
|
|
234
243
|
* @example
|
|
235
244
|
* Year
|
|
@@ -237,7 +246,7 @@ export declare class CreateApplicationShrinkRequest extends $dara.Model {
|
|
|
237
246
|
period?: string;
|
|
238
247
|
/**
|
|
239
248
|
* @remarks
|
|
240
|
-
* The instance ID of the Polarlakebase cold storage or high-performance
|
|
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.
|
|
241
250
|
*
|
|
242
251
|
* Currently, only the following applications support this parameter:
|
|
243
252
|
* - supabase
|
|
@@ -289,7 +298,7 @@ export declare class CreateApplicationShrinkRequest extends $dara.Model {
|
|
|
289
298
|
securityIPArrayName?: string;
|
|
290
299
|
/**
|
|
291
300
|
* @remarks
|
|
292
|
-
* The IP whitelist. If you do not specify this parameter, the default value `127.0.0.1
|
|
301
|
+
* The IP whitelist. If you do not specify this parameter, the default value is `127.0.0.1`.
|
|
293
302
|
*
|
|
294
303
|
* @example
|
|
295
304
|
* 127.0.0.1,172.17.0.0/24
|
|
@@ -311,6 +320,14 @@ export declare class CreateApplicationShrinkRequest extends $dara.Model {
|
|
|
311
320
|
* xxx
|
|
312
321
|
*/
|
|
313
322
|
skillTemplateId?: string;
|
|
323
|
+
/**
|
|
324
|
+
* @remarks
|
|
325
|
+
* The list of application storages.
|
|
326
|
+
*
|
|
327
|
+
* @example
|
|
328
|
+
* [{"StorageType":"oss","StorageInstanceId":"pfs-xxxx","EndpointId":"pe-xxxx"}]
|
|
329
|
+
*/
|
|
330
|
+
storagesShrink?: string;
|
|
314
331
|
/**
|
|
315
332
|
* @remarks
|
|
316
333
|
* The tags.
|
|
@@ -334,7 +351,7 @@ export declare class CreateApplicationShrinkRequest extends $dara.Model {
|
|
|
334
351
|
usedTime?: string;
|
|
335
352
|
/**
|
|
336
353
|
* @remarks
|
|
337
|
-
* The vSwitch. Default value: the
|
|
354
|
+
* The vSwitch. Default value: the vSwitch in the primary zone of the instance.
|
|
338
355
|
*
|
|
339
356
|
* @example
|
|
340
357
|
* vsw-*********************
|
|
@@ -350,7 +367,7 @@ export declare class CreateApplicationShrinkRequest extends $dara.Model {
|
|
|
350
367
|
vpcId?: string;
|
|
351
368
|
/**
|
|
352
369
|
* @remarks
|
|
353
|
-
* 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
|
|
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.
|
|
354
371
|
*
|
|
355
372
|
* @example
|
|
356
373
|
* ngw-xxx
|
|
@@ -61,6 +61,7 @@ class CreateApplicationShrinkRequest extends $dara.Model {
|
|
|
61
61
|
static names() {
|
|
62
62
|
return {
|
|
63
63
|
AIDBClusterId: 'AIDBClusterId',
|
|
64
|
+
agenticDBBranchSpecShrink: 'AgenticDBBranchSpec',
|
|
64
65
|
applicationType: 'ApplicationType',
|
|
65
66
|
architecture: 'Architecture',
|
|
66
67
|
authProvider: 'AuthProvider',
|
|
@@ -95,6 +96,7 @@ class CreateApplicationShrinkRequest extends $dara.Model {
|
|
|
95
96
|
securityIPList: 'SecurityIPList',
|
|
96
97
|
securityIPType: 'SecurityIPType',
|
|
97
98
|
skillTemplateId: 'SkillTemplateId',
|
|
99
|
+
storagesShrink: 'Storages',
|
|
98
100
|
tag: 'Tag',
|
|
99
101
|
targetVersion: 'TargetVersion',
|
|
100
102
|
usedTime: 'UsedTime',
|
|
@@ -107,6 +109,7 @@ class CreateApplicationShrinkRequest extends $dara.Model {
|
|
|
107
109
|
static types() {
|
|
108
110
|
return {
|
|
109
111
|
AIDBClusterId: 'string',
|
|
112
|
+
agenticDBBranchSpecShrink: 'string',
|
|
110
113
|
applicationType: 'string',
|
|
111
114
|
architecture: 'string',
|
|
112
115
|
authProvider: 'string',
|
|
@@ -141,6 +144,7 @@ class CreateApplicationShrinkRequest extends $dara.Model {
|
|
|
141
144
|
securityIPList: 'string',
|
|
142
145
|
securityIPType: 'string',
|
|
143
146
|
skillTemplateId: 'string',
|
|
147
|
+
storagesShrink: 'string',
|
|
144
148
|
tag: { 'type': 'array', 'itemType': CreateApplicationShrinkRequestTag },
|
|
145
149
|
targetVersion: 'string',
|
|
146
150
|
usedTime: 'string',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateApplicationShrinkRequest.js","sourceRoot":"","sources":["../../src/models/CreateApplicationShrinkRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,iCAAkC,SAAQ,KAAK,CAAC,KAAK;IAiBhE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,GAAG,EAAE,KAAK;YACV,KAAK,EAAE,OAAO;SACf,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,GAAG,EAAE,QAAQ;YACb,KAAK,EAAE,QAAQ;SAChB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAtCD,8EAsCC;AAED,MAAa,8BAA+B,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"CreateApplicationShrinkRequest.js","sourceRoot":"","sources":["../../src/models/CreateApplicationShrinkRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;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AQ;YAC3B,aAAa,EAAE,QAAQ;YACvB,QAAQ,EAAE,QAAQ;YAClB,eAAe,EAAE,QAAQ;YACzB,eAAe,EAAE,QAAQ;YACzB,mBAAmB,EAAE,QAAQ;YAC7B,cAAc,EAAE,QAAQ;YACxB,cAAc,EAAE,QAAQ;YACxB,eAAe,EAAE,QAAQ;YACzB,cAAc,EAAE,QAAQ;YACxB,GAAG,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,iCAAiC,EAAE;YACvE,aAAa,EAAE,QAAQ;YACvB,QAAQ,EAAE,QAAQ;YAClB,SAAS,EAAE,QAAQ;YACnB,KAAK,EAAE,QAAQ;YACf,eAAe,EAAE,QAAQ;YACzB,MAAM,EAAE,QAAQ;SACjB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,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;AA9cD,wEA8cC"}
|
package/dist/models/model.d.ts
CHANGED
|
@@ -6,12 +6,14 @@ export { CheckPolarFsQuotaConsistencyResponseBodyQuotaItem } from './CheckPolarF
|
|
|
6
6
|
export { CreateAIDBClusterRequestTimeSlices } from './CreateAidbclusterRequest';
|
|
7
7
|
export { CreateAIDBClusterApiKeyResponseBodyApiKey } from './CreateAidbclusterApiKeyResponseBody';
|
|
8
8
|
export { CreateAINodesRequestDBNodes } from './CreateAinodesRequest';
|
|
9
|
+
export { CreateApplicationRequestAgenticDBBranchSpec } from './CreateApplicationRequest';
|
|
9
10
|
export { CreateApplicationRequestComponents } from './CreateApplicationRequest';
|
|
10
11
|
export { CreateApplicationRequestDnatEntries } from './CreateApplicationRequest';
|
|
11
12
|
export { CreateApplicationRequestEndpoints } from './CreateApplicationRequest';
|
|
12
13
|
export { CreateApplicationRequestKnowledgeApplicationSpec } from './CreateApplicationRequest';
|
|
13
14
|
export { CreateApplicationRequestMemApplicationSpec } from './CreateApplicationRequest';
|
|
14
15
|
export { CreateApplicationRequestParameters } from './CreateApplicationRequest';
|
|
16
|
+
export { CreateApplicationRequestStorages } from './CreateApplicationRequest';
|
|
15
17
|
export { CreateApplicationRequestTag } from './CreateApplicationRequest';
|
|
16
18
|
export { CreateApplicationShrinkRequestTag } from './CreateApplicationShrinkRequest';
|
|
17
19
|
export { CreateApplicationResponseBodyComponents } from './CreateApplicationResponseBody';
|