@alicloud/ga20191120 2.1.2 → 2.1.4
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/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -2590,11 +2590,13 @@ export class CreateListenerRequest extends $tea.Model {
|
|
|
2590
2590
|
customRoutingEndpointGroupConfigurations?: CreateListenerRequestCustomRoutingEndpointGroupConfigurations[];
|
|
2591
2591
|
description?: string;
|
|
2592
2592
|
endpointGroupConfigurations?: CreateListenerRequestEndpointGroupConfigurations[];
|
|
2593
|
+
idleTimeout?: number;
|
|
2593
2594
|
name?: string;
|
|
2594
2595
|
portRanges?: CreateListenerRequestPortRanges[];
|
|
2595
2596
|
protocol?: string;
|
|
2596
2597
|
proxyProtocol?: boolean;
|
|
2597
2598
|
regionId?: string;
|
|
2599
|
+
requestTimeout?: number;
|
|
2598
2600
|
securityPolicyId?: string;
|
|
2599
2601
|
type?: string;
|
|
2600
2602
|
XForwardedForConfig?: CreateListenerRequestXForwardedForConfig;
|
|
@@ -2607,11 +2609,13 @@ export class CreateListenerRequest extends $tea.Model {
|
|
|
2607
2609
|
customRoutingEndpointGroupConfigurations: 'CustomRoutingEndpointGroupConfigurations',
|
|
2608
2610
|
description: 'Description',
|
|
2609
2611
|
endpointGroupConfigurations: 'EndpointGroupConfigurations',
|
|
2612
|
+
idleTimeout: 'IdleTimeout',
|
|
2610
2613
|
name: 'Name',
|
|
2611
2614
|
portRanges: 'PortRanges',
|
|
2612
2615
|
protocol: 'Protocol',
|
|
2613
2616
|
proxyProtocol: 'ProxyProtocol',
|
|
2614
2617
|
regionId: 'RegionId',
|
|
2618
|
+
requestTimeout: 'RequestTimeout',
|
|
2615
2619
|
securityPolicyId: 'SecurityPolicyId',
|
|
2616
2620
|
type: 'Type',
|
|
2617
2621
|
XForwardedForConfig: 'XForwardedForConfig',
|
|
@@ -2627,11 +2631,13 @@ export class CreateListenerRequest extends $tea.Model {
|
|
|
2627
2631
|
customRoutingEndpointGroupConfigurations: { 'type': 'array', 'itemType': CreateListenerRequestCustomRoutingEndpointGroupConfigurations },
|
|
2628
2632
|
description: 'string',
|
|
2629
2633
|
endpointGroupConfigurations: { 'type': 'array', 'itemType': CreateListenerRequestEndpointGroupConfigurations },
|
|
2634
|
+
idleTimeout: 'number',
|
|
2630
2635
|
name: 'string',
|
|
2631
2636
|
portRanges: { 'type': 'array', 'itemType': CreateListenerRequestPortRanges },
|
|
2632
2637
|
protocol: 'string',
|
|
2633
2638
|
proxyProtocol: 'boolean',
|
|
2634
2639
|
regionId: 'string',
|
|
2640
|
+
requestTimeout: 'number',
|
|
2635
2641
|
securityPolicyId: 'string',
|
|
2636
2642
|
type: 'string',
|
|
2637
2643
|
XForwardedForConfig: CreateListenerRequestXForwardedForConfig,
|
|
@@ -5834,6 +5840,7 @@ export class DescribeListenerResponseBody extends $tea.Model {
|
|
|
5834
5840
|
clientAffinity?: string;
|
|
5835
5841
|
createTime?: string;
|
|
5836
5842
|
description?: string;
|
|
5843
|
+
idleTimeout?: number;
|
|
5837
5844
|
listenerId?: string;
|
|
5838
5845
|
name?: string;
|
|
5839
5846
|
portRanges?: DescribeListenerResponseBodyPortRanges[];
|
|
@@ -5841,6 +5848,7 @@ export class DescribeListenerResponseBody extends $tea.Model {
|
|
|
5841
5848
|
proxyProtocol?: boolean;
|
|
5842
5849
|
relatedAcls?: DescribeListenerResponseBodyRelatedAcls[];
|
|
5843
5850
|
requestId?: string;
|
|
5851
|
+
requestTimeout?: number;
|
|
5844
5852
|
securityPolicyId?: string;
|
|
5845
5853
|
serviceId?: string;
|
|
5846
5854
|
serviceManaged?: boolean;
|
|
@@ -5857,6 +5865,7 @@ export class DescribeListenerResponseBody extends $tea.Model {
|
|
|
5857
5865
|
clientAffinity: 'ClientAffinity',
|
|
5858
5866
|
createTime: 'CreateTime',
|
|
5859
5867
|
description: 'Description',
|
|
5868
|
+
idleTimeout: 'IdleTimeout',
|
|
5860
5869
|
listenerId: 'ListenerId',
|
|
5861
5870
|
name: 'Name',
|
|
5862
5871
|
portRanges: 'PortRanges',
|
|
@@ -5864,6 +5873,7 @@ export class DescribeListenerResponseBody extends $tea.Model {
|
|
|
5864
5873
|
proxyProtocol: 'ProxyProtocol',
|
|
5865
5874
|
relatedAcls: 'RelatedAcls',
|
|
5866
5875
|
requestId: 'RequestId',
|
|
5876
|
+
requestTimeout: 'RequestTimeout',
|
|
5867
5877
|
securityPolicyId: 'SecurityPolicyId',
|
|
5868
5878
|
serviceId: 'ServiceId',
|
|
5869
5879
|
serviceManaged: 'ServiceManaged',
|
|
@@ -5883,6 +5893,7 @@ export class DescribeListenerResponseBody extends $tea.Model {
|
|
|
5883
5893
|
clientAffinity: 'string',
|
|
5884
5894
|
createTime: 'string',
|
|
5885
5895
|
description: 'string',
|
|
5896
|
+
idleTimeout: 'number',
|
|
5886
5897
|
listenerId: 'string',
|
|
5887
5898
|
name: 'string',
|
|
5888
5899
|
portRanges: { 'type': 'array', 'itemType': DescribeListenerResponseBodyPortRanges },
|
|
@@ -5890,6 +5901,7 @@ export class DescribeListenerResponseBody extends $tea.Model {
|
|
|
5890
5901
|
proxyProtocol: 'boolean',
|
|
5891
5902
|
relatedAcls: { 'type': 'array', 'itemType': DescribeListenerResponseBodyRelatedAcls },
|
|
5892
5903
|
requestId: 'string',
|
|
5904
|
+
requestTimeout: 'number',
|
|
5893
5905
|
securityPolicyId: 'string',
|
|
5894
5906
|
serviceId: 'string',
|
|
5895
5907
|
serviceManaged: 'boolean',
|
|
@@ -12896,12 +12908,14 @@ export class UpdateListenerRequest extends $tea.Model {
|
|
|
12896
12908
|
clientAffinity?: string;
|
|
12897
12909
|
clientToken?: string;
|
|
12898
12910
|
description?: string;
|
|
12911
|
+
idleTimeout?: number;
|
|
12899
12912
|
listenerId?: string;
|
|
12900
12913
|
name?: string;
|
|
12901
12914
|
portRanges?: UpdateListenerRequestPortRanges[];
|
|
12902
12915
|
protocol?: string;
|
|
12903
12916
|
proxyProtocol?: string;
|
|
12904
12917
|
regionId?: string;
|
|
12918
|
+
requestTimeout?: number;
|
|
12905
12919
|
securityPolicyId?: string;
|
|
12906
12920
|
XForwardedForConfig?: UpdateListenerRequestXForwardedForConfig;
|
|
12907
12921
|
static names(): { [key: string]: string } {
|
|
@@ -12911,12 +12925,14 @@ export class UpdateListenerRequest extends $tea.Model {
|
|
|
12911
12925
|
clientAffinity: 'ClientAffinity',
|
|
12912
12926
|
clientToken: 'ClientToken',
|
|
12913
12927
|
description: 'Description',
|
|
12928
|
+
idleTimeout: 'IdleTimeout',
|
|
12914
12929
|
listenerId: 'ListenerId',
|
|
12915
12930
|
name: 'Name',
|
|
12916
12931
|
portRanges: 'PortRanges',
|
|
12917
12932
|
protocol: 'Protocol',
|
|
12918
12933
|
proxyProtocol: 'ProxyProtocol',
|
|
12919
12934
|
regionId: 'RegionId',
|
|
12935
|
+
requestTimeout: 'RequestTimeout',
|
|
12920
12936
|
securityPolicyId: 'SecurityPolicyId',
|
|
12921
12937
|
XForwardedForConfig: 'XForwardedForConfig',
|
|
12922
12938
|
};
|
|
@@ -12929,12 +12945,14 @@ export class UpdateListenerRequest extends $tea.Model {
|
|
|
12929
12945
|
clientAffinity: 'string',
|
|
12930
12946
|
clientToken: 'string',
|
|
12931
12947
|
description: 'string',
|
|
12948
|
+
idleTimeout: 'number',
|
|
12932
12949
|
listenerId: 'string',
|
|
12933
12950
|
name: 'string',
|
|
12934
12951
|
portRanges: { 'type': 'array', 'itemType': UpdateListenerRequestPortRanges },
|
|
12935
12952
|
protocol: 'string',
|
|
12936
12953
|
proxyProtocol: 'string',
|
|
12937
12954
|
regionId: 'string',
|
|
12955
|
+
requestTimeout: 'number',
|
|
12938
12956
|
securityPolicyId: 'string',
|
|
12939
12957
|
XForwardedForConfig: UpdateListenerRequestXForwardedForConfig,
|
|
12940
12958
|
};
|
|
@@ -17773,11 +17791,13 @@ export class ListListenersResponseBodyListeners extends $tea.Model {
|
|
|
17773
17791
|
clientAffinity?: string;
|
|
17774
17792
|
createTime?: number;
|
|
17775
17793
|
description?: string;
|
|
17794
|
+
idleTimeout?: number;
|
|
17776
17795
|
listenerId?: string;
|
|
17777
17796
|
name?: string;
|
|
17778
17797
|
portRanges?: ListListenersResponseBodyListenersPortRanges[];
|
|
17779
17798
|
protocol?: string;
|
|
17780
17799
|
proxyProtocol?: boolean;
|
|
17800
|
+
requestTimeout?: number;
|
|
17781
17801
|
securityPolicyId?: string;
|
|
17782
17802
|
serviceId?: string;
|
|
17783
17803
|
serviceManaged?: boolean;
|
|
@@ -17793,11 +17813,13 @@ export class ListListenersResponseBodyListeners extends $tea.Model {
|
|
|
17793
17813
|
clientAffinity: 'ClientAffinity',
|
|
17794
17814
|
createTime: 'CreateTime',
|
|
17795
17815
|
description: 'Description',
|
|
17816
|
+
idleTimeout: 'IdleTimeout',
|
|
17796
17817
|
listenerId: 'ListenerId',
|
|
17797
17818
|
name: 'Name',
|
|
17798
17819
|
portRanges: 'PortRanges',
|
|
17799
17820
|
protocol: 'Protocol',
|
|
17800
17821
|
proxyProtocol: 'ProxyProtocol',
|
|
17822
|
+
requestTimeout: 'RequestTimeout',
|
|
17801
17823
|
securityPolicyId: 'SecurityPolicyId',
|
|
17802
17824
|
serviceId: 'ServiceId',
|
|
17803
17825
|
serviceManaged: 'ServiceManaged',
|
|
@@ -17816,11 +17838,13 @@ export class ListListenersResponseBodyListeners extends $tea.Model {
|
|
|
17816
17838
|
clientAffinity: 'string',
|
|
17817
17839
|
createTime: 'number',
|
|
17818
17840
|
description: 'string',
|
|
17841
|
+
idleTimeout: 'number',
|
|
17819
17842
|
listenerId: 'string',
|
|
17820
17843
|
name: 'string',
|
|
17821
17844
|
portRanges: { 'type': 'array', 'itemType': ListListenersResponseBodyListenersPortRanges },
|
|
17822
17845
|
protocol: 'string',
|
|
17823
17846
|
proxyProtocol: 'boolean',
|
|
17847
|
+
requestTimeout: 'number',
|
|
17824
17848
|
securityPolicyId: 'string',
|
|
17825
17849
|
serviceId: 'string',
|
|
17826
17850
|
serviceManaged: 'boolean',
|
|
@@ -20899,6 +20923,10 @@ export default class Client extends OpenApi {
|
|
|
20899
20923
|
query["EndpointGroupConfigurations"] = request.endpointGroupConfigurations;
|
|
20900
20924
|
}
|
|
20901
20925
|
|
|
20926
|
+
if (!Util.isUnset(request.idleTimeout)) {
|
|
20927
|
+
query["IdleTimeout"] = request.idleTimeout;
|
|
20928
|
+
}
|
|
20929
|
+
|
|
20902
20930
|
if (!Util.isUnset(request.name)) {
|
|
20903
20931
|
query["Name"] = request.name;
|
|
20904
20932
|
}
|
|
@@ -20919,6 +20947,10 @@ export default class Client extends OpenApi {
|
|
|
20919
20947
|
query["RegionId"] = request.regionId;
|
|
20920
20948
|
}
|
|
20921
20949
|
|
|
20950
|
+
if (!Util.isUnset(request.requestTimeout)) {
|
|
20951
|
+
query["RequestTimeout"] = request.requestTimeout;
|
|
20952
|
+
}
|
|
20953
|
+
|
|
20922
20954
|
if (!Util.isUnset(request.securityPolicyId)) {
|
|
20923
20955
|
query["SecurityPolicyId"] = request.securityPolicyId;
|
|
20924
20956
|
}
|
|
@@ -27283,6 +27315,10 @@ export default class Client extends OpenApi {
|
|
|
27283
27315
|
query["Description"] = request.description;
|
|
27284
27316
|
}
|
|
27285
27317
|
|
|
27318
|
+
if (!Util.isUnset(request.idleTimeout)) {
|
|
27319
|
+
query["IdleTimeout"] = request.idleTimeout;
|
|
27320
|
+
}
|
|
27321
|
+
|
|
27286
27322
|
if (!Util.isUnset(request.listenerId)) {
|
|
27287
27323
|
query["ListenerId"] = request.listenerId;
|
|
27288
27324
|
}
|
|
@@ -27307,6 +27343,10 @@ export default class Client extends OpenApi {
|
|
|
27307
27343
|
query["RegionId"] = request.regionId;
|
|
27308
27344
|
}
|
|
27309
27345
|
|
|
27346
|
+
if (!Util.isUnset(request.requestTimeout)) {
|
|
27347
|
+
query["RequestTimeout"] = request.requestTimeout;
|
|
27348
|
+
}
|
|
27349
|
+
|
|
27310
27350
|
if (!Util.isUnset(request.securityPolicyId)) {
|
|
27311
27351
|
query["SecurityPolicyId"] = request.securityPolicyId;
|
|
27312
27352
|
}
|