@alicloud/sae20190506 1.23.2 → 1.23.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 +52 -0
- package/dist/client.js +101 -2
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +136 -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,14 @@ 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;
|
|
17094
17201
|
namespaceId?: string;
|
|
17202
|
+
programmingLanguage?: string;
|
|
17095
17203
|
regionId?: string;
|
|
17096
17204
|
runningInstances?: number;
|
|
17097
17205
|
tags?: ListApplicationsResponseBodyDataApplicationsTags[];
|
|
@@ -17101,10 +17209,14 @@ export class ListApplicationsResponseBodyDataApplications extends $tea.Model {
|
|
|
17101
17209
|
appDescription: 'AppDescription',
|
|
17102
17210
|
appId: 'AppId',
|
|
17103
17211
|
appName: 'AppName',
|
|
17212
|
+
baseAppId: 'BaseAppId',
|
|
17213
|
+
children: 'Children',
|
|
17104
17214
|
cpu: 'Cpu',
|
|
17105
17215
|
instances: 'Instances',
|
|
17106
17216
|
mem: 'Mem',
|
|
17217
|
+
mseEnabled: 'MseEnabled',
|
|
17107
17218
|
namespaceId: 'NamespaceId',
|
|
17219
|
+
programmingLanguage: 'ProgrammingLanguage',
|
|
17108
17220
|
regionId: 'RegionId',
|
|
17109
17221
|
runningInstances: 'RunningInstances',
|
|
17110
17222
|
tags: 'Tags',
|
|
@@ -17117,10 +17229,14 @@ export class ListApplicationsResponseBodyDataApplications extends $tea.Model {
|
|
|
17117
17229
|
appDescription: 'string',
|
|
17118
17230
|
appId: 'string',
|
|
17119
17231
|
appName: 'string',
|
|
17232
|
+
baseAppId: 'string',
|
|
17233
|
+
children: { 'type': 'array', 'itemType': ListApplicationsResponseBodyDataApplicationsChildren },
|
|
17120
17234
|
cpu: 'number',
|
|
17121
17235
|
instances: 'number',
|
|
17122
17236
|
mem: 'number',
|
|
17237
|
+
mseEnabled: 'boolean',
|
|
17123
17238
|
namespaceId: 'string',
|
|
17239
|
+
programmingLanguage: 'string',
|
|
17124
17240
|
regionId: 'string',
|
|
17125
17241
|
runningInstances: 'number',
|
|
17126
17242
|
tags: { 'type': 'array', 'itemType': ListApplicationsResponseBodyDataApplicationsTags },
|
|
@@ -19229,10 +19345,18 @@ export default class Client extends OpenApi {
|
|
|
19229
19345
|
body["AssociateEip"] = request.associateEip;
|
|
19230
19346
|
}
|
|
19231
19347
|
|
|
19348
|
+
if (!Util.isUnset(request.baseAppId)) {
|
|
19349
|
+
body["BaseAppId"] = request.baseAppId;
|
|
19350
|
+
}
|
|
19351
|
+
|
|
19232
19352
|
if (!Util.isUnset(request.configMapMountDesc)) {
|
|
19233
19353
|
body["ConfigMapMountDesc"] = request.configMapMountDesc;
|
|
19234
19354
|
}
|
|
19235
19355
|
|
|
19356
|
+
if (!Util.isUnset(request.microRegistrationConfig)) {
|
|
19357
|
+
body["MicroRegistrationConfig"] = request.microRegistrationConfig;
|
|
19358
|
+
}
|
|
19359
|
+
|
|
19236
19360
|
if (!Util.isUnset(request.ossAkId)) {
|
|
19237
19361
|
body["OssAkId"] = request.ossAkId;
|
|
19238
19362
|
}
|
|
@@ -19253,6 +19377,10 @@ export default class Client extends OpenApi {
|
|
|
19253
19377
|
body["PhpConfig"] = request.phpConfig;
|
|
19254
19378
|
}
|
|
19255
19379
|
|
|
19380
|
+
if (!Util.isUnset(request.serviceTags)) {
|
|
19381
|
+
body["ServiceTags"] = request.serviceTags;
|
|
19382
|
+
}
|
|
19383
|
+
|
|
19256
19384
|
let req = new $OpenApi.OpenApiRequest({
|
|
19257
19385
|
headers: headers,
|
|
19258
19386
|
query: OpenApiUtil.query(query),
|
|
@@ -20590,6 +20718,10 @@ export default class Client extends OpenApi {
|
|
|
20590
20718
|
body["ConfigMapMountDesc"] = request.configMapMountDesc;
|
|
20591
20719
|
}
|
|
20592
20720
|
|
|
20721
|
+
if (!Util.isUnset(request.microRegistrationConfig)) {
|
|
20722
|
+
body["MicroRegistrationConfig"] = request.microRegistrationConfig;
|
|
20723
|
+
}
|
|
20724
|
+
|
|
20593
20725
|
if (!Util.isUnset(request.ossAkId)) {
|
|
20594
20726
|
body["OssAkId"] = request.ossAkId;
|
|
20595
20727
|
}
|
|
@@ -20610,6 +20742,10 @@ export default class Client extends OpenApi {
|
|
|
20610
20742
|
body["PhpConfig"] = request.phpConfig;
|
|
20611
20743
|
}
|
|
20612
20744
|
|
|
20745
|
+
if (!Util.isUnset(request.serviceTags)) {
|
|
20746
|
+
body["ServiceTags"] = request.serviceTags;
|
|
20747
|
+
}
|
|
20748
|
+
|
|
20613
20749
|
let req = new $OpenApi.OpenApiRequest({
|
|
20614
20750
|
headers: headers,
|
|
20615
20751
|
query: OpenApiUtil.query(query),
|