@alicloud/sae20190506 1.20.1 → 1.21.2
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 +149 -0
- package/dist/client.js +299 -0
- package/dist/client.js.map +1 -1
- package/package.json +3 -3
- package/src/client.ts +381 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alicloud/sae20190506",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.21.2",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/client.js",
|
|
6
6
|
"scripts": {
|
|
@@ -20,9 +20,9 @@
|
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@alicloud/tea-typescript": "^1.7.1",
|
|
23
|
-
"@alicloud/tea-util": "^1.4.
|
|
23
|
+
"@alicloud/tea-util": "^1.4.4",
|
|
24
24
|
"@alicloud/openapi-client": "^0.4.1",
|
|
25
|
-
"@alicloud/openapi-util": "^0.2.
|
|
25
|
+
"@alicloud/openapi-util": "^0.2.9",
|
|
26
26
|
"@alicloud/endpoint-util": "^0.0.1"
|
|
27
27
|
},
|
|
28
28
|
"files": [
|
package/src/client.ts
CHANGED
|
@@ -568,6 +568,7 @@ export class CreateApplicationRequest extends $tea.Model {
|
|
|
568
568
|
vpcId?: string;
|
|
569
569
|
warStartOptions?: string;
|
|
570
570
|
webContainer?: string;
|
|
571
|
+
mseFeatureConfig?: string;
|
|
571
572
|
static names(): { [key: string]: string } {
|
|
572
573
|
return {
|
|
573
574
|
acrAssumeRoleArn: 'AcrAssumeRoleArn',
|
|
@@ -622,6 +623,7 @@ export class CreateApplicationRequest extends $tea.Model {
|
|
|
622
623
|
vpcId: 'VpcId',
|
|
623
624
|
warStartOptions: 'WarStartOptions',
|
|
624
625
|
webContainer: 'WebContainer',
|
|
626
|
+
mseFeatureConfig: 'mseFeatureConfig',
|
|
625
627
|
};
|
|
626
628
|
}
|
|
627
629
|
|
|
@@ -679,6 +681,7 @@ export class CreateApplicationRequest extends $tea.Model {
|
|
|
679
681
|
vpcId: 'string',
|
|
680
682
|
warStartOptions: 'string',
|
|
681
683
|
webContainer: 'string',
|
|
684
|
+
mseFeatureConfig: 'string',
|
|
682
685
|
};
|
|
683
686
|
}
|
|
684
687
|
|
|
@@ -1714,6 +1717,7 @@ export class DeployApplicationRequest extends $tea.Model {
|
|
|
1714
1717
|
minReadyInstances?: number;
|
|
1715
1718
|
mountDesc?: string;
|
|
1716
1719
|
mountHost?: string;
|
|
1720
|
+
mseFeatureConfig?: string;
|
|
1717
1721
|
nasId?: string;
|
|
1718
1722
|
openCollectToKafka?: boolean;
|
|
1719
1723
|
ossAkId?: string;
|
|
@@ -1764,6 +1768,7 @@ export class DeployApplicationRequest extends $tea.Model {
|
|
|
1764
1768
|
minReadyInstances: 'MinReadyInstances',
|
|
1765
1769
|
mountDesc: 'MountDesc',
|
|
1766
1770
|
mountHost: 'MountHost',
|
|
1771
|
+
mseFeatureConfig: 'MseFeatureConfig',
|
|
1767
1772
|
nasId: 'NasId',
|
|
1768
1773
|
openCollectToKafka: 'OpenCollectToKafka',
|
|
1769
1774
|
ossAkId: 'OssAkId',
|
|
@@ -1817,6 +1822,7 @@ export class DeployApplicationRequest extends $tea.Model {
|
|
|
1817
1822
|
minReadyInstances: 'number',
|
|
1818
1823
|
mountDesc: 'string',
|
|
1819
1824
|
mountHost: 'string',
|
|
1825
|
+
mseFeatureConfig: 'string',
|
|
1820
1826
|
nasId: 'string',
|
|
1821
1827
|
openCollectToKafka: 'boolean',
|
|
1822
1828
|
ossAkId: 'string',
|
|
@@ -2900,10 +2906,12 @@ export class DescribeConfigMapResponse extends $tea.Model {
|
|
|
2900
2906
|
export class DescribeConfigurationPriceRequest extends $tea.Model {
|
|
2901
2907
|
cpu?: number;
|
|
2902
2908
|
memory?: number;
|
|
2909
|
+
workload?: string;
|
|
2903
2910
|
static names(): { [key: string]: string } {
|
|
2904
2911
|
return {
|
|
2905
2912
|
cpu: 'Cpu',
|
|
2906
2913
|
memory: 'Memory',
|
|
2914
|
+
workload: 'Workload',
|
|
2907
2915
|
};
|
|
2908
2916
|
}
|
|
2909
2917
|
|
|
@@ -2911,6 +2919,7 @@ export class DescribeConfigurationPriceRequest extends $tea.Model {
|
|
|
2911
2919
|
return {
|
|
2912
2920
|
cpu: 'number',
|
|
2913
2921
|
memory: 'number',
|
|
2922
|
+
workload: 'string',
|
|
2914
2923
|
};
|
|
2915
2924
|
}
|
|
2916
2925
|
|
|
@@ -3348,6 +3357,90 @@ export class DescribeInstanceSpecificationsResponse extends $tea.Model {
|
|
|
3348
3357
|
}
|
|
3349
3358
|
}
|
|
3350
3359
|
|
|
3360
|
+
export class DescribeJobStatusRequest extends $tea.Model {
|
|
3361
|
+
appId?: string;
|
|
3362
|
+
jobId?: string;
|
|
3363
|
+
static names(): { [key: string]: string } {
|
|
3364
|
+
return {
|
|
3365
|
+
appId: 'AppId',
|
|
3366
|
+
jobId: 'JobId',
|
|
3367
|
+
};
|
|
3368
|
+
}
|
|
3369
|
+
|
|
3370
|
+
static types(): { [key: string]: any } {
|
|
3371
|
+
return {
|
|
3372
|
+
appId: 'string',
|
|
3373
|
+
jobId: 'string',
|
|
3374
|
+
};
|
|
3375
|
+
}
|
|
3376
|
+
|
|
3377
|
+
constructor(map?: { [key: string]: any }) {
|
|
3378
|
+
super(map);
|
|
3379
|
+
}
|
|
3380
|
+
}
|
|
3381
|
+
|
|
3382
|
+
export class DescribeJobStatusResponseBody extends $tea.Model {
|
|
3383
|
+
code?: string;
|
|
3384
|
+
data?: DescribeJobStatusResponseBodyData;
|
|
3385
|
+
errorCode?: string;
|
|
3386
|
+
message?: string;
|
|
3387
|
+
requestId?: string;
|
|
3388
|
+
success?: boolean;
|
|
3389
|
+
traceId?: string;
|
|
3390
|
+
static names(): { [key: string]: string } {
|
|
3391
|
+
return {
|
|
3392
|
+
code: 'Code',
|
|
3393
|
+
data: 'Data',
|
|
3394
|
+
errorCode: 'ErrorCode',
|
|
3395
|
+
message: 'Message',
|
|
3396
|
+
requestId: 'RequestId',
|
|
3397
|
+
success: 'Success',
|
|
3398
|
+
traceId: 'TraceId',
|
|
3399
|
+
};
|
|
3400
|
+
}
|
|
3401
|
+
|
|
3402
|
+
static types(): { [key: string]: any } {
|
|
3403
|
+
return {
|
|
3404
|
+
code: 'string',
|
|
3405
|
+
data: DescribeJobStatusResponseBodyData,
|
|
3406
|
+
errorCode: 'string',
|
|
3407
|
+
message: 'string',
|
|
3408
|
+
requestId: 'string',
|
|
3409
|
+
success: 'boolean',
|
|
3410
|
+
traceId: 'string',
|
|
3411
|
+
};
|
|
3412
|
+
}
|
|
3413
|
+
|
|
3414
|
+
constructor(map?: { [key: string]: any }) {
|
|
3415
|
+
super(map);
|
|
3416
|
+
}
|
|
3417
|
+
}
|
|
3418
|
+
|
|
3419
|
+
export class DescribeJobStatusResponse extends $tea.Model {
|
|
3420
|
+
headers: { [key: string]: string };
|
|
3421
|
+
statusCode: number;
|
|
3422
|
+
body: DescribeJobStatusResponseBody;
|
|
3423
|
+
static names(): { [key: string]: string } {
|
|
3424
|
+
return {
|
|
3425
|
+
headers: 'headers',
|
|
3426
|
+
statusCode: 'statusCode',
|
|
3427
|
+
body: 'body',
|
|
3428
|
+
};
|
|
3429
|
+
}
|
|
3430
|
+
|
|
3431
|
+
static types(): { [key: string]: any } {
|
|
3432
|
+
return {
|
|
3433
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3434
|
+
statusCode: 'number',
|
|
3435
|
+
body: DescribeJobStatusResponseBody,
|
|
3436
|
+
};
|
|
3437
|
+
}
|
|
3438
|
+
|
|
3439
|
+
constructor(map?: { [key: string]: any }) {
|
|
3440
|
+
super(map);
|
|
3441
|
+
}
|
|
3442
|
+
}
|
|
3443
|
+
|
|
3351
3444
|
export class DescribeNamespaceRequest extends $tea.Model {
|
|
3352
3445
|
namespaceId?: string;
|
|
3353
3446
|
static names(): { [key: string]: string } {
|
|
@@ -3950,6 +4043,108 @@ export class EnableApplicationScalingRuleResponse extends $tea.Model {
|
|
|
3950
4043
|
}
|
|
3951
4044
|
}
|
|
3952
4045
|
|
|
4046
|
+
export class ExecJobRequest extends $tea.Model {
|
|
4047
|
+
appId?: string;
|
|
4048
|
+
command?: string;
|
|
4049
|
+
commandArgs?: string;
|
|
4050
|
+
envs?: string;
|
|
4051
|
+
eventId?: string;
|
|
4052
|
+
jarStartArgs?: string;
|
|
4053
|
+
jarStartOptions?: string;
|
|
4054
|
+
warStartOptions?: string;
|
|
4055
|
+
static names(): { [key: string]: string } {
|
|
4056
|
+
return {
|
|
4057
|
+
appId: 'AppId',
|
|
4058
|
+
command: 'Command',
|
|
4059
|
+
commandArgs: 'CommandArgs',
|
|
4060
|
+
envs: 'Envs',
|
|
4061
|
+
eventId: 'EventId',
|
|
4062
|
+
jarStartArgs: 'JarStartArgs',
|
|
4063
|
+
jarStartOptions: 'JarStartOptions',
|
|
4064
|
+
warStartOptions: 'WarStartOptions',
|
|
4065
|
+
};
|
|
4066
|
+
}
|
|
4067
|
+
|
|
4068
|
+
static types(): { [key: string]: any } {
|
|
4069
|
+
return {
|
|
4070
|
+
appId: 'string',
|
|
4071
|
+
command: 'string',
|
|
4072
|
+
commandArgs: 'string',
|
|
4073
|
+
envs: 'string',
|
|
4074
|
+
eventId: 'string',
|
|
4075
|
+
jarStartArgs: 'string',
|
|
4076
|
+
jarStartOptions: 'string',
|
|
4077
|
+
warStartOptions: 'string',
|
|
4078
|
+
};
|
|
4079
|
+
}
|
|
4080
|
+
|
|
4081
|
+
constructor(map?: { [key: string]: any }) {
|
|
4082
|
+
super(map);
|
|
4083
|
+
}
|
|
4084
|
+
}
|
|
4085
|
+
|
|
4086
|
+
export class ExecJobResponseBody extends $tea.Model {
|
|
4087
|
+
code?: string;
|
|
4088
|
+
data?: ExecJobResponseBodyData;
|
|
4089
|
+
errorCode?: string;
|
|
4090
|
+
message?: string;
|
|
4091
|
+
requestId?: string;
|
|
4092
|
+
success?: boolean;
|
|
4093
|
+
traceId?: string;
|
|
4094
|
+
static names(): { [key: string]: string } {
|
|
4095
|
+
return {
|
|
4096
|
+
code: 'Code',
|
|
4097
|
+
data: 'Data',
|
|
4098
|
+
errorCode: 'ErrorCode',
|
|
4099
|
+
message: 'Message',
|
|
4100
|
+
requestId: 'RequestId',
|
|
4101
|
+
success: 'Success',
|
|
4102
|
+
traceId: 'TraceId',
|
|
4103
|
+
};
|
|
4104
|
+
}
|
|
4105
|
+
|
|
4106
|
+
static types(): { [key: string]: any } {
|
|
4107
|
+
return {
|
|
4108
|
+
code: 'string',
|
|
4109
|
+
data: ExecJobResponseBodyData,
|
|
4110
|
+
errorCode: 'string',
|
|
4111
|
+
message: 'string',
|
|
4112
|
+
requestId: 'string',
|
|
4113
|
+
success: 'boolean',
|
|
4114
|
+
traceId: 'string',
|
|
4115
|
+
};
|
|
4116
|
+
}
|
|
4117
|
+
|
|
4118
|
+
constructor(map?: { [key: string]: any }) {
|
|
4119
|
+
super(map);
|
|
4120
|
+
}
|
|
4121
|
+
}
|
|
4122
|
+
|
|
4123
|
+
export class ExecJobResponse extends $tea.Model {
|
|
4124
|
+
headers: { [key: string]: string };
|
|
4125
|
+
statusCode: number;
|
|
4126
|
+
body: ExecJobResponseBody;
|
|
4127
|
+
static names(): { [key: string]: string } {
|
|
4128
|
+
return {
|
|
4129
|
+
headers: 'headers',
|
|
4130
|
+
statusCode: 'statusCode',
|
|
4131
|
+
body: 'body',
|
|
4132
|
+
};
|
|
4133
|
+
}
|
|
4134
|
+
|
|
4135
|
+
static types(): { [key: string]: any } {
|
|
4136
|
+
return {
|
|
4137
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4138
|
+
statusCode: 'number',
|
|
4139
|
+
body: ExecJobResponseBody,
|
|
4140
|
+
};
|
|
4141
|
+
}
|
|
4142
|
+
|
|
4143
|
+
constructor(map?: { [key: string]: any }) {
|
|
4144
|
+
super(map);
|
|
4145
|
+
}
|
|
4146
|
+
}
|
|
4147
|
+
|
|
3953
4148
|
export class ListAppEventsRequest extends $tea.Model {
|
|
3954
4149
|
appId?: string;
|
|
3955
4150
|
currentPage?: number;
|
|
@@ -7678,6 +7873,7 @@ export class DescribeApplicationConfigResponseBodyData extends $tea.Model {
|
|
|
7678
7873
|
mountDesc?: DescribeApplicationConfigResponseBodyDataMountDesc[];
|
|
7679
7874
|
mountHost?: string;
|
|
7680
7875
|
mseApplicationId?: string;
|
|
7876
|
+
mseFeatureConfig?: string;
|
|
7681
7877
|
namespaceId?: string;
|
|
7682
7878
|
nasId?: string;
|
|
7683
7879
|
ossAkId?: string;
|
|
@@ -7736,6 +7932,7 @@ export class DescribeApplicationConfigResponseBodyData extends $tea.Model {
|
|
|
7736
7932
|
mountDesc: 'MountDesc',
|
|
7737
7933
|
mountHost: 'MountHost',
|
|
7738
7934
|
mseApplicationId: 'MseApplicationId',
|
|
7935
|
+
mseFeatureConfig: 'MseFeatureConfig',
|
|
7739
7936
|
namespaceId: 'NamespaceId',
|
|
7740
7937
|
nasId: 'NasId',
|
|
7741
7938
|
ossAkId: 'OssAkId',
|
|
@@ -7797,6 +7994,7 @@ export class DescribeApplicationConfigResponseBodyData extends $tea.Model {
|
|
|
7797
7994
|
mountDesc: { 'type': 'array', 'itemType': DescribeApplicationConfigResponseBodyDataMountDesc },
|
|
7798
7995
|
mountHost: 'string',
|
|
7799
7996
|
mseApplicationId: 'string',
|
|
7997
|
+
mseFeatureConfig: 'string',
|
|
7800
7998
|
namespaceId: 'string',
|
|
7801
7999
|
nasId: 'string',
|
|
7802
8000
|
ossAkId: 'string',
|
|
@@ -7927,6 +8125,7 @@ export class DescribeApplicationImageResponseBodyData extends $tea.Model {
|
|
|
7927
8125
|
|
|
7928
8126
|
export class DescribeApplicationInstancesResponseBodyDataInstances extends $tea.Model {
|
|
7929
8127
|
createTimeStamp?: number;
|
|
8128
|
+
debugStatus?: boolean;
|
|
7930
8129
|
eip?: string;
|
|
7931
8130
|
finishTimeStamp?: number;
|
|
7932
8131
|
groupId?: string;
|
|
@@ -7941,6 +8140,7 @@ export class DescribeApplicationInstancesResponseBodyDataInstances extends $tea.
|
|
|
7941
8140
|
static names(): { [key: string]: string } {
|
|
7942
8141
|
return {
|
|
7943
8142
|
createTimeStamp: 'CreateTimeStamp',
|
|
8143
|
+
debugStatus: 'DebugStatus',
|
|
7944
8144
|
eip: 'Eip',
|
|
7945
8145
|
finishTimeStamp: 'FinishTimeStamp',
|
|
7946
8146
|
groupId: 'GroupId',
|
|
@@ -7958,6 +8158,7 @@ export class DescribeApplicationInstancesResponseBodyDataInstances extends $tea.
|
|
|
7958
8158
|
static types(): { [key: string]: any } {
|
|
7959
8159
|
return {
|
|
7960
8160
|
createTimeStamp: 'number',
|
|
8161
|
+
debugStatus: 'boolean',
|
|
7961
8162
|
eip: 'string',
|
|
7962
8163
|
finishTimeStamp: 'number',
|
|
7963
8164
|
groupId: 'string',
|
|
@@ -9245,11 +9446,13 @@ export class DescribeGreyTagRouteResponseBodyData extends $tea.Model {
|
|
|
9245
9446
|
export class DescribeIngressResponseBodyDataDefaultRule extends $tea.Model {
|
|
9246
9447
|
appId?: string;
|
|
9247
9448
|
appName?: string;
|
|
9449
|
+
backendProtocol?: string;
|
|
9248
9450
|
containerPort?: number;
|
|
9249
9451
|
static names(): { [key: string]: string } {
|
|
9250
9452
|
return {
|
|
9251
9453
|
appId: 'AppId',
|
|
9252
9454
|
appName: 'AppName',
|
|
9455
|
+
backendProtocol: 'BackendProtocol',
|
|
9253
9456
|
containerPort: 'ContainerPort',
|
|
9254
9457
|
};
|
|
9255
9458
|
}
|
|
@@ -9258,6 +9461,7 @@ export class DescribeIngressResponseBodyDataDefaultRule extends $tea.Model {
|
|
|
9258
9461
|
return {
|
|
9259
9462
|
appId: 'string',
|
|
9260
9463
|
appName: 'string',
|
|
9464
|
+
backendProtocol: 'string',
|
|
9261
9465
|
containerPort: 'number',
|
|
9262
9466
|
};
|
|
9263
9467
|
}
|
|
@@ -9270,6 +9474,7 @@ export class DescribeIngressResponseBodyDataDefaultRule extends $tea.Model {
|
|
|
9270
9474
|
export class DescribeIngressResponseBodyDataRules extends $tea.Model {
|
|
9271
9475
|
appId?: string;
|
|
9272
9476
|
appName?: string;
|
|
9477
|
+
backendProtocol?: string;
|
|
9273
9478
|
containerPort?: number;
|
|
9274
9479
|
domain?: string;
|
|
9275
9480
|
path?: string;
|
|
@@ -9277,6 +9482,7 @@ export class DescribeIngressResponseBodyDataRules extends $tea.Model {
|
|
|
9277
9482
|
return {
|
|
9278
9483
|
appId: 'AppId',
|
|
9279
9484
|
appName: 'AppName',
|
|
9485
|
+
backendProtocol: 'BackendProtocol',
|
|
9280
9486
|
containerPort: 'ContainerPort',
|
|
9281
9487
|
domain: 'Domain',
|
|
9282
9488
|
path: 'Path',
|
|
@@ -9287,6 +9493,7 @@ export class DescribeIngressResponseBodyDataRules extends $tea.Model {
|
|
|
9287
9493
|
return {
|
|
9288
9494
|
appId: 'string',
|
|
9289
9495
|
appName: 'string',
|
|
9496
|
+
backendProtocol: 'string',
|
|
9290
9497
|
containerPort: 'number',
|
|
9291
9498
|
domain: 'string',
|
|
9292
9499
|
path: 'string',
|
|
@@ -9384,6 +9591,46 @@ export class DescribeInstanceSpecificationsResponseBodyData extends $tea.Model {
|
|
|
9384
9591
|
}
|
|
9385
9592
|
}
|
|
9386
9593
|
|
|
9594
|
+
export class DescribeJobStatusResponseBodyData extends $tea.Model {
|
|
9595
|
+
active?: number;
|
|
9596
|
+
completionTime?: number;
|
|
9597
|
+
failed?: number;
|
|
9598
|
+
jobId?: string;
|
|
9599
|
+
message?: string;
|
|
9600
|
+
startTime?: number;
|
|
9601
|
+
state?: string;
|
|
9602
|
+
succeeded?: number;
|
|
9603
|
+
static names(): { [key: string]: string } {
|
|
9604
|
+
return {
|
|
9605
|
+
active: 'Active',
|
|
9606
|
+
completionTime: 'CompletionTime',
|
|
9607
|
+
failed: 'Failed',
|
|
9608
|
+
jobId: 'JobId',
|
|
9609
|
+
message: 'Message',
|
|
9610
|
+
startTime: 'StartTime',
|
|
9611
|
+
state: 'State',
|
|
9612
|
+
succeeded: 'Succeeded',
|
|
9613
|
+
};
|
|
9614
|
+
}
|
|
9615
|
+
|
|
9616
|
+
static types(): { [key: string]: any } {
|
|
9617
|
+
return {
|
|
9618
|
+
active: 'number',
|
|
9619
|
+
completionTime: 'number',
|
|
9620
|
+
failed: 'number',
|
|
9621
|
+
jobId: 'string',
|
|
9622
|
+
message: 'string',
|
|
9623
|
+
startTime: 'number',
|
|
9624
|
+
state: 'string',
|
|
9625
|
+
succeeded: 'number',
|
|
9626
|
+
};
|
|
9627
|
+
}
|
|
9628
|
+
|
|
9629
|
+
constructor(map?: { [key: string]: any }) {
|
|
9630
|
+
super(map);
|
|
9631
|
+
}
|
|
9632
|
+
}
|
|
9633
|
+
|
|
9387
9634
|
export class DescribeNamespaceResponseBodyData extends $tea.Model {
|
|
9388
9635
|
namespaceDescription?: string;
|
|
9389
9636
|
namespaceId?: string;
|
|
@@ -9773,6 +10020,34 @@ export class DescribeRegionsResponseBodyRegions extends $tea.Model {
|
|
|
9773
10020
|
}
|
|
9774
10021
|
}
|
|
9775
10022
|
|
|
10023
|
+
export class ExecJobResponseBodyData extends $tea.Model {
|
|
10024
|
+
code?: string;
|
|
10025
|
+
data?: string;
|
|
10026
|
+
msg?: string;
|
|
10027
|
+
success?: string;
|
|
10028
|
+
static names(): { [key: string]: string } {
|
|
10029
|
+
return {
|
|
10030
|
+
code: 'Code',
|
|
10031
|
+
data: 'Data',
|
|
10032
|
+
msg: 'Msg',
|
|
10033
|
+
success: 'Success',
|
|
10034
|
+
};
|
|
10035
|
+
}
|
|
10036
|
+
|
|
10037
|
+
static types(): { [key: string]: any } {
|
|
10038
|
+
return {
|
|
10039
|
+
code: 'string',
|
|
10040
|
+
data: 'string',
|
|
10041
|
+
msg: 'string',
|
|
10042
|
+
success: 'string',
|
|
10043
|
+
};
|
|
10044
|
+
}
|
|
10045
|
+
|
|
10046
|
+
constructor(map?: { [key: string]: any }) {
|
|
10047
|
+
super(map);
|
|
10048
|
+
}
|
|
10049
|
+
}
|
|
10050
|
+
|
|
9776
10051
|
export class ListAppEventsResponseBodyDataAppEventEntity extends $tea.Model {
|
|
9777
10052
|
eventType?: string;
|
|
9778
10053
|
firstTimestamp?: string;
|
|
@@ -11629,6 +11904,10 @@ export default class Client extends OpenApi {
|
|
|
11629
11904
|
query["WebContainer"] = request.webContainer;
|
|
11630
11905
|
}
|
|
11631
11906
|
|
|
11907
|
+
if (!Util.isUnset(request.mseFeatureConfig)) {
|
|
11908
|
+
query["mseFeatureConfig"] = request.mseFeatureConfig;
|
|
11909
|
+
}
|
|
11910
|
+
|
|
11632
11911
|
let body : {[key: string ]: any} = { };
|
|
11633
11912
|
if (!Util.isUnset(request.acrInstanceId)) {
|
|
11634
11913
|
body["AcrInstanceId"] = request.acrInstanceId;
|
|
@@ -12231,6 +12510,10 @@ export default class Client extends OpenApi {
|
|
|
12231
12510
|
query["MountHost"] = request.mountHost;
|
|
12232
12511
|
}
|
|
12233
12512
|
|
|
12513
|
+
if (!Util.isUnset(request.mseFeatureConfig)) {
|
|
12514
|
+
query["MseFeatureConfig"] = request.mseFeatureConfig;
|
|
12515
|
+
}
|
|
12516
|
+
|
|
12234
12517
|
if (!Util.isUnset(request.nasId)) {
|
|
12235
12518
|
query["NasId"] = request.nasId;
|
|
12236
12519
|
}
|
|
@@ -12788,6 +13071,10 @@ export default class Client extends OpenApi {
|
|
|
12788
13071
|
query["Memory"] = request.memory;
|
|
12789
13072
|
}
|
|
12790
13073
|
|
|
13074
|
+
if (!Util.isUnset(request.workload)) {
|
|
13075
|
+
query["Workload"] = request.workload;
|
|
13076
|
+
}
|
|
13077
|
+
|
|
12791
13078
|
let req = new $OpenApi.OpenApiRequest({
|
|
12792
13079
|
headers: headers,
|
|
12793
13080
|
query: OpenApiUtil.query(query),
|
|
@@ -12947,6 +13234,41 @@ export default class Client extends OpenApi {
|
|
|
12947
13234
|
return $tea.cast<DescribeInstanceSpecificationsResponse>(await this.callApi(params, req, runtime), new DescribeInstanceSpecificationsResponse({}));
|
|
12948
13235
|
}
|
|
12949
13236
|
|
|
13237
|
+
async describeJobStatus(request: DescribeJobStatusRequest): Promise<DescribeJobStatusResponse> {
|
|
13238
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
13239
|
+
let headers : {[key: string ]: string} = { };
|
|
13240
|
+
return await this.describeJobStatusWithOptions(request, headers, runtime);
|
|
13241
|
+
}
|
|
13242
|
+
|
|
13243
|
+
async describeJobStatusWithOptions(request: DescribeJobStatusRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeJobStatusResponse> {
|
|
13244
|
+
Util.validateModel(request);
|
|
13245
|
+
let query : {[key: string ]: any} = { };
|
|
13246
|
+
if (!Util.isUnset(request.appId)) {
|
|
13247
|
+
query["AppId"] = request.appId;
|
|
13248
|
+
}
|
|
13249
|
+
|
|
13250
|
+
if (!Util.isUnset(request.jobId)) {
|
|
13251
|
+
query["JobId"] = request.jobId;
|
|
13252
|
+
}
|
|
13253
|
+
|
|
13254
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
13255
|
+
headers: headers,
|
|
13256
|
+
query: OpenApiUtil.query(query),
|
|
13257
|
+
});
|
|
13258
|
+
let params = new $OpenApi.Params({
|
|
13259
|
+
action: "DescribeJobStatus",
|
|
13260
|
+
version: "2019-05-06",
|
|
13261
|
+
protocol: "HTTPS",
|
|
13262
|
+
pathname: `/pop/v1/sam/job/describeJobStatus`,
|
|
13263
|
+
method: "GET",
|
|
13264
|
+
authType: "AK",
|
|
13265
|
+
style: "ROA",
|
|
13266
|
+
reqBodyType: "json",
|
|
13267
|
+
bodyType: "json",
|
|
13268
|
+
});
|
|
13269
|
+
return $tea.cast<DescribeJobStatusResponse>(await this.callApi(params, req, runtime), new DescribeJobStatusResponse({}));
|
|
13270
|
+
}
|
|
13271
|
+
|
|
12950
13272
|
async describeNamespace(request: DescribeNamespaceRequest): Promise<DescribeNamespaceResponse> {
|
|
12951
13273
|
let runtime = new $Util.RuntimeOptions({ });
|
|
12952
13274
|
let headers : {[key: string ]: string} = { };
|
|
@@ -13204,6 +13526,65 @@ export default class Client extends OpenApi {
|
|
|
13204
13526
|
return $tea.cast<EnableApplicationScalingRuleResponse>(await this.callApi(params, req, runtime), new EnableApplicationScalingRuleResponse({}));
|
|
13205
13527
|
}
|
|
13206
13528
|
|
|
13529
|
+
async execJob(request: ExecJobRequest): Promise<ExecJobResponse> {
|
|
13530
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
13531
|
+
let headers : {[key: string ]: string} = { };
|
|
13532
|
+
return await this.execJobWithOptions(request, headers, runtime);
|
|
13533
|
+
}
|
|
13534
|
+
|
|
13535
|
+
async execJobWithOptions(request: ExecJobRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<ExecJobResponse> {
|
|
13536
|
+
Util.validateModel(request);
|
|
13537
|
+
let query : {[key: string ]: any} = { };
|
|
13538
|
+
if (!Util.isUnset(request.appId)) {
|
|
13539
|
+
query["AppId"] = request.appId;
|
|
13540
|
+
}
|
|
13541
|
+
|
|
13542
|
+
if (!Util.isUnset(request.command)) {
|
|
13543
|
+
query["Command"] = request.command;
|
|
13544
|
+
}
|
|
13545
|
+
|
|
13546
|
+
if (!Util.isUnset(request.commandArgs)) {
|
|
13547
|
+
query["CommandArgs"] = request.commandArgs;
|
|
13548
|
+
}
|
|
13549
|
+
|
|
13550
|
+
if (!Util.isUnset(request.envs)) {
|
|
13551
|
+
query["Envs"] = request.envs;
|
|
13552
|
+
}
|
|
13553
|
+
|
|
13554
|
+
if (!Util.isUnset(request.eventId)) {
|
|
13555
|
+
query["EventId"] = request.eventId;
|
|
13556
|
+
}
|
|
13557
|
+
|
|
13558
|
+
if (!Util.isUnset(request.jarStartArgs)) {
|
|
13559
|
+
query["JarStartArgs"] = request.jarStartArgs;
|
|
13560
|
+
}
|
|
13561
|
+
|
|
13562
|
+
if (!Util.isUnset(request.jarStartOptions)) {
|
|
13563
|
+
query["JarStartOptions"] = request.jarStartOptions;
|
|
13564
|
+
}
|
|
13565
|
+
|
|
13566
|
+
if (!Util.isUnset(request.warStartOptions)) {
|
|
13567
|
+
query["WarStartOptions"] = request.warStartOptions;
|
|
13568
|
+
}
|
|
13569
|
+
|
|
13570
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
13571
|
+
headers: headers,
|
|
13572
|
+
query: OpenApiUtil.query(query),
|
|
13573
|
+
});
|
|
13574
|
+
let params = new $OpenApi.Params({
|
|
13575
|
+
action: "ExecJob",
|
|
13576
|
+
version: "2019-05-06",
|
|
13577
|
+
protocol: "HTTPS",
|
|
13578
|
+
pathname: `/pop/v1/sam/job/execJob`,
|
|
13579
|
+
method: "GET",
|
|
13580
|
+
authType: "AK",
|
|
13581
|
+
style: "ROA",
|
|
13582
|
+
reqBodyType: "json",
|
|
13583
|
+
bodyType: "json",
|
|
13584
|
+
});
|
|
13585
|
+
return $tea.cast<ExecJobResponse>(await this.callApi(params, req, runtime), new ExecJobResponse({}));
|
|
13586
|
+
}
|
|
13587
|
+
|
|
13207
13588
|
async listAppEvents(request: ListAppEventsRequest): Promise<ListAppEventsResponse> {
|
|
13208
13589
|
let runtime = new $Util.RuntimeOptions({ });
|
|
13209
13590
|
let headers : {[key: string ]: string} = { };
|