@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 CreateApplicationShrinkRequestTag extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The key
|
|
8
|
+
* The tag key.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* testKey
|
|
@@ -13,7 +13,7 @@ export class CreateApplicationShrinkRequestTag extends $dara.Model {
|
|
|
13
13
|
key?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The value
|
|
16
|
+
* The tag value.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* testValue
|
|
@@ -45,7 +45,7 @@ export class CreateApplicationShrinkRequestTag extends $dara.Model {
|
|
|
45
45
|
export class CreateApplicationShrinkRequest extends $dara.Model {
|
|
46
46
|
/**
|
|
47
47
|
* @remarks
|
|
48
|
-
* The ID of an existing
|
|
48
|
+
* The ID of an existing template operator instance to associate. This parameter takes effect only when ApplicationType is set to polarclaw.
|
|
49
49
|
*
|
|
50
50
|
* @example
|
|
51
51
|
* pm-xxxxxx
|
|
@@ -53,13 +53,11 @@ export class CreateApplicationShrinkRequest extends $dara.Model {
|
|
|
53
53
|
AIDBClusterId?: string;
|
|
54
54
|
/**
|
|
55
55
|
* @remarks
|
|
56
|
-
* The type
|
|
56
|
+
* The application type. Valid values:
|
|
57
57
|
*
|
|
58
|
-
* - supabase:
|
|
59
|
-
*
|
|
60
|
-
* -
|
|
61
|
-
*
|
|
62
|
-
* - polarclaw: Creates a managed PolarClaw application.
|
|
58
|
+
* - supabase: Set this value to create a managed Supabase application.
|
|
59
|
+
* - raycluster: Set this value to create a managed Ray Cluster application.
|
|
60
|
+
* - polarclaw: Set this value to create a managed PolarClaw application.
|
|
63
61
|
*
|
|
64
62
|
* This parameter is required.
|
|
65
63
|
*
|
|
@@ -69,7 +67,7 @@ export class CreateApplicationShrinkRequest extends $dara.Model {
|
|
|
69
67
|
applicationType?: string;
|
|
70
68
|
/**
|
|
71
69
|
* @remarks
|
|
72
|
-
* The CPU architecture. Valid
|
|
70
|
+
* The CPU architecture. Valid values:
|
|
73
71
|
*
|
|
74
72
|
* - x86
|
|
75
73
|
*
|
|
@@ -97,7 +95,7 @@ export class CreateApplicationShrinkRequest extends $dara.Model {
|
|
|
97
95
|
authProviderConfig?: string;
|
|
98
96
|
/**
|
|
99
97
|
* @remarks
|
|
100
|
-
* Specifies whether to automatically create and
|
|
98
|
+
* Specifies whether to automatically create and associate with an elastic IP address (EIP).
|
|
101
99
|
*
|
|
102
100
|
* @example
|
|
103
101
|
* qwen3-max
|
|
@@ -105,11 +103,9 @@ export class CreateApplicationShrinkRequest extends $dara.Model {
|
|
|
105
103
|
autoAllocatePublicEip?: boolean;
|
|
106
104
|
/**
|
|
107
105
|
* @remarks
|
|
108
|
-
* Specifies whether to
|
|
109
|
-
*
|
|
110
|
-
*
|
|
111
|
-
*
|
|
112
|
-
* - true: Automatically creates the instance.
|
|
106
|
+
* Specifies whether to enable automatic creation of a cold storage Polarlakebase instance. Valid values:
|
|
107
|
+
* * false (default): Automatic creation is disabled.
|
|
108
|
+
* * true: Automatic creation is enabled.
|
|
113
109
|
*
|
|
114
110
|
* @example
|
|
115
111
|
* false
|
|
@@ -125,11 +121,9 @@ export class CreateApplicationShrinkRequest extends $dara.Model {
|
|
|
125
121
|
autoRenew?: boolean;
|
|
126
122
|
/**
|
|
127
123
|
* @remarks
|
|
128
|
-
* Specifies whether to automatically use
|
|
129
|
-
*
|
|
130
|
-
*
|
|
131
|
-
*
|
|
132
|
-
* - false: Does not use a coupon.
|
|
124
|
+
* Specifies whether to automatically use coupons. Valid values:
|
|
125
|
+
* * true (default): Use coupons.
|
|
126
|
+
* * false: Do not use coupons.
|
|
133
127
|
*
|
|
134
128
|
* @example
|
|
135
129
|
* true
|
|
@@ -137,12 +131,12 @@ export class CreateApplicationShrinkRequest extends $dara.Model {
|
|
|
137
131
|
autoUseCoupon?: boolean;
|
|
138
132
|
/**
|
|
139
133
|
* @remarks
|
|
140
|
-
*
|
|
134
|
+
* The list of user-defined application subcomponents.
|
|
141
135
|
*/
|
|
142
136
|
componentsShrink?: string;
|
|
143
137
|
/**
|
|
144
138
|
* @remarks
|
|
145
|
-
* The ID of the PolarDB instance
|
|
139
|
+
* The instance ID of the PolarDB instance on which the application depends.
|
|
146
140
|
*
|
|
147
141
|
* @example
|
|
148
142
|
* pc-**************
|
|
@@ -158,7 +152,20 @@ export class CreateApplicationShrinkRequest extends $dara.Model {
|
|
|
158
152
|
description?: string;
|
|
159
153
|
/**
|
|
160
154
|
* @remarks
|
|
161
|
-
* The
|
|
155
|
+
* 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.
|
|
156
|
+
*/
|
|
157
|
+
dnatEntriesShrink?: string;
|
|
158
|
+
/**
|
|
159
|
+
* @remarks
|
|
160
|
+
* 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.
|
|
161
|
+
*
|
|
162
|
+
* @example
|
|
163
|
+
* 10.64.0.10
|
|
164
|
+
*/
|
|
165
|
+
dnatIpAddress?: string;
|
|
166
|
+
/**
|
|
167
|
+
* @remarks
|
|
168
|
+
* Default value: `false`. If you set this parameter to `true`, only parameter and resource validation is performed without actually creating resources.
|
|
162
169
|
*
|
|
163
170
|
* @example
|
|
164
171
|
* false
|
|
@@ -166,22 +173,22 @@ export class CreateApplicationShrinkRequest extends $dara.Model {
|
|
|
166
173
|
dryRun?: boolean;
|
|
167
174
|
/**
|
|
168
175
|
* @remarks
|
|
169
|
-
*
|
|
176
|
+
* The list of user-defined service endpoints. By default, a VPC endpoint is created.
|
|
170
177
|
*/
|
|
171
178
|
endpointsShrink?: string;
|
|
172
179
|
/**
|
|
173
180
|
* @remarks
|
|
174
|
-
*
|
|
181
|
+
* Required for knowledge applications.
|
|
175
182
|
*/
|
|
176
183
|
knowledgeApplicationSpecShrink?: string;
|
|
177
184
|
/**
|
|
178
185
|
* @remarks
|
|
179
|
-
*
|
|
186
|
+
* Required for mem0 applications.
|
|
180
187
|
*/
|
|
181
188
|
memApplicationSpecShrink?: string;
|
|
182
189
|
/**
|
|
183
190
|
* @remarks
|
|
184
|
-
* The model
|
|
191
|
+
* The API of the model. This parameter takes effect only when ApplicationType is set to polarclaw.
|
|
185
192
|
*
|
|
186
193
|
* @example
|
|
187
194
|
* openai-completions
|
|
@@ -189,7 +196,7 @@ export class CreateApplicationShrinkRequest extends $dara.Model {
|
|
|
189
196
|
modelApi?: string;
|
|
190
197
|
/**
|
|
191
198
|
* @remarks
|
|
192
|
-
* The API key
|
|
199
|
+
* The API key of the model. This parameter takes effect only when ApplicationType is set to polarclaw.
|
|
193
200
|
*
|
|
194
201
|
* @example
|
|
195
202
|
* sk-xxxxxx
|
|
@@ -197,7 +204,7 @@ export class CreateApplicationShrinkRequest extends $dara.Model {
|
|
|
197
204
|
modelApiKey?: string;
|
|
198
205
|
/**
|
|
199
206
|
* @remarks
|
|
200
|
-
* The URL of the model. This parameter
|
|
207
|
+
* The URL of the model. This parameter takes effect only when ApplicationType is set to polarclaw.
|
|
201
208
|
*
|
|
202
209
|
* @example
|
|
203
210
|
* https://dashscope.aliyuncs.com/compatible-mode/v1
|
|
@@ -205,13 +212,10 @@ export class CreateApplicationShrinkRequest extends $dara.Model {
|
|
|
205
212
|
modelBaseUrl?: string;
|
|
206
213
|
/**
|
|
207
214
|
* @remarks
|
|
208
|
-
* The source
|
|
209
|
-
*
|
|
210
|
-
*
|
|
211
|
-
*
|
|
212
|
-
* - custom: A custom model.
|
|
213
|
-
*
|
|
214
|
-
* - maas: PolarDB model operator.
|
|
215
|
+
* The model source. Valid values:
|
|
216
|
+
* * bailian: Bailian model.
|
|
217
|
+
* * custom: Custom model.
|
|
218
|
+
* * maas: PolarDB model operator.
|
|
215
219
|
*
|
|
216
220
|
* @example
|
|
217
221
|
* bailian
|
|
@@ -219,7 +223,7 @@ export class CreateApplicationShrinkRequest extends $dara.Model {
|
|
|
219
223
|
modelFrom?: string;
|
|
220
224
|
/**
|
|
221
225
|
* @remarks
|
|
222
|
-
* The name of the model. This parameter
|
|
226
|
+
* The name of the model. This parameter takes effect only when ApplicationType is set to polarclaw.
|
|
223
227
|
*
|
|
224
228
|
* @example
|
|
225
229
|
* qwen3-max
|
|
@@ -227,12 +231,12 @@ export class CreateApplicationShrinkRequest extends $dara.Model {
|
|
|
227
231
|
modelName?: string;
|
|
228
232
|
/**
|
|
229
233
|
* @remarks
|
|
230
|
-
*
|
|
234
|
+
* The list of parameters.
|
|
231
235
|
*/
|
|
232
236
|
parametersShrink?: string;
|
|
233
237
|
/**
|
|
234
238
|
* @remarks
|
|
235
|
-
* The billing
|
|
239
|
+
* The billing type.
|
|
236
240
|
*
|
|
237
241
|
* @example
|
|
238
242
|
* Postpaid
|
|
@@ -240,7 +244,7 @@ export class CreateApplicationShrinkRequest extends $dara.Model {
|
|
|
240
244
|
payType?: string;
|
|
241
245
|
/**
|
|
242
246
|
* @remarks
|
|
243
|
-
* The subscription
|
|
247
|
+
* The subscription type, such as yearly or monthly.
|
|
244
248
|
*
|
|
245
249
|
* @example
|
|
246
250
|
* Year
|
|
@@ -248,12 +252,10 @@ export class CreateApplicationShrinkRequest extends $dara.Model {
|
|
|
248
252
|
period?: string;
|
|
249
253
|
/**
|
|
250
254
|
* @remarks
|
|
251
|
-
* The ID of the
|
|
252
|
-
*
|
|
253
|
-
* This feature is currently supported only by the following applications:
|
|
255
|
+
* 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.
|
|
254
256
|
*
|
|
257
|
+
* Currently, only the following applications support this parameter:
|
|
255
258
|
* - supabase
|
|
256
|
-
*
|
|
257
259
|
* - raycluster
|
|
258
260
|
*
|
|
259
261
|
* @example
|
|
@@ -270,7 +272,7 @@ export class CreateApplicationShrinkRequest extends $dara.Model {
|
|
|
270
272
|
promotionCode?: string;
|
|
271
273
|
/**
|
|
272
274
|
* @remarks
|
|
273
|
-
* The region.
|
|
275
|
+
* The region. Default value: the region of the instance.
|
|
274
276
|
*
|
|
275
277
|
* @example
|
|
276
278
|
* cn-beijing
|
|
@@ -278,7 +280,7 @@ export class CreateApplicationShrinkRequest extends $dara.Model {
|
|
|
278
280
|
regionId?: string;
|
|
279
281
|
/**
|
|
280
282
|
* @remarks
|
|
281
|
-
* The
|
|
283
|
+
* The resource group ID.
|
|
282
284
|
*
|
|
283
285
|
* @example
|
|
284
286
|
* rg-********************
|
|
@@ -286,7 +288,7 @@ export class CreateApplicationShrinkRequest extends $dara.Model {
|
|
|
286
288
|
resourceGroupId?: string;
|
|
287
289
|
/**
|
|
288
290
|
* @remarks
|
|
289
|
-
* The
|
|
291
|
+
* The security group ID.
|
|
290
292
|
*
|
|
291
293
|
* @example
|
|
292
294
|
* sg-********************
|
|
@@ -294,7 +296,7 @@ export class CreateApplicationShrinkRequest extends $dara.Model {
|
|
|
294
296
|
securityGroupId?: string;
|
|
295
297
|
/**
|
|
296
298
|
* @remarks
|
|
297
|
-
* The name of the IP
|
|
299
|
+
* The name of the IP whitelist group. Default value: `default`.
|
|
298
300
|
*
|
|
299
301
|
* @example
|
|
300
302
|
* default
|
|
@@ -302,7 +304,7 @@ export class CreateApplicationShrinkRequest extends $dara.Model {
|
|
|
302
304
|
securityIPArrayName?: string;
|
|
303
305
|
/**
|
|
304
306
|
* @remarks
|
|
305
|
-
* The IP
|
|
307
|
+
* The IP whitelist. If you do not specify this parameter, the default value `127.0.0.1` is used.
|
|
306
308
|
*
|
|
307
309
|
* @example
|
|
308
310
|
* 127.0.0.1,172.17.0.0/24
|
|
@@ -318,7 +320,7 @@ export class CreateApplicationShrinkRequest extends $dara.Model {
|
|
|
318
320
|
securityIPType?: string;
|
|
319
321
|
/**
|
|
320
322
|
* @remarks
|
|
321
|
-
* The
|
|
323
|
+
* The skill template ID.
|
|
322
324
|
*
|
|
323
325
|
* @example
|
|
324
326
|
* xxx
|
|
@@ -326,7 +328,7 @@ export class CreateApplicationShrinkRequest extends $dara.Model {
|
|
|
326
328
|
skillTemplateId?: string;
|
|
327
329
|
/**
|
|
328
330
|
* @remarks
|
|
329
|
-
* The
|
|
331
|
+
* The tags.
|
|
330
332
|
*/
|
|
331
333
|
tag?: CreateApplicationShrinkRequestTag[];
|
|
332
334
|
/**
|
|
@@ -347,7 +349,7 @@ export class CreateApplicationShrinkRequest extends $dara.Model {
|
|
|
347
349
|
usedTime?: string;
|
|
348
350
|
/**
|
|
349
351
|
* @remarks
|
|
350
|
-
* The vSwitch.
|
|
352
|
+
* The vSwitch. Default value: the current vSwitch in the primary zone of the instance.
|
|
351
353
|
*
|
|
352
354
|
* @example
|
|
353
355
|
* vsw-*********************
|
|
@@ -355,7 +357,7 @@ export class CreateApplicationShrinkRequest extends $dara.Model {
|
|
|
355
357
|
vSwitchId?: string;
|
|
356
358
|
/**
|
|
357
359
|
* @remarks
|
|
358
|
-
* The ID
|
|
360
|
+
* The VPC ID.
|
|
359
361
|
*
|
|
360
362
|
* @example
|
|
361
363
|
* vpc-********************
|
|
@@ -363,7 +365,15 @@ export class CreateApplicationShrinkRequest extends $dara.Model {
|
|
|
363
365
|
vpcId?: string;
|
|
364
366
|
/**
|
|
365
367
|
* @remarks
|
|
366
|
-
* The
|
|
368
|
+
* 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.
|
|
369
|
+
*
|
|
370
|
+
* @example
|
|
371
|
+
* ngw-xxx
|
|
372
|
+
*/
|
|
373
|
+
vpcNatGatewayId?: string;
|
|
374
|
+
/**
|
|
375
|
+
* @remarks
|
|
376
|
+
* The zone. Default value: the primary zone of the instance.
|
|
367
377
|
*
|
|
368
378
|
* @example
|
|
369
379
|
* cn-beijing-k
|
|
@@ -383,6 +393,8 @@ export class CreateApplicationShrinkRequest extends $dara.Model {
|
|
|
383
393
|
componentsShrink: 'Components',
|
|
384
394
|
DBClusterId: 'DBClusterId',
|
|
385
395
|
description: 'Description',
|
|
396
|
+
dnatEntriesShrink: 'DnatEntries',
|
|
397
|
+
dnatIpAddress: 'DnatIpAddress',
|
|
386
398
|
dryRun: 'DryRun',
|
|
387
399
|
endpointsShrink: 'Endpoints',
|
|
388
400
|
knowledgeApplicationSpecShrink: 'KnowledgeApplicationSpec',
|
|
@@ -409,6 +421,7 @@ export class CreateApplicationShrinkRequest extends $dara.Model {
|
|
|
409
421
|
usedTime: 'UsedTime',
|
|
410
422
|
vSwitchId: 'VSwitchId',
|
|
411
423
|
vpcId: 'VpcId',
|
|
424
|
+
vpcNatGatewayId: 'VpcNatGatewayId',
|
|
412
425
|
zoneId: 'ZoneId',
|
|
413
426
|
};
|
|
414
427
|
}
|
|
@@ -427,6 +440,8 @@ export class CreateApplicationShrinkRequest extends $dara.Model {
|
|
|
427
440
|
componentsShrink: 'string',
|
|
428
441
|
DBClusterId: 'string',
|
|
429
442
|
description: 'string',
|
|
443
|
+
dnatEntriesShrink: 'string',
|
|
444
|
+
dnatIpAddress: 'string',
|
|
430
445
|
dryRun: 'boolean',
|
|
431
446
|
endpointsShrink: 'string',
|
|
432
447
|
knowledgeApplicationSpecShrink: 'string',
|
|
@@ -453,6 +468,7 @@ export class CreateApplicationShrinkRequest extends $dara.Model {
|
|
|
453
468
|
usedTime: 'string',
|
|
454
469
|
vSwitchId: 'string',
|
|
455
470
|
vpcId: 'string',
|
|
471
|
+
vpcNatGatewayId: 'string',
|
|
456
472
|
zoneId: 'string',
|
|
457
473
|
};
|
|
458
474
|
}
|
|
@@ -227,7 +227,7 @@ export class DescribeApplicationAttributeResponseBodyComponents extends $dara.Mo
|
|
|
227
227
|
componentReplica?: number;
|
|
228
228
|
/**
|
|
229
229
|
* @remarks
|
|
230
|
-
* The group name of the application subcomponent
|
|
230
|
+
* The group name of the replicas of the application subcomponent.
|
|
231
231
|
*
|
|
232
232
|
* @example
|
|
233
233
|
* default
|
|
@@ -243,21 +243,21 @@ export class DescribeApplicationAttributeResponseBodyComponents extends $dara.Mo
|
|
|
243
243
|
componentType?: string;
|
|
244
244
|
/**
|
|
245
245
|
* @remarks
|
|
246
|
-
* The list of
|
|
246
|
+
* The list of security groups at the subcomponent level.
|
|
247
247
|
*
|
|
248
|
-
* If the
|
|
248
|
+
* If the security groups at the subcomponent level are the same as those at the application level, this response element is omitted.
|
|
249
249
|
*/
|
|
250
250
|
securityGroups?: DescribeApplicationAttributeResponseBodyComponentsSecurityGroups[];
|
|
251
251
|
/**
|
|
252
252
|
* @remarks
|
|
253
|
-
* The list of
|
|
253
|
+
* The list of whitelist addresses at the subcomponent level.
|
|
254
254
|
*
|
|
255
|
-
* If the subcomponent
|
|
255
|
+
* If the whitelists at the subcomponent level are the same as those at the application level, this response element is omitted.
|
|
256
256
|
*/
|
|
257
257
|
securityIPArrays?: DescribeApplicationAttributeResponseBodyComponentsSecurityIPArrays[];
|
|
258
258
|
/**
|
|
259
259
|
* @remarks
|
|
260
|
-
* The component status. Valid values are the same as the application status.
|
|
260
|
+
* The component status. Valid values are the same as those of the application status.
|
|
261
261
|
*
|
|
262
262
|
* @example
|
|
263
263
|
* Activated
|
|
@@ -318,6 +318,86 @@ export class DescribeApplicationAttributeResponseBodyComponents extends $dara.Mo
|
|
|
318
318
|
}
|
|
319
319
|
}
|
|
320
320
|
|
|
321
|
+
export class DescribeApplicationAttributeResponseBodyDnatMappings extends $dara.Model {
|
|
322
|
+
/**
|
|
323
|
+
* @remarks
|
|
324
|
+
* The access address in the format of NatIp:FrontPort. This address can be used directly from the office network.
|
|
325
|
+
*
|
|
326
|
+
* @example
|
|
327
|
+
* 10.64.0.10:10001
|
|
328
|
+
*/
|
|
329
|
+
accessAddress?: string;
|
|
330
|
+
/**
|
|
331
|
+
* @remarks
|
|
332
|
+
* The backend service port.
|
|
333
|
+
*
|
|
334
|
+
* @example
|
|
335
|
+
* 8787
|
|
336
|
+
*/
|
|
337
|
+
backendPort?: number;
|
|
338
|
+
/**
|
|
339
|
+
* @remarks
|
|
340
|
+
* The DNAT entry ID.
|
|
341
|
+
*
|
|
342
|
+
* @example
|
|
343
|
+
* fwd-xxx
|
|
344
|
+
*/
|
|
345
|
+
entryId?: string;
|
|
346
|
+
/**
|
|
347
|
+
* @remarks
|
|
348
|
+
* The frontend port.
|
|
349
|
+
*
|
|
350
|
+
* @example
|
|
351
|
+
* 10001
|
|
352
|
+
*/
|
|
353
|
+
frontPort?: number;
|
|
354
|
+
/**
|
|
355
|
+
* @remarks
|
|
356
|
+
* The port name. Valid values: webui, hermesagent, dashboard, and ssh.
|
|
357
|
+
*
|
|
358
|
+
* @example
|
|
359
|
+
* webui
|
|
360
|
+
*/
|
|
361
|
+
portName?: string;
|
|
362
|
+
/**
|
|
363
|
+
* @remarks
|
|
364
|
+
* The entry status.
|
|
365
|
+
*
|
|
366
|
+
* @example
|
|
367
|
+
* Available
|
|
368
|
+
*/
|
|
369
|
+
status?: string;
|
|
370
|
+
static names(): { [key: string]: string } {
|
|
371
|
+
return {
|
|
372
|
+
accessAddress: 'AccessAddress',
|
|
373
|
+
backendPort: 'BackendPort',
|
|
374
|
+
entryId: 'EntryId',
|
|
375
|
+
frontPort: 'FrontPort',
|
|
376
|
+
portName: 'PortName',
|
|
377
|
+
status: 'Status',
|
|
378
|
+
};
|
|
379
|
+
}
|
|
380
|
+
|
|
381
|
+
static types(): { [key: string]: any } {
|
|
382
|
+
return {
|
|
383
|
+
accessAddress: 'string',
|
|
384
|
+
backendPort: 'number',
|
|
385
|
+
entryId: 'string',
|
|
386
|
+
frontPort: 'number',
|
|
387
|
+
portName: 'string',
|
|
388
|
+
status: 'string',
|
|
389
|
+
};
|
|
390
|
+
}
|
|
391
|
+
|
|
392
|
+
validate() {
|
|
393
|
+
super.validate();
|
|
394
|
+
}
|
|
395
|
+
|
|
396
|
+
constructor(map?: { [key: string]: any }) {
|
|
397
|
+
super(map);
|
|
398
|
+
}
|
|
399
|
+
}
|
|
400
|
+
|
|
321
401
|
export class DescribeApplicationAttributeResponseBodyEndpoints extends $dara.Model {
|
|
322
402
|
/**
|
|
323
403
|
* @remarks
|
|
@@ -348,7 +428,7 @@ export class DescribeApplicationAttributeResponseBodyEndpoints extends $dara.Mod
|
|
|
348
428
|
* @remarks
|
|
349
429
|
* The endpoint type. Valid values:
|
|
350
430
|
* - Private: VPC endpoint.
|
|
351
|
-
* - Public:
|
|
431
|
+
* - Public: Public endpoint.
|
|
352
432
|
*
|
|
353
433
|
* @example
|
|
354
434
|
* Private
|
|
@@ -863,14 +943,19 @@ export class DescribeApplicationAttributeResponseBody extends $dara.Model {
|
|
|
863
943
|
description?: string;
|
|
864
944
|
/**
|
|
865
945
|
* @remarks
|
|
866
|
-
* The list of
|
|
946
|
+
* The list of DNAT mapping entries for NAT mapping.
|
|
947
|
+
*/
|
|
948
|
+
dnatMappings?: DescribeApplicationAttributeResponseBodyDnatMappings[];
|
|
949
|
+
/**
|
|
950
|
+
* @remarks
|
|
951
|
+
* The list of endpoints of the application.
|
|
867
952
|
*/
|
|
868
953
|
endpoints?: DescribeApplicationAttributeResponseBodyEndpoints[];
|
|
869
954
|
/**
|
|
870
955
|
* @remarks
|
|
871
956
|
* The expiration time.
|
|
872
957
|
*
|
|
873
|
-
* This value is empty
|
|
958
|
+
* This value is empty if the billing method is Postpaid.
|
|
874
959
|
*
|
|
875
960
|
* @example
|
|
876
961
|
* 2025-06-25T09:37:10Z
|
|
@@ -913,7 +998,7 @@ export class DescribeApplicationAttributeResponseBody extends $dara.Model {
|
|
|
913
998
|
lockMode?: string;
|
|
914
999
|
/**
|
|
915
1000
|
* @remarks
|
|
916
|
-
* The
|
|
1001
|
+
* The end time of the maintenance window.
|
|
917
1002
|
*
|
|
918
1003
|
* @example
|
|
919
1004
|
* 19:00Z
|
|
@@ -921,7 +1006,7 @@ export class DescribeApplicationAttributeResponseBody extends $dara.Model {
|
|
|
921
1006
|
maintainEndTime?: string;
|
|
922
1007
|
/**
|
|
923
1008
|
* @remarks
|
|
924
|
-
* The
|
|
1009
|
+
* The start time of the maintenance window.
|
|
925
1010
|
*
|
|
926
1011
|
* @example
|
|
927
1012
|
* 18:00Z
|
|
@@ -950,7 +1035,15 @@ export class DescribeApplicationAttributeResponseBody extends $dara.Model {
|
|
|
950
1035
|
natGatewayId?: string;
|
|
951
1036
|
/**
|
|
952
1037
|
* @remarks
|
|
953
|
-
* The
|
|
1038
|
+
* The SNAT IP address bound to the vSwitch where the application resides for NAT mapping. This is a customer-managed SNAT entry that is discovered and returned by the control plane in real time. It is not related to the Internet NAT gateway SNAT.
|
|
1039
|
+
*
|
|
1040
|
+
* @example
|
|
1041
|
+
* 10.64.0.20
|
|
1042
|
+
*/
|
|
1043
|
+
natMappingSnatIpAddress?: string;
|
|
1044
|
+
/**
|
|
1045
|
+
* @remarks
|
|
1046
|
+
* The billing method.
|
|
954
1047
|
*
|
|
955
1048
|
* @example
|
|
956
1049
|
* Postpaid
|
|
@@ -987,12 +1080,12 @@ export class DescribeApplicationAttributeResponseBody extends $dara.Model {
|
|
|
987
1080
|
requestId?: string;
|
|
988
1081
|
/**
|
|
989
1082
|
* @remarks
|
|
990
|
-
* The list of
|
|
1083
|
+
* The list of security groups at the application level.
|
|
991
1084
|
*/
|
|
992
1085
|
securityGroups?: DescribeApplicationAttributeResponseBodySecurityGroups[];
|
|
993
1086
|
/**
|
|
994
1087
|
* @remarks
|
|
995
|
-
* The list of application
|
|
1088
|
+
* The list of whitelists at the application level.
|
|
996
1089
|
*/
|
|
997
1090
|
securityIPArrays?: DescribeApplicationAttributeResponseBodySecurityIPArrays[];
|
|
998
1091
|
/**
|
|
@@ -1073,6 +1166,14 @@ export class DescribeApplicationAttributeResponseBody extends $dara.Model {
|
|
|
1073
1166
|
* 1.0.0
|
|
1074
1167
|
*/
|
|
1075
1168
|
version?: string;
|
|
1169
|
+
/**
|
|
1170
|
+
* @remarks
|
|
1171
|
+
* The customer-created VPC NAT gateway ID for NAT mapping.
|
|
1172
|
+
*
|
|
1173
|
+
* @example
|
|
1174
|
+
* ngw-xxx
|
|
1175
|
+
*/
|
|
1176
|
+
vpcNatGatewayId?: string;
|
|
1076
1177
|
/**
|
|
1077
1178
|
* @remarks
|
|
1078
1179
|
* The zone ID.
|
|
@@ -1091,6 +1192,7 @@ export class DescribeApplicationAttributeResponseBody extends $dara.Model {
|
|
|
1091
1192
|
creationTime: 'CreationTime',
|
|
1092
1193
|
DBClusterId: 'DBClusterId',
|
|
1093
1194
|
description: 'Description',
|
|
1195
|
+
dnatMappings: 'DnatMappings',
|
|
1094
1196
|
endpoints: 'Endpoints',
|
|
1095
1197
|
expireTime: 'ExpireTime',
|
|
1096
1198
|
expired: 'Expired',
|
|
@@ -1102,6 +1204,7 @@ export class DescribeApplicationAttributeResponseBody extends $dara.Model {
|
|
|
1102
1204
|
memApplicationAttribute: 'MemApplicationAttribute',
|
|
1103
1205
|
minorVersion: 'MinorVersion',
|
|
1104
1206
|
natGatewayId: 'NatGatewayId',
|
|
1207
|
+
natMappingSnatIpAddress: 'NatMappingSnatIpAddress',
|
|
1105
1208
|
payType: 'PayType',
|
|
1106
1209
|
polarClawSaaSApplicationAttribute: 'PolarClawSaaSApplicationAttribute',
|
|
1107
1210
|
polarFSInstanceId: 'PolarFSInstanceId',
|
|
@@ -1117,6 +1220,7 @@ export class DescribeApplicationAttributeResponseBody extends $dara.Model {
|
|
|
1117
1220
|
VPCId: 'VPCId',
|
|
1118
1221
|
vSwitchId: 'VSwitchId',
|
|
1119
1222
|
version: 'Version',
|
|
1223
|
+
vpcNatGatewayId: 'VpcNatGatewayId',
|
|
1120
1224
|
zoneId: 'ZoneId',
|
|
1121
1225
|
};
|
|
1122
1226
|
}
|
|
@@ -1131,6 +1235,7 @@ export class DescribeApplicationAttributeResponseBody extends $dara.Model {
|
|
|
1131
1235
|
creationTime: 'string',
|
|
1132
1236
|
DBClusterId: 'string',
|
|
1133
1237
|
description: 'string',
|
|
1238
|
+
dnatMappings: { 'type': 'array', 'itemType': DescribeApplicationAttributeResponseBodyDnatMappings },
|
|
1134
1239
|
endpoints: { 'type': 'array', 'itemType': DescribeApplicationAttributeResponseBodyEndpoints },
|
|
1135
1240
|
expireTime: 'string',
|
|
1136
1241
|
expired: 'boolean',
|
|
@@ -1142,6 +1247,7 @@ export class DescribeApplicationAttributeResponseBody extends $dara.Model {
|
|
|
1142
1247
|
memApplicationAttribute: DescribeApplicationAttributeResponseBodyMemApplicationAttribute,
|
|
1143
1248
|
minorVersion: 'string',
|
|
1144
1249
|
natGatewayId: 'string',
|
|
1250
|
+
natMappingSnatIpAddress: 'string',
|
|
1145
1251
|
payType: 'string',
|
|
1146
1252
|
polarClawSaaSApplicationAttribute: DescribeApplicationAttributeResponseBodyPolarClawSaaSApplicationAttribute,
|
|
1147
1253
|
polarFSInstanceId: 'string',
|
|
@@ -1157,6 +1263,7 @@ export class DescribeApplicationAttributeResponseBody extends $dara.Model {
|
|
|
1157
1263
|
VPCId: 'string',
|
|
1158
1264
|
vSwitchId: 'string',
|
|
1159
1265
|
version: 'string',
|
|
1266
|
+
vpcNatGatewayId: 'string',
|
|
1160
1267
|
zoneId: 'string',
|
|
1161
1268
|
};
|
|
1162
1269
|
}
|
|
@@ -1165,6 +1272,9 @@ export class DescribeApplicationAttributeResponseBody extends $dara.Model {
|
|
|
1165
1272
|
if(Array.isArray(this.components)) {
|
|
1166
1273
|
$dara.Model.validateArray(this.components);
|
|
1167
1274
|
}
|
|
1275
|
+
if(Array.isArray(this.dnatMappings)) {
|
|
1276
|
+
$dara.Model.validateArray(this.dnatMappings);
|
|
1277
|
+
}
|
|
1168
1278
|
if(Array.isArray(this.endpoints)) {
|
|
1169
1279
|
$dara.Model.validateArray(this.endpoints);
|
|
1170
1280
|
}
|
package/src/models/model.ts
CHANGED
|
@@ -7,6 +7,7 @@ export { CreateAIDBClusterRequestTimeSlices } from './CreateAidbclusterRequest';
|
|
|
7
7
|
export { CreateAIDBClusterApiKeyResponseBodyApiKey } from './CreateAidbclusterApiKeyResponseBody';
|
|
8
8
|
export { CreateAINodesRequestDBNodes } from './CreateAinodesRequest';
|
|
9
9
|
export { CreateApplicationRequestComponents } from './CreateApplicationRequest';
|
|
10
|
+
export { CreateApplicationRequestDnatEntries } from './CreateApplicationRequest';
|
|
10
11
|
export { CreateApplicationRequestEndpoints } from './CreateApplicationRequest';
|
|
11
12
|
export { CreateApplicationRequestKnowledgeApplicationSpec } from './CreateApplicationRequest';
|
|
12
13
|
export { CreateApplicationRequestMemApplicationSpec } from './CreateApplicationRequest';
|
|
@@ -89,6 +90,7 @@ export { DescribeApplicationAttributeResponseBodyComponentsSecurityGroups } from
|
|
|
89
90
|
export { DescribeApplicationAttributeResponseBodyComponentsSecurityIPArrays } from './DescribeApplicationAttributeResponseBody';
|
|
90
91
|
export { DescribeApplicationAttributeResponseBodyComponentsTopology } from './DescribeApplicationAttributeResponseBody';
|
|
91
92
|
export { DescribeApplicationAttributeResponseBodyComponents } from './DescribeApplicationAttributeResponseBody';
|
|
93
|
+
export { DescribeApplicationAttributeResponseBodyDnatMappings } from './DescribeApplicationAttributeResponseBody';
|
|
92
94
|
export { DescribeApplicationAttributeResponseBodyEndpoints } from './DescribeApplicationAttributeResponseBody';
|
|
93
95
|
export { DescribeApplicationAttributeResponseBodyMemApplicationAttributeSessionStore } from './DescribeApplicationAttributeResponseBody';
|
|
94
96
|
export { DescribeApplicationAttributeResponseBodyMemApplicationAttribute } from './DescribeApplicationAttributeResponseBody';
|