tencentcloud-sdk-nodejs-gaap 4.1.134 → 4.1.172
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/package.json
CHANGED
|
@@ -225,11 +225,11 @@ export interface DescribeListenerStatisticsRequest {
|
|
|
225
225
|
*/
|
|
226
226
|
export interface DescribeProxyAndStatisticsListenersResponse {
|
|
227
227
|
/**
|
|
228
|
-
*
|
|
228
|
+
* <p>可以统计的通道信息</p>
|
|
229
229
|
*/
|
|
230
230
|
ProxySet: Array<ProxySimpleInfo>;
|
|
231
231
|
/**
|
|
232
|
-
*
|
|
232
|
+
* <p>通道数量</p>
|
|
233
233
|
*/
|
|
234
234
|
TotalCount: number;
|
|
235
235
|
/**
|
|
@@ -436,7 +436,7 @@ export interface SetAuthenticationResponse {
|
|
|
436
436
|
*/
|
|
437
437
|
export interface DescribeProxyGroupStatisticsResponse {
|
|
438
438
|
/**
|
|
439
|
-
*
|
|
439
|
+
* <p>通道组统计数据</p>
|
|
440
440
|
*/
|
|
441
441
|
StatisticsData: Array<MetricStatisticsInfo>;
|
|
442
442
|
/**
|
|
@@ -500,35 +500,35 @@ export interface BandwidthPriceGradient {
|
|
|
500
500
|
*/
|
|
501
501
|
export interface DescribeHTTPListenersRequest {
|
|
502
502
|
/**
|
|
503
|
-
*
|
|
503
|
+
* <p>通道ID。ListenerId、ProxyId、GroupId须至少填写一个,且ProxyId与GroupId至多只能填写其中一个。</p>
|
|
504
504
|
*/
|
|
505
505
|
ProxyId?: string;
|
|
506
506
|
/**
|
|
507
|
-
*
|
|
507
|
+
* <p>通道组ID。ListenerId、ProxyId、GroupId须至少填写一个,且ProxyId与GroupId至多只能填写其中一个。</p>
|
|
508
508
|
*/
|
|
509
509
|
GroupId?: string;
|
|
510
510
|
/**
|
|
511
|
-
*
|
|
511
|
+
* <p>过滤条件,按照监听器ID进行精确查询。ListenerId、ProxyId、GroupId须至少填写一个,且ProxyId与GroupId至多只能填写其中一个。</p>
|
|
512
512
|
*/
|
|
513
513
|
ListenerId?: string;
|
|
514
514
|
/**
|
|
515
|
-
*
|
|
515
|
+
* <p>过滤条件,按照监听器名称进行精确查询</p>
|
|
516
516
|
*/
|
|
517
517
|
ListenerName?: string;
|
|
518
518
|
/**
|
|
519
|
-
*
|
|
519
|
+
* <p>过滤条件,按照监听器端口进行精确查询</p>
|
|
520
520
|
*/
|
|
521
521
|
Port?: number;
|
|
522
522
|
/**
|
|
523
|
-
*
|
|
523
|
+
* <p>偏移量,默认为0</p>
|
|
524
524
|
*/
|
|
525
525
|
Offset?: number;
|
|
526
526
|
/**
|
|
527
|
-
*
|
|
527
|
+
* <p>限制数量,默认为20个</p>
|
|
528
528
|
*/
|
|
529
529
|
Limit?: number;
|
|
530
530
|
/**
|
|
531
|
-
*
|
|
531
|
+
* <p>过滤条件,支持按照端口或监听器名称进行模糊查询,该参数不能与ListenerName和Port同时使用</p>
|
|
532
532
|
*/
|
|
533
533
|
SearchValue?: string;
|
|
534
534
|
}
|
|
@@ -628,26 +628,23 @@ export interface DescribeListenerRealServersRequest {
|
|
|
628
628
|
*/
|
|
629
629
|
export interface DescribeProxyGroupStatisticsRequest {
|
|
630
630
|
/**
|
|
631
|
-
*
|
|
631
|
+
* <p>通道组ID</p>
|
|
632
632
|
*/
|
|
633
633
|
GroupId: string;
|
|
634
634
|
/**
|
|
635
|
-
*
|
|
635
|
+
* <p>起始时间</p>
|
|
636
636
|
*/
|
|
637
637
|
StartTime: string;
|
|
638
638
|
/**
|
|
639
|
-
*
|
|
639
|
+
* <p>结束时间</p>
|
|
640
640
|
*/
|
|
641
641
|
EndTime: string;
|
|
642
642
|
/**
|
|
643
|
-
*
|
|
643
|
+
* <p>统计指标名称列表,支持: 入带宽:InBandwidth, 出带宽:OutBandwidth, 并发:Concurrent, 入包量:InPackets, 出包量:OutPackets</p>
|
|
644
644
|
*/
|
|
645
645
|
MetricNames: Array<string>;
|
|
646
646
|
/**
|
|
647
|
-
*
|
|
648
|
-
当时间范围不超过1天,支持最小粒度60秒;
|
|
649
|
-
当时间范围不超过7天,支持最小粒度3600秒;
|
|
650
|
-
当时间范围不超过30天,支持最小粒度86400秒。
|
|
647
|
+
* <p>监控粒度,目前支持60,300,3600,86400,单位:秒。当时间范围不超过1天,支持最小粒度60秒;当时间范围不超过7天,支持最小粒度3600秒;当时间范围不超过30天,支持最小粒度86400秒。</p>
|
|
651
648
|
*/
|
|
652
649
|
Granularity: number;
|
|
653
650
|
}
|
|
@@ -722,7 +719,7 @@ export type DescribeCountryAreaMappingRequest = null;
|
|
|
722
719
|
*/
|
|
723
720
|
export interface CheckProxyCreateResponse {
|
|
724
721
|
/**
|
|
725
|
-
*
|
|
722
|
+
* <p>查询能否创建给定配置的通道,1可以创建,0不可创建。</p>
|
|
726
723
|
*/
|
|
727
724
|
CheckFlag?: number;
|
|
728
725
|
/**
|
|
@@ -815,15 +812,15 @@ export interface DescribeRulesResponse {
|
|
|
815
812
|
*/
|
|
816
813
|
export interface DescribeProxiesResponse {
|
|
817
814
|
/**
|
|
818
|
-
*
|
|
815
|
+
* <p>通道个数。</p>
|
|
819
816
|
*/
|
|
820
817
|
TotalCount?: number;
|
|
821
818
|
/**
|
|
822
|
-
*
|
|
819
|
+
* <p>(旧参数,请切换到ProxySet)通道实例信息列表。</p>
|
|
823
820
|
*/
|
|
824
821
|
InstanceSet?: Array<ProxyInfo>;
|
|
825
822
|
/**
|
|
826
|
-
*
|
|
823
|
+
* <p>(新参数)通道实例信息列表。</p>
|
|
827
824
|
*/
|
|
828
825
|
ProxySet?: Array<ProxyInfo>;
|
|
829
826
|
/**
|
|
@@ -836,7 +833,7 @@ export interface DescribeProxiesResponse {
|
|
|
836
833
|
*/
|
|
837
834
|
export interface CreateRuleResponse {
|
|
838
835
|
/**
|
|
839
|
-
*
|
|
836
|
+
* <p>创建转发规则成功返回规则ID</p>
|
|
840
837
|
*/
|
|
841
838
|
RuleId?: string;
|
|
842
839
|
/**
|
|
@@ -889,7 +886,7 @@ export interface CreateGlobalDomainDnsResponse {
|
|
|
889
886
|
*/
|
|
890
887
|
export interface CreateDomainErrorPageInfoResponse {
|
|
891
888
|
/**
|
|
892
|
-
*
|
|
889
|
+
* <p>错误定制响应的配置ID</p>
|
|
893
890
|
*/
|
|
894
891
|
ErrorPageId?: string;
|
|
895
892
|
/**
|
|
@@ -902,11 +899,11 @@ export interface CreateDomainErrorPageInfoResponse {
|
|
|
902
899
|
*/
|
|
903
900
|
export interface BindListenerRealServersRequest {
|
|
904
901
|
/**
|
|
905
|
-
*
|
|
902
|
+
* <p>监听器ID</p>
|
|
906
903
|
*/
|
|
907
904
|
ListenerId: string;
|
|
908
905
|
/**
|
|
909
|
-
*
|
|
906
|
+
* <p>待绑定源站列表。如果该监听器的源站调度策略是加权轮询,需要填写源站权重 RealServerWeight, 不填或者其他调度类型默认源站权重为1。</p>
|
|
910
907
|
*/
|
|
911
908
|
RealServerBindSet?: Array<RealServerBindSetReq>;
|
|
912
909
|
}
|
|
@@ -915,30 +912,27 @@ export interface BindListenerRealServersRequest {
|
|
|
915
912
|
*/
|
|
916
913
|
export interface ModifyProxyConfigurationRequest {
|
|
917
914
|
/**
|
|
918
|
-
*
|
|
915
|
+
* <p>(旧参数,请切换到ProxyId)通道的实例ID。</p>
|
|
919
916
|
*/
|
|
920
917
|
InstanceId?: string;
|
|
921
918
|
/**
|
|
922
|
-
*
|
|
923
|
-
Bandwidth与Concurrent必须至少设置一个。取值范围根据DescribeAccessRegionsByDestRegion接口获取得到
|
|
919
|
+
* <p>需要调整到的目标带宽,单位:Mbps。Bandwidth与Concurrent必须至少设置一个。取值范围根据DescribeAccessRegionsByDestRegion接口获取得到</p>
|
|
924
920
|
*/
|
|
925
921
|
Bandwidth?: number;
|
|
926
922
|
/**
|
|
927
|
-
*
|
|
928
|
-
Bandwidth与Concurrent必须至少设置一个。取值范围根据DescribeAccessRegionsByDestRegion接口获取得到
|
|
923
|
+
* <p>需要调整到的目标并发值,单位:万。Bandwidth与Concurrent必须至少设置一个。取值范围根据DescribeAccessRegionsByDestRegion接口获取得到</p>
|
|
929
924
|
*/
|
|
930
925
|
Concurrent?: number;
|
|
931
926
|
/**
|
|
932
|
-
*
|
|
933
|
-
更多详细信息请参阅:如何保证幂等性。
|
|
927
|
+
* <p>用于保证请求幂等性的字符串。该字符串由客户生成,需保证不同请求之间唯一,最大值不超过64个ASCII字符。若不指定该参数,则无法保证请求的幂等性。更多详细信息请参阅:如何保证幂等性。</p>
|
|
934
928
|
*/
|
|
935
929
|
ClientToken?: string;
|
|
936
930
|
/**
|
|
937
|
-
*
|
|
931
|
+
* <p>(新参数)通道的实例ID。</p>
|
|
938
932
|
*/
|
|
939
933
|
ProxyId?: string;
|
|
940
934
|
/**
|
|
941
|
-
*
|
|
935
|
+
* <p>计费方式 (0:按带宽计费,1:按流量计费 默认按带宽计费)</p>
|
|
942
936
|
*/
|
|
943
937
|
BillingType?: number;
|
|
944
938
|
}
|
|
@@ -1294,7 +1288,7 @@ export interface DescribeSecurityPolicyDetailResponse {
|
|
|
1294
1288
|
*/
|
|
1295
1289
|
export interface CreateHTTPListenerResponse {
|
|
1296
1290
|
/**
|
|
1297
|
-
*
|
|
1291
|
+
* <p>创建的监听器ID</p>
|
|
1298
1292
|
*/
|
|
1299
1293
|
ListenerId?: string;
|
|
1300
1294
|
/**
|
|
@@ -1316,35 +1310,35 @@ export interface DeleteGlobalDomainDnsResponse {
|
|
|
1316
1310
|
*/
|
|
1317
1311
|
export interface CreateProxyGroupRequest {
|
|
1318
1312
|
/**
|
|
1319
|
-
*
|
|
1313
|
+
* <p>通道组所属项目ID</p>
|
|
1320
1314
|
*/
|
|
1321
1315
|
ProjectId: number;
|
|
1322
1316
|
/**
|
|
1323
|
-
*
|
|
1317
|
+
* <p>通道组别名</p>
|
|
1324
1318
|
*/
|
|
1325
1319
|
GroupName: string;
|
|
1326
1320
|
/**
|
|
1327
|
-
*
|
|
1321
|
+
* <p>源站地域,参考接口 [https://cloud.tencent.com/document/api/608/36964] 返回参数RegionDetail中的RegionId</p>
|
|
1328
1322
|
*/
|
|
1329
1323
|
RealServerRegion: string;
|
|
1330
1324
|
/**
|
|
1331
|
-
*
|
|
1325
|
+
* <p>标签列表</p>
|
|
1332
1326
|
*/
|
|
1333
1327
|
TagSet?: Array<TagPair>;
|
|
1334
1328
|
/**
|
|
1335
|
-
*
|
|
1329
|
+
* <p>加速地域列表,包括加速地域名,及该地域对应的带宽和并发配置。</p>
|
|
1336
1330
|
*/
|
|
1337
1331
|
AccessRegionSet?: Array<AccessConfiguration>;
|
|
1338
1332
|
/**
|
|
1339
|
-
* IP版本,可取值:IPv4、IPv6,默认值IPv4
|
|
1333
|
+
* <p>IP版本,可取值:IPv4、IPv6,默认值IPv4</p>
|
|
1340
1334
|
*/
|
|
1341
1335
|
IPAddressVersion?: string;
|
|
1342
1336
|
/**
|
|
1343
|
-
*
|
|
1337
|
+
* <p>通道组套餐类型,可取值:Thunder、Accelerator,默认值Thunder</p>
|
|
1344
1338
|
*/
|
|
1345
1339
|
PackageType?: string;
|
|
1346
1340
|
/**
|
|
1347
|
-
*
|
|
1341
|
+
* <p>该字段已废弃,当IPAddressVersion为IPv4时,所创建的通道组默认支持Http3.0;当为IPv6,默认不支持Http3.0。</p>
|
|
1348
1342
|
*/
|
|
1349
1343
|
Http3Supported?: number;
|
|
1350
1344
|
}
|
|
@@ -1607,7 +1601,7 @@ export interface ModifyGlobalDomainAttributeResponse {
|
|
|
1607
1601
|
*/
|
|
1608
1602
|
export interface DescribeProxyAndStatisticsListenersRequest {
|
|
1609
1603
|
/**
|
|
1610
|
-
*
|
|
1604
|
+
* <p>项目ID</p>
|
|
1611
1605
|
*/
|
|
1612
1606
|
ProjectId: number;
|
|
1613
1607
|
}
|
|
@@ -1702,57 +1696,39 @@ export interface DescribeDomainErrorPageInfoByIdsResponse {
|
|
|
1702
1696
|
*/
|
|
1703
1697
|
export interface DescribeProxiesRequest {
|
|
1704
1698
|
/**
|
|
1705
|
-
*
|
|
1699
|
+
* <p>(旧参数,请切换到ProxyIds)按照一个或者多个实例ID查询。每次请求的实例的上限为100。参数不支持同时指定InstanceIds和Filters。</p>
|
|
1706
1700
|
*/
|
|
1707
1701
|
InstanceIds?: Array<string>;
|
|
1708
1702
|
/**
|
|
1709
|
-
*
|
|
1703
|
+
* <p>偏移量,默认为0。</p>
|
|
1710
1704
|
*/
|
|
1711
1705
|
Offset?: number;
|
|
1712
1706
|
/**
|
|
1713
|
-
*
|
|
1707
|
+
* <p>返回数量,默认为20,最大值为100。</p>
|
|
1714
1708
|
*/
|
|
1715
1709
|
Limit?: number;
|
|
1716
1710
|
/**
|
|
1717
|
-
*
|
|
1718
|
-
每次请求的Filters的上限为10,Filter.Values的上限为5。参数不支持同时指定InstanceIds和Filters。
|
|
1719
|
-
ProjectId - String - 是否必填:否 -(过滤条件)按照项目ID过滤。
|
|
1720
|
-
AccessRegion - String - 是否必填:否 - (过滤条件)按照接入地域过滤。
|
|
1721
|
-
RealServerRegion - String - 是否必填:否 - (过滤条件)按照源站地域过滤。
|
|
1722
|
-
GroupId - String - 是否必填:否 - (过滤条件)按照通道组ID过滤。
|
|
1723
|
-
IPAddressVersion - String - 是否必填:否 - (过滤条件)按照IP版本过滤。
|
|
1724
|
-
PackageType - String - 是否必填:否 - (过滤条件)按照通道套餐类型过滤。
|
|
1711
|
+
* <p>过滤条件。 <br />每次请求的Filters的上限为10,Filter.Values的上限为5。参数不支持同时指定InstanceIds和Filters。 ProjectId - String - 是否必填:否 -(过滤条件)按照项目ID过滤。 <br />AccessRegion - String - 是否必填:否 - (过滤条件)按照接入地域过滤。 <br />RealServerRegion - String - 是否必填:否 - (过滤条件)按照源站地域过滤。GroupId - String - 是否必填:否 - (过滤条件)按照通道组ID过滤。IPAddressVersion - String - 是否必填:否 - (过滤条件)按照IP版本过滤。PackageType - String - 是否必填:否 - (过滤条件)按照通道套餐类型过滤。</p>
|
|
1725
1712
|
*/
|
|
1726
1713
|
Filters?: Array<Filter>;
|
|
1727
1714
|
/**
|
|
1728
|
-
*
|
|
1715
|
+
* <p>(新参数,替代InstanceIds)按照一个或者多个实例ID查询。每次请求的实例的上限为100。参数不支持同时指定InstanceIds和Filters。</p>
|
|
1729
1716
|
*/
|
|
1730
1717
|
ProxyIds?: Array<string>;
|
|
1731
1718
|
/**
|
|
1732
|
-
*
|
|
1733
|
-
最多支持5个标签,当存在两个或两个以上的标签时,满足其中任意一个标签时,通道会被拉取出来。
|
|
1719
|
+
* <p>标签列表,当存在该字段时,拉取对应标签下的资源列表。最多支持5个标签,当存在两个或两个以上的标签时,满足其中任意一个标签时,通道会被拉取出来。</p>
|
|
1734
1720
|
*/
|
|
1735
1721
|
TagSet?: Array<TagPair>;
|
|
1736
1722
|
/**
|
|
1737
|
-
*
|
|
1738
|
-
当该字段为0时,仅拉取通道组的通道,
|
|
1739
|
-
不存在该字段时,拉取所有通道,包括独立通道和通道组通道。
|
|
1723
|
+
* <p>当该字段为1时,仅拉取非通道组的通道,当该字段为0时,仅拉取通道组的通道,不存在该字段时,拉取所有通道,包括独立通道和通道组通道。</p>
|
|
1740
1724
|
*/
|
|
1741
1725
|
Independent?: number;
|
|
1742
1726
|
/**
|
|
1743
|
-
*
|
|
1744
|
-
asc:升序排列;
|
|
1745
|
-
desc:降序排列。
|
|
1746
|
-
默认为降序。
|
|
1727
|
+
* <p>输出通道列表的排列顺序。取值范围:asc:升序排列;desc:降序排列。默认为降序。</p>
|
|
1747
1728
|
*/
|
|
1748
1729
|
Order?: string;
|
|
1749
1730
|
/**
|
|
1750
|
-
*
|
|
1751
|
-
create_time:依据通道的创建时间排序;
|
|
1752
|
-
proxy_id:依据通道的ID排序;
|
|
1753
|
-
bandwidth:依据通道带宽上限排序;
|
|
1754
|
-
concurrent_connections:依据通道并发排序;
|
|
1755
|
-
默认按通道创建时间排序。
|
|
1731
|
+
* <p>通道列表排序的依据字段。取值范围:create_time:依据通道的创建时间排序;proxy_id:依据通道的ID排序;bandwidth:依据通道带宽上限排序;concurrent_connections:依据通道并发排序;默认按通道创建时间排序。</p>
|
|
1756
1732
|
*/
|
|
1757
1733
|
OrderField?: string;
|
|
1758
1734
|
}
|
|
@@ -2083,26 +2059,19 @@ export type DescribeAccessRegionsRequest = null;
|
|
|
2083
2059
|
*/
|
|
2084
2060
|
export interface CreateCertificateRequest {
|
|
2085
2061
|
/**
|
|
2086
|
-
*
|
|
2087
|
-
0,表示基础认证配置;
|
|
2088
|
-
1,表示客户端CA证书;
|
|
2089
|
-
2,服务器SSL证书;
|
|
2090
|
-
3,表示源站CA证书;
|
|
2091
|
-
4,表示通道SSL证书。
|
|
2062
|
+
* <p>证书类型。其中:0,表示基础认证配置;1,表示客户端CA证书;2,服务器SSL证书;3,表示源站CA证书;4,表示通道SSL证书。</p>
|
|
2092
2063
|
*/
|
|
2093
2064
|
CertificateType: number;
|
|
2094
2065
|
/**
|
|
2095
|
-
*
|
|
2096
|
-
当证书类型为基础认证配置时,该参数填写用户名/密码对。格式:“用户名:密码”,例如:root:FSGdT。其中密码使用htpasswd或者openssl,例如:openssl passwd -crypt 123456。
|
|
2097
|
-
当证书类型为CA/SSL证书时,该参数填写证书内容,格式为pem。
|
|
2066
|
+
* <p>证书内容。采用url编码。其中:当证书类型为基础认证配置时,该参数填写用户名/密码对。格式:“用户名:密码”,例如:root:FSGdT。其中密码使用htpasswd或者openssl,例如:openssl passwd -crypt 123456。当证书类型为CA/SSL证书时,该参数填写证书内容,格式为pem。</p>
|
|
2098
2067
|
*/
|
|
2099
2068
|
CertificateContent: string;
|
|
2100
2069
|
/**
|
|
2101
|
-
*
|
|
2070
|
+
* <p>证书名称</p>
|
|
2102
2071
|
*/
|
|
2103
2072
|
CertificateAlias?: string;
|
|
2104
2073
|
/**
|
|
2105
|
-
*
|
|
2074
|
+
* <p>密钥内容。采用url编码。仅当证书类型为SSL证书时,需要填写该参数。格式为pem。</p>
|
|
2106
2075
|
*/
|
|
2107
2076
|
CertificateKey?: string;
|
|
2108
2077
|
}
|
|
@@ -2133,11 +2102,11 @@ export interface DescribeCustomHeaderRequest {
|
|
|
2133
2102
|
*/
|
|
2134
2103
|
export interface DescribeProxyGroupListResponse {
|
|
2135
2104
|
/**
|
|
2136
|
-
*
|
|
2105
|
+
* <p>通道组总数。</p>
|
|
2137
2106
|
*/
|
|
2138
2107
|
TotalCount?: number;
|
|
2139
2108
|
/**
|
|
2140
|
-
*
|
|
2109
|
+
* <p>通道组列表。</p>
|
|
2141
2110
|
*/
|
|
2142
2111
|
ProxyGroupList?: Array<ProxyGroupInfo>;
|
|
2143
2112
|
/**
|
|
@@ -2256,19 +2225,19 @@ export interface ModifyCertificateAttributesRequest {
|
|
|
2256
2225
|
*/
|
|
2257
2226
|
export interface ModifyGlobalDomainDnsRequest {
|
|
2258
2227
|
/**
|
|
2259
|
-
*
|
|
2228
|
+
* <p>解析记录ID</p>
|
|
2260
2229
|
*/
|
|
2261
2230
|
DnsRecordId: number;
|
|
2262
2231
|
/**
|
|
2263
|
-
*
|
|
2232
|
+
* <p>域名ID</p>
|
|
2264
2233
|
*/
|
|
2265
2234
|
DomainId: string;
|
|
2266
2235
|
/**
|
|
2267
|
-
*
|
|
2236
|
+
* <p>国家ID列表</p>
|
|
2268
2237
|
*/
|
|
2269
2238
|
NationCountryInnerCodes: Array<string>;
|
|
2270
2239
|
/**
|
|
2271
|
-
*
|
|
2240
|
+
* <p>通道ID列表</p>
|
|
2272
2241
|
*/
|
|
2273
2242
|
ProxyIdList: Array<string>;
|
|
2274
2243
|
}
|
|
@@ -2327,47 +2296,47 @@ export interface DescribeProxiesStatusRequest {
|
|
|
2327
2296
|
*/
|
|
2328
2297
|
export interface ModifyTCPListenerAttributeRequest {
|
|
2329
2298
|
/**
|
|
2330
|
-
*
|
|
2299
|
+
* <p>监听器ID</p>
|
|
2331
2300
|
*/
|
|
2332
2301
|
ListenerId: string;
|
|
2333
2302
|
/**
|
|
2334
|
-
*
|
|
2303
|
+
* <p>通道组ID,ProxyId和GroupId必须设置一个,但不能同时设置。</p>
|
|
2335
2304
|
*/
|
|
2336
2305
|
GroupId?: string;
|
|
2337
2306
|
/**
|
|
2338
|
-
*
|
|
2307
|
+
* <p>通道ID,ProxyId和GroupId必须设置一个,但不能同时设置。</p>
|
|
2339
2308
|
*/
|
|
2340
2309
|
ProxyId?: string;
|
|
2341
2310
|
/**
|
|
2342
|
-
*
|
|
2311
|
+
* <p>监听器名称</p>
|
|
2343
2312
|
*/
|
|
2344
2313
|
ListenerName?: string;
|
|
2345
2314
|
/**
|
|
2346
|
-
*
|
|
2315
|
+
* <p>监听器源站访问策略,其中:rr表示轮询;wrr表示加权轮询;lc表示最小连接数;lrtt表示最小时延。注意:lrtt需要开通白名单;RealServerType 为 DOMAIN 不支持wrr 和 lrtt。</p>
|
|
2347
2316
|
*/
|
|
2348
2317
|
Scheduler?: string;
|
|
2349
2318
|
/**
|
|
2350
|
-
*
|
|
2319
|
+
* <p>源站健康检查时间间隔,单位:秒。时间间隔取值在[5,300]之间。</p>
|
|
2351
2320
|
*/
|
|
2352
2321
|
DelayLoop?: number;
|
|
2353
2322
|
/**
|
|
2354
|
-
*
|
|
2323
|
+
* <p>源站健康检查响应超时时间,单位:秒。超时时间取值在[2,60]之间。超时时间应小于健康检查时间间隔DelayLoop。</p>
|
|
2355
2324
|
*/
|
|
2356
2325
|
ConnectTimeout?: number;
|
|
2357
2326
|
/**
|
|
2358
|
-
*
|
|
2327
|
+
* <p>是否开启健康检查,1开启,0关闭。</p>
|
|
2359
2328
|
*/
|
|
2360
2329
|
HealthCheck?: number;
|
|
2361
2330
|
/**
|
|
2362
|
-
*
|
|
2331
|
+
* <p>源站是否开启主备模式:1开启,0关闭,DOMAIN类型源站不支持开启</p>
|
|
2363
2332
|
*/
|
|
2364
2333
|
FailoverSwitch?: number;
|
|
2365
2334
|
/**
|
|
2366
|
-
*
|
|
2335
|
+
* <p>健康阈值,表示连续检查成功多少次数后认定源站健康。范围为1到10</p>
|
|
2367
2336
|
*/
|
|
2368
2337
|
HealthyThreshold?: number;
|
|
2369
2338
|
/**
|
|
2370
|
-
*
|
|
2339
|
+
* <p>不健康阈值,表示连续检查失败次数后认定源站不健康。范围为1到10</p>
|
|
2371
2340
|
*/
|
|
2372
2341
|
UnhealthyThreshold?: number;
|
|
2373
2342
|
}
|
|
@@ -2933,52 +2902,51 @@ export interface CreateDomainRequest {
|
|
|
2933
2902
|
*/
|
|
2934
2903
|
export interface CreateRuleRequest {
|
|
2935
2904
|
/**
|
|
2936
|
-
* 7层监听器ID
|
|
2905
|
+
* <p>7层监听器ID</p>
|
|
2937
2906
|
*/
|
|
2938
2907
|
ListenerId: string;
|
|
2939
2908
|
/**
|
|
2940
|
-
*
|
|
2909
|
+
* <p>转发规则的域名</p>
|
|
2941
2910
|
*/
|
|
2942
2911
|
Domain: string;
|
|
2943
2912
|
/**
|
|
2944
|
-
*
|
|
2913
|
+
* <p>转发规则的路径</p>
|
|
2945
2914
|
*/
|
|
2946
2915
|
Path: string;
|
|
2947
2916
|
/**
|
|
2948
|
-
*
|
|
2917
|
+
* <p>转发规则对应源站的类型,支持IP和DOMAIN类型。</p>
|
|
2949
2918
|
*/
|
|
2950
2919
|
RealServerType: string;
|
|
2951
2920
|
/**
|
|
2952
|
-
*
|
|
2921
|
+
* <p>监听器源站访问策略,其中:rr表示轮询;wrr表示加权轮询;lc表示最小连接数。</p>
|
|
2953
2922
|
*/
|
|
2954
2923
|
Scheduler: string;
|
|
2955
2924
|
/**
|
|
2956
|
-
*
|
|
2925
|
+
* <p>规则是否开启健康检查,1开启,0关闭。</p>
|
|
2957
2926
|
*/
|
|
2958
2927
|
HealthCheck: number;
|
|
2959
2928
|
/**
|
|
2960
|
-
*
|
|
2929
|
+
* <p>源站健康检查相关参数</p>
|
|
2961
2930
|
*/
|
|
2962
2931
|
CheckParams?: RuleCheckParams;
|
|
2963
2932
|
/**
|
|
2964
|
-
*
|
|
2965
|
-
不传递该字段时表示使用对应监听器的ForwardProtocol。
|
|
2933
|
+
* <p>加速通道转发到源站的协议类型:支持HTTP或HTTPS。不传递该字段时表示使用对应监听器的ForwardProtocol。</p>
|
|
2966
2934
|
*/
|
|
2967
2935
|
ForwardProtocol?: string;
|
|
2968
2936
|
/**
|
|
2969
|
-
*
|
|
2937
|
+
* <p>回源Host。加速通道转发到源站的host,不设置该参数时,使用默认的host设置,即客户端发起的http请求的host。</p>
|
|
2970
2938
|
*/
|
|
2971
2939
|
ForwardHost?: string;
|
|
2972
2940
|
/**
|
|
2973
|
-
*
|
|
2941
|
+
* <p>服务器名称指示(ServerNameIndication,简称SNI)开关。ON表示开启,OFF表示关闭。创建HTTP监听器转发规则时,SNI功能默认关闭。</p>
|
|
2974
2942
|
*/
|
|
2975
2943
|
ServerNameIndicationSwitch?: string;
|
|
2976
2944
|
/**
|
|
2977
|
-
*
|
|
2945
|
+
* <p>服务器名称指示(ServerNameIndication,简称SNI),当SNI开关打开时,该字段必填。</p>
|
|
2978
2946
|
*/
|
|
2979
2947
|
ServerNameIndication?: string;
|
|
2980
2948
|
/**
|
|
2981
|
-
* HTTP强制跳转HTTPS
|
|
2949
|
+
* <p>HTTP强制跳转HTTPS。输入当前规则对应的域名与地址。</p>
|
|
2982
2950
|
*/
|
|
2983
2951
|
ForcedRedirect?: string;
|
|
2984
2952
|
}
|
|
@@ -3183,19 +3151,19 @@ export interface ProxyGroupDetail {
|
|
|
3183
3151
|
*/
|
|
3184
3152
|
export interface CreateHTTPListenerRequest {
|
|
3185
3153
|
/**
|
|
3186
|
-
*
|
|
3154
|
+
* <p>监听器名称</p>
|
|
3187
3155
|
*/
|
|
3188
3156
|
ListenerName: string;
|
|
3189
3157
|
/**
|
|
3190
|
-
*
|
|
3158
|
+
* <p>监听器端口,基于同种传输层协议(TCP 或 UDP)的监听器,端口不可重复</p>
|
|
3191
3159
|
*/
|
|
3192
3160
|
Port: number;
|
|
3193
3161
|
/**
|
|
3194
|
-
*
|
|
3162
|
+
* <p>通道ID,与GroupId不能同时设置,对应为通道创建监听器</p>
|
|
3195
3163
|
*/
|
|
3196
3164
|
ProxyId?: string;
|
|
3197
3165
|
/**
|
|
3198
|
-
*
|
|
3166
|
+
* <p>通道组ID,与ProxyId不能同时设置,对应为通道组创建监听器</p>
|
|
3199
3167
|
*/
|
|
3200
3168
|
GroupId?: string;
|
|
3201
3169
|
}
|
|
@@ -3244,7 +3212,7 @@ export interface DescribeRegionAndPriceResponse {
|
|
|
3244
3212
|
*/
|
|
3245
3213
|
export interface AddRealServersResponse {
|
|
3246
3214
|
/**
|
|
3247
|
-
*
|
|
3215
|
+
* <p>源站信息列表</p>
|
|
3248
3216
|
*/
|
|
3249
3217
|
RealServerSet?: Array<NewRealServer>;
|
|
3250
3218
|
/**
|
|
@@ -3652,11 +3620,11 @@ export interface NewRealServer {
|
|
|
3652
3620
|
*/
|
|
3653
3621
|
export interface DescribeHTTPListenersResponse {
|
|
3654
3622
|
/**
|
|
3655
|
-
*
|
|
3623
|
+
* <p>监听器数量</p>
|
|
3656
3624
|
*/
|
|
3657
3625
|
TotalCount?: number;
|
|
3658
3626
|
/**
|
|
3659
|
-
* HTTP
|
|
3627
|
+
* <p>HTTP监听器列表</p>
|
|
3660
3628
|
*/
|
|
3661
3629
|
ListenerSet?: Array<HTTPListener>;
|
|
3662
3630
|
/**
|
|
@@ -3866,30 +3834,23 @@ export interface AccessRegionDetial {
|
|
|
3866
3834
|
*/
|
|
3867
3835
|
export interface DescribeProxyGroupListRequest {
|
|
3868
3836
|
/**
|
|
3869
|
-
*
|
|
3837
|
+
* <p>偏移量,默认值为0。</p>
|
|
3870
3838
|
*/
|
|
3871
3839
|
Offset: number;
|
|
3872
3840
|
/**
|
|
3873
|
-
*
|
|
3841
|
+
* <p>返回数量,默认值为20,最大值为100。</p>
|
|
3874
3842
|
*/
|
|
3875
3843
|
Limit: number;
|
|
3876
3844
|
/**
|
|
3877
|
-
*
|
|
3878
|
-
-1,该用户下所有项目
|
|
3879
|
-
0,默认项目
|
|
3880
|
-
其他值,指定的项目
|
|
3845
|
+
* <p>项目ID。取值范围:-1,该用户下所有项目0,默认项目其他值,指定的项目</p>
|
|
3881
3846
|
*/
|
|
3882
3847
|
ProjectId: number;
|
|
3883
3848
|
/**
|
|
3884
|
-
*
|
|
3885
|
-
每次请求的Filter.Values的上限为5。
|
|
3886
|
-
RealServerRegion - String - 是否必填:否 -(过滤条件)按照源站地域过滤,可参考DescribeDestRegions接口返回结果中的RegionId。
|
|
3887
|
-
PackageType - String - 是否必填:否 - (过滤条件)通道组类型,Thunder表示标准通道组,Accelerator表示银牌加速通道组。
|
|
3849
|
+
* <p>过滤条件。 <br />每次请求的Filter.Values的上限为5。RealServerRegion - String - 是否必填:否 -(过滤条件)按照源站地域过滤,可参考DescribeDestRegions接口返回结果中的RegionId。PackageType - String - 是否必填:否 - (过滤条件)通道组类型,Thunder表示标准通道组,Accelerator表示银牌加速通道组。</p>
|
|
3888
3850
|
*/
|
|
3889
3851
|
Filters?: Array<Filter>;
|
|
3890
3852
|
/**
|
|
3891
|
-
*
|
|
3892
|
-
最多支持5个标签,当存在两个或两个以上的标签时,满足其中任意一个标签时,该通道组会被拉取出来。
|
|
3853
|
+
* <p>标签列表,当存在该字段时,拉取对应标签下的资源列表。最多支持5个标签,当存在两个或两个以上的标签时,满足其中任意一个标签时,该通道组会被拉取出来。</p>
|
|
3893
3854
|
*/
|
|
3894
3855
|
TagSet?: Array<TagPair>;
|
|
3895
3856
|
}
|
|
@@ -3997,7 +3958,7 @@ export interface TagPair {
|
|
|
3997
3958
|
*/
|
|
3998
3959
|
export interface CreateProxyGroupResponse {
|
|
3999
3960
|
/**
|
|
4000
|
-
*
|
|
3961
|
+
* <p>通道组ID</p>
|
|
4001
3962
|
*/
|
|
4002
3963
|
GroupId?: string;
|
|
4003
3964
|
/**
|
|
@@ -4010,7 +3971,7 @@ export interface CreateProxyGroupResponse {
|
|
|
4010
3971
|
*/
|
|
4011
3972
|
export interface CreateHTTPSListenerResponse {
|
|
4012
3973
|
/**
|
|
4013
|
-
*
|
|
3974
|
+
* <p>创建的监听器ID</p>
|
|
4014
3975
|
*/
|
|
4015
3976
|
ListenerId?: string;
|
|
4016
3977
|
/**
|
|
@@ -4116,7 +4077,7 @@ export interface ModifyUDPListenerAttributeResponse {
|
|
|
4116
4077
|
*/
|
|
4117
4078
|
export interface DescribeGroupAndStatisticsProxyRequest {
|
|
4118
4079
|
/**
|
|
4119
|
-
*
|
|
4080
|
+
* <p>项目ID</p>
|
|
4120
4081
|
*/
|
|
4121
4082
|
ProjectId: number;
|
|
4122
4083
|
}
|
|
@@ -4271,11 +4232,11 @@ export interface DescribeProxyDetailResponse {
|
|
|
4271
4232
|
*/
|
|
4272
4233
|
export interface DescribeGroupAndStatisticsProxyResponse {
|
|
4273
4234
|
/**
|
|
4274
|
-
*
|
|
4235
|
+
* <p>可以统计的通道组信息</p>
|
|
4275
4236
|
*/
|
|
4276
4237
|
GroupSet: Array<GroupStatisticsInfo>;
|
|
4277
4238
|
/**
|
|
4278
|
-
*
|
|
4239
|
+
* <p>通道组数量</p>
|
|
4279
4240
|
*/
|
|
4280
4241
|
TotalCount: number;
|
|
4281
4242
|
/**
|
|
@@ -4528,7 +4489,7 @@ export interface DescribeTCPListenersRequest {
|
|
|
4528
4489
|
*/
|
|
4529
4490
|
export interface CreateCertificateResponse {
|
|
4530
4491
|
/**
|
|
4531
|
-
*
|
|
4492
|
+
* <p>证书ID</p>
|
|
4532
4493
|
*/
|
|
4533
4494
|
CertificateId?: string;
|
|
4534
4495
|
/**
|
|
@@ -4645,39 +4606,39 @@ export interface DescribeDomainErrorPageInfoByIdsRequest {
|
|
|
4645
4606
|
*/
|
|
4646
4607
|
export interface CheckProxyCreateRequest {
|
|
4647
4608
|
/**
|
|
4648
|
-
*
|
|
4609
|
+
* <p>通道的接入(加速)区域。取值可通过接口DescribeAccessRegionsByDestRegion获取到</p>
|
|
4649
4610
|
*/
|
|
4650
4611
|
AccessRegion: string;
|
|
4651
4612
|
/**
|
|
4652
|
-
*
|
|
4613
|
+
* <p>通道的源站区域。取值可通过接口DescribeDestRegions获取到</p>
|
|
4653
4614
|
*/
|
|
4654
4615
|
RealServerRegion: string;
|
|
4655
4616
|
/**
|
|
4656
|
-
*
|
|
4617
|
+
* <p>通道带宽上限,单位:Mbps。</p>
|
|
4657
4618
|
*/
|
|
4658
4619
|
Bandwidth: number;
|
|
4659
4620
|
/**
|
|
4660
|
-
*
|
|
4621
|
+
* <p>通道并发量上限,表示同时在线的连接数,单位:万。</p>
|
|
4661
4622
|
*/
|
|
4662
4623
|
Concurrent: number;
|
|
4663
4624
|
/**
|
|
4664
|
-
*
|
|
4625
|
+
* <p>如果在通道组下创建通道,需要填写通道组的ID</p>
|
|
4665
4626
|
*/
|
|
4666
4627
|
GroupId?: string;
|
|
4667
4628
|
/**
|
|
4668
|
-
* IP版本,可取值:IPv4、IPv6,默认值IPv4
|
|
4629
|
+
* <p>IP版本,可取值:IPv4、IPv6,默认值IPv4</p>
|
|
4669
4630
|
*/
|
|
4670
4631
|
IPAddressVersion?: string;
|
|
4671
4632
|
/**
|
|
4672
|
-
*
|
|
4633
|
+
* <p>网络类型,可取值:normal、cn2,默认值normal</p>
|
|
4673
4634
|
*/
|
|
4674
4635
|
NetworkType?: string;
|
|
4675
4636
|
/**
|
|
4676
|
-
*
|
|
4637
|
+
* <p>通道套餐类型。Thunder表示标准通道组,Accelerator表示游戏加速器通道,CrossBorder表示跨境通道。</p>
|
|
4677
4638
|
*/
|
|
4678
4639
|
PackageType?: string;
|
|
4679
4640
|
/**
|
|
4680
|
-
*
|
|
4641
|
+
* <p>该字段已废弃,当IPAddressVersion为IPv4时,所创建的通道默认支持Http3.0;当为IPv6,默认不支持Http3.0。</p>
|
|
4681
4642
|
*/
|
|
4682
4643
|
Http3Supported?: number;
|
|
4683
4644
|
}
|
|
@@ -4699,19 +4660,19 @@ export interface DescribeRegionAndPriceRequest {
|
|
|
4699
4660
|
*/
|
|
4700
4661
|
export interface AddRealServersRequest {
|
|
4701
4662
|
/**
|
|
4702
|
-
*
|
|
4663
|
+
* <p>源站对应的项目ID</p>
|
|
4703
4664
|
*/
|
|
4704
4665
|
ProjectId: number;
|
|
4705
4666
|
/**
|
|
4706
|
-
*
|
|
4667
|
+
* <p>源站对应的IP或域名</p>
|
|
4707
4668
|
*/
|
|
4708
4669
|
RealServerIP: Array<string>;
|
|
4709
4670
|
/**
|
|
4710
|
-
*
|
|
4671
|
+
* <p>源站名称</p>
|
|
4711
4672
|
*/
|
|
4712
4673
|
RealServerName: string;
|
|
4713
4674
|
/**
|
|
4714
|
-
*
|
|
4675
|
+
* <p>标签列表</p>
|
|
4715
4676
|
*/
|
|
4716
4677
|
TagSet?: Array<TagPair>;
|
|
4717
4678
|
}
|
|
@@ -4772,50 +4733,43 @@ export interface CertificateAliasInfo {
|
|
|
4772
4733
|
*/
|
|
4773
4734
|
export interface CreateHTTPSListenerRequest {
|
|
4774
4735
|
/**
|
|
4775
|
-
*
|
|
4736
|
+
* <p>监听器名称</p>
|
|
4776
4737
|
*/
|
|
4777
4738
|
ListenerName: string;
|
|
4778
4739
|
/**
|
|
4779
|
-
*
|
|
4740
|
+
* <p>监听器端口,基于同种传输层协议(TCP 或 UDP)的监听器,端口不可重复</p>
|
|
4780
4741
|
*/
|
|
4781
4742
|
Port: number;
|
|
4782
4743
|
/**
|
|
4783
|
-
*
|
|
4744
|
+
* <p>服务器证书ID</p>
|
|
4784
4745
|
*/
|
|
4785
4746
|
CertificateId: string;
|
|
4786
4747
|
/**
|
|
4787
|
-
*
|
|
4748
|
+
* <p>加速通道转发到源站的协议类型:HTTP | HTTPS</p>
|
|
4788
4749
|
*/
|
|
4789
4750
|
ForwardProtocol: string;
|
|
4790
4751
|
/**
|
|
4791
|
-
*
|
|
4752
|
+
* <p>通道ID,与GroupId之间只能设置一个。表示创建通道的监听器。</p>
|
|
4792
4753
|
*/
|
|
4793
4754
|
ProxyId?: string;
|
|
4794
4755
|
/**
|
|
4795
|
-
*
|
|
4796
|
-
0,单向认证;
|
|
4797
|
-
1,双向认证。
|
|
4798
|
-
默认使用单向认证。
|
|
4756
|
+
* <p>认证类型,其中:0,单向认证;1,双向认证。默认使用单向认证。</p>
|
|
4799
4757
|
*/
|
|
4800
4758
|
AuthType?: number;
|
|
4801
4759
|
/**
|
|
4802
|
-
*
|
|
4760
|
+
* <p>客户端CA单证书ID,仅当双向认证时设置该参数或PolyClientCertificateIds参数</p>
|
|
4803
4761
|
*/
|
|
4804
4762
|
ClientCertificateId?: string;
|
|
4805
4763
|
/**
|
|
4806
|
-
*
|
|
4764
|
+
* <p>新的客户端多CA证书ID,仅当双向认证时设置该参数或设置ClientCertificateId参数</p>
|
|
4807
4765
|
*/
|
|
4808
4766
|
PolyClientCertificateIds?: Array<string>;
|
|
4809
4767
|
/**
|
|
4810
|
-
*
|
|
4768
|
+
* <p>通道组ID,与ProxyId之间只能设置一个。表示创建通道组的监听器。</p>
|
|
4811
4769
|
*/
|
|
4812
4770
|
GroupId?: string;
|
|
4813
4771
|
/**
|
|
4814
|
-
*
|
|
4815
|
-
0,表示不需要支持Http3接入;
|
|
4816
|
-
1,表示需要支持Http3接入。
|
|
4817
|
-
注意:如果支持了Http3的功能,那么该监听器会占用对应的UDP接入端口,不可再创建相同端口的UDP监听器。
|
|
4818
|
-
该功能的启停无法在监听器创建完毕后再修改。
|
|
4772
|
+
* <p>支持Http3的开关,其中:0,表示不需要支持Http3接入;1,表示需要支持Http3接入。注意:如果支持了Http3的功能,那么该监听器会占用对应的UDP接入端口,不可再创建相同端口的UDP监听器。该功能的启停无法在监听器创建完毕后再修改。</p>
|
|
4819
4773
|
*/
|
|
4820
4774
|
Http3Supported?: number;
|
|
4821
4775
|
}
|
|
@@ -5448,31 +5402,31 @@ export interface ModifyProxyConfigurationResponse {
|
|
|
5448
5402
|
*/
|
|
5449
5403
|
export interface CreateDomainErrorPageInfoRequest {
|
|
5450
5404
|
/**
|
|
5451
|
-
*
|
|
5405
|
+
* <p>监听器ID</p>
|
|
5452
5406
|
*/
|
|
5453
5407
|
ListenerId: string;
|
|
5454
5408
|
/**
|
|
5455
|
-
*
|
|
5409
|
+
* <p>域名</p>
|
|
5456
5410
|
*/
|
|
5457
5411
|
Domain: string;
|
|
5458
5412
|
/**
|
|
5459
|
-
*
|
|
5413
|
+
* <p>原始错误码</p>
|
|
5460
5414
|
*/
|
|
5461
5415
|
ErrorNos: Array<number | bigint>;
|
|
5462
5416
|
/**
|
|
5463
|
-
*
|
|
5417
|
+
* <p>新的响应包体</p>
|
|
5464
5418
|
*/
|
|
5465
5419
|
Body: string;
|
|
5466
5420
|
/**
|
|
5467
|
-
*
|
|
5421
|
+
* <p>新错误码</p>
|
|
5468
5422
|
*/
|
|
5469
5423
|
NewErrorNo?: number;
|
|
5470
5424
|
/**
|
|
5471
|
-
*
|
|
5425
|
+
* <p>需要删除的响应头</p>
|
|
5472
5426
|
*/
|
|
5473
5427
|
ClearHeaders?: Array<string>;
|
|
5474
5428
|
/**
|
|
5475
|
-
*
|
|
5429
|
+
* <p>需要设置的响应头</p>
|
|
5476
5430
|
*/
|
|
5477
5431
|
SetHeaders?: Array<HttpHeaderParam>;
|
|
5478
5432
|
}
|