@alicloud/sae20190506 2.3.2 → 2.5.0
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 +68 -6
- package/dist/client.js +155 -6
- package/dist/client.js.map +1 -1
- package/dist/models/BindNlbRequest.d.ts +62 -0
- package/dist/models/BindNlbRequest.js +66 -0
- package/dist/models/BindNlbRequest.js.map +1 -0
- package/dist/models/BindNlbResponse.d.ts +19 -0
- package/dist/models/BindNlbResponse.js +69 -0
- package/dist/models/BindNlbResponse.js.map +1 -0
- package/dist/models/BindNlbResponseBody.d.ts +78 -0
- package/dist/models/BindNlbResponseBody.js +74 -0
- package/dist/models/BindNlbResponseBody.js.map +1 -0
- package/dist/models/BindNlbResponseBodyData.d.ts +21 -0
- package/dist/models/BindNlbResponseBodyData.js +58 -0
- package/dist/models/BindNlbResponseBodyData.js.map +1 -0
- package/dist/models/ConfirmPipelineBatchRequest.d.ts +1 -1
- package/dist/models/DataInstancesValue.d.ts +40 -0
- package/dist/models/DataInstancesValue.js +66 -0
- package/dist/models/DataInstancesValue.js.map +1 -0
- package/dist/models/DataInstancesValueListenersValue.d.ts +59 -0
- package/dist/models/DataInstancesValueListenersValue.js +66 -0
- package/dist/models/DataInstancesValueListenersValue.js.map +1 -0
- package/dist/models/DeployApplicationRequest.d.ts +12 -0
- package/dist/models/DeployApplicationRequest.js.map +1 -1
- package/dist/models/DeployApplicationShrinkRequest.d.ts +12 -0
- package/dist/models/DeployApplicationShrinkRequest.js.map +1 -1
- package/dist/models/DescribeApplicationNlbsRequest.d.ts +21 -0
- package/dist/models/DescribeApplicationNlbsRequest.js +58 -0
- package/dist/models/DescribeApplicationNlbsRequest.js.map +1 -0
- package/dist/models/DescribeApplicationNlbsResponse.d.ts +19 -0
- package/dist/models/DescribeApplicationNlbsResponse.js +69 -0
- package/dist/models/DescribeApplicationNlbsResponse.js.map +1 -0
- package/dist/models/DescribeApplicationNlbsResponseBody.d.ts +75 -0
- package/dist/models/DescribeApplicationNlbsResponseBody.js +74 -0
- package/dist/models/DescribeApplicationNlbsResponseBody.js.map +1 -0
- package/dist/models/DescribeApplicationNlbsResponseBodyData.d.ts +21 -0
- package/dist/models/DescribeApplicationNlbsResponseBodyData.js +62 -0
- package/dist/models/DescribeApplicationNlbsResponseBodyData.js.map +1 -0
- package/dist/models/DescribeApplicationScalingRuleResponseBody.d.ts +1 -1
- package/dist/models/DescribeApplicationScalingRuleResponseBodyData.d.ts +16 -0
- package/dist/models/DescribeApplicationScalingRuleResponseBodyData.js.map +1 -1
- package/dist/models/DescribeApplicationScalingRulesResponseBodyDataApplicationScalingRulesTimer.d.ts +1 -0
- package/dist/models/DescribeApplicationScalingRulesResponseBodyDataApplicationScalingRulesTimer.js +2 -0
- package/dist/models/DescribeApplicationScalingRulesResponseBodyDataApplicationScalingRulesTimer.js.map +1 -1
- package/dist/models/DescribeInstanceLogRequest.d.ts +7 -0
- package/dist/models/DescribeInstanceLogRequest.js.map +1 -1
- package/dist/models/GetWebshellTokenResponseBodyData.d.ts +8 -0
- package/dist/models/GetWebshellTokenResponseBodyData.js.map +1 -1
- package/dist/models/ListApplicationsResponseBodyData.d.ts +1 -1
- package/dist/models/QueryResourceStaticsResponseBodyDataSummary.d.ts +8 -0
- package/dist/models/QueryResourceStaticsResponseBodyDataSummary.js.map +1 -1
- package/dist/models/UpdateAppModeRequest.d.ts +23 -0
- package/dist/models/UpdateAppModeRequest.js +60 -0
- package/dist/models/UpdateAppModeRequest.js.map +1 -0
- package/dist/models/UpdateAppModeResponse.d.ts +19 -0
- package/dist/models/UpdateAppModeResponse.js +69 -0
- package/dist/models/UpdateAppModeResponse.js.map +1 -0
- package/dist/models/UpdateAppModeResponseBody.d.ts +42 -0
- package/dist/models/UpdateAppModeResponseBody.js +68 -0
- package/dist/models/UpdateAppModeResponseBody.js.map +1 -0
- package/dist/models/model.d.ts +13 -0
- package/dist/models/model.js +43 -17
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +169 -6
- package/src/models/BindNlbRequest.ts +83 -0
- package/src/models/BindNlbResponse.ts +40 -0
- package/src/models/BindNlbResponseBody.ts +106 -0
- package/src/models/BindNlbResponseBodyData.ts +34 -0
- package/src/models/ConfirmPipelineBatchRequest.ts +1 -1
- package/src/models/DataInstancesValue.ts +58 -0
- package/src/models/DataInstancesValueListenersValue.ts +80 -0
- package/src/models/DeployApplicationRequest.ts +12 -0
- package/src/models/DeployApplicationShrinkRequest.ts +12 -0
- package/src/models/DescribeApplicationNlbsRequest.ts +34 -0
- package/src/models/DescribeApplicationNlbsResponse.ts +40 -0
- package/src/models/DescribeApplicationNlbsResponseBody.ts +103 -0
- package/src/models/DescribeApplicationNlbsResponseBodyData.ts +35 -0
- package/src/models/DescribeApplicationScalingRuleResponseBody.ts +1 -1
- package/src/models/DescribeApplicationScalingRuleResponseBodyData.ts +16 -0
- package/src/models/DescribeApplicationScalingRulesResponseBodyDataApplicationScalingRulesTimer.ts +3 -0
- package/src/models/DescribeInstanceLogRequest.ts +7 -0
- package/src/models/GetWebshellTokenResponseBodyData.ts +8 -0
- package/src/models/ListApplicationsResponseBodyData.ts +1 -1
- package/src/models/QueryResourceStaticsResponseBodyDataSummary.ts +8 -0
- package/src/models/UpdateAppModeRequest.ts +38 -0
- package/src/models/UpdateAppModeResponse.ts +40 -0
- package/src/models/UpdateAppModeResponseBody.ts +65 -0
- package/src/models/model.ts +13 -0
package/src/client.ts
CHANGED
|
@@ -229,6 +229,67 @@ export default class Client extends OpenApi {
|
|
|
229
229
|
return await this.batchStopApplicationsWithOptions(request, headers, runtime);
|
|
230
230
|
}
|
|
231
231
|
|
|
232
|
+
/**
|
|
233
|
+
* Associates a Network Load Balancer (NLB) instance with an application.
|
|
234
|
+
*
|
|
235
|
+
* @param request - BindNlbRequest
|
|
236
|
+
* @param headers - map
|
|
237
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
238
|
+
* @returns BindNlbResponse
|
|
239
|
+
*/
|
|
240
|
+
async bindNlbWithOptions(request: $_model.BindNlbRequest, headers: {[key: string ]: string}, runtime: $dara.RuntimeOptions): Promise<$_model.BindNlbResponse> {
|
|
241
|
+
request.validate();
|
|
242
|
+
let query : {[key: string ]: any} = { };
|
|
243
|
+
if (!$dara.isNull(request.addressType)) {
|
|
244
|
+
query["AddressType"] = request.addressType;
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
if (!$dara.isNull(request.appId)) {
|
|
248
|
+
query["AppId"] = request.appId;
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
if (!$dara.isNull(request.listeners)) {
|
|
252
|
+
query["Listeners"] = request.listeners;
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
if (!$dara.isNull(request.nlbId)) {
|
|
256
|
+
query["NlbId"] = request.nlbId;
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
if (!$dara.isNull(request.zoneMappings)) {
|
|
260
|
+
query["ZoneMappings"] = request.zoneMappings;
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
264
|
+
headers: headers,
|
|
265
|
+
query: OpenApiUtil.query(query),
|
|
266
|
+
});
|
|
267
|
+
let params = new $OpenApiUtil.Params({
|
|
268
|
+
action: "BindNlb",
|
|
269
|
+
version: "2019-05-06",
|
|
270
|
+
protocol: "HTTPS",
|
|
271
|
+
pathname: `/pop/v1/sam/app/nlb`,
|
|
272
|
+
method: "POST",
|
|
273
|
+
authType: "AK",
|
|
274
|
+
style: "ROA",
|
|
275
|
+
reqBodyType: "json",
|
|
276
|
+
bodyType: "json",
|
|
277
|
+
});
|
|
278
|
+
return $dara.cast<$_model.BindNlbResponse>(await this.callApi(params, req, runtime), new $_model.BindNlbResponse({}));
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
/**
|
|
282
|
+
* Associates a Network Load Balancer (NLB) instance with an application.
|
|
283
|
+
*
|
|
284
|
+
* @param request - BindNlbRequest
|
|
285
|
+
* @returns BindNlbResponse
|
|
286
|
+
*/
|
|
287
|
+
async bindNlb(request: $_model.BindNlbRequest): Promise<$_model.BindNlbResponse> {
|
|
288
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
289
|
+
let headers : {[key: string ]: string} = { };
|
|
290
|
+
return await this.bindNlbWithOptions(request, headers, runtime);
|
|
291
|
+
}
|
|
292
|
+
|
|
232
293
|
/**
|
|
233
294
|
* @param request - BindSlbRequest
|
|
234
295
|
* @param headers - map
|
|
@@ -295,6 +356,8 @@ export default class Client extends OpenApi {
|
|
|
295
356
|
}
|
|
296
357
|
|
|
297
358
|
/**
|
|
359
|
+
* Confirms whether to start the next batch.
|
|
360
|
+
*
|
|
298
361
|
* @param request - ConfirmPipelineBatchRequest
|
|
299
362
|
* @param headers - map
|
|
300
363
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -330,6 +393,8 @@ export default class Client extends OpenApi {
|
|
|
330
393
|
}
|
|
331
394
|
|
|
332
395
|
/**
|
|
396
|
+
* Confirms whether to start the next batch.
|
|
397
|
+
*
|
|
333
398
|
* @param request - ConfirmPipelineBatchRequest
|
|
334
399
|
* @returns ConfirmPipelineBatchResponse
|
|
335
400
|
*/
|
|
@@ -3000,7 +3065,52 @@ export default class Client extends OpenApi {
|
|
|
3000
3065
|
}
|
|
3001
3066
|
|
|
3002
3067
|
/**
|
|
3003
|
-
* Queries
|
|
3068
|
+
* Queries the Network Load Balancer (NLB) instances bound to an application and their listeners.
|
|
3069
|
+
*
|
|
3070
|
+
* @param request - DescribeApplicationNlbsRequest
|
|
3071
|
+
* @param headers - map
|
|
3072
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3073
|
+
* @returns DescribeApplicationNlbsResponse
|
|
3074
|
+
*/
|
|
3075
|
+
async describeApplicationNlbsWithOptions(request: $_model.DescribeApplicationNlbsRequest, headers: {[key: string ]: string}, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeApplicationNlbsResponse> {
|
|
3076
|
+
request.validate();
|
|
3077
|
+
let query : {[key: string ]: any} = { };
|
|
3078
|
+
if (!$dara.isNull(request.appId)) {
|
|
3079
|
+
query["AppId"] = request.appId;
|
|
3080
|
+
}
|
|
3081
|
+
|
|
3082
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
3083
|
+
headers: headers,
|
|
3084
|
+
query: OpenApiUtil.query(query),
|
|
3085
|
+
});
|
|
3086
|
+
let params = new $OpenApiUtil.Params({
|
|
3087
|
+
action: "DescribeApplicationNlbs",
|
|
3088
|
+
version: "2019-05-06",
|
|
3089
|
+
protocol: "HTTPS",
|
|
3090
|
+
pathname: `/pop/v1/sam/app/nlb`,
|
|
3091
|
+
method: "GET",
|
|
3092
|
+
authType: "AK",
|
|
3093
|
+
style: "ROA",
|
|
3094
|
+
reqBodyType: "json",
|
|
3095
|
+
bodyType: "json",
|
|
3096
|
+
});
|
|
3097
|
+
return $dara.cast<$_model.DescribeApplicationNlbsResponse>(await this.callApi(params, req, runtime), new $_model.DescribeApplicationNlbsResponse({}));
|
|
3098
|
+
}
|
|
3099
|
+
|
|
3100
|
+
/**
|
|
3101
|
+
* Queries the Network Load Balancer (NLB) instances bound to an application and their listeners.
|
|
3102
|
+
*
|
|
3103
|
+
* @param request - DescribeApplicationNlbsRequest
|
|
3104
|
+
* @returns DescribeApplicationNlbsResponse
|
|
3105
|
+
*/
|
|
3106
|
+
async describeApplicationNlbs(request: $_model.DescribeApplicationNlbsRequest): Promise<$_model.DescribeApplicationNlbsResponse> {
|
|
3107
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
3108
|
+
let headers : {[key: string ]: string} = { };
|
|
3109
|
+
return await this.describeApplicationNlbsWithOptions(request, headers, runtime);
|
|
3110
|
+
}
|
|
3111
|
+
|
|
3112
|
+
/**
|
|
3113
|
+
* Queries an Auto Scaling policy of an application.
|
|
3004
3114
|
*
|
|
3005
3115
|
* @param request - DescribeApplicationScalingRuleRequest
|
|
3006
3116
|
* @param headers - map
|
|
@@ -3037,7 +3147,7 @@ export default class Client extends OpenApi {
|
|
|
3037
3147
|
}
|
|
3038
3148
|
|
|
3039
3149
|
/**
|
|
3040
|
-
* Queries
|
|
3150
|
+
* Queries an Auto Scaling policy of an application.
|
|
3041
3151
|
*
|
|
3042
3152
|
* @param request - DescribeApplicationScalingRuleRequest
|
|
3043
3153
|
* @returns DescribeApplicationScalingRuleResponse
|
|
@@ -3509,6 +3619,8 @@ export default class Client extends OpenApi {
|
|
|
3509
3619
|
}
|
|
3510
3620
|
|
|
3511
3621
|
/**
|
|
3622
|
+
* Queries the logs of a sidecar container instance.
|
|
3623
|
+
*
|
|
3512
3624
|
* @param request - DescribeInstanceLogRequest
|
|
3513
3625
|
* @param headers - map
|
|
3514
3626
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3544,6 +3656,8 @@ export default class Client extends OpenApi {
|
|
|
3544
3656
|
}
|
|
3545
3657
|
|
|
3546
3658
|
/**
|
|
3659
|
+
* Queries the logs of a sidecar container instance.
|
|
3660
|
+
*
|
|
3547
3661
|
* @param request - DescribeInstanceLogRequest
|
|
3548
3662
|
* @returns DescribeInstanceLogResponse
|
|
3549
3663
|
*/
|
|
@@ -5297,7 +5411,7 @@ export default class Client extends OpenApi {
|
|
|
5297
5411
|
}
|
|
5298
5412
|
|
|
5299
5413
|
/**
|
|
5300
|
-
* Queries the list of microservices
|
|
5414
|
+
* Queries the list of microservices.
|
|
5301
5415
|
*
|
|
5302
5416
|
* @param request - ListAppServicesRequest
|
|
5303
5417
|
* @param headers - map
|
|
@@ -5362,7 +5476,7 @@ export default class Client extends OpenApi {
|
|
|
5362
5476
|
}
|
|
5363
5477
|
|
|
5364
5478
|
/**
|
|
5365
|
-
* Queries the list of microservices
|
|
5479
|
+
* Queries the list of microservices.
|
|
5366
5480
|
*
|
|
5367
5481
|
* @param request - ListAppServicesRequest
|
|
5368
5482
|
* @returns ListAppServicesResponse
|
|
@@ -7555,6 +7669,55 @@ export default class Client extends OpenApi {
|
|
|
7555
7669
|
return await this.untagResourcesWithOptions(request, headers, runtime);
|
|
7556
7670
|
}
|
|
7557
7671
|
|
|
7672
|
+
/**
|
|
7673
|
+
* 应用闲置模式更新
|
|
7674
|
+
*
|
|
7675
|
+
* @param request - UpdateAppModeRequest
|
|
7676
|
+
* @param headers - map
|
|
7677
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
7678
|
+
* @returns UpdateAppModeResponse
|
|
7679
|
+
*/
|
|
7680
|
+
async updateAppModeWithOptions(request: $_model.UpdateAppModeRequest, headers: {[key: string ]: string}, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateAppModeResponse> {
|
|
7681
|
+
request.validate();
|
|
7682
|
+
let query : {[key: string ]: any} = { };
|
|
7683
|
+
if (!$dara.isNull(request.appId)) {
|
|
7684
|
+
query["AppId"] = request.appId;
|
|
7685
|
+
}
|
|
7686
|
+
|
|
7687
|
+
if (!$dara.isNull(request.enableIdle)) {
|
|
7688
|
+
query["EnableIdle"] = request.enableIdle;
|
|
7689
|
+
}
|
|
7690
|
+
|
|
7691
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
7692
|
+
headers: headers,
|
|
7693
|
+
query: OpenApiUtil.query(query),
|
|
7694
|
+
});
|
|
7695
|
+
let params = new $OpenApiUtil.Params({
|
|
7696
|
+
action: "UpdateAppMode",
|
|
7697
|
+
version: "2019-05-06",
|
|
7698
|
+
protocol: "HTTPS",
|
|
7699
|
+
pathname: `/pop/v1/sam/app/updateAppMode`,
|
|
7700
|
+
method: "PUT",
|
|
7701
|
+
authType: "AK",
|
|
7702
|
+
style: "ROA",
|
|
7703
|
+
reqBodyType: "json",
|
|
7704
|
+
bodyType: "json",
|
|
7705
|
+
});
|
|
7706
|
+
return $dara.cast<$_model.UpdateAppModeResponse>(await this.callApi(params, req, runtime), new $_model.UpdateAppModeResponse({}));
|
|
7707
|
+
}
|
|
7708
|
+
|
|
7709
|
+
/**
|
|
7710
|
+
* 应用闲置模式更新
|
|
7711
|
+
*
|
|
7712
|
+
* @param request - UpdateAppModeRequest
|
|
7713
|
+
* @returns UpdateAppModeResponse
|
|
7714
|
+
*/
|
|
7715
|
+
async updateAppMode(request: $_model.UpdateAppModeRequest): Promise<$_model.UpdateAppModeResponse> {
|
|
7716
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
7717
|
+
let headers : {[key: string ]: string} = { };
|
|
7718
|
+
return await this.updateAppModeWithOptions(request, headers, runtime);
|
|
7719
|
+
}
|
|
7720
|
+
|
|
7558
7721
|
/**
|
|
7559
7722
|
* Updates the security group of an application.
|
|
7560
7723
|
*
|
|
@@ -7780,7 +7943,7 @@ export default class Client extends OpenApi {
|
|
|
7780
7943
|
}
|
|
7781
7944
|
|
|
7782
7945
|
/**
|
|
7783
|
-
*
|
|
7946
|
+
* Updates a ConfigMap instance.
|
|
7784
7947
|
*
|
|
7785
7948
|
* @param request - UpdateConfigMapRequest
|
|
7786
7949
|
* @param headers - map
|
|
@@ -7823,7 +7986,7 @@ export default class Client extends OpenApi {
|
|
|
7823
7986
|
}
|
|
7824
7987
|
|
|
7825
7988
|
/**
|
|
7826
|
-
*
|
|
7989
|
+
* Updates a ConfigMap instance.
|
|
7827
7990
|
*
|
|
7828
7991
|
* @param request - UpdateConfigMapRequest
|
|
7829
7992
|
* @returns UpdateConfigMapResponse
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class BindNlbRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The type of the IP addresses. Valid values:
|
|
9
|
+
*
|
|
10
|
+
* * Internet: public endpoint.
|
|
11
|
+
* * Intranet: private endpoint.
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
* Internet
|
|
15
|
+
*/
|
|
16
|
+
addressType?: string;
|
|
17
|
+
/**
|
|
18
|
+
* @remarks
|
|
19
|
+
* The ID of the application to which the NLB instance is bound.
|
|
20
|
+
*
|
|
21
|
+
* @example
|
|
22
|
+
* 7171a6ca-d1cd-4928-8642-7d5cfe69****
|
|
23
|
+
*/
|
|
24
|
+
appId?: string;
|
|
25
|
+
/**
|
|
26
|
+
* @remarks
|
|
27
|
+
* The listener that you want to manage. The value is a string that consists of JSON arrays. Each listener contains the following fields:
|
|
28
|
+
*
|
|
29
|
+
* * **port**: the port number of the NLB listener. This field is required. Data type: integer. Valid values: 0 to 65535.
|
|
30
|
+
* * **TargetPort**: the port number of the container listener. This field is required. Data type: integer. Valid values: 0 to 65535.
|
|
31
|
+
* * **Protocol**: the listener protocol. This field is required. Data type: string. Valid values: TCP, UDP, and TCPSSL.
|
|
32
|
+
* * **CertIds**: the IDs of the server certificates. This field is optional. Data type: string. This field is supported only by TCPSSL listeners.
|
|
33
|
+
*/
|
|
34
|
+
listeners?: string;
|
|
35
|
+
/**
|
|
36
|
+
* @remarks
|
|
37
|
+
* The ID of the NLB instance.
|
|
38
|
+
*
|
|
39
|
+
* @example
|
|
40
|
+
* nlb-7z7jjbzz44d82c9***
|
|
41
|
+
*/
|
|
42
|
+
nlbId?: string;
|
|
43
|
+
/**
|
|
44
|
+
* @remarks
|
|
45
|
+
* The mappings between zones and vSwitches. The value is a JSON string. You can specify at most 10 zones. If the region supports two or more zones, specify at least two zones. A ZoneMapping contains the following fields:
|
|
46
|
+
*
|
|
47
|
+
* * The ID of the vSwitch in the zone. Each zone can contain only one vSwitch and one subnet. Data type: string.
|
|
48
|
+
* * The zone ID of the NLB instance. Data type: string.
|
|
49
|
+
*
|
|
50
|
+
* @example
|
|
51
|
+
* vsw-sersdf****
|
|
52
|
+
* cn-hangzhou-a
|
|
53
|
+
*/
|
|
54
|
+
zoneMappings?: string;
|
|
55
|
+
static names(): { [key: string]: string } {
|
|
56
|
+
return {
|
|
57
|
+
addressType: 'AddressType',
|
|
58
|
+
appId: 'AppId',
|
|
59
|
+
listeners: 'Listeners',
|
|
60
|
+
nlbId: 'NlbId',
|
|
61
|
+
zoneMappings: 'ZoneMappings',
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
static types(): { [key: string]: any } {
|
|
66
|
+
return {
|
|
67
|
+
addressType: 'string',
|
|
68
|
+
appId: 'string',
|
|
69
|
+
listeners: 'string',
|
|
70
|
+
nlbId: 'string',
|
|
71
|
+
zoneMappings: 'string',
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
validate() {
|
|
76
|
+
super.validate();
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
constructor(map?: { [key: string]: any }) {
|
|
80
|
+
super(map);
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { BindNlbResponseBody } from "./BindNlbResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class BindNlbResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: BindNlbResponseBody;
|
|
10
|
+
static names(): { [key: string]: string } {
|
|
11
|
+
return {
|
|
12
|
+
headers: 'headers',
|
|
13
|
+
statusCode: 'statusCode',
|
|
14
|
+
body: 'body',
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
static types(): { [key: string]: any } {
|
|
19
|
+
return {
|
|
20
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
21
|
+
statusCode: 'number',
|
|
22
|
+
body: BindNlbResponseBody,
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
validate() {
|
|
27
|
+
if(this.headers) {
|
|
28
|
+
$dara.Model.validateMap(this.headers);
|
|
29
|
+
}
|
|
30
|
+
if(this.body && typeof (this.body as any).validate === 'function') {
|
|
31
|
+
(this.body as any).validate();
|
|
32
|
+
}
|
|
33
|
+
super.validate();
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
constructor(map?: { [key: string]: any }) {
|
|
37
|
+
super(map);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { BindNlbResponseBodyData } from "./BindNlbResponseBodyData";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class BindNlbResponseBody extends $dara.Model {
|
|
7
|
+
/**
|
|
8
|
+
* @remarks
|
|
9
|
+
* The HTTP status code. Valid values:
|
|
10
|
+
*
|
|
11
|
+
* * **2xx**: The request was successful.
|
|
12
|
+
* * **3xx**: The request was redirected.
|
|
13
|
+
* * **4xx**: The request failed.
|
|
14
|
+
* * **5xx**: A server error occurred.
|
|
15
|
+
*
|
|
16
|
+
* @example
|
|
17
|
+
* 200
|
|
18
|
+
*/
|
|
19
|
+
code?: string;
|
|
20
|
+
/**
|
|
21
|
+
* @remarks
|
|
22
|
+
* The returned data.
|
|
23
|
+
*/
|
|
24
|
+
data?: BindNlbResponseBodyData;
|
|
25
|
+
/**
|
|
26
|
+
* @remarks
|
|
27
|
+
* The status code. Value values:
|
|
28
|
+
*
|
|
29
|
+
* * If the request was successful, **ErrorCode** is not returned.
|
|
30
|
+
* * If the request failed, **ErrorCode** is returned. For more information, see **Error codes** in this topic.
|
|
31
|
+
*/
|
|
32
|
+
errorCode?: string;
|
|
33
|
+
/**
|
|
34
|
+
* @remarks
|
|
35
|
+
* The message returned. Valid values:
|
|
36
|
+
*
|
|
37
|
+
* * If the request was successful, **success** is returned.
|
|
38
|
+
* * If the request failed, an error code is returned.
|
|
39
|
+
*
|
|
40
|
+
* @example
|
|
41
|
+
* success
|
|
42
|
+
*/
|
|
43
|
+
message?: string;
|
|
44
|
+
/**
|
|
45
|
+
* @remarks
|
|
46
|
+
* Id of the request
|
|
47
|
+
*
|
|
48
|
+
* @example
|
|
49
|
+
* 91F93257-7A4A-4BD3-9A7E-2F6EAE6D****
|
|
50
|
+
*/
|
|
51
|
+
requestId?: string;
|
|
52
|
+
/**
|
|
53
|
+
* @remarks
|
|
54
|
+
* Indicates whether the applications were stopped. Valid values:
|
|
55
|
+
*
|
|
56
|
+
* * **true**: The applications were stopped.
|
|
57
|
+
* * **false**: The applications failed to be stopped.
|
|
58
|
+
*
|
|
59
|
+
* @example
|
|
60
|
+
* true
|
|
61
|
+
*/
|
|
62
|
+
success?: boolean;
|
|
63
|
+
/**
|
|
64
|
+
* @remarks
|
|
65
|
+
* The ID of the trace. The ID is used to query the details of a request.
|
|
66
|
+
*
|
|
67
|
+
* @example
|
|
68
|
+
* 0a06dfe717389800573793090e0589
|
|
69
|
+
*/
|
|
70
|
+
traceId?: string;
|
|
71
|
+
static names(): { [key: string]: string } {
|
|
72
|
+
return {
|
|
73
|
+
code: 'Code',
|
|
74
|
+
data: 'Data',
|
|
75
|
+
errorCode: 'ErrorCode',
|
|
76
|
+
message: 'Message',
|
|
77
|
+
requestId: 'RequestId',
|
|
78
|
+
success: 'Success',
|
|
79
|
+
traceId: 'TraceId',
|
|
80
|
+
};
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
static types(): { [key: string]: any } {
|
|
84
|
+
return {
|
|
85
|
+
code: 'string',
|
|
86
|
+
data: BindNlbResponseBodyData,
|
|
87
|
+
errorCode: 'string',
|
|
88
|
+
message: 'string',
|
|
89
|
+
requestId: 'string',
|
|
90
|
+
success: 'boolean',
|
|
91
|
+
traceId: 'string',
|
|
92
|
+
};
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
validate() {
|
|
96
|
+
if(this.data && typeof (this.data as any).validate === 'function') {
|
|
97
|
+
(this.data as any).validate();
|
|
98
|
+
}
|
|
99
|
+
super.validate();
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
constructor(map?: { [key: string]: any }) {
|
|
103
|
+
super(map);
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class BindNlbResponseBodyData extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The ID of the change order. The ID can be used to query the status of the change task.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* ba386059-69b1-4e65-b1e5-0682d9fa****
|
|
12
|
+
*/
|
|
13
|
+
changeOrderId?: string;
|
|
14
|
+
static names(): { [key: string]: string } {
|
|
15
|
+
return {
|
|
16
|
+
changeOrderId: 'ChangeOrderId',
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
static types(): { [key: string]: any } {
|
|
21
|
+
return {
|
|
22
|
+
changeOrderId: 'string',
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
validate() {
|
|
27
|
+
super.validate();
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
constructor(map?: { [key: string]: any }) {
|
|
31
|
+
super(map);
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
@@ -15,7 +15,7 @@ export class ConfirmPipelineBatchRequest extends $dara.Model {
|
|
|
15
15
|
confirm?: boolean;
|
|
16
16
|
/**
|
|
17
17
|
* @remarks
|
|
18
|
-
*
|
|
18
|
+
* The ID of the batch. You can call the [DescribeChangeOrder](https://www.alibabacloud.com/help/zh/sae/serverless-app-engine-classic/developer-reference/api-sae-2019-05-06-describechangeorder-old?spm=a2c63.p38356.help-menu-search-118957.d_0) operation to obtain the ID.
|
|
19
19
|
*
|
|
20
20
|
* This parameter is required.
|
|
21
21
|
*
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { DataInstancesValueListenersValue } from "./DataInstancesValueListenersValue";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class DataInstancesValue extends $dara.Model {
|
|
7
|
+
/**
|
|
8
|
+
* @remarks
|
|
9
|
+
* The domain name.
|
|
10
|
+
*
|
|
11
|
+
* @example
|
|
12
|
+
* nlb-wb7r6dlwetvt5j****.cn-hangzhou.nlb.aliyuncs.com
|
|
13
|
+
*/
|
|
14
|
+
dnsName?: string;
|
|
15
|
+
/**
|
|
16
|
+
* @remarks
|
|
17
|
+
* The listeners.
|
|
18
|
+
*/
|
|
19
|
+
listeners?: { [key: string]: DataInstancesValueListenersValue };
|
|
20
|
+
/**
|
|
21
|
+
* @remarks
|
|
22
|
+
* Indicates whether the instance is created by SAE.
|
|
23
|
+
*
|
|
24
|
+
* * **true**: The instance is created by SAE.
|
|
25
|
+
* * **false**: The existing instance is reused.
|
|
26
|
+
*
|
|
27
|
+
* @example
|
|
28
|
+
* true
|
|
29
|
+
*/
|
|
30
|
+
createdBySae?: boolean;
|
|
31
|
+
static names(): { [key: string]: string } {
|
|
32
|
+
return {
|
|
33
|
+
dnsName: 'DnsName',
|
|
34
|
+
listeners: 'Listeners',
|
|
35
|
+
createdBySae: 'CreatedBySae',
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
static types(): { [key: string]: any } {
|
|
40
|
+
return {
|
|
41
|
+
dnsName: 'string',
|
|
42
|
+
listeners: { 'type': 'map', 'keyType': 'string', 'valueType': DataInstancesValueListenersValue },
|
|
43
|
+
createdBySae: 'boolean',
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
validate() {
|
|
48
|
+
if(this.listeners) {
|
|
49
|
+
$dara.Model.validateMap(this.listeners);
|
|
50
|
+
}
|
|
51
|
+
super.validate();
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
constructor(map?: { [key: string]: any }) {
|
|
55
|
+
super(map);
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DataInstancesValueListenersValue extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The listener protocol.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* TCPSSL
|
|
12
|
+
*/
|
|
13
|
+
protocol?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The listener port of the NLB instance.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* 80
|
|
20
|
+
*/
|
|
21
|
+
port?: number;
|
|
22
|
+
/**
|
|
23
|
+
* @remarks
|
|
24
|
+
* The status of the NLB listener.
|
|
25
|
+
*
|
|
26
|
+
* * **Creating**: The listener is being created.
|
|
27
|
+
* * **Configuring**: The listener is being configured.
|
|
28
|
+
* * **Bounded**: The listener runs as expected.
|
|
29
|
+
* * **Unbinding**: The listener is being deleted.
|
|
30
|
+
* * **Failed**: The listener is unavailable.
|
|
31
|
+
*
|
|
32
|
+
* @example
|
|
33
|
+
* Bounded
|
|
34
|
+
*/
|
|
35
|
+
status?: string;
|
|
36
|
+
/**
|
|
37
|
+
* @remarks
|
|
38
|
+
* The open ports of the NLB instance.
|
|
39
|
+
*
|
|
40
|
+
* @example
|
|
41
|
+
* 8080
|
|
42
|
+
*/
|
|
43
|
+
targetPort?: number;
|
|
44
|
+
/**
|
|
45
|
+
* @remarks
|
|
46
|
+
* The server certificates.
|
|
47
|
+
*
|
|
48
|
+
* @example
|
|
49
|
+
* 123157******
|
|
50
|
+
*/
|
|
51
|
+
certIds?: string;
|
|
52
|
+
static names(): { [key: string]: string } {
|
|
53
|
+
return {
|
|
54
|
+
protocol: 'Protocol',
|
|
55
|
+
port: 'Port',
|
|
56
|
+
status: 'Status',
|
|
57
|
+
targetPort: 'TargetPort',
|
|
58
|
+
certIds: 'CertIds',
|
|
59
|
+
};
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
static types(): { [key: string]: any } {
|
|
63
|
+
return {
|
|
64
|
+
protocol: 'string',
|
|
65
|
+
port: 'number',
|
|
66
|
+
status: 'string',
|
|
67
|
+
targetPort: 'number',
|
|
68
|
+
certIds: 'string',
|
|
69
|
+
};
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
validate() {
|
|
73
|
+
super.validate();
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
constructor(map?: { [key: string]: any }) {
|
|
77
|
+
super(map);
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
|
|
@@ -325,6 +325,10 @@ export class DeployApplicationRequest extends $dara.Model {
|
|
|
325
325
|
* {\\"instanceId\\":\\"mse-cn-zvp2bh6h70r\\",\\"namespace\\":\\"4c0aa74f-57cb-423c-b6af-5d9f2d0e3dbd\\"}
|
|
326
326
|
*/
|
|
327
327
|
microRegistrationConfig?: string;
|
|
328
|
+
/**
|
|
329
|
+
* @example
|
|
330
|
+
* {"enable": true,"mseLosslessRule": {"delayTime": 0,"enable": false,"notice": false,"warmupTime": 120}}
|
|
331
|
+
*/
|
|
328
332
|
microserviceEngineConfig?: string;
|
|
329
333
|
/**
|
|
330
334
|
* @remarks
|
|
@@ -390,6 +394,10 @@ export class DeployApplicationRequest extends $dara.Model {
|
|
|
390
394
|
* 10d3b4****
|
|
391
395
|
*/
|
|
392
396
|
nasId?: string;
|
|
397
|
+
/**
|
|
398
|
+
* @example
|
|
399
|
+
* pro
|
|
400
|
+
*/
|
|
393
401
|
newSaeVersion?: string;
|
|
394
402
|
/**
|
|
395
403
|
* @remarks
|
|
@@ -589,6 +597,10 @@ export class DeployApplicationRequest extends $dara.Model {
|
|
|
589
597
|
* [{"logDir":"","logType":"stdout"},{"logDir":"/tmp/a.log"}]
|
|
590
598
|
*/
|
|
591
599
|
slsConfigs?: string;
|
|
600
|
+
/**
|
|
601
|
+
* @example
|
|
602
|
+
* {"exec":{"command":["sh","-c","cat /home/admin/start.sh"]},"initialDelaySeconds":30,"periodSeconds":30,"timeoutSeconds":2}
|
|
603
|
+
*/
|
|
592
604
|
startupProbe?: string;
|
|
593
605
|
swimlanePvtzDiscoverySvc?: string;
|
|
594
606
|
/**
|