@alicloud/ga20191120 2.1.2 → 2.1.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 +8 -0
- package/dist/client.js +28 -0
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +40 -0
package/dist/client.d.ts
CHANGED
|
@@ -1440,11 +1440,13 @@ export declare class CreateListenerRequest extends $tea.Model {
|
|
|
1440
1440
|
customRoutingEndpointGroupConfigurations?: CreateListenerRequestCustomRoutingEndpointGroupConfigurations[];
|
|
1441
1441
|
description?: string;
|
|
1442
1442
|
endpointGroupConfigurations?: CreateListenerRequestEndpointGroupConfigurations[];
|
|
1443
|
+
idleTimeout?: number;
|
|
1443
1444
|
name?: string;
|
|
1444
1445
|
portRanges?: CreateListenerRequestPortRanges[];
|
|
1445
1446
|
protocol?: string;
|
|
1446
1447
|
proxyProtocol?: boolean;
|
|
1447
1448
|
regionId?: string;
|
|
1449
|
+
requestTimeout?: number;
|
|
1448
1450
|
securityPolicyId?: string;
|
|
1449
1451
|
type?: string;
|
|
1450
1452
|
XForwardedForConfig?: CreateListenerRequestXForwardedForConfig;
|
|
@@ -3249,6 +3251,7 @@ export declare class DescribeListenerResponseBody extends $tea.Model {
|
|
|
3249
3251
|
clientAffinity?: string;
|
|
3250
3252
|
createTime?: string;
|
|
3251
3253
|
description?: string;
|
|
3254
|
+
idleTimeout?: number;
|
|
3252
3255
|
listenerId?: string;
|
|
3253
3256
|
name?: string;
|
|
3254
3257
|
portRanges?: DescribeListenerResponseBodyPortRanges[];
|
|
@@ -3256,6 +3259,7 @@ export declare class DescribeListenerResponseBody extends $tea.Model {
|
|
|
3256
3259
|
proxyProtocol?: boolean;
|
|
3257
3260
|
relatedAcls?: DescribeListenerResponseBodyRelatedAcls[];
|
|
3258
3261
|
requestId?: string;
|
|
3262
|
+
requestTimeout?: number;
|
|
3259
3263
|
securityPolicyId?: string;
|
|
3260
3264
|
serviceId?: string;
|
|
3261
3265
|
serviceManaged?: boolean;
|
|
@@ -7230,12 +7234,14 @@ export declare class UpdateListenerRequest extends $tea.Model {
|
|
|
7230
7234
|
clientAffinity?: string;
|
|
7231
7235
|
clientToken?: string;
|
|
7232
7236
|
description?: string;
|
|
7237
|
+
idleTimeout?: number;
|
|
7233
7238
|
listenerId?: string;
|
|
7234
7239
|
name?: string;
|
|
7235
7240
|
portRanges?: UpdateListenerRequestPortRanges[];
|
|
7236
7241
|
protocol?: string;
|
|
7237
7242
|
proxyProtocol?: string;
|
|
7238
7243
|
regionId?: string;
|
|
7244
|
+
requestTimeout?: number;
|
|
7239
7245
|
securityPolicyId?: string;
|
|
7240
7246
|
XForwardedForConfig?: UpdateListenerRequestXForwardedForConfig;
|
|
7241
7247
|
static names(): {
|
|
@@ -9835,11 +9841,13 @@ export declare class ListListenersResponseBodyListeners extends $tea.Model {
|
|
|
9835
9841
|
clientAffinity?: string;
|
|
9836
9842
|
createTime?: number;
|
|
9837
9843
|
description?: string;
|
|
9844
|
+
idleTimeout?: number;
|
|
9838
9845
|
listenerId?: string;
|
|
9839
9846
|
name?: string;
|
|
9840
9847
|
portRanges?: ListListenersResponseBodyListenersPortRanges[];
|
|
9841
9848
|
protocol?: string;
|
|
9842
9849
|
proxyProtocol?: boolean;
|
|
9850
|
+
requestTimeout?: number;
|
|
9843
9851
|
securityPolicyId?: string;
|
|
9844
9852
|
serviceId?: string;
|
|
9845
9853
|
serviceManaged?: boolean;
|
package/dist/client.js
CHANGED
|
@@ -2048,11 +2048,13 @@ class CreateListenerRequest extends $tea.Model {
|
|
|
2048
2048
|
customRoutingEndpointGroupConfigurations: 'CustomRoutingEndpointGroupConfigurations',
|
|
2049
2049
|
description: 'Description',
|
|
2050
2050
|
endpointGroupConfigurations: 'EndpointGroupConfigurations',
|
|
2051
|
+
idleTimeout: 'IdleTimeout',
|
|
2051
2052
|
name: 'Name',
|
|
2052
2053
|
portRanges: 'PortRanges',
|
|
2053
2054
|
protocol: 'Protocol',
|
|
2054
2055
|
proxyProtocol: 'ProxyProtocol',
|
|
2055
2056
|
regionId: 'RegionId',
|
|
2057
|
+
requestTimeout: 'RequestTimeout',
|
|
2056
2058
|
securityPolicyId: 'SecurityPolicyId',
|
|
2057
2059
|
type: 'Type',
|
|
2058
2060
|
XForwardedForConfig: 'XForwardedForConfig',
|
|
@@ -2067,11 +2069,13 @@ class CreateListenerRequest extends $tea.Model {
|
|
|
2067
2069
|
customRoutingEndpointGroupConfigurations: { 'type': 'array', 'itemType': CreateListenerRequestCustomRoutingEndpointGroupConfigurations },
|
|
2068
2070
|
description: 'string',
|
|
2069
2071
|
endpointGroupConfigurations: { 'type': 'array', 'itemType': CreateListenerRequestEndpointGroupConfigurations },
|
|
2072
|
+
idleTimeout: 'number',
|
|
2070
2073
|
name: 'string',
|
|
2071
2074
|
portRanges: { 'type': 'array', 'itemType': CreateListenerRequestPortRanges },
|
|
2072
2075
|
protocol: 'string',
|
|
2073
2076
|
proxyProtocol: 'boolean',
|
|
2074
2077
|
regionId: 'string',
|
|
2078
|
+
requestTimeout: 'number',
|
|
2075
2079
|
securityPolicyId: 'string',
|
|
2076
2080
|
type: 'string',
|
|
2077
2081
|
XForwardedForConfig: CreateListenerRequestXForwardedForConfig,
|
|
@@ -4594,6 +4598,7 @@ class DescribeListenerResponseBody extends $tea.Model {
|
|
|
4594
4598
|
clientAffinity: 'ClientAffinity',
|
|
4595
4599
|
createTime: 'CreateTime',
|
|
4596
4600
|
description: 'Description',
|
|
4601
|
+
idleTimeout: 'IdleTimeout',
|
|
4597
4602
|
listenerId: 'ListenerId',
|
|
4598
4603
|
name: 'Name',
|
|
4599
4604
|
portRanges: 'PortRanges',
|
|
@@ -4601,6 +4606,7 @@ class DescribeListenerResponseBody extends $tea.Model {
|
|
|
4601
4606
|
proxyProtocol: 'ProxyProtocol',
|
|
4602
4607
|
relatedAcls: 'RelatedAcls',
|
|
4603
4608
|
requestId: 'RequestId',
|
|
4609
|
+
requestTimeout: 'RequestTimeout',
|
|
4604
4610
|
securityPolicyId: 'SecurityPolicyId',
|
|
4605
4611
|
serviceId: 'ServiceId',
|
|
4606
4612
|
serviceManaged: 'ServiceManaged',
|
|
@@ -4619,6 +4625,7 @@ class DescribeListenerResponseBody extends $tea.Model {
|
|
|
4619
4625
|
clientAffinity: 'string',
|
|
4620
4626
|
createTime: 'string',
|
|
4621
4627
|
description: 'string',
|
|
4628
|
+
idleTimeout: 'number',
|
|
4622
4629
|
listenerId: 'string',
|
|
4623
4630
|
name: 'string',
|
|
4624
4631
|
portRanges: { 'type': 'array', 'itemType': DescribeListenerResponseBodyPortRanges },
|
|
@@ -4626,6 +4633,7 @@ class DescribeListenerResponseBody extends $tea.Model {
|
|
|
4626
4633
|
proxyProtocol: 'boolean',
|
|
4627
4634
|
relatedAcls: { 'type': 'array', 'itemType': DescribeListenerResponseBodyRelatedAcls },
|
|
4628
4635
|
requestId: 'string',
|
|
4636
|
+
requestTimeout: 'number',
|
|
4629
4637
|
securityPolicyId: 'string',
|
|
4630
4638
|
serviceId: 'string',
|
|
4631
4639
|
serviceManaged: 'boolean',
|
|
@@ -10158,12 +10166,14 @@ class UpdateListenerRequest extends $tea.Model {
|
|
|
10158
10166
|
clientAffinity: 'ClientAffinity',
|
|
10159
10167
|
clientToken: 'ClientToken',
|
|
10160
10168
|
description: 'Description',
|
|
10169
|
+
idleTimeout: 'IdleTimeout',
|
|
10161
10170
|
listenerId: 'ListenerId',
|
|
10162
10171
|
name: 'Name',
|
|
10163
10172
|
portRanges: 'PortRanges',
|
|
10164
10173
|
protocol: 'Protocol',
|
|
10165
10174
|
proxyProtocol: 'ProxyProtocol',
|
|
10166
10175
|
regionId: 'RegionId',
|
|
10176
|
+
requestTimeout: 'RequestTimeout',
|
|
10167
10177
|
securityPolicyId: 'SecurityPolicyId',
|
|
10168
10178
|
XForwardedForConfig: 'XForwardedForConfig',
|
|
10169
10179
|
};
|
|
@@ -10175,12 +10185,14 @@ class UpdateListenerRequest extends $tea.Model {
|
|
|
10175
10185
|
clientAffinity: 'string',
|
|
10176
10186
|
clientToken: 'string',
|
|
10177
10187
|
description: 'string',
|
|
10188
|
+
idleTimeout: 'number',
|
|
10178
10189
|
listenerId: 'string',
|
|
10179
10190
|
name: 'string',
|
|
10180
10191
|
portRanges: { 'type': 'array', 'itemType': UpdateListenerRequestPortRanges },
|
|
10181
10192
|
protocol: 'string',
|
|
10182
10193
|
proxyProtocol: 'string',
|
|
10183
10194
|
regionId: 'string',
|
|
10195
|
+
requestTimeout: 'number',
|
|
10184
10196
|
securityPolicyId: 'string',
|
|
10185
10197
|
XForwardedForConfig: UpdateListenerRequestXForwardedForConfig,
|
|
10186
10198
|
};
|
|
@@ -13983,11 +13995,13 @@ class ListListenersResponseBodyListeners extends $tea.Model {
|
|
|
13983
13995
|
clientAffinity: 'ClientAffinity',
|
|
13984
13996
|
createTime: 'CreateTime',
|
|
13985
13997
|
description: 'Description',
|
|
13998
|
+
idleTimeout: 'IdleTimeout',
|
|
13986
13999
|
listenerId: 'ListenerId',
|
|
13987
14000
|
name: 'Name',
|
|
13988
14001
|
portRanges: 'PortRanges',
|
|
13989
14002
|
protocol: 'Protocol',
|
|
13990
14003
|
proxyProtocol: 'ProxyProtocol',
|
|
14004
|
+
requestTimeout: 'RequestTimeout',
|
|
13991
14005
|
securityPolicyId: 'SecurityPolicyId',
|
|
13992
14006
|
serviceId: 'ServiceId',
|
|
13993
14007
|
serviceManaged: 'ServiceManaged',
|
|
@@ -14005,11 +14019,13 @@ class ListListenersResponseBodyListeners extends $tea.Model {
|
|
|
14005
14019
|
clientAffinity: 'string',
|
|
14006
14020
|
createTime: 'number',
|
|
14007
14021
|
description: 'string',
|
|
14022
|
+
idleTimeout: 'number',
|
|
14008
14023
|
listenerId: 'string',
|
|
14009
14024
|
name: 'string',
|
|
14010
14025
|
portRanges: { 'type': 'array', 'itemType': ListListenersResponseBodyListenersPortRanges },
|
|
14011
14026
|
protocol: 'string',
|
|
14012
14027
|
proxyProtocol: 'boolean',
|
|
14028
|
+
requestTimeout: 'number',
|
|
14013
14029
|
securityPolicyId: 'string',
|
|
14014
14030
|
serviceId: 'string',
|
|
14015
14031
|
serviceManaged: 'boolean',
|
|
@@ -16642,6 +16658,9 @@ class Client extends openapi_client_1.default {
|
|
|
16642
16658
|
if (!tea_util_1.default.isUnset(request.endpointGroupConfigurations)) {
|
|
16643
16659
|
query["EndpointGroupConfigurations"] = request.endpointGroupConfigurations;
|
|
16644
16660
|
}
|
|
16661
|
+
if (!tea_util_1.default.isUnset(request.idleTimeout)) {
|
|
16662
|
+
query["IdleTimeout"] = request.idleTimeout;
|
|
16663
|
+
}
|
|
16645
16664
|
if (!tea_util_1.default.isUnset(request.name)) {
|
|
16646
16665
|
query["Name"] = request.name;
|
|
16647
16666
|
}
|
|
@@ -16657,6 +16676,9 @@ class Client extends openapi_client_1.default {
|
|
|
16657
16676
|
if (!tea_util_1.default.isUnset(request.regionId)) {
|
|
16658
16677
|
query["RegionId"] = request.regionId;
|
|
16659
16678
|
}
|
|
16679
|
+
if (!tea_util_1.default.isUnset(request.requestTimeout)) {
|
|
16680
|
+
query["RequestTimeout"] = request.requestTimeout;
|
|
16681
|
+
}
|
|
16660
16682
|
if (!tea_util_1.default.isUnset(request.securityPolicyId)) {
|
|
16661
16683
|
query["SecurityPolicyId"] = request.securityPolicyId;
|
|
16662
16684
|
}
|
|
@@ -22243,6 +22265,9 @@ class Client extends openapi_client_1.default {
|
|
|
22243
22265
|
if (!tea_util_1.default.isUnset(request.description)) {
|
|
22244
22266
|
query["Description"] = request.description;
|
|
22245
22267
|
}
|
|
22268
|
+
if (!tea_util_1.default.isUnset(request.idleTimeout)) {
|
|
22269
|
+
query["IdleTimeout"] = request.idleTimeout;
|
|
22270
|
+
}
|
|
22246
22271
|
if (!tea_util_1.default.isUnset(request.listenerId)) {
|
|
22247
22272
|
query["ListenerId"] = request.listenerId;
|
|
22248
22273
|
}
|
|
@@ -22261,6 +22286,9 @@ class Client extends openapi_client_1.default {
|
|
|
22261
22286
|
if (!tea_util_1.default.isUnset(request.regionId)) {
|
|
22262
22287
|
query["RegionId"] = request.regionId;
|
|
22263
22288
|
}
|
|
22289
|
+
if (!tea_util_1.default.isUnset(request.requestTimeout)) {
|
|
22290
|
+
query["RequestTimeout"] = request.requestTimeout;
|
|
22291
|
+
}
|
|
22264
22292
|
if (!tea_util_1.default.isUnset(request.securityPolicyId)) {
|
|
22265
22293
|
query["SecurityPolicyId"] = request.securityPolicyId;
|
|
22266
22294
|
}
|