@alicloud/ga20191120 2.0.0 → 2.1.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 +173 -16
- package/dist/client.js +234 -16
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +267 -16
package/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -5927,6 +5927,99 @@ export class DescribeListenerResponse extends $tea.Model {
|
|
|
5927
5927
|
}
|
|
5928
5928
|
}
|
|
5929
5929
|
|
|
5930
|
+
export class DescribeLogStoreOfEndpointGroupRequest extends $tea.Model {
|
|
5931
|
+
acceleratorId?: string;
|
|
5932
|
+
endpointGroupId?: string;
|
|
5933
|
+
listenerId?: string;
|
|
5934
|
+
regionId?: string;
|
|
5935
|
+
static names(): { [key: string]: string } {
|
|
5936
|
+
return {
|
|
5937
|
+
acceleratorId: 'AcceleratorId',
|
|
5938
|
+
endpointGroupId: 'EndpointGroupId',
|
|
5939
|
+
listenerId: 'ListenerId',
|
|
5940
|
+
regionId: 'RegionId',
|
|
5941
|
+
};
|
|
5942
|
+
}
|
|
5943
|
+
|
|
5944
|
+
static types(): { [key: string]: any } {
|
|
5945
|
+
return {
|
|
5946
|
+
acceleratorId: 'string',
|
|
5947
|
+
endpointGroupId: 'string',
|
|
5948
|
+
listenerId: 'string',
|
|
5949
|
+
regionId: 'string',
|
|
5950
|
+
};
|
|
5951
|
+
}
|
|
5952
|
+
|
|
5953
|
+
constructor(map?: { [key: string]: any }) {
|
|
5954
|
+
super(map);
|
|
5955
|
+
}
|
|
5956
|
+
}
|
|
5957
|
+
|
|
5958
|
+
export class DescribeLogStoreOfEndpointGroupResponseBody extends $tea.Model {
|
|
5959
|
+
acceleratorId?: string;
|
|
5960
|
+
endpointGroupId?: string;
|
|
5961
|
+
listenerId?: string;
|
|
5962
|
+
requestId?: string;
|
|
5963
|
+
slsLogStoreName?: string;
|
|
5964
|
+
slsProjectName?: string;
|
|
5965
|
+
slsRegionId?: string;
|
|
5966
|
+
status?: string;
|
|
5967
|
+
static names(): { [key: string]: string } {
|
|
5968
|
+
return {
|
|
5969
|
+
acceleratorId: 'AcceleratorId',
|
|
5970
|
+
endpointGroupId: 'EndpointGroupId',
|
|
5971
|
+
listenerId: 'ListenerId',
|
|
5972
|
+
requestId: 'RequestId',
|
|
5973
|
+
slsLogStoreName: 'SlsLogStoreName',
|
|
5974
|
+
slsProjectName: 'SlsProjectName',
|
|
5975
|
+
slsRegionId: 'SlsRegionId',
|
|
5976
|
+
status: 'Status',
|
|
5977
|
+
};
|
|
5978
|
+
}
|
|
5979
|
+
|
|
5980
|
+
static types(): { [key: string]: any } {
|
|
5981
|
+
return {
|
|
5982
|
+
acceleratorId: 'string',
|
|
5983
|
+
endpointGroupId: 'string',
|
|
5984
|
+
listenerId: 'string',
|
|
5985
|
+
requestId: 'string',
|
|
5986
|
+
slsLogStoreName: 'string',
|
|
5987
|
+
slsProjectName: 'string',
|
|
5988
|
+
slsRegionId: 'string',
|
|
5989
|
+
status: 'string',
|
|
5990
|
+
};
|
|
5991
|
+
}
|
|
5992
|
+
|
|
5993
|
+
constructor(map?: { [key: string]: any }) {
|
|
5994
|
+
super(map);
|
|
5995
|
+
}
|
|
5996
|
+
}
|
|
5997
|
+
|
|
5998
|
+
export class DescribeLogStoreOfEndpointGroupResponse extends $tea.Model {
|
|
5999
|
+
headers: { [key: string]: string };
|
|
6000
|
+
statusCode: number;
|
|
6001
|
+
body: DescribeLogStoreOfEndpointGroupResponseBody;
|
|
6002
|
+
static names(): { [key: string]: string } {
|
|
6003
|
+
return {
|
|
6004
|
+
headers: 'headers',
|
|
6005
|
+
statusCode: 'statusCode',
|
|
6006
|
+
body: 'body',
|
|
6007
|
+
};
|
|
6008
|
+
}
|
|
6009
|
+
|
|
6010
|
+
static types(): { [key: string]: any } {
|
|
6011
|
+
return {
|
|
6012
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
6013
|
+
statusCode: 'number',
|
|
6014
|
+
body: DescribeLogStoreOfEndpointGroupResponseBody,
|
|
6015
|
+
};
|
|
6016
|
+
}
|
|
6017
|
+
|
|
6018
|
+
constructor(map?: { [key: string]: any }) {
|
|
6019
|
+
super(map);
|
|
6020
|
+
}
|
|
6021
|
+
}
|
|
6022
|
+
|
|
5930
6023
|
export class DescribeRegionsRequest extends $tea.Model {
|
|
5931
6024
|
regionId?: string;
|
|
5932
6025
|
static names(): { [key: string]: string } {
|
|
@@ -13498,6 +13591,7 @@ export class CreateEndpointGroupRequestEndpointConfigurations extends $tea.Model
|
|
|
13498
13591
|
enableClientIPPreservation?: boolean;
|
|
13499
13592
|
enableProxyProtocol?: boolean;
|
|
13500
13593
|
endpoint?: string;
|
|
13594
|
+
subAddress?: string;
|
|
13501
13595
|
type?: string;
|
|
13502
13596
|
weight?: number;
|
|
13503
13597
|
static names(): { [key: string]: string } {
|
|
@@ -13505,6 +13599,7 @@ export class CreateEndpointGroupRequestEndpointConfigurations extends $tea.Model
|
|
|
13505
13599
|
enableClientIPPreservation: 'EnableClientIPPreservation',
|
|
13506
13600
|
enableProxyProtocol: 'EnableProxyProtocol',
|
|
13507
13601
|
endpoint: 'Endpoint',
|
|
13602
|
+
subAddress: 'SubAddress',
|
|
13508
13603
|
type: 'Type',
|
|
13509
13604
|
weight: 'Weight',
|
|
13510
13605
|
};
|
|
@@ -13515,6 +13610,7 @@ export class CreateEndpointGroupRequestEndpointConfigurations extends $tea.Model
|
|
|
13515
13610
|
enableClientIPPreservation: 'boolean',
|
|
13516
13611
|
enableProxyProtocol: 'boolean',
|
|
13517
13612
|
endpoint: 'string',
|
|
13613
|
+
subAddress: 'string',
|
|
13518
13614
|
type: 'string',
|
|
13519
13615
|
weight: 'number',
|
|
13520
13616
|
};
|
|
@@ -13571,11 +13667,13 @@ export class CreateEndpointGroupRequestTag extends $tea.Model {
|
|
|
13571
13667
|
|
|
13572
13668
|
export class CreateEndpointGroupsRequestEndpointGroupConfigurationsEndpointConfigurations extends $tea.Model {
|
|
13573
13669
|
endpoint?: string;
|
|
13670
|
+
subAddress?: string;
|
|
13574
13671
|
type?: string;
|
|
13575
13672
|
weight?: number;
|
|
13576
13673
|
static names(): { [key: string]: string } {
|
|
13577
13674
|
return {
|
|
13578
13675
|
endpoint: 'Endpoint',
|
|
13676
|
+
subAddress: 'SubAddress',
|
|
13579
13677
|
type: 'Type',
|
|
13580
13678
|
weight: 'Weight',
|
|
13581
13679
|
};
|
|
@@ -13584,6 +13682,7 @@ export class CreateEndpointGroupsRequestEndpointGroupConfigurationsEndpointConfi
|
|
|
13584
13682
|
static types(): { [key: string]: any } {
|
|
13585
13683
|
return {
|
|
13586
13684
|
endpoint: 'string',
|
|
13685
|
+
subAddress: 'string',
|
|
13587
13686
|
type: 'string',
|
|
13588
13687
|
weight: 'number',
|
|
13589
13688
|
};
|
|
@@ -14856,6 +14955,7 @@ export class DescribeEndpointGroupResponseBodyEndpointConfigurations extends $te
|
|
|
14856
14955
|
endpoint?: string;
|
|
14857
14956
|
probePort?: number;
|
|
14858
14957
|
probeProtocol?: string;
|
|
14958
|
+
subAddress?: string;
|
|
14859
14959
|
type?: string;
|
|
14860
14960
|
weight?: number;
|
|
14861
14961
|
static names(): { [key: string]: string } {
|
|
@@ -14865,6 +14965,7 @@ export class DescribeEndpointGroupResponseBodyEndpointConfigurations extends $te
|
|
|
14865
14965
|
endpoint: 'Endpoint',
|
|
14866
14966
|
probePort: 'ProbePort',
|
|
14867
14967
|
probeProtocol: 'ProbeProtocol',
|
|
14968
|
+
subAddress: 'SubAddress',
|
|
14868
14969
|
type: 'Type',
|
|
14869
14970
|
weight: 'Weight',
|
|
14870
14971
|
};
|
|
@@ -14877,6 +14978,7 @@ export class DescribeEndpointGroupResponseBodyEndpointConfigurations extends $te
|
|
|
14877
14978
|
endpoint: 'string',
|
|
14878
14979
|
probePort: 'number',
|
|
14879
14980
|
probeProtocol: 'string',
|
|
14981
|
+
subAddress: 'string',
|
|
14880
14982
|
type: 'string',
|
|
14881
14983
|
weight: 'number',
|
|
14882
14984
|
};
|
|
@@ -16984,6 +17086,7 @@ export class ListEndpointGroupsResponseBodyEndpointGroupsEndpointConfigurations
|
|
|
16984
17086
|
endpointId?: string;
|
|
16985
17087
|
probePort?: number;
|
|
16986
17088
|
probeProtocol?: string;
|
|
17089
|
+
subAddress?: string;
|
|
16987
17090
|
type?: string;
|
|
16988
17091
|
weight?: number;
|
|
16989
17092
|
static names(): { [key: string]: string } {
|
|
@@ -16993,6 +17096,7 @@ export class ListEndpointGroupsResponseBodyEndpointGroupsEndpointConfigurations
|
|
|
16993
17096
|
endpointId: 'EndpointId',
|
|
16994
17097
|
probePort: 'ProbePort',
|
|
16995
17098
|
probeProtocol: 'ProbeProtocol',
|
|
17099
|
+
subAddress: 'SubAddress',
|
|
16996
17100
|
type: 'Type',
|
|
16997
17101
|
weight: 'Weight',
|
|
16998
17102
|
};
|
|
@@ -17005,6 +17109,7 @@ export class ListEndpointGroupsResponseBodyEndpointGroupsEndpointConfigurations
|
|
|
17005
17109
|
endpointId: 'string',
|
|
17006
17110
|
probePort: 'number',
|
|
17007
17111
|
probeProtocol: 'string',
|
|
17112
|
+
subAddress: 'string',
|
|
17008
17113
|
type: 'string',
|
|
17009
17114
|
weight: 'number',
|
|
17010
17115
|
};
|
|
@@ -17977,6 +18082,7 @@ export class UpdateEndpointGroupRequestEndpointConfigurations extends $tea.Model
|
|
|
17977
18082
|
enableClientIPPreservation?: boolean;
|
|
17978
18083
|
enableProxyProtocol?: boolean;
|
|
17979
18084
|
endpoint?: string;
|
|
18085
|
+
subAddress?: string;
|
|
17980
18086
|
type?: string;
|
|
17981
18087
|
weight?: number;
|
|
17982
18088
|
static names(): { [key: string]: string } {
|
|
@@ -17984,6 +18090,7 @@ export class UpdateEndpointGroupRequestEndpointConfigurations extends $tea.Model
|
|
|
17984
18090
|
enableClientIPPreservation: 'EnableClientIPPreservation',
|
|
17985
18091
|
enableProxyProtocol: 'EnableProxyProtocol',
|
|
17986
18092
|
endpoint: 'Endpoint',
|
|
18093
|
+
subAddress: 'SubAddress',
|
|
17987
18094
|
type: 'Type',
|
|
17988
18095
|
weight: 'Weight',
|
|
17989
18096
|
};
|
|
@@ -17994,6 +18101,7 @@ export class UpdateEndpointGroupRequestEndpointConfigurations extends $tea.Model
|
|
|
17994
18101
|
enableClientIPPreservation: 'boolean',
|
|
17995
18102
|
enableProxyProtocol: 'boolean',
|
|
17996
18103
|
endpoint: 'string',
|
|
18104
|
+
subAddress: 'string',
|
|
17997
18105
|
type: 'string',
|
|
17998
18106
|
weight: 'number',
|
|
17999
18107
|
};
|
|
@@ -18028,11 +18136,13 @@ export class UpdateEndpointGroupRequestPortOverrides extends $tea.Model {
|
|
|
18028
18136
|
|
|
18029
18137
|
export class UpdateEndpointGroupsRequestEndpointGroupConfigurationsEndpointConfigurations extends $tea.Model {
|
|
18030
18138
|
endpoint?: string;
|
|
18139
|
+
subAddress?: string;
|
|
18031
18140
|
type?: string;
|
|
18032
18141
|
weight?: number;
|
|
18033
18142
|
static names(): { [key: string]: string } {
|
|
18034
18143
|
return {
|
|
18035
18144
|
endpoint: 'Endpoint',
|
|
18145
|
+
subAddress: 'SubAddress',
|
|
18036
18146
|
type: 'Type',
|
|
18037
18147
|
weight: 'Weight',
|
|
18038
18148
|
};
|
|
@@ -18041,6 +18151,7 @@ export class UpdateEndpointGroupsRequestEndpointGroupConfigurationsEndpointConfi
|
|
|
18041
18151
|
static types(): { [key: string]: any } {
|
|
18042
18152
|
return {
|
|
18043
18153
|
endpoint: 'string',
|
|
18154
|
+
subAddress: 'string',
|
|
18044
18155
|
type: 'string',
|
|
18045
18156
|
weight: 'number',
|
|
18046
18157
|
};
|
|
@@ -22585,6 +22696,14 @@ export default class Client extends OpenApi {
|
|
|
22585
22696
|
return await this.describeEndpointGroupWithOptions(request, runtime);
|
|
22586
22697
|
}
|
|
22587
22698
|
|
|
22699
|
+
/**
|
|
22700
|
+
* ## Debugging
|
|
22701
|
+
* [OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.](https://api.aliyun.com/#product=Ga\\&api=DescribeIpSet\\&type=RPC\\&version=2019-11-20)
|
|
22702
|
+
*
|
|
22703
|
+
* @param request DescribeIpSetRequest
|
|
22704
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
22705
|
+
* @return DescribeIpSetResponse
|
|
22706
|
+
*/
|
|
22588
22707
|
async describeIpSetWithOptions(request: DescribeIpSetRequest, runtime: $Util.RuntimeOptions): Promise<DescribeIpSetResponse> {
|
|
22589
22708
|
Util.validateModel(request);
|
|
22590
22709
|
let query = { };
|
|
@@ -22613,6 +22732,13 @@ export default class Client extends OpenApi {
|
|
|
22613
22732
|
return $tea.cast<DescribeIpSetResponse>(await this.callApi(params, req, runtime), new DescribeIpSetResponse({}));
|
|
22614
22733
|
}
|
|
22615
22734
|
|
|
22735
|
+
/**
|
|
22736
|
+
* ## Debugging
|
|
22737
|
+
* [OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.](https://api.aliyun.com/#product=Ga\\&api=DescribeIpSet\\&type=RPC\\&version=2019-11-20)
|
|
22738
|
+
*
|
|
22739
|
+
* @param request DescribeIpSetRequest
|
|
22740
|
+
* @return DescribeIpSetResponse
|
|
22741
|
+
*/
|
|
22616
22742
|
async describeIpSet(request: DescribeIpSetRequest): Promise<DescribeIpSetResponse> {
|
|
22617
22743
|
let runtime = new $Util.RuntimeOptions({ });
|
|
22618
22744
|
return await this.describeIpSetWithOptions(request, runtime);
|
|
@@ -22664,6 +22790,47 @@ export default class Client extends OpenApi {
|
|
|
22664
22790
|
return await this.describeListenerWithOptions(request, runtime);
|
|
22665
22791
|
}
|
|
22666
22792
|
|
|
22793
|
+
async describeLogStoreOfEndpointGroupWithOptions(request: DescribeLogStoreOfEndpointGroupRequest, runtime: $Util.RuntimeOptions): Promise<DescribeLogStoreOfEndpointGroupResponse> {
|
|
22794
|
+
Util.validateModel(request);
|
|
22795
|
+
let query = { };
|
|
22796
|
+
if (!Util.isUnset(request.acceleratorId)) {
|
|
22797
|
+
query["AcceleratorId"] = request.acceleratorId;
|
|
22798
|
+
}
|
|
22799
|
+
|
|
22800
|
+
if (!Util.isUnset(request.endpointGroupId)) {
|
|
22801
|
+
query["EndpointGroupId"] = request.endpointGroupId;
|
|
22802
|
+
}
|
|
22803
|
+
|
|
22804
|
+
if (!Util.isUnset(request.listenerId)) {
|
|
22805
|
+
query["ListenerId"] = request.listenerId;
|
|
22806
|
+
}
|
|
22807
|
+
|
|
22808
|
+
if (!Util.isUnset(request.regionId)) {
|
|
22809
|
+
query["RegionId"] = request.regionId;
|
|
22810
|
+
}
|
|
22811
|
+
|
|
22812
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
22813
|
+
query: OpenApiUtil.query(query),
|
|
22814
|
+
});
|
|
22815
|
+
let params = new $OpenApi.Params({
|
|
22816
|
+
action: "DescribeLogStoreOfEndpointGroup",
|
|
22817
|
+
version: "2019-11-20",
|
|
22818
|
+
protocol: "HTTPS",
|
|
22819
|
+
pathname: "/",
|
|
22820
|
+
method: "POST",
|
|
22821
|
+
authType: "AK",
|
|
22822
|
+
style: "RPC",
|
|
22823
|
+
reqBodyType: "formData",
|
|
22824
|
+
bodyType: "json",
|
|
22825
|
+
});
|
|
22826
|
+
return $tea.cast<DescribeLogStoreOfEndpointGroupResponse>(await this.callApi(params, req, runtime), new DescribeLogStoreOfEndpointGroupResponse({}));
|
|
22827
|
+
}
|
|
22828
|
+
|
|
22829
|
+
async describeLogStoreOfEndpointGroup(request: DescribeLogStoreOfEndpointGroupRequest): Promise<DescribeLogStoreOfEndpointGroupResponse> {
|
|
22830
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
22831
|
+
return await this.describeLogStoreOfEndpointGroupWithOptions(request, runtime);
|
|
22832
|
+
}
|
|
22833
|
+
|
|
22667
22834
|
async describeRegionsWithOptions(request: DescribeRegionsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeRegionsResponse> {
|
|
22668
22835
|
Util.validateModel(request);
|
|
22669
22836
|
let query = { };
|
|
@@ -22746,6 +22913,7 @@ export default class Client extends OpenApi {
|
|
|
22746
22913
|
}
|
|
22747
22914
|
|
|
22748
22915
|
/**
|
|
22916
|
+
* ## Description
|
|
22749
22917
|
* * **DetachLogStoreFromEndpointGroup** is an asynchronous operation. After you send a request, the system returns a request ID, but the operation is still being performed in the system background. You can call the [DescribeEndpointGroup](~~153260~~) operation to query the state of an endpoint group.
|
|
22750
22918
|
* * If the endpoint group is in the **updating** state, the Log Service Logstore is being disassociated from the endpoint group. In this case, you can perform only query operations.
|
|
22751
22919
|
* <!---->
|
|
@@ -22797,6 +22965,7 @@ export default class Client extends OpenApi {
|
|
|
22797
22965
|
}
|
|
22798
22966
|
|
|
22799
22967
|
/**
|
|
22968
|
+
* ## Description
|
|
22800
22969
|
* * **DetachLogStoreFromEndpointGroup** is an asynchronous operation. After you send a request, the system returns a request ID, but the operation is still being performed in the system background. You can call the [DescribeEndpointGroup](~~153260~~) operation to query the state of an endpoint group.
|
|
22801
22970
|
* * If the endpoint group is in the **updating** state, the Log Service Logstore is being disassociated from the endpoint group. In this case, you can perform only query operations.
|
|
22802
22971
|
* <!---->
|
|
@@ -22886,6 +23055,7 @@ export default class Client extends OpenApi {
|
|
|
22886
23055
|
}
|
|
22887
23056
|
|
|
22888
23057
|
/**
|
|
23058
|
+
* ## Description
|
|
22889
23059
|
* * **DissociateAclsFromListener** is an asynchronous operation. After you send a request, the system returns a request ID, but the operation is still being performed in the system background. You can call the [DescribeListener](~~153254~~) operation to query the state of a listener:
|
|
22890
23060
|
* * If the listener is in the **updating** state, ACLs are being disassociated from the listener. In this case, you can perform only query operations.
|
|
22891
23061
|
* * If the listener is in the **active** state, ACLs are disassociated from the listener.
|
|
@@ -22936,6 +23106,7 @@ export default class Client extends OpenApi {
|
|
|
22936
23106
|
}
|
|
22937
23107
|
|
|
22938
23108
|
/**
|
|
23109
|
+
* ## Description
|
|
22939
23110
|
* * **DissociateAclsFromListener** is an asynchronous operation. After you send a request, the system returns a request ID, but the operation is still being performed in the system background. You can call the [DescribeListener](~~153254~~) operation to query the state of a listener:
|
|
22940
23111
|
* * If the listener is in the **updating** state, ACLs are being disassociated from the listener. In this case, you can perform only query operations.
|
|
22941
23112
|
* * If the listener is in the **active** state, ACLs are disassociated from the listener.
|
|
@@ -22950,6 +23121,7 @@ export default class Client extends OpenApi {
|
|
|
22950
23121
|
}
|
|
22951
23122
|
|
|
22952
23123
|
/**
|
|
23124
|
+
* ## Description
|
|
22953
23125
|
* * **DissociateAdditionalCertificatesFromListener** is an asynchronous operation. After you send a request, the system returns a request ID, but this operation is still being performed in the system background. You can call the [DescribeListener](~~153254~~) operation to query the state of an HTTPS listener.
|
|
22954
23126
|
* * If the listener is in the **updating** state, it indicates that the additional certificate is being dissociated from the listener. In this case, you can perform only query operations.
|
|
22955
23127
|
* * If the listener is in the **active** state, it indicates that the additional certificate is dissociated from the listener.
|
|
@@ -23000,6 +23172,7 @@ export default class Client extends OpenApi {
|
|
|
23000
23172
|
}
|
|
23001
23173
|
|
|
23002
23174
|
/**
|
|
23175
|
+
* ## Description
|
|
23003
23176
|
* * **DissociateAdditionalCertificatesFromListener** is an asynchronous operation. After you send a request, the system returns a request ID, but this operation is still being performed in the system background. You can call the [DescribeListener](~~153254~~) operation to query the state of an HTTPS listener.
|
|
23004
23177
|
* * If the listener is in the **updating** state, it indicates that the additional certificate is being dissociated from the listener. In this case, you can perform only query operations.
|
|
23005
23178
|
* * If the listener is in the **active** state, it indicates that the additional certificate is dissociated from the listener.
|
|
@@ -24243,6 +24416,14 @@ export default class Client extends OpenApi {
|
|
|
24243
24416
|
return await this.listCustomRoutingEndpointGroupDestinationsWithOptions(request, runtime);
|
|
24244
24417
|
}
|
|
24245
24418
|
|
|
24419
|
+
/**
|
|
24420
|
+
* ## Debugging
|
|
24421
|
+
* [OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code for different SDKs.](https://api.aliyun.com/#product=Ga\\&api=ListCustomRoutingEndpointGroups\\&type=RPC\\&version=2019-11-20)
|
|
24422
|
+
*
|
|
24423
|
+
* @param request ListCustomRoutingEndpointGroupsRequest
|
|
24424
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
24425
|
+
* @return ListCustomRoutingEndpointGroupsResponse
|
|
24426
|
+
*/
|
|
24246
24427
|
async listCustomRoutingEndpointGroupsWithOptions(request: ListCustomRoutingEndpointGroupsRequest, runtime: $Util.RuntimeOptions): Promise<ListCustomRoutingEndpointGroupsResponse> {
|
|
24247
24428
|
Util.validateModel(request);
|
|
24248
24429
|
let query = { };
|
|
@@ -24287,6 +24468,13 @@ export default class Client extends OpenApi {
|
|
|
24287
24468
|
return $tea.cast<ListCustomRoutingEndpointGroupsResponse>(await this.callApi(params, req, runtime), new ListCustomRoutingEndpointGroupsResponse({}));
|
|
24288
24469
|
}
|
|
24289
24470
|
|
|
24471
|
+
/**
|
|
24472
|
+
* ## Debugging
|
|
24473
|
+
* [OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code for different SDKs.](https://api.aliyun.com/#product=Ga\\&api=ListCustomRoutingEndpointGroups\\&type=RPC\\&version=2019-11-20)
|
|
24474
|
+
*
|
|
24475
|
+
* @param request ListCustomRoutingEndpointGroupsRequest
|
|
24476
|
+
* @return ListCustomRoutingEndpointGroupsResponse
|
|
24477
|
+
*/
|
|
24290
24478
|
async listCustomRoutingEndpointGroups(request: ListCustomRoutingEndpointGroupsRequest): Promise<ListCustomRoutingEndpointGroupsResponse> {
|
|
24291
24479
|
let runtime = new $Util.RuntimeOptions({ });
|
|
24292
24480
|
return await this.listCustomRoutingEndpointGroupsWithOptions(request, runtime);
|
|
@@ -24587,6 +24775,14 @@ export default class Client extends OpenApi {
|
|
|
24587
24775
|
return await this.listEndpointGroupIpAddressCidrBlocksWithOptions(request, runtime);
|
|
24588
24776
|
}
|
|
24589
24777
|
|
|
24778
|
+
/**
|
|
24779
|
+
* ## Debugging
|
|
24780
|
+
* [OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.](https://api.aliyun.com/#product=Ga\\&api=ListEndpointGroups\\&type=RPC\\&version=2019-11-20)
|
|
24781
|
+
*
|
|
24782
|
+
* @param request ListEndpointGroupsRequest
|
|
24783
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
24784
|
+
* @return ListEndpointGroupsResponse
|
|
24785
|
+
*/
|
|
24590
24786
|
async listEndpointGroupsWithOptions(request: ListEndpointGroupsRequest, runtime: $Util.RuntimeOptions): Promise<ListEndpointGroupsResponse> {
|
|
24591
24787
|
Util.validateModel(request);
|
|
24592
24788
|
let query = { };
|
|
@@ -24643,13 +24839,20 @@ export default class Client extends OpenApi {
|
|
|
24643
24839
|
return $tea.cast<ListEndpointGroupsResponse>(await this.callApi(params, req, runtime), new ListEndpointGroupsResponse({}));
|
|
24644
24840
|
}
|
|
24645
24841
|
|
|
24842
|
+
/**
|
|
24843
|
+
* ## Debugging
|
|
24844
|
+
* [OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.](https://api.aliyun.com/#product=Ga\\&api=ListEndpointGroups\\&type=RPC\\&version=2019-11-20)
|
|
24845
|
+
*
|
|
24846
|
+
* @param request ListEndpointGroupsRequest
|
|
24847
|
+
* @return ListEndpointGroupsResponse
|
|
24848
|
+
*/
|
|
24646
24849
|
async listEndpointGroups(request: ListEndpointGroupsRequest): Promise<ListEndpointGroupsResponse> {
|
|
24647
24850
|
let runtime = new $Util.RuntimeOptions({ });
|
|
24648
24851
|
return await this.listEndpointGroupsWithOptions(request, runtime);
|
|
24649
24852
|
}
|
|
24650
24853
|
|
|
24651
24854
|
/**
|
|
24652
|
-
* >
|
|
24855
|
+
* > This operation is used to query only custom forwarding rules, not the default forwarding rule.
|
|
24653
24856
|
*
|
|
24654
24857
|
* @param request ListForwardingRulesRequest
|
|
24655
24858
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -24704,7 +24907,7 @@ export default class Client extends OpenApi {
|
|
|
24704
24907
|
}
|
|
24705
24908
|
|
|
24706
24909
|
/**
|
|
24707
|
-
* >
|
|
24910
|
+
* > This operation is used to query only custom forwarding rules, not the default forwarding rule.
|
|
24708
24911
|
*
|
|
24709
24912
|
* @param request ListForwardingRulesRequest
|
|
24710
24913
|
* @return ListForwardingRulesResponse
|
|
@@ -25609,6 +25812,18 @@ export default class Client extends OpenApi {
|
|
|
25609
25812
|
return await this.updateAcceleratorCrossBorderModeWithOptions(request, runtime);
|
|
25610
25813
|
}
|
|
25611
25814
|
|
|
25815
|
+
/**
|
|
25816
|
+
* You can use this operation to enable or disable the cross-border data transmission feature for a GA instance. Before you enable the cross-border data transmission feature, make sure that the following requirements are met:
|
|
25817
|
+
* - **Basic GA instances**:
|
|
25818
|
+
* Cloud Data Transfer (CDT) is activated. When you call the CreateBasicAccelerator operation to create a basic GA instance, set BandwidthBillingType to CDT. Then, the system automatically activates CDT. The data transfer fees are managed by CDT.
|
|
25819
|
+
* If you want to enable the cross-border data transmission feature, make sure that the current account has completed enterprise real-name registration. For more information, see Real-name registration FAQs.
|
|
25820
|
+
* - **Standard GA instances**:
|
|
25821
|
+
* CDT is activated. When you call the CreateAccelerator operation to create a standard GA instance, set BandwidthBillingType to CDT. Then, the system automatically activates CDT. The data transfer fees are managed by CDT.
|
|
25822
|
+
*
|
|
25823
|
+
* @param request UpdateAcceleratorCrossBorderStatusRequest
|
|
25824
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
25825
|
+
* @return UpdateAcceleratorCrossBorderStatusResponse
|
|
25826
|
+
*/
|
|
25612
25827
|
async updateAcceleratorCrossBorderStatusWithOptions(request: UpdateAcceleratorCrossBorderStatusRequest, runtime: $Util.RuntimeOptions): Promise<UpdateAcceleratorCrossBorderStatusResponse> {
|
|
25613
25828
|
Util.validateModel(request);
|
|
25614
25829
|
let query = { };
|
|
@@ -25645,6 +25860,17 @@ export default class Client extends OpenApi {
|
|
|
25645
25860
|
return $tea.cast<UpdateAcceleratorCrossBorderStatusResponse>(await this.callApi(params, req, runtime), new UpdateAcceleratorCrossBorderStatusResponse({}));
|
|
25646
25861
|
}
|
|
25647
25862
|
|
|
25863
|
+
/**
|
|
25864
|
+
* You can use this operation to enable or disable the cross-border data transmission feature for a GA instance. Before you enable the cross-border data transmission feature, make sure that the following requirements are met:
|
|
25865
|
+
* - **Basic GA instances**:
|
|
25866
|
+
* Cloud Data Transfer (CDT) is activated. When you call the CreateBasicAccelerator operation to create a basic GA instance, set BandwidthBillingType to CDT. Then, the system automatically activates CDT. The data transfer fees are managed by CDT.
|
|
25867
|
+
* If you want to enable the cross-border data transmission feature, make sure that the current account has completed enterprise real-name registration. For more information, see Real-name registration FAQs.
|
|
25868
|
+
* - **Standard GA instances**:
|
|
25869
|
+
* CDT is activated. When you call the CreateAccelerator operation to create a standard GA instance, set BandwidthBillingType to CDT. Then, the system automatically activates CDT. The data transfer fees are managed by CDT.
|
|
25870
|
+
*
|
|
25871
|
+
* @param request UpdateAcceleratorCrossBorderStatusRequest
|
|
25872
|
+
* @return UpdateAcceleratorCrossBorderStatusResponse
|
|
25873
|
+
*/
|
|
25648
25874
|
async updateAcceleratorCrossBorderStatus(request: UpdateAcceleratorCrossBorderStatusRequest): Promise<UpdateAcceleratorCrossBorderStatusResponse> {
|
|
25649
25875
|
let runtime = new $Util.RuntimeOptions({ });
|
|
25650
25876
|
return await this.updateAcceleratorCrossBorderStatusWithOptions(request, runtime);
|
|
@@ -26407,6 +26633,7 @@ export default class Client extends OpenApi {
|
|
|
26407
26633
|
}
|
|
26408
26634
|
|
|
26409
26635
|
/**
|
|
26636
|
+
* ## Description
|
|
26410
26637
|
* * **UpdateCustomRoutingEndpoints** is an asynchronous operation. After you send a request, the system returns a request ID, but the operation is still being performed in the system background. You can call the [DescribeCustomRoutingEndpointGroup](~~449373~~) operation to query the state of the endpoint groups associated with a custom routing listener to check whether the endpoints in the endpoint groups are modified.
|
|
26411
26638
|
* * If an endpoint group is in the **updating** state, the endpoints in the endpoint group are being modified. In this case, you can perform only query operations.
|
|
26412
26639
|
* * If an endpoint group is in the **active** state, the endpoints in the endpoint group are modified.
|
|
@@ -26453,6 +26680,7 @@ export default class Client extends OpenApi {
|
|
|
26453
26680
|
}
|
|
26454
26681
|
|
|
26455
26682
|
/**
|
|
26683
|
+
* ## Description
|
|
26456
26684
|
* * **UpdateCustomRoutingEndpoints** is an asynchronous operation. After you send a request, the system returns a request ID, but the operation is still being performed in the system background. You can call the [DescribeCustomRoutingEndpointGroup](~~449373~~) operation to query the state of the endpoint groups associated with a custom routing listener to check whether the endpoints in the endpoint groups are modified.
|
|
26457
26685
|
* * If an endpoint group is in the **updating** state, the endpoints in the endpoint group are being modified. In this case, you can perform only query operations.
|
|
26458
26686
|
* * If an endpoint group is in the **active** state, the endpoints in the endpoint group are modified.
|
|
@@ -26568,9 +26796,9 @@ export default class Client extends OpenApi {
|
|
|
26568
26796
|
|
|
26569
26797
|
/**
|
|
26570
26798
|
* * **UpdateEndpointGroup** is an asynchronous operation. After you send a request, the system returns a request ID, but the operation is still being performed in the system background. You can call the [DescribeEndpointGroup](~~153260~~) operation to query the state of an endpoint group.
|
|
26571
|
-
* * If the endpoint group is in the **updating** state, the configurations of the endpoint group are being modified. In this case, you can perform only query operations.
|
|
26572
|
-
* * If the endpoint group is in the **active** state, the configurations of the endpoint group are modified.
|
|
26573
|
-
* * The **UpdateEndpointGroup** operation cannot be repeatedly called for the same GA instance within a specific period of time.
|
|
26799
|
+
* * If the endpoint group is in the **updating** state, it indicates that the configurations of the endpoint group are being modified. In this case, you can perform only query operations.
|
|
26800
|
+
* * If the endpoint group is in the **active** state, it indicates that the configurations of the endpoint group are modified.
|
|
26801
|
+
* * The **UpdateEndpointGroup** operation cannot be repeatedly called for the same Global Accelerator (GA) instance within a specific period of time.
|
|
26574
26802
|
*
|
|
26575
26803
|
* @param request UpdateEndpointGroupRequest
|
|
26576
26804
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -26662,9 +26890,9 @@ export default class Client extends OpenApi {
|
|
|
26662
26890
|
|
|
26663
26891
|
/**
|
|
26664
26892
|
* * **UpdateEndpointGroup** is an asynchronous operation. After you send a request, the system returns a request ID, but the operation is still being performed in the system background. You can call the [DescribeEndpointGroup](~~153260~~) operation to query the state of an endpoint group.
|
|
26665
|
-
* * If the endpoint group is in the **updating** state, the configurations of the endpoint group are being modified. In this case, you can perform only query operations.
|
|
26666
|
-
* * If the endpoint group is in the **active** state, the configurations of the endpoint group are modified.
|
|
26667
|
-
* * The **UpdateEndpointGroup** operation cannot be repeatedly called for the same GA instance within a specific period of time.
|
|
26893
|
+
* * If the endpoint group is in the **updating** state, it indicates that the configurations of the endpoint group are being modified. In this case, you can perform only query operations.
|
|
26894
|
+
* * If the endpoint group is in the **active** state, it indicates that the configurations of the endpoint group are modified.
|
|
26895
|
+
* * The **UpdateEndpointGroup** operation cannot be repeatedly called for the same Global Accelerator (GA) instance within a specific period of time.
|
|
26668
26896
|
*
|
|
26669
26897
|
* @param request UpdateEndpointGroupRequest
|
|
26670
26898
|
* @return UpdateEndpointGroupResponse
|
|
@@ -26720,10 +26948,11 @@ export default class Client extends OpenApi {
|
|
|
26720
26948
|
}
|
|
26721
26949
|
|
|
26722
26950
|
/**
|
|
26723
|
-
*
|
|
26724
|
-
*
|
|
26725
|
-
* * If the endpoint group is in the **
|
|
26726
|
-
*
|
|
26951
|
+
* ### Description
|
|
26952
|
+
* * **UpdateEndpointGroups** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [DescribeEndpointGroup](~~153260~~) or [ListEndpointGroups](~~153261~~) operation to query the status of an endpoint group.
|
|
26953
|
+
* * If the endpoint group is in the **updating** state, it indicates that the configuration of the endpoint group is being modified. In this case, you can perform only query operations.
|
|
26954
|
+
* * If the endpoint group is in the **active** state, it indicates that the configuration of the endpoint group is modified.
|
|
26955
|
+
* * The **UpdateEndpointGroups** operation holds an exclusive lock on the Global Accelerator (GA) instance. While the operation is in progress, you cannot call the same operation in the same Alibaba Cloud account.
|
|
26727
26956
|
*
|
|
26728
26957
|
* @param request UpdateEndpointGroupsRequest
|
|
26729
26958
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -26770,10 +26999,11 @@ export default class Client extends OpenApi {
|
|
|
26770
26999
|
}
|
|
26771
27000
|
|
|
26772
27001
|
/**
|
|
26773
|
-
*
|
|
26774
|
-
*
|
|
26775
|
-
* * If the endpoint group is in the **
|
|
26776
|
-
*
|
|
27002
|
+
* ### Description
|
|
27003
|
+
* * **UpdateEndpointGroups** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [DescribeEndpointGroup](~~153260~~) or [ListEndpointGroups](~~153261~~) operation to query the status of an endpoint group.
|
|
27004
|
+
* * If the endpoint group is in the **updating** state, it indicates that the configuration of the endpoint group is being modified. In this case, you can perform only query operations.
|
|
27005
|
+
* * If the endpoint group is in the **active** state, it indicates that the configuration of the endpoint group is modified.
|
|
27006
|
+
* * The **UpdateEndpointGroups** operation holds an exclusive lock on the Global Accelerator (GA) instance. While the operation is in progress, you cannot call the same operation in the same Alibaba Cloud account.
|
|
26777
27007
|
*
|
|
26778
27008
|
* @param request UpdateEndpointGroupsRequest
|
|
26779
27009
|
* @return UpdateEndpointGroupsResponse
|
|
@@ -27059,6 +27289,17 @@ export default class Client extends OpenApi {
|
|
|
27059
27289
|
return await this.updateListenerWithOptions(request, runtime);
|
|
27060
27290
|
}
|
|
27061
27291
|
|
|
27292
|
+
/**
|
|
27293
|
+
* * This operation is applicable only to **managed** Global Accelerator (GA) instances.
|
|
27294
|
+
* * 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.
|
|
27295
|
+
* * 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.
|
|
27296
|
+
* **
|
|
27297
|
+
* **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.
|
|
27298
|
+
*
|
|
27299
|
+
* @param request UpdateServiceManagedControlRequest
|
|
27300
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
27301
|
+
* @return UpdateServiceManagedControlResponse
|
|
27302
|
+
*/
|
|
27062
27303
|
async updateServiceManagedControlWithOptions(request: UpdateServiceManagedControlRequest, runtime: $Util.RuntimeOptions): Promise<UpdateServiceManagedControlResponse> {
|
|
27063
27304
|
Util.validateModel(request);
|
|
27064
27305
|
let query = { };
|
|
@@ -27099,6 +27340,16 @@ export default class Client extends OpenApi {
|
|
|
27099
27340
|
return $tea.cast<UpdateServiceManagedControlResponse>(await this.callApi(params, req, runtime), new UpdateServiceManagedControlResponse({}));
|
|
27100
27341
|
}
|
|
27101
27342
|
|
|
27343
|
+
/**
|
|
27344
|
+
* * This operation is applicable only to **managed** Global Accelerator (GA) instances.
|
|
27345
|
+
* * 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.
|
|
27346
|
+
* * 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.
|
|
27347
|
+
* **
|
|
27348
|
+
* **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.
|
|
27349
|
+
*
|
|
27350
|
+
* @param request UpdateServiceManagedControlRequest
|
|
27351
|
+
* @return UpdateServiceManagedControlResponse
|
|
27352
|
+
*/
|
|
27102
27353
|
async updateServiceManagedControl(request: UpdateServiceManagedControlRequest): Promise<UpdateServiceManagedControlResponse> {
|
|
27103
27354
|
let runtime = new $Util.RuntimeOptions({ });
|
|
27104
27355
|
return await this.updateServiceManagedControlWithOptions(request, runtime);
|