@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/dist/client.d.ts
CHANGED
|
@@ -340,6 +340,7 @@ export declare class CreateApplicationRequest extends $tea.Model {
|
|
|
340
340
|
vpcId?: string;
|
|
341
341
|
warStartOptions?: string;
|
|
342
342
|
webContainer?: string;
|
|
343
|
+
mseFeatureConfig?: string;
|
|
343
344
|
static names(): {
|
|
344
345
|
[key: string]: string;
|
|
345
346
|
};
|
|
@@ -934,6 +935,7 @@ export declare class DeployApplicationRequest extends $tea.Model {
|
|
|
934
935
|
minReadyInstances?: number;
|
|
935
936
|
mountDesc?: string;
|
|
936
937
|
mountHost?: string;
|
|
938
|
+
mseFeatureConfig?: string;
|
|
937
939
|
nasId?: string;
|
|
938
940
|
openCollectToKafka?: boolean;
|
|
939
941
|
ossAkId?: string;
|
|
@@ -1559,6 +1561,7 @@ export declare class DescribeConfigMapResponse extends $tea.Model {
|
|
|
1559
1561
|
export declare class DescribeConfigurationPriceRequest extends $tea.Model {
|
|
1560
1562
|
cpu?: number;
|
|
1561
1563
|
memory?: number;
|
|
1564
|
+
workload?: string;
|
|
1562
1565
|
static names(): {
|
|
1563
1566
|
[key: string]: string;
|
|
1564
1567
|
};
|
|
@@ -1809,6 +1812,53 @@ export declare class DescribeInstanceSpecificationsResponse extends $tea.Model {
|
|
|
1809
1812
|
[key: string]: any;
|
|
1810
1813
|
});
|
|
1811
1814
|
}
|
|
1815
|
+
export declare class DescribeJobStatusRequest extends $tea.Model {
|
|
1816
|
+
appId?: string;
|
|
1817
|
+
jobId?: string;
|
|
1818
|
+
static names(): {
|
|
1819
|
+
[key: string]: string;
|
|
1820
|
+
};
|
|
1821
|
+
static types(): {
|
|
1822
|
+
[key: string]: any;
|
|
1823
|
+
};
|
|
1824
|
+
constructor(map?: {
|
|
1825
|
+
[key: string]: any;
|
|
1826
|
+
});
|
|
1827
|
+
}
|
|
1828
|
+
export declare class DescribeJobStatusResponseBody extends $tea.Model {
|
|
1829
|
+
code?: string;
|
|
1830
|
+
data?: DescribeJobStatusResponseBodyData;
|
|
1831
|
+
errorCode?: string;
|
|
1832
|
+
message?: string;
|
|
1833
|
+
requestId?: string;
|
|
1834
|
+
success?: boolean;
|
|
1835
|
+
traceId?: string;
|
|
1836
|
+
static names(): {
|
|
1837
|
+
[key: string]: string;
|
|
1838
|
+
};
|
|
1839
|
+
static types(): {
|
|
1840
|
+
[key: string]: any;
|
|
1841
|
+
};
|
|
1842
|
+
constructor(map?: {
|
|
1843
|
+
[key: string]: any;
|
|
1844
|
+
});
|
|
1845
|
+
}
|
|
1846
|
+
export declare class DescribeJobStatusResponse extends $tea.Model {
|
|
1847
|
+
headers: {
|
|
1848
|
+
[key: string]: string;
|
|
1849
|
+
};
|
|
1850
|
+
statusCode: number;
|
|
1851
|
+
body: DescribeJobStatusResponseBody;
|
|
1852
|
+
static names(): {
|
|
1853
|
+
[key: string]: string;
|
|
1854
|
+
};
|
|
1855
|
+
static types(): {
|
|
1856
|
+
[key: string]: any;
|
|
1857
|
+
};
|
|
1858
|
+
constructor(map?: {
|
|
1859
|
+
[key: string]: any;
|
|
1860
|
+
});
|
|
1861
|
+
}
|
|
1812
1862
|
export declare class DescribeNamespaceRequest extends $tea.Model {
|
|
1813
1863
|
namespaceId?: string;
|
|
1814
1864
|
static names(): {
|
|
@@ -2156,6 +2206,59 @@ export declare class EnableApplicationScalingRuleResponse extends $tea.Model {
|
|
|
2156
2206
|
[key: string]: any;
|
|
2157
2207
|
});
|
|
2158
2208
|
}
|
|
2209
|
+
export declare class ExecJobRequest extends $tea.Model {
|
|
2210
|
+
appId?: string;
|
|
2211
|
+
command?: string;
|
|
2212
|
+
commandArgs?: string;
|
|
2213
|
+
envs?: string;
|
|
2214
|
+
eventId?: string;
|
|
2215
|
+
jarStartArgs?: string;
|
|
2216
|
+
jarStartOptions?: string;
|
|
2217
|
+
warStartOptions?: string;
|
|
2218
|
+
static names(): {
|
|
2219
|
+
[key: string]: string;
|
|
2220
|
+
};
|
|
2221
|
+
static types(): {
|
|
2222
|
+
[key: string]: any;
|
|
2223
|
+
};
|
|
2224
|
+
constructor(map?: {
|
|
2225
|
+
[key: string]: any;
|
|
2226
|
+
});
|
|
2227
|
+
}
|
|
2228
|
+
export declare class ExecJobResponseBody extends $tea.Model {
|
|
2229
|
+
code?: string;
|
|
2230
|
+
data?: ExecJobResponseBodyData;
|
|
2231
|
+
errorCode?: string;
|
|
2232
|
+
message?: string;
|
|
2233
|
+
requestId?: string;
|
|
2234
|
+
success?: boolean;
|
|
2235
|
+
traceId?: string;
|
|
2236
|
+
static names(): {
|
|
2237
|
+
[key: string]: string;
|
|
2238
|
+
};
|
|
2239
|
+
static types(): {
|
|
2240
|
+
[key: string]: any;
|
|
2241
|
+
};
|
|
2242
|
+
constructor(map?: {
|
|
2243
|
+
[key: string]: any;
|
|
2244
|
+
});
|
|
2245
|
+
}
|
|
2246
|
+
export declare class ExecJobResponse extends $tea.Model {
|
|
2247
|
+
headers: {
|
|
2248
|
+
[key: string]: string;
|
|
2249
|
+
};
|
|
2250
|
+
statusCode: number;
|
|
2251
|
+
body: ExecJobResponseBody;
|
|
2252
|
+
static names(): {
|
|
2253
|
+
[key: string]: string;
|
|
2254
|
+
};
|
|
2255
|
+
static types(): {
|
|
2256
|
+
[key: string]: any;
|
|
2257
|
+
};
|
|
2258
|
+
constructor(map?: {
|
|
2259
|
+
[key: string]: any;
|
|
2260
|
+
});
|
|
2261
|
+
}
|
|
2159
2262
|
export declare class ListAppEventsRequest extends $tea.Model {
|
|
2160
2263
|
appId?: string;
|
|
2161
2264
|
currentPage?: number;
|
|
@@ -4238,6 +4341,7 @@ export declare class DescribeApplicationConfigResponseBodyData extends $tea.Mode
|
|
|
4238
4341
|
mountDesc?: DescribeApplicationConfigResponseBodyDataMountDesc[];
|
|
4239
4342
|
mountHost?: string;
|
|
4240
4343
|
mseApplicationId?: string;
|
|
4344
|
+
mseFeatureConfig?: string;
|
|
4241
4345
|
namespaceId?: string;
|
|
4242
4346
|
nasId?: string;
|
|
4243
4347
|
ossAkId?: string;
|
|
@@ -4320,6 +4424,7 @@ export declare class DescribeApplicationImageResponseBodyData extends $tea.Model
|
|
|
4320
4424
|
}
|
|
4321
4425
|
export declare class DescribeApplicationInstancesResponseBodyDataInstances extends $tea.Model {
|
|
4322
4426
|
createTimeStamp?: number;
|
|
4427
|
+
debugStatus?: boolean;
|
|
4323
4428
|
eip?: string;
|
|
4324
4429
|
finishTimeStamp?: number;
|
|
4325
4430
|
groupId?: string;
|
|
@@ -5000,6 +5105,7 @@ export declare class DescribeGreyTagRouteResponseBodyData extends $tea.Model {
|
|
|
5000
5105
|
export declare class DescribeIngressResponseBodyDataDefaultRule extends $tea.Model {
|
|
5001
5106
|
appId?: string;
|
|
5002
5107
|
appName?: string;
|
|
5108
|
+
backendProtocol?: string;
|
|
5003
5109
|
containerPort?: number;
|
|
5004
5110
|
static names(): {
|
|
5005
5111
|
[key: string]: string;
|
|
@@ -5014,6 +5120,7 @@ export declare class DescribeIngressResponseBodyDataDefaultRule extends $tea.Mod
|
|
|
5014
5120
|
export declare class DescribeIngressResponseBodyDataRules extends $tea.Model {
|
|
5015
5121
|
appId?: string;
|
|
5016
5122
|
appName?: string;
|
|
5123
|
+
backendProtocol?: string;
|
|
5017
5124
|
containerPort?: number;
|
|
5018
5125
|
domain?: string;
|
|
5019
5126
|
path?: string;
|
|
@@ -5067,6 +5174,25 @@ export declare class DescribeInstanceSpecificationsResponseBodyData extends $tea
|
|
|
5067
5174
|
[key: string]: any;
|
|
5068
5175
|
});
|
|
5069
5176
|
}
|
|
5177
|
+
export declare class DescribeJobStatusResponseBodyData extends $tea.Model {
|
|
5178
|
+
active?: number;
|
|
5179
|
+
completionTime?: number;
|
|
5180
|
+
failed?: number;
|
|
5181
|
+
jobId?: string;
|
|
5182
|
+
message?: string;
|
|
5183
|
+
startTime?: number;
|
|
5184
|
+
state?: string;
|
|
5185
|
+
succeeded?: number;
|
|
5186
|
+
static names(): {
|
|
5187
|
+
[key: string]: string;
|
|
5188
|
+
};
|
|
5189
|
+
static types(): {
|
|
5190
|
+
[key: string]: any;
|
|
5191
|
+
};
|
|
5192
|
+
constructor(map?: {
|
|
5193
|
+
[key: string]: any;
|
|
5194
|
+
});
|
|
5195
|
+
}
|
|
5070
5196
|
export declare class DescribeNamespaceResponseBodyData extends $tea.Model {
|
|
5071
5197
|
namespaceDescription?: string;
|
|
5072
5198
|
namespaceId?: string;
|
|
@@ -5259,6 +5385,21 @@ export declare class DescribeRegionsResponseBodyRegions extends $tea.Model {
|
|
|
5259
5385
|
[key: string]: any;
|
|
5260
5386
|
});
|
|
5261
5387
|
}
|
|
5388
|
+
export declare class ExecJobResponseBodyData extends $tea.Model {
|
|
5389
|
+
code?: string;
|
|
5390
|
+
data?: string;
|
|
5391
|
+
msg?: string;
|
|
5392
|
+
success?: string;
|
|
5393
|
+
static names(): {
|
|
5394
|
+
[key: string]: string;
|
|
5395
|
+
};
|
|
5396
|
+
static types(): {
|
|
5397
|
+
[key: string]: any;
|
|
5398
|
+
};
|
|
5399
|
+
constructor(map?: {
|
|
5400
|
+
[key: string]: any;
|
|
5401
|
+
});
|
|
5402
|
+
}
|
|
5262
5403
|
export declare class ListAppEventsResponseBodyDataAppEventEntity extends $tea.Model {
|
|
5263
5404
|
eventType?: string;
|
|
5264
5405
|
firstTimestamp?: string;
|
|
@@ -6174,6 +6315,10 @@ export default class Client extends OpenApi {
|
|
|
6174
6315
|
describeInstanceSpecificationsWithOptions(headers: {
|
|
6175
6316
|
[key: string]: string;
|
|
6176
6317
|
}, runtime: $Util.RuntimeOptions): Promise<DescribeInstanceSpecificationsResponse>;
|
|
6318
|
+
describeJobStatus(request: DescribeJobStatusRequest): Promise<DescribeJobStatusResponse>;
|
|
6319
|
+
describeJobStatusWithOptions(request: DescribeJobStatusRequest, headers: {
|
|
6320
|
+
[key: string]: string;
|
|
6321
|
+
}, runtime: $Util.RuntimeOptions): Promise<DescribeJobStatusResponse>;
|
|
6177
6322
|
describeNamespace(request: DescribeNamespaceRequest): Promise<DescribeNamespaceResponse>;
|
|
6178
6323
|
describeNamespaceWithOptions(request: DescribeNamespaceRequest, headers: {
|
|
6179
6324
|
[key: string]: string;
|
|
@@ -6206,6 +6351,10 @@ export default class Client extends OpenApi {
|
|
|
6206
6351
|
enableApplicationScalingRuleWithOptions(request: EnableApplicationScalingRuleRequest, headers: {
|
|
6207
6352
|
[key: string]: string;
|
|
6208
6353
|
}, runtime: $Util.RuntimeOptions): Promise<EnableApplicationScalingRuleResponse>;
|
|
6354
|
+
execJob(request: ExecJobRequest): Promise<ExecJobResponse>;
|
|
6355
|
+
execJobWithOptions(request: ExecJobRequest, headers: {
|
|
6356
|
+
[key: string]: string;
|
|
6357
|
+
}, runtime: $Util.RuntimeOptions): Promise<ExecJobResponse>;
|
|
6209
6358
|
listAppEvents(request: ListAppEventsRequest): Promise<ListAppEventsResponse>;
|
|
6210
6359
|
listAppEventsWithOptions(request: ListAppEventsRequest, headers: {
|
|
6211
6360
|
[key: string]: string;
|
package/dist/client.js
CHANGED
|
@@ -475,6 +475,7 @@ class CreateApplicationRequest extends $tea.Model {
|
|
|
475
475
|
vpcId: 'VpcId',
|
|
476
476
|
warStartOptions: 'WarStartOptions',
|
|
477
477
|
webContainer: 'WebContainer',
|
|
478
|
+
mseFeatureConfig: 'mseFeatureConfig',
|
|
478
479
|
};
|
|
479
480
|
}
|
|
480
481
|
static types() {
|
|
@@ -531,6 +532,7 @@ class CreateApplicationRequest extends $tea.Model {
|
|
|
531
532
|
vpcId: 'string',
|
|
532
533
|
warStartOptions: 'string',
|
|
533
534
|
webContainer: 'string',
|
|
535
|
+
mseFeatureConfig: 'string',
|
|
534
536
|
};
|
|
535
537
|
}
|
|
536
538
|
}
|
|
@@ -1351,6 +1353,7 @@ class DeployApplicationRequest extends $tea.Model {
|
|
|
1351
1353
|
minReadyInstances: 'MinReadyInstances',
|
|
1352
1354
|
mountDesc: 'MountDesc',
|
|
1353
1355
|
mountHost: 'MountHost',
|
|
1356
|
+
mseFeatureConfig: 'MseFeatureConfig',
|
|
1354
1357
|
nasId: 'NasId',
|
|
1355
1358
|
openCollectToKafka: 'OpenCollectToKafka',
|
|
1356
1359
|
ossAkId: 'OssAkId',
|
|
@@ -1403,6 +1406,7 @@ class DeployApplicationRequest extends $tea.Model {
|
|
|
1403
1406
|
minReadyInstances: 'number',
|
|
1404
1407
|
mountDesc: 'string',
|
|
1405
1408
|
mountHost: 'string',
|
|
1409
|
+
mseFeatureConfig: 'string',
|
|
1406
1410
|
nasId: 'string',
|
|
1407
1411
|
openCollectToKafka: 'boolean',
|
|
1408
1412
|
ossAkId: 'string',
|
|
@@ -2263,12 +2267,14 @@ class DescribeConfigurationPriceRequest extends $tea.Model {
|
|
|
2263
2267
|
return {
|
|
2264
2268
|
cpu: 'Cpu',
|
|
2265
2269
|
memory: 'Memory',
|
|
2270
|
+
workload: 'Workload',
|
|
2266
2271
|
};
|
|
2267
2272
|
}
|
|
2268
2273
|
static types() {
|
|
2269
2274
|
return {
|
|
2270
2275
|
cpu: 'number',
|
|
2271
2276
|
memory: 'number',
|
|
2277
|
+
workload: 'string',
|
|
2272
2278
|
};
|
|
2273
2279
|
}
|
|
2274
2280
|
}
|
|
@@ -2609,6 +2615,72 @@ class DescribeInstanceSpecificationsResponse extends $tea.Model {
|
|
|
2609
2615
|
}
|
|
2610
2616
|
}
|
|
2611
2617
|
exports.DescribeInstanceSpecificationsResponse = DescribeInstanceSpecificationsResponse;
|
|
2618
|
+
class DescribeJobStatusRequest extends $tea.Model {
|
|
2619
|
+
constructor(map) {
|
|
2620
|
+
super(map);
|
|
2621
|
+
}
|
|
2622
|
+
static names() {
|
|
2623
|
+
return {
|
|
2624
|
+
appId: 'AppId',
|
|
2625
|
+
jobId: 'JobId',
|
|
2626
|
+
};
|
|
2627
|
+
}
|
|
2628
|
+
static types() {
|
|
2629
|
+
return {
|
|
2630
|
+
appId: 'string',
|
|
2631
|
+
jobId: 'string',
|
|
2632
|
+
};
|
|
2633
|
+
}
|
|
2634
|
+
}
|
|
2635
|
+
exports.DescribeJobStatusRequest = DescribeJobStatusRequest;
|
|
2636
|
+
class DescribeJobStatusResponseBody extends $tea.Model {
|
|
2637
|
+
constructor(map) {
|
|
2638
|
+
super(map);
|
|
2639
|
+
}
|
|
2640
|
+
static names() {
|
|
2641
|
+
return {
|
|
2642
|
+
code: 'Code',
|
|
2643
|
+
data: 'Data',
|
|
2644
|
+
errorCode: 'ErrorCode',
|
|
2645
|
+
message: 'Message',
|
|
2646
|
+
requestId: 'RequestId',
|
|
2647
|
+
success: 'Success',
|
|
2648
|
+
traceId: 'TraceId',
|
|
2649
|
+
};
|
|
2650
|
+
}
|
|
2651
|
+
static types() {
|
|
2652
|
+
return {
|
|
2653
|
+
code: 'string',
|
|
2654
|
+
data: DescribeJobStatusResponseBodyData,
|
|
2655
|
+
errorCode: 'string',
|
|
2656
|
+
message: 'string',
|
|
2657
|
+
requestId: 'string',
|
|
2658
|
+
success: 'boolean',
|
|
2659
|
+
traceId: 'string',
|
|
2660
|
+
};
|
|
2661
|
+
}
|
|
2662
|
+
}
|
|
2663
|
+
exports.DescribeJobStatusResponseBody = DescribeJobStatusResponseBody;
|
|
2664
|
+
class DescribeJobStatusResponse extends $tea.Model {
|
|
2665
|
+
constructor(map) {
|
|
2666
|
+
super(map);
|
|
2667
|
+
}
|
|
2668
|
+
static names() {
|
|
2669
|
+
return {
|
|
2670
|
+
headers: 'headers',
|
|
2671
|
+
statusCode: 'statusCode',
|
|
2672
|
+
body: 'body',
|
|
2673
|
+
};
|
|
2674
|
+
}
|
|
2675
|
+
static types() {
|
|
2676
|
+
return {
|
|
2677
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2678
|
+
statusCode: 'number',
|
|
2679
|
+
body: DescribeJobStatusResponseBody,
|
|
2680
|
+
};
|
|
2681
|
+
}
|
|
2682
|
+
}
|
|
2683
|
+
exports.DescribeJobStatusResponse = DescribeJobStatusResponse;
|
|
2612
2684
|
class DescribeNamespaceRequest extends $tea.Model {
|
|
2613
2685
|
constructor(map) {
|
|
2614
2686
|
super(map);
|
|
@@ -3087,6 +3159,84 @@ class EnableApplicationScalingRuleResponse extends $tea.Model {
|
|
|
3087
3159
|
}
|
|
3088
3160
|
}
|
|
3089
3161
|
exports.EnableApplicationScalingRuleResponse = EnableApplicationScalingRuleResponse;
|
|
3162
|
+
class ExecJobRequest extends $tea.Model {
|
|
3163
|
+
constructor(map) {
|
|
3164
|
+
super(map);
|
|
3165
|
+
}
|
|
3166
|
+
static names() {
|
|
3167
|
+
return {
|
|
3168
|
+
appId: 'AppId',
|
|
3169
|
+
command: 'Command',
|
|
3170
|
+
commandArgs: 'CommandArgs',
|
|
3171
|
+
envs: 'Envs',
|
|
3172
|
+
eventId: 'EventId',
|
|
3173
|
+
jarStartArgs: 'JarStartArgs',
|
|
3174
|
+
jarStartOptions: 'JarStartOptions',
|
|
3175
|
+
warStartOptions: 'WarStartOptions',
|
|
3176
|
+
};
|
|
3177
|
+
}
|
|
3178
|
+
static types() {
|
|
3179
|
+
return {
|
|
3180
|
+
appId: 'string',
|
|
3181
|
+
command: 'string',
|
|
3182
|
+
commandArgs: 'string',
|
|
3183
|
+
envs: 'string',
|
|
3184
|
+
eventId: 'string',
|
|
3185
|
+
jarStartArgs: 'string',
|
|
3186
|
+
jarStartOptions: 'string',
|
|
3187
|
+
warStartOptions: 'string',
|
|
3188
|
+
};
|
|
3189
|
+
}
|
|
3190
|
+
}
|
|
3191
|
+
exports.ExecJobRequest = ExecJobRequest;
|
|
3192
|
+
class ExecJobResponseBody extends $tea.Model {
|
|
3193
|
+
constructor(map) {
|
|
3194
|
+
super(map);
|
|
3195
|
+
}
|
|
3196
|
+
static names() {
|
|
3197
|
+
return {
|
|
3198
|
+
code: 'Code',
|
|
3199
|
+
data: 'Data',
|
|
3200
|
+
errorCode: 'ErrorCode',
|
|
3201
|
+
message: 'Message',
|
|
3202
|
+
requestId: 'RequestId',
|
|
3203
|
+
success: 'Success',
|
|
3204
|
+
traceId: 'TraceId',
|
|
3205
|
+
};
|
|
3206
|
+
}
|
|
3207
|
+
static types() {
|
|
3208
|
+
return {
|
|
3209
|
+
code: 'string',
|
|
3210
|
+
data: ExecJobResponseBodyData,
|
|
3211
|
+
errorCode: 'string',
|
|
3212
|
+
message: 'string',
|
|
3213
|
+
requestId: 'string',
|
|
3214
|
+
success: 'boolean',
|
|
3215
|
+
traceId: 'string',
|
|
3216
|
+
};
|
|
3217
|
+
}
|
|
3218
|
+
}
|
|
3219
|
+
exports.ExecJobResponseBody = ExecJobResponseBody;
|
|
3220
|
+
class ExecJobResponse extends $tea.Model {
|
|
3221
|
+
constructor(map) {
|
|
3222
|
+
super(map);
|
|
3223
|
+
}
|
|
3224
|
+
static names() {
|
|
3225
|
+
return {
|
|
3226
|
+
headers: 'headers',
|
|
3227
|
+
statusCode: 'statusCode',
|
|
3228
|
+
body: 'body',
|
|
3229
|
+
};
|
|
3230
|
+
}
|
|
3231
|
+
static types() {
|
|
3232
|
+
return {
|
|
3233
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3234
|
+
statusCode: 'number',
|
|
3235
|
+
body: ExecJobResponseBody,
|
|
3236
|
+
};
|
|
3237
|
+
}
|
|
3238
|
+
}
|
|
3239
|
+
exports.ExecJobResponse = ExecJobResponse;
|
|
3090
3240
|
class ListAppEventsRequest extends $tea.Model {
|
|
3091
3241
|
constructor(map) {
|
|
3092
3242
|
super(map);
|
|
@@ -6027,6 +6177,7 @@ class DescribeApplicationConfigResponseBodyData extends $tea.Model {
|
|
|
6027
6177
|
mountDesc: 'MountDesc',
|
|
6028
6178
|
mountHost: 'MountHost',
|
|
6029
6179
|
mseApplicationId: 'MseApplicationId',
|
|
6180
|
+
mseFeatureConfig: 'MseFeatureConfig',
|
|
6030
6181
|
namespaceId: 'NamespaceId',
|
|
6031
6182
|
nasId: 'NasId',
|
|
6032
6183
|
ossAkId: 'OssAkId',
|
|
@@ -6087,6 +6238,7 @@ class DescribeApplicationConfigResponseBodyData extends $tea.Model {
|
|
|
6087
6238
|
mountDesc: { 'type': 'array', 'itemType': DescribeApplicationConfigResponseBodyDataMountDesc },
|
|
6088
6239
|
mountHost: 'string',
|
|
6089
6240
|
mseApplicationId: 'string',
|
|
6241
|
+
mseFeatureConfig: 'string',
|
|
6090
6242
|
namespaceId: 'string',
|
|
6091
6243
|
nasId: 'string',
|
|
6092
6244
|
ossAkId: 'string',
|
|
@@ -6194,6 +6346,7 @@ class DescribeApplicationInstancesResponseBodyDataInstances extends $tea.Model {
|
|
|
6194
6346
|
static names() {
|
|
6195
6347
|
return {
|
|
6196
6348
|
createTimeStamp: 'CreateTimeStamp',
|
|
6349
|
+
debugStatus: 'DebugStatus',
|
|
6197
6350
|
eip: 'Eip',
|
|
6198
6351
|
finishTimeStamp: 'FinishTimeStamp',
|
|
6199
6352
|
groupId: 'GroupId',
|
|
@@ -6210,6 +6363,7 @@ class DescribeApplicationInstancesResponseBodyDataInstances extends $tea.Model {
|
|
|
6210
6363
|
static types() {
|
|
6211
6364
|
return {
|
|
6212
6365
|
createTimeStamp: 'number',
|
|
6366
|
+
debugStatus: 'boolean',
|
|
6213
6367
|
eip: 'string',
|
|
6214
6368
|
finishTimeStamp: 'number',
|
|
6215
6369
|
groupId: 'string',
|
|
@@ -7213,6 +7367,7 @@ class DescribeIngressResponseBodyDataDefaultRule extends $tea.Model {
|
|
|
7213
7367
|
return {
|
|
7214
7368
|
appId: 'AppId',
|
|
7215
7369
|
appName: 'AppName',
|
|
7370
|
+
backendProtocol: 'BackendProtocol',
|
|
7216
7371
|
containerPort: 'ContainerPort',
|
|
7217
7372
|
};
|
|
7218
7373
|
}
|
|
@@ -7220,6 +7375,7 @@ class DescribeIngressResponseBodyDataDefaultRule extends $tea.Model {
|
|
|
7220
7375
|
return {
|
|
7221
7376
|
appId: 'string',
|
|
7222
7377
|
appName: 'string',
|
|
7378
|
+
backendProtocol: 'string',
|
|
7223
7379
|
containerPort: 'number',
|
|
7224
7380
|
};
|
|
7225
7381
|
}
|
|
@@ -7233,6 +7389,7 @@ class DescribeIngressResponseBodyDataRules extends $tea.Model {
|
|
|
7233
7389
|
return {
|
|
7234
7390
|
appId: 'AppId',
|
|
7235
7391
|
appName: 'AppName',
|
|
7392
|
+
backendProtocol: 'BackendProtocol',
|
|
7236
7393
|
containerPort: 'ContainerPort',
|
|
7237
7394
|
domain: 'Domain',
|
|
7238
7395
|
path: 'Path',
|
|
@@ -7242,6 +7399,7 @@ class DescribeIngressResponseBodyDataRules extends $tea.Model {
|
|
|
7242
7399
|
return {
|
|
7243
7400
|
appId: 'string',
|
|
7244
7401
|
appName: 'string',
|
|
7402
|
+
backendProtocol: 'string',
|
|
7245
7403
|
containerPort: 'number',
|
|
7246
7404
|
domain: 'string',
|
|
7247
7405
|
path: 'string',
|
|
@@ -7313,6 +7471,36 @@ class DescribeInstanceSpecificationsResponseBodyData extends $tea.Model {
|
|
|
7313
7471
|
}
|
|
7314
7472
|
}
|
|
7315
7473
|
exports.DescribeInstanceSpecificationsResponseBodyData = DescribeInstanceSpecificationsResponseBodyData;
|
|
7474
|
+
class DescribeJobStatusResponseBodyData extends $tea.Model {
|
|
7475
|
+
constructor(map) {
|
|
7476
|
+
super(map);
|
|
7477
|
+
}
|
|
7478
|
+
static names() {
|
|
7479
|
+
return {
|
|
7480
|
+
active: 'Active',
|
|
7481
|
+
completionTime: 'CompletionTime',
|
|
7482
|
+
failed: 'Failed',
|
|
7483
|
+
jobId: 'JobId',
|
|
7484
|
+
message: 'Message',
|
|
7485
|
+
startTime: 'StartTime',
|
|
7486
|
+
state: 'State',
|
|
7487
|
+
succeeded: 'Succeeded',
|
|
7488
|
+
};
|
|
7489
|
+
}
|
|
7490
|
+
static types() {
|
|
7491
|
+
return {
|
|
7492
|
+
active: 'number',
|
|
7493
|
+
completionTime: 'number',
|
|
7494
|
+
failed: 'number',
|
|
7495
|
+
jobId: 'string',
|
|
7496
|
+
message: 'string',
|
|
7497
|
+
startTime: 'number',
|
|
7498
|
+
state: 'string',
|
|
7499
|
+
succeeded: 'number',
|
|
7500
|
+
};
|
|
7501
|
+
}
|
|
7502
|
+
}
|
|
7503
|
+
exports.DescribeJobStatusResponseBodyData = DescribeJobStatusResponseBodyData;
|
|
7316
7504
|
class DescribeNamespaceResponseBodyData extends $tea.Model {
|
|
7317
7505
|
constructor(map) {
|
|
7318
7506
|
super(map);
|
|
@@ -7609,6 +7797,28 @@ class DescribeRegionsResponseBodyRegions extends $tea.Model {
|
|
|
7609
7797
|
}
|
|
7610
7798
|
}
|
|
7611
7799
|
exports.DescribeRegionsResponseBodyRegions = DescribeRegionsResponseBodyRegions;
|
|
7800
|
+
class ExecJobResponseBodyData extends $tea.Model {
|
|
7801
|
+
constructor(map) {
|
|
7802
|
+
super(map);
|
|
7803
|
+
}
|
|
7804
|
+
static names() {
|
|
7805
|
+
return {
|
|
7806
|
+
code: 'Code',
|
|
7807
|
+
data: 'Data',
|
|
7808
|
+
msg: 'Msg',
|
|
7809
|
+
success: 'Success',
|
|
7810
|
+
};
|
|
7811
|
+
}
|
|
7812
|
+
static types() {
|
|
7813
|
+
return {
|
|
7814
|
+
code: 'string',
|
|
7815
|
+
data: 'string',
|
|
7816
|
+
msg: 'string',
|
|
7817
|
+
success: 'string',
|
|
7818
|
+
};
|
|
7819
|
+
}
|
|
7820
|
+
}
|
|
7821
|
+
exports.ExecJobResponseBodyData = ExecJobResponseBodyData;
|
|
7612
7822
|
class ListAppEventsResponseBodyDataAppEventEntity extends $tea.Model {
|
|
7613
7823
|
constructor(map) {
|
|
7614
7824
|
super(map);
|
|
@@ -9077,6 +9287,9 @@ class Client extends openapi_client_1.default {
|
|
|
9077
9287
|
if (!tea_util_1.default.isUnset(request.webContainer)) {
|
|
9078
9288
|
query["WebContainer"] = request.webContainer;
|
|
9079
9289
|
}
|
|
9290
|
+
if (!tea_util_1.default.isUnset(request.mseFeatureConfig)) {
|
|
9291
|
+
query["mseFeatureConfig"] = request.mseFeatureConfig;
|
|
9292
|
+
}
|
|
9080
9293
|
let body = {};
|
|
9081
9294
|
if (!tea_util_1.default.isUnset(request.acrInstanceId)) {
|
|
9082
9295
|
body["AcrInstanceId"] = request.acrInstanceId;
|
|
@@ -9587,6 +9800,9 @@ class Client extends openapi_client_1.default {
|
|
|
9587
9800
|
if (!tea_util_1.default.isUnset(request.mountHost)) {
|
|
9588
9801
|
query["MountHost"] = request.mountHost;
|
|
9589
9802
|
}
|
|
9803
|
+
if (!tea_util_1.default.isUnset(request.mseFeatureConfig)) {
|
|
9804
|
+
query["MseFeatureConfig"] = request.mseFeatureConfig;
|
|
9805
|
+
}
|
|
9590
9806
|
if (!tea_util_1.default.isUnset(request.nasId)) {
|
|
9591
9807
|
query["NasId"] = request.nasId;
|
|
9592
9808
|
}
|
|
@@ -10067,6 +10283,9 @@ class Client extends openapi_client_1.default {
|
|
|
10067
10283
|
if (!tea_util_1.default.isUnset(request.memory)) {
|
|
10068
10284
|
query["Memory"] = request.memory;
|
|
10069
10285
|
}
|
|
10286
|
+
if (!tea_util_1.default.isUnset(request.workload)) {
|
|
10287
|
+
query["Workload"] = request.workload;
|
|
10288
|
+
}
|
|
10070
10289
|
let req = new $OpenApi.OpenApiRequest({
|
|
10071
10290
|
headers: headers,
|
|
10072
10291
|
query: openapi_util_1.default.query(query),
|
|
@@ -10212,6 +10431,37 @@ class Client extends openapi_client_1.default {
|
|
|
10212
10431
|
});
|
|
10213
10432
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeInstanceSpecificationsResponse({}));
|
|
10214
10433
|
}
|
|
10434
|
+
async describeJobStatus(request) {
|
|
10435
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
10436
|
+
let headers = {};
|
|
10437
|
+
return await this.describeJobStatusWithOptions(request, headers, runtime);
|
|
10438
|
+
}
|
|
10439
|
+
async describeJobStatusWithOptions(request, headers, runtime) {
|
|
10440
|
+
tea_util_1.default.validateModel(request);
|
|
10441
|
+
let query = {};
|
|
10442
|
+
if (!tea_util_1.default.isUnset(request.appId)) {
|
|
10443
|
+
query["AppId"] = request.appId;
|
|
10444
|
+
}
|
|
10445
|
+
if (!tea_util_1.default.isUnset(request.jobId)) {
|
|
10446
|
+
query["JobId"] = request.jobId;
|
|
10447
|
+
}
|
|
10448
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
10449
|
+
headers: headers,
|
|
10450
|
+
query: openapi_util_1.default.query(query),
|
|
10451
|
+
});
|
|
10452
|
+
let params = new $OpenApi.Params({
|
|
10453
|
+
action: "DescribeJobStatus",
|
|
10454
|
+
version: "2019-05-06",
|
|
10455
|
+
protocol: "HTTPS",
|
|
10456
|
+
pathname: `/pop/v1/sam/job/describeJobStatus`,
|
|
10457
|
+
method: "GET",
|
|
10458
|
+
authType: "AK",
|
|
10459
|
+
style: "ROA",
|
|
10460
|
+
reqBodyType: "json",
|
|
10461
|
+
bodyType: "json",
|
|
10462
|
+
});
|
|
10463
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeJobStatusResponse({}));
|
|
10464
|
+
}
|
|
10215
10465
|
async describeNamespace(request) {
|
|
10216
10466
|
let runtime = new $Util.RuntimeOptions({});
|
|
10217
10467
|
let headers = {};
|
|
@@ -10442,6 +10692,55 @@ class Client extends openapi_client_1.default {
|
|
|
10442
10692
|
});
|
|
10443
10693
|
return $tea.cast(await this.callApi(params, req, runtime), new EnableApplicationScalingRuleResponse({}));
|
|
10444
10694
|
}
|
|
10695
|
+
async execJob(request) {
|
|
10696
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
10697
|
+
let headers = {};
|
|
10698
|
+
return await this.execJobWithOptions(request, headers, runtime);
|
|
10699
|
+
}
|
|
10700
|
+
async execJobWithOptions(request, headers, runtime) {
|
|
10701
|
+
tea_util_1.default.validateModel(request);
|
|
10702
|
+
let query = {};
|
|
10703
|
+
if (!tea_util_1.default.isUnset(request.appId)) {
|
|
10704
|
+
query["AppId"] = request.appId;
|
|
10705
|
+
}
|
|
10706
|
+
if (!tea_util_1.default.isUnset(request.command)) {
|
|
10707
|
+
query["Command"] = request.command;
|
|
10708
|
+
}
|
|
10709
|
+
if (!tea_util_1.default.isUnset(request.commandArgs)) {
|
|
10710
|
+
query["CommandArgs"] = request.commandArgs;
|
|
10711
|
+
}
|
|
10712
|
+
if (!tea_util_1.default.isUnset(request.envs)) {
|
|
10713
|
+
query["Envs"] = request.envs;
|
|
10714
|
+
}
|
|
10715
|
+
if (!tea_util_1.default.isUnset(request.eventId)) {
|
|
10716
|
+
query["EventId"] = request.eventId;
|
|
10717
|
+
}
|
|
10718
|
+
if (!tea_util_1.default.isUnset(request.jarStartArgs)) {
|
|
10719
|
+
query["JarStartArgs"] = request.jarStartArgs;
|
|
10720
|
+
}
|
|
10721
|
+
if (!tea_util_1.default.isUnset(request.jarStartOptions)) {
|
|
10722
|
+
query["JarStartOptions"] = request.jarStartOptions;
|
|
10723
|
+
}
|
|
10724
|
+
if (!tea_util_1.default.isUnset(request.warStartOptions)) {
|
|
10725
|
+
query["WarStartOptions"] = request.warStartOptions;
|
|
10726
|
+
}
|
|
10727
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
10728
|
+
headers: headers,
|
|
10729
|
+
query: openapi_util_1.default.query(query),
|
|
10730
|
+
});
|
|
10731
|
+
let params = new $OpenApi.Params({
|
|
10732
|
+
action: "ExecJob",
|
|
10733
|
+
version: "2019-05-06",
|
|
10734
|
+
protocol: "HTTPS",
|
|
10735
|
+
pathname: `/pop/v1/sam/job/execJob`,
|
|
10736
|
+
method: "GET",
|
|
10737
|
+
authType: "AK",
|
|
10738
|
+
style: "ROA",
|
|
10739
|
+
reqBodyType: "json",
|
|
10740
|
+
bodyType: "json",
|
|
10741
|
+
});
|
|
10742
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ExecJobResponse({}));
|
|
10743
|
+
}
|
|
10445
10744
|
async listAppEvents(request) {
|
|
10446
10745
|
let runtime = new $Util.RuntimeOptions({});
|
|
10447
10746
|
let headers = {};
|