@alicloud/ga20191120 2.1.1 → 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 +40 -4
- package/dist/client.js +74 -4
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +98 -4
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
|
};
|
|
@@ -13718,6 +13736,53 @@ export class CreateEndpointGroupsRequestEndpointGroupConfigurationsPortOverrides
|
|
|
13718
13736
|
}
|
|
13719
13737
|
}
|
|
13720
13738
|
|
|
13739
|
+
export class CreateEndpointGroupsRequestEndpointGroupConfigurationsSystemTag extends $tea.Model {
|
|
13740
|
+
key?: string;
|
|
13741
|
+
scope?: string;
|
|
13742
|
+
value?: string;
|
|
13743
|
+
static names(): { [key: string]: string } {
|
|
13744
|
+
return {
|
|
13745
|
+
key: 'Key',
|
|
13746
|
+
scope: 'Scope',
|
|
13747
|
+
value: 'Value',
|
|
13748
|
+
};
|
|
13749
|
+
}
|
|
13750
|
+
|
|
13751
|
+
static types(): { [key: string]: any } {
|
|
13752
|
+
return {
|
|
13753
|
+
key: 'string',
|
|
13754
|
+
scope: 'string',
|
|
13755
|
+
value: 'string',
|
|
13756
|
+
};
|
|
13757
|
+
}
|
|
13758
|
+
|
|
13759
|
+
constructor(map?: { [key: string]: any }) {
|
|
13760
|
+
super(map);
|
|
13761
|
+
}
|
|
13762
|
+
}
|
|
13763
|
+
|
|
13764
|
+
export class CreateEndpointGroupsRequestEndpointGroupConfigurationsTag extends $tea.Model {
|
|
13765
|
+
key?: string;
|
|
13766
|
+
value?: string;
|
|
13767
|
+
static names(): { [key: string]: string } {
|
|
13768
|
+
return {
|
|
13769
|
+
key: 'Key',
|
|
13770
|
+
value: 'Value',
|
|
13771
|
+
};
|
|
13772
|
+
}
|
|
13773
|
+
|
|
13774
|
+
static types(): { [key: string]: any } {
|
|
13775
|
+
return {
|
|
13776
|
+
key: 'string',
|
|
13777
|
+
value: 'string',
|
|
13778
|
+
};
|
|
13779
|
+
}
|
|
13780
|
+
|
|
13781
|
+
constructor(map?: { [key: string]: any }) {
|
|
13782
|
+
super(map);
|
|
13783
|
+
}
|
|
13784
|
+
}
|
|
13785
|
+
|
|
13721
13786
|
export class CreateEndpointGroupsRequestEndpointGroupConfigurations extends $tea.Model {
|
|
13722
13787
|
enableClientIPPreservationProxyProtocol?: boolean;
|
|
13723
13788
|
enableClientIPPreservationToa?: boolean;
|
|
@@ -13733,6 +13798,8 @@ export class CreateEndpointGroupsRequestEndpointGroupConfigurations extends $tea
|
|
|
13733
13798
|
healthCheckPort?: number;
|
|
13734
13799
|
healthCheckProtocol?: string;
|
|
13735
13800
|
portOverrides?: CreateEndpointGroupsRequestEndpointGroupConfigurationsPortOverrides[];
|
|
13801
|
+
systemTag?: CreateEndpointGroupsRequestEndpointGroupConfigurationsSystemTag[];
|
|
13802
|
+
tag?: CreateEndpointGroupsRequestEndpointGroupConfigurationsTag[];
|
|
13736
13803
|
thresholdCount?: number;
|
|
13737
13804
|
trafficPercentage?: number;
|
|
13738
13805
|
static names(): { [key: string]: string } {
|
|
@@ -13751,6 +13818,8 @@ export class CreateEndpointGroupsRequestEndpointGroupConfigurations extends $tea
|
|
|
13751
13818
|
healthCheckPort: 'HealthCheckPort',
|
|
13752
13819
|
healthCheckProtocol: 'HealthCheckProtocol',
|
|
13753
13820
|
portOverrides: 'PortOverrides',
|
|
13821
|
+
systemTag: 'SystemTag',
|
|
13822
|
+
tag: 'Tag',
|
|
13754
13823
|
thresholdCount: 'ThresholdCount',
|
|
13755
13824
|
trafficPercentage: 'TrafficPercentage',
|
|
13756
13825
|
};
|
|
@@ -13772,6 +13841,8 @@ export class CreateEndpointGroupsRequestEndpointGroupConfigurations extends $tea
|
|
|
13772
13841
|
healthCheckPort: 'number',
|
|
13773
13842
|
healthCheckProtocol: 'string',
|
|
13774
13843
|
portOverrides: { 'type': 'array', 'itemType': CreateEndpointGroupsRequestEndpointGroupConfigurationsPortOverrides },
|
|
13844
|
+
systemTag: { 'type': 'array', 'itemType': CreateEndpointGroupsRequestEndpointGroupConfigurationsSystemTag },
|
|
13845
|
+
tag: { 'type': 'array', 'itemType': CreateEndpointGroupsRequestEndpointGroupConfigurationsTag },
|
|
13775
13846
|
thresholdCount: 'number',
|
|
13776
13847
|
trafficPercentage: 'number',
|
|
13777
13848
|
};
|
|
@@ -14169,11 +14240,13 @@ export class CreateListenerRequestCustomRoutingEndpointGroupConfigurations exten
|
|
|
14169
14240
|
|
|
14170
14241
|
export class CreateListenerRequestEndpointGroupConfigurationsEndpointConfigurations extends $tea.Model {
|
|
14171
14242
|
endpoint?: string;
|
|
14243
|
+
subAddress?: string;
|
|
14172
14244
|
type?: string;
|
|
14173
14245
|
weight?: number;
|
|
14174
14246
|
static names(): { [key: string]: string } {
|
|
14175
14247
|
return {
|
|
14176
14248
|
endpoint: 'Endpoint',
|
|
14249
|
+
subAddress: 'SubAddress',
|
|
14177
14250
|
type: 'Type',
|
|
14178
14251
|
weight: 'Weight',
|
|
14179
14252
|
};
|
|
@@ -14182,6 +14255,7 @@ export class CreateListenerRequestEndpointGroupConfigurationsEndpointConfigurati
|
|
|
14182
14255
|
static types(): { [key: string]: any } {
|
|
14183
14256
|
return {
|
|
14184
14257
|
endpoint: 'string',
|
|
14258
|
+
subAddress: 'string',
|
|
14185
14259
|
type: 'string',
|
|
14186
14260
|
weight: 'number',
|
|
14187
14261
|
};
|
|
@@ -17717,11 +17791,13 @@ export class ListListenersResponseBodyListeners extends $tea.Model {
|
|
|
17717
17791
|
clientAffinity?: string;
|
|
17718
17792
|
createTime?: number;
|
|
17719
17793
|
description?: string;
|
|
17794
|
+
idleTimeout?: number;
|
|
17720
17795
|
listenerId?: string;
|
|
17721
17796
|
name?: string;
|
|
17722
17797
|
portRanges?: ListListenersResponseBodyListenersPortRanges[];
|
|
17723
17798
|
protocol?: string;
|
|
17724
17799
|
proxyProtocol?: boolean;
|
|
17800
|
+
requestTimeout?: number;
|
|
17725
17801
|
securityPolicyId?: string;
|
|
17726
17802
|
serviceId?: string;
|
|
17727
17803
|
serviceManaged?: boolean;
|
|
@@ -17737,11 +17813,13 @@ export class ListListenersResponseBodyListeners extends $tea.Model {
|
|
|
17737
17813
|
clientAffinity: 'ClientAffinity',
|
|
17738
17814
|
createTime: 'CreateTime',
|
|
17739
17815
|
description: 'Description',
|
|
17816
|
+
idleTimeout: 'IdleTimeout',
|
|
17740
17817
|
listenerId: 'ListenerId',
|
|
17741
17818
|
name: 'Name',
|
|
17742
17819
|
portRanges: 'PortRanges',
|
|
17743
17820
|
protocol: 'Protocol',
|
|
17744
17821
|
proxyProtocol: 'ProxyProtocol',
|
|
17822
|
+
requestTimeout: 'RequestTimeout',
|
|
17745
17823
|
securityPolicyId: 'SecurityPolicyId',
|
|
17746
17824
|
serviceId: 'ServiceId',
|
|
17747
17825
|
serviceManaged: 'ServiceManaged',
|
|
@@ -17760,11 +17838,13 @@ export class ListListenersResponseBodyListeners extends $tea.Model {
|
|
|
17760
17838
|
clientAffinity: 'string',
|
|
17761
17839
|
createTime: 'number',
|
|
17762
17840
|
description: 'string',
|
|
17841
|
+
idleTimeout: 'number',
|
|
17763
17842
|
listenerId: 'string',
|
|
17764
17843
|
name: 'string',
|
|
17765
17844
|
portRanges: { 'type': 'array', 'itemType': ListListenersResponseBodyListenersPortRanges },
|
|
17766
17845
|
protocol: 'string',
|
|
17767
17846
|
proxyProtocol: 'boolean',
|
|
17847
|
+
requestTimeout: 'number',
|
|
17768
17848
|
securityPolicyId: 'string',
|
|
17769
17849
|
serviceId: 'string',
|
|
17770
17850
|
serviceManaged: 'boolean',
|
|
@@ -20843,6 +20923,10 @@ export default class Client extends OpenApi {
|
|
|
20843
20923
|
query["EndpointGroupConfigurations"] = request.endpointGroupConfigurations;
|
|
20844
20924
|
}
|
|
20845
20925
|
|
|
20926
|
+
if (!Util.isUnset(request.idleTimeout)) {
|
|
20927
|
+
query["IdleTimeout"] = request.idleTimeout;
|
|
20928
|
+
}
|
|
20929
|
+
|
|
20846
20930
|
if (!Util.isUnset(request.name)) {
|
|
20847
20931
|
query["Name"] = request.name;
|
|
20848
20932
|
}
|
|
@@ -20863,6 +20947,10 @@ export default class Client extends OpenApi {
|
|
|
20863
20947
|
query["RegionId"] = request.regionId;
|
|
20864
20948
|
}
|
|
20865
20949
|
|
|
20950
|
+
if (!Util.isUnset(request.requestTimeout)) {
|
|
20951
|
+
query["RequestTimeout"] = request.requestTimeout;
|
|
20952
|
+
}
|
|
20953
|
+
|
|
20866
20954
|
if (!Util.isUnset(request.securityPolicyId)) {
|
|
20867
20955
|
query["SecurityPolicyId"] = request.securityPolicyId;
|
|
20868
20956
|
}
|
|
@@ -27227,6 +27315,10 @@ export default class Client extends OpenApi {
|
|
|
27227
27315
|
query["Description"] = request.description;
|
|
27228
27316
|
}
|
|
27229
27317
|
|
|
27318
|
+
if (!Util.isUnset(request.idleTimeout)) {
|
|
27319
|
+
query["IdleTimeout"] = request.idleTimeout;
|
|
27320
|
+
}
|
|
27321
|
+
|
|
27230
27322
|
if (!Util.isUnset(request.listenerId)) {
|
|
27231
27323
|
query["ListenerId"] = request.listenerId;
|
|
27232
27324
|
}
|
|
@@ -27251,6 +27343,10 @@ export default class Client extends OpenApi {
|
|
|
27251
27343
|
query["RegionId"] = request.regionId;
|
|
27252
27344
|
}
|
|
27253
27345
|
|
|
27346
|
+
if (!Util.isUnset(request.requestTimeout)) {
|
|
27347
|
+
query["RequestTimeout"] = request.requestTimeout;
|
|
27348
|
+
}
|
|
27349
|
+
|
|
27254
27350
|
if (!Util.isUnset(request.securityPolicyId)) {
|
|
27255
27351
|
query["SecurityPolicyId"] = request.securityPolicyId;
|
|
27256
27352
|
}
|
|
@@ -27296,8 +27392,7 @@ export default class Client extends OpenApi {
|
|
|
27296
27392
|
* * This operation is applicable only to **managed** Global Accelerator (GA) instances.
|
|
27297
27393
|
* * After you change the control mode of a GA instance from managed mode to unmanaged mode, you cannot change the mode of the instance to managed mode.
|
|
27298
27394
|
* * After you change the control mode of a GA instance from managed mode to unmanaged mode, you can obtain all operation permissions on the instance.
|
|
27299
|
-
*
|
|
27300
|
-
* **Warning** If you change or delete a configuration of a GA instance whose control mode is changed from managed mode to unmanaged mode, the cloud services that depend on the instance may not work as expected. Proceed with caution.
|
|
27395
|
+
* <warning>If you change or delete a configuration of a GA instance whose control mode is changed from managed mode to unmanaged mode, the cloud services that depend on the instance may not work as expected. Proceed with caution.></warning>
|
|
27301
27396
|
*
|
|
27302
27397
|
* @param request UpdateServiceManagedControlRequest
|
|
27303
27398
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -27347,8 +27442,7 @@ export default class Client extends OpenApi {
|
|
|
27347
27442
|
* * This operation is applicable only to **managed** Global Accelerator (GA) instances.
|
|
27348
27443
|
* * After you change the control mode of a GA instance from managed mode to unmanaged mode, you cannot change the mode of the instance to managed mode.
|
|
27349
27444
|
* * After you change the control mode of a GA instance from managed mode to unmanaged mode, you can obtain all operation permissions on the instance.
|
|
27350
|
-
*
|
|
27351
|
-
* **Warning** If you change or delete a configuration of a GA instance whose control mode is changed from managed mode to unmanaged mode, the cloud services that depend on the instance may not work as expected. Proceed with caution.
|
|
27445
|
+
* <warning>If you change or delete a configuration of a GA instance whose control mode is changed from managed mode to unmanaged mode, the cloud services that depend on the instance may not work as expected. Proceed with caution.></warning>
|
|
27352
27446
|
*
|
|
27353
27447
|
* @param request UpdateServiceManagedControlRequest
|
|
27354
27448
|
* @return UpdateServiceManagedControlResponse
|