@alicloud/sae20190506 1.23.2 → 1.23.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 +53 -0
- package/dist/client.js +103 -2
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +139 -0
package/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -3380,6 +3380,7 @@ export class CreateApplicationRequest extends $tea.Model {
|
|
|
3380
3380
|
appSource?: string;
|
|
3381
3381
|
associateEip?: boolean;
|
|
3382
3382
|
autoConfig?: boolean;
|
|
3383
|
+
baseAppId?: string;
|
|
3383
3384
|
command?: string;
|
|
3384
3385
|
commandArgs?: string;
|
|
3385
3386
|
configMapMountDesc?: string;
|
|
@@ -3398,6 +3399,7 @@ export class CreateApplicationRequest extends $tea.Model {
|
|
|
3398
3399
|
liveness?: string;
|
|
3399
3400
|
memory?: number;
|
|
3400
3401
|
microRegistration?: string;
|
|
3402
|
+
microRegistrationConfig?: string;
|
|
3401
3403
|
mountDesc?: string;
|
|
3402
3404
|
mountHost?: string;
|
|
3403
3405
|
namespaceId?: string;
|
|
@@ -3423,6 +3425,7 @@ export class CreateApplicationRequest extends $tea.Model {
|
|
|
3423
3425
|
replicas?: number;
|
|
3424
3426
|
saeVersion?: string;
|
|
3425
3427
|
securityGroupId?: string;
|
|
3428
|
+
serviceTags?: string;
|
|
3426
3429
|
slsConfigs?: string;
|
|
3427
3430
|
terminationGracePeriodSeconds?: number;
|
|
3428
3431
|
timezone?: string;
|
|
@@ -3440,6 +3443,7 @@ export class CreateApplicationRequest extends $tea.Model {
|
|
|
3440
3443
|
appSource: 'AppSource',
|
|
3441
3444
|
associateEip: 'AssociateEip',
|
|
3442
3445
|
autoConfig: 'AutoConfig',
|
|
3446
|
+
baseAppId: 'BaseAppId',
|
|
3443
3447
|
command: 'Command',
|
|
3444
3448
|
commandArgs: 'CommandArgs',
|
|
3445
3449
|
configMapMountDesc: 'ConfigMapMountDesc',
|
|
@@ -3458,6 +3462,7 @@ export class CreateApplicationRequest extends $tea.Model {
|
|
|
3458
3462
|
liveness: 'Liveness',
|
|
3459
3463
|
memory: 'Memory',
|
|
3460
3464
|
microRegistration: 'MicroRegistration',
|
|
3465
|
+
microRegistrationConfig: 'MicroRegistrationConfig',
|
|
3461
3466
|
mountDesc: 'MountDesc',
|
|
3462
3467
|
mountHost: 'MountHost',
|
|
3463
3468
|
namespaceId: 'NamespaceId',
|
|
@@ -3483,6 +3488,7 @@ export class CreateApplicationRequest extends $tea.Model {
|
|
|
3483
3488
|
replicas: 'Replicas',
|
|
3484
3489
|
saeVersion: 'SaeVersion',
|
|
3485
3490
|
securityGroupId: 'SecurityGroupId',
|
|
3491
|
+
serviceTags: 'ServiceTags',
|
|
3486
3492
|
slsConfigs: 'SlsConfigs',
|
|
3487
3493
|
terminationGracePeriodSeconds: 'TerminationGracePeriodSeconds',
|
|
3488
3494
|
timezone: 'Timezone',
|
|
@@ -3503,6 +3509,7 @@ export class CreateApplicationRequest extends $tea.Model {
|
|
|
3503
3509
|
appSource: 'string',
|
|
3504
3510
|
associateEip: 'boolean',
|
|
3505
3511
|
autoConfig: 'boolean',
|
|
3512
|
+
baseAppId: 'string',
|
|
3506
3513
|
command: 'string',
|
|
3507
3514
|
commandArgs: 'string',
|
|
3508
3515
|
configMapMountDesc: 'string',
|
|
@@ -3521,6 +3528,7 @@ export class CreateApplicationRequest extends $tea.Model {
|
|
|
3521
3528
|
liveness: 'string',
|
|
3522
3529
|
memory: 'number',
|
|
3523
3530
|
microRegistration: 'string',
|
|
3531
|
+
microRegistrationConfig: 'string',
|
|
3524
3532
|
mountDesc: 'string',
|
|
3525
3533
|
mountHost: 'string',
|
|
3526
3534
|
namespaceId: 'string',
|
|
@@ -3546,6 +3554,7 @@ export class CreateApplicationRequest extends $tea.Model {
|
|
|
3546
3554
|
replicas: 'number',
|
|
3547
3555
|
saeVersion: 'string',
|
|
3548
3556
|
securityGroupId: 'string',
|
|
3557
|
+
serviceTags: 'string',
|
|
3549
3558
|
slsConfigs: 'string',
|
|
3550
3559
|
terminationGracePeriodSeconds: 'number',
|
|
3551
3560
|
timezone: 'string',
|
|
@@ -5233,6 +5242,7 @@ export class DeployApplicationRequest extends $tea.Model {
|
|
|
5233
5242
|
liveness?: string;
|
|
5234
5243
|
memory?: number;
|
|
5235
5244
|
microRegistration?: string;
|
|
5245
|
+
microRegistrationConfig?: string;
|
|
5236
5246
|
minReadyInstanceRatio?: number;
|
|
5237
5247
|
minReadyInstances?: number;
|
|
5238
5248
|
mountDesc?: string;
|
|
@@ -5257,6 +5267,7 @@ export class DeployApplicationRequest extends $tea.Model {
|
|
|
5257
5267
|
readiness?: string;
|
|
5258
5268
|
replicas?: number;
|
|
5259
5269
|
securityGroupId?: string;
|
|
5270
|
+
serviceTags?: string;
|
|
5260
5271
|
slsConfigs?: string;
|
|
5261
5272
|
terminationGracePeriodSeconds?: number;
|
|
5262
5273
|
timezone?: string;
|
|
@@ -5293,6 +5304,7 @@ export class DeployApplicationRequest extends $tea.Model {
|
|
|
5293
5304
|
liveness: 'Liveness',
|
|
5294
5305
|
memory: 'Memory',
|
|
5295
5306
|
microRegistration: 'MicroRegistration',
|
|
5307
|
+
microRegistrationConfig: 'MicroRegistrationConfig',
|
|
5296
5308
|
minReadyInstanceRatio: 'MinReadyInstanceRatio',
|
|
5297
5309
|
minReadyInstances: 'MinReadyInstances',
|
|
5298
5310
|
mountDesc: 'MountDesc',
|
|
@@ -5317,6 +5329,7 @@ export class DeployApplicationRequest extends $tea.Model {
|
|
|
5317
5329
|
readiness: 'Readiness',
|
|
5318
5330
|
replicas: 'Replicas',
|
|
5319
5331
|
securityGroupId: 'SecurityGroupId',
|
|
5332
|
+
serviceTags: 'ServiceTags',
|
|
5320
5333
|
slsConfigs: 'SlsConfigs',
|
|
5321
5334
|
terminationGracePeriodSeconds: 'TerminationGracePeriodSeconds',
|
|
5322
5335
|
timezone: 'Timezone',
|
|
@@ -5356,6 +5369,7 @@ export class DeployApplicationRequest extends $tea.Model {
|
|
|
5356
5369
|
liveness: 'string',
|
|
5357
5370
|
memory: 'number',
|
|
5358
5371
|
microRegistration: 'string',
|
|
5372
|
+
microRegistrationConfig: 'string',
|
|
5359
5373
|
minReadyInstanceRatio: 'number',
|
|
5360
5374
|
minReadyInstances: 'number',
|
|
5361
5375
|
mountDesc: 'string',
|
|
@@ -5380,6 +5394,7 @@ export class DeployApplicationRequest extends $tea.Model {
|
|
|
5380
5394
|
readiness: 'string',
|
|
5381
5395
|
replicas: 'number',
|
|
5382
5396
|
securityGroupId: 'string',
|
|
5397
|
+
serviceTags: 'string',
|
|
5383
5398
|
slsConfigs: 'string',
|
|
5384
5399
|
terminationGracePeriodSeconds: 'number',
|
|
5385
5400
|
timezone: 'string',
|
|
@@ -13776,6 +13791,7 @@ export class DescribeApplicationConfigResponseBodyData extends $tea.Model {
|
|
|
13776
13791
|
regionId?: string;
|
|
13777
13792
|
replicas?: number;
|
|
13778
13793
|
securityGroupId?: string;
|
|
13794
|
+
serviceTags?: { [key: string]: string };
|
|
13779
13795
|
slsConfigs?: string;
|
|
13780
13796
|
tags?: DescribeApplicationConfigResponseBodyDataTags[];
|
|
13781
13797
|
terminationGracePeriodSeconds?: number;
|
|
@@ -13843,6 +13859,7 @@ export class DescribeApplicationConfigResponseBodyData extends $tea.Model {
|
|
|
13843
13859
|
regionId: 'RegionId',
|
|
13844
13860
|
replicas: 'Replicas',
|
|
13845
13861
|
securityGroupId: 'SecurityGroupId',
|
|
13862
|
+
serviceTags: 'ServiceTags',
|
|
13846
13863
|
slsConfigs: 'SlsConfigs',
|
|
13847
13864
|
tags: 'Tags',
|
|
13848
13865
|
terminationGracePeriodSeconds: 'TerminationGracePeriodSeconds',
|
|
@@ -13913,6 +13930,7 @@ export class DescribeApplicationConfigResponseBodyData extends $tea.Model {
|
|
|
13913
13930
|
regionId: 'string',
|
|
13914
13931
|
replicas: 'number',
|
|
13915
13932
|
securityGroupId: 'string',
|
|
13933
|
+
serviceTags: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
13916
13934
|
slsConfigs: 'string',
|
|
13917
13935
|
tags: { 'type': 'array', 'itemType': DescribeApplicationConfigResponseBodyDataTags },
|
|
13918
13936
|
terminationGracePeriodSeconds: 'number',
|
|
@@ -17061,6 +17079,92 @@ export class ListAppVersionsResponseBodyData extends $tea.Model {
|
|
|
17061
17079
|
}
|
|
17062
17080
|
}
|
|
17063
17081
|
|
|
17082
|
+
export class ListApplicationsResponseBodyDataApplicationsChildrenTags extends $tea.Model {
|
|
17083
|
+
key?: string;
|
|
17084
|
+
value?: string;
|
|
17085
|
+
static names(): { [key: string]: string } {
|
|
17086
|
+
return {
|
|
17087
|
+
key: 'Key',
|
|
17088
|
+
value: 'Value',
|
|
17089
|
+
};
|
|
17090
|
+
}
|
|
17091
|
+
|
|
17092
|
+
static types(): { [key: string]: any } {
|
|
17093
|
+
return {
|
|
17094
|
+
key: 'string',
|
|
17095
|
+
value: 'string',
|
|
17096
|
+
};
|
|
17097
|
+
}
|
|
17098
|
+
|
|
17099
|
+
constructor(map?: { [key: string]: any }) {
|
|
17100
|
+
super(map);
|
|
17101
|
+
}
|
|
17102
|
+
}
|
|
17103
|
+
|
|
17104
|
+
export class ListApplicationsResponseBodyDataApplicationsChildren extends $tea.Model {
|
|
17105
|
+
appDeletingStatus?: boolean;
|
|
17106
|
+
appDescription?: string;
|
|
17107
|
+
appId?: string;
|
|
17108
|
+
appName?: string;
|
|
17109
|
+
baseAppId?: string;
|
|
17110
|
+
cpu?: number;
|
|
17111
|
+
instances?: number;
|
|
17112
|
+
mem?: number;
|
|
17113
|
+
mseEnabled?: boolean;
|
|
17114
|
+
namespaceId?: string;
|
|
17115
|
+
programmingLanguage?: string;
|
|
17116
|
+
regionId?: string;
|
|
17117
|
+
runningInstances?: number;
|
|
17118
|
+
scaleRuleEnabled?: boolean;
|
|
17119
|
+
scaleRuleType?: string;
|
|
17120
|
+
tags?: ListApplicationsResponseBodyDataApplicationsChildrenTags[];
|
|
17121
|
+
static names(): { [key: string]: string } {
|
|
17122
|
+
return {
|
|
17123
|
+
appDeletingStatus: 'AppDeletingStatus',
|
|
17124
|
+
appDescription: 'AppDescription',
|
|
17125
|
+
appId: 'AppId',
|
|
17126
|
+
appName: 'AppName',
|
|
17127
|
+
baseAppId: 'BaseAppId',
|
|
17128
|
+
cpu: 'Cpu',
|
|
17129
|
+
instances: 'Instances',
|
|
17130
|
+
mem: 'Mem',
|
|
17131
|
+
mseEnabled: 'MseEnabled',
|
|
17132
|
+
namespaceId: 'NamespaceId',
|
|
17133
|
+
programmingLanguage: 'ProgrammingLanguage',
|
|
17134
|
+
regionId: 'RegionId',
|
|
17135
|
+
runningInstances: 'RunningInstances',
|
|
17136
|
+
scaleRuleEnabled: 'ScaleRuleEnabled',
|
|
17137
|
+
scaleRuleType: 'ScaleRuleType',
|
|
17138
|
+
tags: 'Tags',
|
|
17139
|
+
};
|
|
17140
|
+
}
|
|
17141
|
+
|
|
17142
|
+
static types(): { [key: string]: any } {
|
|
17143
|
+
return {
|
|
17144
|
+
appDeletingStatus: 'boolean',
|
|
17145
|
+
appDescription: 'string',
|
|
17146
|
+
appId: 'string',
|
|
17147
|
+
appName: 'string',
|
|
17148
|
+
baseAppId: 'string',
|
|
17149
|
+
cpu: 'number',
|
|
17150
|
+
instances: 'number',
|
|
17151
|
+
mem: 'number',
|
|
17152
|
+
mseEnabled: 'boolean',
|
|
17153
|
+
namespaceId: 'string',
|
|
17154
|
+
programmingLanguage: 'string',
|
|
17155
|
+
regionId: 'string',
|
|
17156
|
+
runningInstances: 'number',
|
|
17157
|
+
scaleRuleEnabled: 'boolean',
|
|
17158
|
+
scaleRuleType: 'string',
|
|
17159
|
+
tags: { 'type': 'array', 'itemType': ListApplicationsResponseBodyDataApplicationsChildrenTags },
|
|
17160
|
+
};
|
|
17161
|
+
}
|
|
17162
|
+
|
|
17163
|
+
constructor(map?: { [key: string]: any }) {
|
|
17164
|
+
super(map);
|
|
17165
|
+
}
|
|
17166
|
+
}
|
|
17167
|
+
|
|
17064
17168
|
export class ListApplicationsResponseBodyDataApplicationsTags extends $tea.Model {
|
|
17065
17169
|
key?: string;
|
|
17066
17170
|
value?: string;
|
|
@@ -17088,10 +17192,15 @@ export class ListApplicationsResponseBodyDataApplications extends $tea.Model {
|
|
|
17088
17192
|
appDescription?: string;
|
|
17089
17193
|
appId?: string;
|
|
17090
17194
|
appName?: string;
|
|
17195
|
+
baseAppId?: string;
|
|
17196
|
+
children?: ListApplicationsResponseBodyDataApplicationsChildren[];
|
|
17091
17197
|
cpu?: number;
|
|
17092
17198
|
instances?: number;
|
|
17093
17199
|
mem?: number;
|
|
17200
|
+
mseEnabled?: boolean;
|
|
17201
|
+
mseNamespaceId?: string;
|
|
17094
17202
|
namespaceId?: string;
|
|
17203
|
+
programmingLanguage?: string;
|
|
17095
17204
|
regionId?: string;
|
|
17096
17205
|
runningInstances?: number;
|
|
17097
17206
|
tags?: ListApplicationsResponseBodyDataApplicationsTags[];
|
|
@@ -17101,10 +17210,15 @@ export class ListApplicationsResponseBodyDataApplications extends $tea.Model {
|
|
|
17101
17210
|
appDescription: 'AppDescription',
|
|
17102
17211
|
appId: 'AppId',
|
|
17103
17212
|
appName: 'AppName',
|
|
17213
|
+
baseAppId: 'BaseAppId',
|
|
17214
|
+
children: 'Children',
|
|
17104
17215
|
cpu: 'Cpu',
|
|
17105
17216
|
instances: 'Instances',
|
|
17106
17217
|
mem: 'Mem',
|
|
17218
|
+
mseEnabled: 'MseEnabled',
|
|
17219
|
+
mseNamespaceId: 'MseNamespaceId',
|
|
17107
17220
|
namespaceId: 'NamespaceId',
|
|
17221
|
+
programmingLanguage: 'ProgrammingLanguage',
|
|
17108
17222
|
regionId: 'RegionId',
|
|
17109
17223
|
runningInstances: 'RunningInstances',
|
|
17110
17224
|
tags: 'Tags',
|
|
@@ -17117,10 +17231,15 @@ export class ListApplicationsResponseBodyDataApplications extends $tea.Model {
|
|
|
17117
17231
|
appDescription: 'string',
|
|
17118
17232
|
appId: 'string',
|
|
17119
17233
|
appName: 'string',
|
|
17234
|
+
baseAppId: 'string',
|
|
17235
|
+
children: { 'type': 'array', 'itemType': ListApplicationsResponseBodyDataApplicationsChildren },
|
|
17120
17236
|
cpu: 'number',
|
|
17121
17237
|
instances: 'number',
|
|
17122
17238
|
mem: 'number',
|
|
17239
|
+
mseEnabled: 'boolean',
|
|
17240
|
+
mseNamespaceId: 'string',
|
|
17123
17241
|
namespaceId: 'string',
|
|
17242
|
+
programmingLanguage: 'string',
|
|
17124
17243
|
regionId: 'string',
|
|
17125
17244
|
runningInstances: 'number',
|
|
17126
17245
|
tags: { 'type': 'array', 'itemType': ListApplicationsResponseBodyDataApplicationsTags },
|
|
@@ -19229,10 +19348,18 @@ export default class Client extends OpenApi {
|
|
|
19229
19348
|
body["AssociateEip"] = request.associateEip;
|
|
19230
19349
|
}
|
|
19231
19350
|
|
|
19351
|
+
if (!Util.isUnset(request.baseAppId)) {
|
|
19352
|
+
body["BaseAppId"] = request.baseAppId;
|
|
19353
|
+
}
|
|
19354
|
+
|
|
19232
19355
|
if (!Util.isUnset(request.configMapMountDesc)) {
|
|
19233
19356
|
body["ConfigMapMountDesc"] = request.configMapMountDesc;
|
|
19234
19357
|
}
|
|
19235
19358
|
|
|
19359
|
+
if (!Util.isUnset(request.microRegistrationConfig)) {
|
|
19360
|
+
body["MicroRegistrationConfig"] = request.microRegistrationConfig;
|
|
19361
|
+
}
|
|
19362
|
+
|
|
19236
19363
|
if (!Util.isUnset(request.ossAkId)) {
|
|
19237
19364
|
body["OssAkId"] = request.ossAkId;
|
|
19238
19365
|
}
|
|
@@ -19253,6 +19380,10 @@ export default class Client extends OpenApi {
|
|
|
19253
19380
|
body["PhpConfig"] = request.phpConfig;
|
|
19254
19381
|
}
|
|
19255
19382
|
|
|
19383
|
+
if (!Util.isUnset(request.serviceTags)) {
|
|
19384
|
+
body["ServiceTags"] = request.serviceTags;
|
|
19385
|
+
}
|
|
19386
|
+
|
|
19256
19387
|
let req = new $OpenApi.OpenApiRequest({
|
|
19257
19388
|
headers: headers,
|
|
19258
19389
|
query: OpenApiUtil.query(query),
|
|
@@ -20590,6 +20721,10 @@ export default class Client extends OpenApi {
|
|
|
20590
20721
|
body["ConfigMapMountDesc"] = request.configMapMountDesc;
|
|
20591
20722
|
}
|
|
20592
20723
|
|
|
20724
|
+
if (!Util.isUnset(request.microRegistrationConfig)) {
|
|
20725
|
+
body["MicroRegistrationConfig"] = request.microRegistrationConfig;
|
|
20726
|
+
}
|
|
20727
|
+
|
|
20593
20728
|
if (!Util.isUnset(request.ossAkId)) {
|
|
20594
20729
|
body["OssAkId"] = request.ossAkId;
|
|
20595
20730
|
}
|
|
@@ -20610,6 +20745,10 @@ export default class Client extends OpenApi {
|
|
|
20610
20745
|
body["PhpConfig"] = request.phpConfig;
|
|
20611
20746
|
}
|
|
20612
20747
|
|
|
20748
|
+
if (!Util.isUnset(request.serviceTags)) {
|
|
20749
|
+
body["ServiceTags"] = request.serviceTags;
|
|
20750
|
+
}
|
|
20751
|
+
|
|
20613
20752
|
let req = new $OpenApi.OpenApiRequest({
|
|
20614
20753
|
headers: headers,
|
|
20615
20754
|
query: OpenApiUtil.query(query),
|