tencentcloud-sdk-teo 3.0.1099 → 3.0.1105
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.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20220901/client.rb +336 -0
- data/lib/v20220901/models.rb +797 -32
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6cc3eaaeb452ef157633f5a6f8de1f6e818f9bf8
|
4
|
+
data.tar.gz: ef13493ffe3241ef6f26609c12686c3c6c7d49f9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7a597dd371292fe5c08639754af6546e8a89f0cf04595d872b307b15a7fdf05f71980aea40acd3c1f0c6e6759e958e68d1fcf3ed7c5ecc7defece98ae3b16e89
|
7
|
+
data.tar.gz: da121f28ccbb6c636a1591f2caeb3783fe94e5a68511d03a37683e75b174eb4c08a184f072c7881c122b42d988bdd79a09350cd38a82662442dc927c9422cd60
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1105
|
data/lib/v20220901/client.rb
CHANGED
@@ -513,6 +513,78 @@ module TencentCloud
|
|
513
513
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
514
514
|
end
|
515
515
|
|
516
|
+
# 通过本接口创建多通道安全加速网关,包括云上网关(腾讯云创建和管理的网关)和自有网关(用户部署的私有网关),需要通过接口 DescribeMultiPathGateway,查询状态为 online 即创建成功。
|
517
|
+
|
518
|
+
# @param request: Request instance for CreateMultiPathGateway.
|
519
|
+
# @type request: :class:`Tencentcloud::teo::V20220901::CreateMultiPathGatewayRequest`
|
520
|
+
# @rtype: :class:`Tencentcloud::teo::V20220901::CreateMultiPathGatewayResponse`
|
521
|
+
def CreateMultiPathGateway(request)
|
522
|
+
body = send_request('CreateMultiPathGateway', request.serialize)
|
523
|
+
response = JSON.parse(body)
|
524
|
+
if response['Response'].key?('Error') == false
|
525
|
+
model = CreateMultiPathGatewayResponse.new
|
526
|
+
model.deserialize(response['Response'])
|
527
|
+
model
|
528
|
+
else
|
529
|
+
code = response['Response']['Error']['Code']
|
530
|
+
message = response['Response']['Error']['Message']
|
531
|
+
reqid = response['Response']['RequestId']
|
532
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
533
|
+
end
|
534
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
535
|
+
raise e
|
536
|
+
rescue StandardError => e
|
537
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
538
|
+
end
|
539
|
+
|
540
|
+
# 通过本接口创建接入多通道安全加速网关的线路。包括 EdgeOne 四层代理线路、自定义线路。
|
541
|
+
|
542
|
+
# @param request: Request instance for CreateMultiPathGatewayLine.
|
543
|
+
# @type request: :class:`Tencentcloud::teo::V20220901::CreateMultiPathGatewayLineRequest`
|
544
|
+
# @rtype: :class:`Tencentcloud::teo::V20220901::CreateMultiPathGatewayLineResponse`
|
545
|
+
def CreateMultiPathGatewayLine(request)
|
546
|
+
body = send_request('CreateMultiPathGatewayLine', request.serialize)
|
547
|
+
response = JSON.parse(body)
|
548
|
+
if response['Response'].key?('Error') == false
|
549
|
+
model = CreateMultiPathGatewayLineResponse.new
|
550
|
+
model.deserialize(response['Response'])
|
551
|
+
model
|
552
|
+
else
|
553
|
+
code = response['Response']['Error']['Code']
|
554
|
+
message = response['Response']['Error']['Message']
|
555
|
+
reqid = response['Response']['RequestId']
|
556
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
557
|
+
end
|
558
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
559
|
+
raise e
|
560
|
+
rescue StandardError => e
|
561
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
562
|
+
end
|
563
|
+
|
564
|
+
# 通过本接口创建接入多通道安全加速网关的密钥,客户基于接入密钥签名接入多通道安全加速网关。每个站点下只有一个密钥,可用于接入该站点下的所有网关,可通过接口 DescribeMultiPathGatewaySecretKey 查询。
|
565
|
+
|
566
|
+
# @param request: Request instance for CreateMultiPathGatewaySecretKey.
|
567
|
+
# @type request: :class:`Tencentcloud::teo::V20220901::CreateMultiPathGatewaySecretKeyRequest`
|
568
|
+
# @rtype: :class:`Tencentcloud::teo::V20220901::CreateMultiPathGatewaySecretKeyResponse`
|
569
|
+
def CreateMultiPathGatewaySecretKey(request)
|
570
|
+
body = send_request('CreateMultiPathGatewaySecretKey', request.serialize)
|
571
|
+
response = JSON.parse(body)
|
572
|
+
if response['Response'].key?('Error') == false
|
573
|
+
model = CreateMultiPathGatewaySecretKeyResponse.new
|
574
|
+
model.deserialize(response['Response'])
|
575
|
+
model
|
576
|
+
else
|
577
|
+
code = response['Response']['Error']['Code']
|
578
|
+
message = response['Response']['Error']['Message']
|
579
|
+
reqid = response['Response']['RequestId']
|
580
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
581
|
+
end
|
582
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
583
|
+
raise e
|
584
|
+
rescue StandardError => e
|
585
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
586
|
+
end
|
587
|
+
|
516
588
|
# 创建源站组,以源站组的方式管理业务源站。此处配置的源站组可于**添加加速域名**和**四层代理**等功能中引用。
|
517
589
|
|
518
590
|
# @param request: Request instance for CreateOriginGroup.
|
@@ -1098,6 +1170,54 @@ module TencentCloud
|
|
1098
1170
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1099
1171
|
end
|
1100
1172
|
|
1173
|
+
# 通过本接口删除多通道安全加速网关,包括自有网关和云上网关。
|
1174
|
+
|
1175
|
+
# @param request: Request instance for DeleteMultiPathGateway.
|
1176
|
+
# @type request: :class:`Tencentcloud::teo::V20220901::DeleteMultiPathGatewayRequest`
|
1177
|
+
# @rtype: :class:`Tencentcloud::teo::V20220901::DeleteMultiPathGatewayResponse`
|
1178
|
+
def DeleteMultiPathGateway(request)
|
1179
|
+
body = send_request('DeleteMultiPathGateway', request.serialize)
|
1180
|
+
response = JSON.parse(body)
|
1181
|
+
if response['Response'].key?('Error') == false
|
1182
|
+
model = DeleteMultiPathGatewayResponse.new
|
1183
|
+
model.deserialize(response['Response'])
|
1184
|
+
model
|
1185
|
+
else
|
1186
|
+
code = response['Response']['Error']['Code']
|
1187
|
+
message = response['Response']['Error']['Message']
|
1188
|
+
reqid = response['Response']['RequestId']
|
1189
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1190
|
+
end
|
1191
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1192
|
+
raise e
|
1193
|
+
rescue StandardError => e
|
1194
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1195
|
+
end
|
1196
|
+
|
1197
|
+
# 通过本接口删除接入多通道安全加速网关的线路,仅自定义线路支持删除。
|
1198
|
+
|
1199
|
+
# @param request: Request instance for DeleteMultiPathGatewayLine.
|
1200
|
+
# @type request: :class:`Tencentcloud::teo::V20220901::DeleteMultiPathGatewayLineRequest`
|
1201
|
+
# @rtype: :class:`Tencentcloud::teo::V20220901::DeleteMultiPathGatewayLineResponse`
|
1202
|
+
def DeleteMultiPathGatewayLine(request)
|
1203
|
+
body = send_request('DeleteMultiPathGatewayLine', request.serialize)
|
1204
|
+
response = JSON.parse(body)
|
1205
|
+
if response['Response'].key?('Error') == false
|
1206
|
+
model = DeleteMultiPathGatewayLineResponse.new
|
1207
|
+
model.deserialize(response['Response'])
|
1208
|
+
model
|
1209
|
+
else
|
1210
|
+
code = response['Response']['Error']['Code']
|
1211
|
+
message = response['Response']['Error']['Message']
|
1212
|
+
reqid = response['Response']['RequestId']
|
1213
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1214
|
+
end
|
1215
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1216
|
+
raise e
|
1217
|
+
rescue StandardError => e
|
1218
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1219
|
+
end
|
1220
|
+
|
1101
1221
|
# 删除源站组,若源站组仍然被服务(例如:四层代理,域名服务,负载均衡,规则引起)引用,将不允许删除。
|
1102
1222
|
|
1103
1223
|
# @param request: Request instance for DeleteOriginGroup.
|
@@ -1964,6 +2084,126 @@ module TencentCloud
|
|
1964
2084
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1965
2085
|
end
|
1966
2086
|
|
2087
|
+
# 通过本接口查询多通道安全加速网关详情。如名称、网关 ID、IP、端口、类型等。
|
2088
|
+
|
2089
|
+
# @param request: Request instance for DescribeMultiPathGateway.
|
2090
|
+
# @type request: :class:`Tencentcloud::teo::V20220901::DescribeMultiPathGatewayRequest`
|
2091
|
+
# @rtype: :class:`Tencentcloud::teo::V20220901::DescribeMultiPathGatewayResponse`
|
2092
|
+
def DescribeMultiPathGateway(request)
|
2093
|
+
body = send_request('DescribeMultiPathGateway', request.serialize)
|
2094
|
+
response = JSON.parse(body)
|
2095
|
+
if response['Response'].key?('Error') == false
|
2096
|
+
model = DescribeMultiPathGatewayResponse.new
|
2097
|
+
model.deserialize(response['Response'])
|
2098
|
+
model
|
2099
|
+
else
|
2100
|
+
code = response['Response']['Error']['Code']
|
2101
|
+
message = response['Response']['Error']['Message']
|
2102
|
+
reqid = response['Response']['RequestId']
|
2103
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2104
|
+
end
|
2105
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2106
|
+
raise e
|
2107
|
+
rescue StandardError => e
|
2108
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2109
|
+
end
|
2110
|
+
|
2111
|
+
# 通过本接口查询接入多通道安全加速网关的线路。包括直连、EdgeOne 四层代理线路、自定义线路。
|
2112
|
+
|
2113
|
+
# @param request: Request instance for DescribeMultiPathGatewayLine.
|
2114
|
+
# @type request: :class:`Tencentcloud::teo::V20220901::DescribeMultiPathGatewayLineRequest`
|
2115
|
+
# @rtype: :class:`Tencentcloud::teo::V20220901::DescribeMultiPathGatewayLineResponse`
|
2116
|
+
def DescribeMultiPathGatewayLine(request)
|
2117
|
+
body = send_request('DescribeMultiPathGatewayLine', request.serialize)
|
2118
|
+
response = JSON.parse(body)
|
2119
|
+
if response['Response'].key?('Error') == false
|
2120
|
+
model = DescribeMultiPathGatewayLineResponse.new
|
2121
|
+
model.deserialize(response['Response'])
|
2122
|
+
model
|
2123
|
+
else
|
2124
|
+
code = response['Response']['Error']['Code']
|
2125
|
+
message = response['Response']['Error']['Message']
|
2126
|
+
reqid = response['Response']['RequestId']
|
2127
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2128
|
+
end
|
2129
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2130
|
+
raise e
|
2131
|
+
rescue StandardError => e
|
2132
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2133
|
+
end
|
2134
|
+
|
2135
|
+
# 通过本接口查询用户创建的多通道安全加速网关(云上网关)的可用地域列表。
|
2136
|
+
|
2137
|
+
# @param request: Request instance for DescribeMultiPathGatewayRegions.
|
2138
|
+
# @type request: :class:`Tencentcloud::teo::V20220901::DescribeMultiPathGatewayRegionsRequest`
|
2139
|
+
# @rtype: :class:`Tencentcloud::teo::V20220901::DescribeMultiPathGatewayRegionsResponse`
|
2140
|
+
def DescribeMultiPathGatewayRegions(request)
|
2141
|
+
body = send_request('DescribeMultiPathGatewayRegions', request.serialize)
|
2142
|
+
response = JSON.parse(body)
|
2143
|
+
if response['Response'].key?('Error') == false
|
2144
|
+
model = DescribeMultiPathGatewayRegionsResponse.new
|
2145
|
+
model.deserialize(response['Response'])
|
2146
|
+
model
|
2147
|
+
else
|
2148
|
+
code = response['Response']['Error']['Code']
|
2149
|
+
message = response['Response']['Error']['Message']
|
2150
|
+
reqid = response['Response']['RequestId']
|
2151
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2152
|
+
end
|
2153
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2154
|
+
raise e
|
2155
|
+
rescue StandardError => e
|
2156
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2157
|
+
end
|
2158
|
+
|
2159
|
+
# 通过本接口查询接入多通道安全加速网关的密钥,客户基于接入密钥签名接入多通道安全加速网关。
|
2160
|
+
|
2161
|
+
# @param request: Request instance for DescribeMultiPathGatewaySecretKey.
|
2162
|
+
# @type request: :class:`Tencentcloud::teo::V20220901::DescribeMultiPathGatewaySecretKeyRequest`
|
2163
|
+
# @rtype: :class:`Tencentcloud::teo::V20220901::DescribeMultiPathGatewaySecretKeyResponse`
|
2164
|
+
def DescribeMultiPathGatewaySecretKey(request)
|
2165
|
+
body = send_request('DescribeMultiPathGatewaySecretKey', request.serialize)
|
2166
|
+
response = JSON.parse(body)
|
2167
|
+
if response['Response'].key?('Error') == false
|
2168
|
+
model = DescribeMultiPathGatewaySecretKeyResponse.new
|
2169
|
+
model.deserialize(response['Response'])
|
2170
|
+
model
|
2171
|
+
else
|
2172
|
+
code = response['Response']['Error']['Code']
|
2173
|
+
message = response['Response']['Error']['Message']
|
2174
|
+
reqid = response['Response']['RequestId']
|
2175
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2176
|
+
end
|
2177
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2178
|
+
raise e
|
2179
|
+
rescue StandardError => e
|
2180
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2181
|
+
end
|
2182
|
+
|
2183
|
+
# 通过本接口查询用户创建的多通道安全加速网关列表。支持翻页。
|
2184
|
+
|
2185
|
+
# @param request: Request instance for DescribeMultiPathGateways.
|
2186
|
+
# @type request: :class:`Tencentcloud::teo::V20220901::DescribeMultiPathGatewaysRequest`
|
2187
|
+
# @rtype: :class:`Tencentcloud::teo::V20220901::DescribeMultiPathGatewaysResponse`
|
2188
|
+
def DescribeMultiPathGateways(request)
|
2189
|
+
body = send_request('DescribeMultiPathGateways', request.serialize)
|
2190
|
+
response = JSON.parse(body)
|
2191
|
+
if response['Response'].key?('Error') == false
|
2192
|
+
model = DescribeMultiPathGatewaysResponse.new
|
2193
|
+
model.deserialize(response['Response'])
|
2194
|
+
model
|
2195
|
+
else
|
2196
|
+
code = response['Response']['Error']['Code']
|
2197
|
+
message = response['Response']['Error']['Message']
|
2198
|
+
reqid = response['Response']['RequestId']
|
2199
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2200
|
+
end
|
2201
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2202
|
+
raise e
|
2203
|
+
rescue StandardError => e
|
2204
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2205
|
+
end
|
2206
|
+
|
1967
2207
|
# 本接口用于查询站点下的七层加速域名/四层代理实例与回源 IP 网段的绑定关系,以及回源 IP 网段详情。如果您想通过自动化脚本定期获取回源 IP 网段的最新版本,可以较低频率(建议每三天一次)轮询本接口,若 NextOriginACL 字段有返回值,则将最新的回源 IP 网段同步到源站防火墙配置中。
|
1968
2208
|
|
1969
2209
|
# @param request: Request instance for DescribeOriginACL.
|
@@ -3406,6 +3646,78 @@ module TencentCloud
|
|
3406
3646
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
3407
3647
|
end
|
3408
3648
|
|
3649
|
+
# 通过本接口修改多通道安全加速网关信息,如名称、网关 ID、IP、端口等。
|
3650
|
+
|
3651
|
+
# @param request: Request instance for ModifyMultiPathGateway.
|
3652
|
+
# @type request: :class:`Tencentcloud::teo::V20220901::ModifyMultiPathGatewayRequest`
|
3653
|
+
# @rtype: :class:`Tencentcloud::teo::V20220901::ModifyMultiPathGatewayResponse`
|
3654
|
+
def ModifyMultiPathGateway(request)
|
3655
|
+
body = send_request('ModifyMultiPathGateway', request.serialize)
|
3656
|
+
response = JSON.parse(body)
|
3657
|
+
if response['Response'].key?('Error') == false
|
3658
|
+
model = ModifyMultiPathGatewayResponse.new
|
3659
|
+
model.deserialize(response['Response'])
|
3660
|
+
model
|
3661
|
+
else
|
3662
|
+
code = response['Response']['Error']['Code']
|
3663
|
+
message = response['Response']['Error']['Message']
|
3664
|
+
reqid = response['Response']['RequestId']
|
3665
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
3666
|
+
end
|
3667
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
3668
|
+
raise e
|
3669
|
+
rescue StandardError => e
|
3670
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
3671
|
+
end
|
3672
|
+
|
3673
|
+
# 通过本接口修改接入多通道安全加速网关的线路,包括 EdgeOne 四层代理线路、自定义线路。
|
3674
|
+
|
3675
|
+
# @param request: Request instance for ModifyMultiPathGatewayLine.
|
3676
|
+
# @type request: :class:`Tencentcloud::teo::V20220901::ModifyMultiPathGatewayLineRequest`
|
3677
|
+
# @rtype: :class:`Tencentcloud::teo::V20220901::ModifyMultiPathGatewayLineResponse`
|
3678
|
+
def ModifyMultiPathGatewayLine(request)
|
3679
|
+
body = send_request('ModifyMultiPathGatewayLine', request.serialize)
|
3680
|
+
response = JSON.parse(body)
|
3681
|
+
if response['Response'].key?('Error') == false
|
3682
|
+
model = ModifyMultiPathGatewayLineResponse.new
|
3683
|
+
model.deserialize(response['Response'])
|
3684
|
+
model
|
3685
|
+
else
|
3686
|
+
code = response['Response']['Error']['Code']
|
3687
|
+
message = response['Response']['Error']['Message']
|
3688
|
+
reqid = response['Response']['RequestId']
|
3689
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
3690
|
+
end
|
3691
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
3692
|
+
raise e
|
3693
|
+
rescue StandardError => e
|
3694
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
3695
|
+
end
|
3696
|
+
|
3697
|
+
# 通过本接口修改接入多通道安全加速网关的密钥,客户基于接入密钥签名接入多通道安全加速网关,修改后原密钥失效。
|
3698
|
+
|
3699
|
+
# @param request: Request instance for ModifyMultiPathGatewaySecretKey.
|
3700
|
+
# @type request: :class:`Tencentcloud::teo::V20220901::ModifyMultiPathGatewaySecretKeyRequest`
|
3701
|
+
# @rtype: :class:`Tencentcloud::teo::V20220901::ModifyMultiPathGatewaySecretKeyResponse`
|
3702
|
+
def ModifyMultiPathGatewaySecretKey(request)
|
3703
|
+
body = send_request('ModifyMultiPathGatewaySecretKey', request.serialize)
|
3704
|
+
response = JSON.parse(body)
|
3705
|
+
if response['Response'].key?('Error') == false
|
3706
|
+
model = ModifyMultiPathGatewaySecretKeyResponse.new
|
3707
|
+
model.deserialize(response['Response'])
|
3708
|
+
model
|
3709
|
+
else
|
3710
|
+
code = response['Response']['Error']['Code']
|
3711
|
+
message = response['Response']['Error']['Message']
|
3712
|
+
reqid = response['Response']['RequestId']
|
3713
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
3714
|
+
end
|
3715
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
3716
|
+
raise e
|
3717
|
+
rescue StandardError => e
|
3718
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
3719
|
+
end
|
3720
|
+
|
3409
3721
|
# 本接口用于对七层加速域名/四层代理实例启用/关闭特定回源 IP 网段回源。单次支持提交的七层加速域名的数量最大为 200,四层代理实例的数量最大为 100,支持七层加速域名/四层代理实例混合提交,总实例个数最大为 200。如需变更超过 200 个实例,请通过本接口分批提交。
|
3410
3722
|
|
3411
3723
|
# @param request: Request instance for ModifyOriginACL.
|
@@ -3671,6 +3983,30 @@ module TencentCloud
|
|
3671
3983
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
3672
3984
|
end
|
3673
3985
|
|
3986
|
+
# 通过本接口刷新多通道安全加速网关的密钥。客户基于接入密钥签名接入多通道安全加速网关。每个站点下只有一个密钥,可用于接入该站点下的所有网关,刷新密钥后,原始密钥会失效。
|
3987
|
+
|
3988
|
+
# @param request: Request instance for RefreshMultiPathGatewaySecretKey.
|
3989
|
+
# @type request: :class:`Tencentcloud::teo::V20220901::RefreshMultiPathGatewaySecretKeyRequest`
|
3990
|
+
# @rtype: :class:`Tencentcloud::teo::V20220901::RefreshMultiPathGatewaySecretKeyResponse`
|
3991
|
+
def RefreshMultiPathGatewaySecretKey(request)
|
3992
|
+
body = send_request('RefreshMultiPathGatewaySecretKey', request.serialize)
|
3993
|
+
response = JSON.parse(body)
|
3994
|
+
if response['Response'].key?('Error') == false
|
3995
|
+
model = RefreshMultiPathGatewaySecretKeyResponse.new
|
3996
|
+
model.deserialize(response['Response'])
|
3997
|
+
model
|
3998
|
+
else
|
3999
|
+
code = response['Response']['Error']['Code']
|
4000
|
+
message = response['Response']['Error']['Message']
|
4001
|
+
reqid = response['Response']['RequestId']
|
4002
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
4003
|
+
end
|
4004
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
4005
|
+
raise e
|
4006
|
+
rescue StandardError => e
|
4007
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
4008
|
+
end
|
4009
|
+
|
3674
4010
|
# 当您的套餐需要延长有效期,可以通过该接口进行续费。套餐续费仅支持个人版,基础版,标准版套餐。
|
3675
4011
|
# > 费用详情可参考 [套餐费用](https://cloud.tencent.com/document/product/1552/94158)
|
3676
4012
|
|
data/lib/v20220901/models.rb
CHANGED
@@ -1181,23 +1181,39 @@ module TencentCloud
|
|
1181
1181
|
end
|
1182
1182
|
end
|
1183
1183
|
|
1184
|
-
#
|
1184
|
+
# 计费数据项。
|
1185
1185
|
class BillingData < TencentCloud::Common::AbstractModel
|
1186
|
-
# @param Time:
|
1186
|
+
# @param Time: 数据时间戳。
|
1187
1187
|
# @type Time: String
|
1188
1188
|
# @param Value: 数值。
|
1189
1189
|
# @type Value: Integer
|
1190
|
+
# @param ZoneId: 数据点所属站点 ID。若使用内容标识符功能,则该项值为内容标识符。
|
1191
|
+
# @type ZoneId: String
|
1192
|
+
# @param Host: 数据点所属域名。
|
1193
|
+
# @type Host: String
|
1194
|
+
# @param ProxyId: 数据点所属四层代理实例 ID。
|
1195
|
+
# @type ProxyId: String
|
1196
|
+
# @param RegionId: 数据点所属计费大区 ID。计费大区以实际服务用户客户端的 EdgeOne 节点所在区域为准。取值有:<li>CH:中国大陆境内</li><li>AF:非洲</li><li>AS1:亚太一区</li><li>AS2:亚太二区</li><li>AS3:亚太三区</li><li>EU:欧洲</li><li>MidEast:中东</li><li>NA:北美</li><li> SA:南美</li>
|
1197
|
+
# @type RegionId: String
|
1190
1198
|
|
1191
|
-
attr_accessor :Time, :Value
|
1199
|
+
attr_accessor :Time, :Value, :ZoneId, :Host, :ProxyId, :RegionId
|
1192
1200
|
|
1193
|
-
def initialize(time=nil, value=nil)
|
1201
|
+
def initialize(time=nil, value=nil, zoneid=nil, host=nil, proxyid=nil, regionid=nil)
|
1194
1202
|
@Time = time
|
1195
1203
|
@Value = value
|
1204
|
+
@ZoneId = zoneid
|
1205
|
+
@Host = host
|
1206
|
+
@ProxyId = proxyid
|
1207
|
+
@RegionId = regionid
|
1196
1208
|
end
|
1197
1209
|
|
1198
1210
|
def deserialize(params)
|
1199
1211
|
@Time = params['Time']
|
1200
1212
|
@Value = params['Value']
|
1213
|
+
@ZoneId = params['ZoneId']
|
1214
|
+
@Host = params['Host']
|
1215
|
+
@ProxyId = params['ProxyId']
|
1216
|
+
@RegionId = params['RegionId']
|
1201
1217
|
end
|
1202
1218
|
end
|
1203
1219
|
|
@@ -3740,6 +3756,159 @@ module TencentCloud
|
|
3740
3756
|
end
|
3741
3757
|
end
|
3742
3758
|
|
3759
|
+
# CreateMultiPathGatewayLine请求参数结构体
|
3760
|
+
class CreateMultiPathGatewayLineRequest < TencentCloud::Common::AbstractModel
|
3761
|
+
# @param ZoneId: 站点 ID 。
|
3762
|
+
# @type ZoneId: String
|
3763
|
+
# @param GatewayId: 多通道安全网关 ID 。
|
3764
|
+
# @type GatewayId: String
|
3765
|
+
# @param LineType: 线路类型,取值有:
|
3766
|
+
# <li>direct :直连线路,不支持修改和删除。</li> <li>proxy :EdgeOne 四层代理线路,支持修改实例 ID 和规则 ID,不支持删除。</li> <li>custom :自定义线路,支持修改、删除实例 ID 和规则 ID。</li>
|
3767
|
+
# @type LineType: String
|
3768
|
+
# @param LineAddress: 线路地址,格式为 ip:port。
|
3769
|
+
# @type LineAddress: String
|
3770
|
+
# @param ProxyId: 四层代理实例 ID,当线路类型 LineType 取值为 proxy(EdgeOne 四层代理)必传,可由接口 [DescribeL4Proxy](https://cloud.tencent.com/document/api/1552/103413) 获取。
|
3771
|
+
# @type ProxyId: String
|
3772
|
+
# @param RuleId: 转发规则 ID ,当线路类型 LineType 取值为 proxy(EdgeOne 四层代理)必传,可以从接口 [DescribeL4ProxyRules](https://cloud.tencent.com/document/api/1552/103412) 获取。
|
3773
|
+
# @type RuleId: String
|
3774
|
+
|
3775
|
+
attr_accessor :ZoneId, :GatewayId, :LineType, :LineAddress, :ProxyId, :RuleId
|
3776
|
+
|
3777
|
+
def initialize(zoneid=nil, gatewayid=nil, linetype=nil, lineaddress=nil, proxyid=nil, ruleid=nil)
|
3778
|
+
@ZoneId = zoneid
|
3779
|
+
@GatewayId = gatewayid
|
3780
|
+
@LineType = linetype
|
3781
|
+
@LineAddress = lineaddress
|
3782
|
+
@ProxyId = proxyid
|
3783
|
+
@RuleId = ruleid
|
3784
|
+
end
|
3785
|
+
|
3786
|
+
def deserialize(params)
|
3787
|
+
@ZoneId = params['ZoneId']
|
3788
|
+
@GatewayId = params['GatewayId']
|
3789
|
+
@LineType = params['LineType']
|
3790
|
+
@LineAddress = params['LineAddress']
|
3791
|
+
@ProxyId = params['ProxyId']
|
3792
|
+
@RuleId = params['RuleId']
|
3793
|
+
end
|
3794
|
+
end
|
3795
|
+
|
3796
|
+
# CreateMultiPathGatewayLine返回参数结构体
|
3797
|
+
class CreateMultiPathGatewayLineResponse < TencentCloud::Common::AbstractModel
|
3798
|
+
# @param LineId: 线路 ID , 取值有:
|
3799
|
+
# <li> line-1: EdgeOne 四层代理线路,支持修改实例和规则,不支持删除;</li>
|
3800
|
+
# <li> line-2 及以上:EdgeOne 四层代理线路或者自定义线路,支持修改、删除实例和规则。</li>
|
3801
|
+
# @type LineId: String
|
3802
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
3803
|
+
# @type RequestId: String
|
3804
|
+
|
3805
|
+
attr_accessor :LineId, :RequestId
|
3806
|
+
|
3807
|
+
def initialize(lineid=nil, requestid=nil)
|
3808
|
+
@LineId = lineid
|
3809
|
+
@RequestId = requestid
|
3810
|
+
end
|
3811
|
+
|
3812
|
+
def deserialize(params)
|
3813
|
+
@LineId = params['LineId']
|
3814
|
+
@RequestId = params['RequestId']
|
3815
|
+
end
|
3816
|
+
end
|
3817
|
+
|
3818
|
+
# CreateMultiPathGateway请求参数结构体
|
3819
|
+
class CreateMultiPathGatewayRequest < TencentCloud::Common::AbstractModel
|
3820
|
+
# @param ZoneId: 站点 ID。
|
3821
|
+
# @type ZoneId: String
|
3822
|
+
# @param GatewayType: 网关类型,取值有:
|
3823
|
+
# <li> cloud:云上网关,腾讯云创建和管理的网关;</li>
|
3824
|
+
# <li> private:自有网关,用户部署的私有网关。</li>
|
3825
|
+
# @type GatewayType: String
|
3826
|
+
# @param GatewayName: 网关名称,16 个字符以内,可用字符(a-z,A-Z,0-9,-,_)。
|
3827
|
+
# @type GatewayName: String
|
3828
|
+
# @param GatewayPort: 网关端口,范围 1~65535(除去 8888 )。
|
3829
|
+
# @type GatewayPort: Integer
|
3830
|
+
# @param RegionId: 网关地域,GatewayType 取值为 cloud(云上网关)必填。可以从接口 DescribeMultiPathGatewayRegions 获取 RegionId 列表。
|
3831
|
+
# @type RegionId: String
|
3832
|
+
# @param GatewayIP: 网关地址,GatewayType 取值为 private(自有网关)必填,使用该地址时,请确保该地址已录入腾讯云多通道安全加速网关系统。如未录入,需要在本接口调用前通过工单或者联系架构师把网关 IP 地址提前录入腾讯云多通道安全加速网关系统。
|
3833
|
+
# @type GatewayIP: String
|
3834
|
+
|
3835
|
+
attr_accessor :ZoneId, :GatewayType, :GatewayName, :GatewayPort, :RegionId, :GatewayIP
|
3836
|
+
|
3837
|
+
def initialize(zoneid=nil, gatewaytype=nil, gatewayname=nil, gatewayport=nil, regionid=nil, gatewayip=nil)
|
3838
|
+
@ZoneId = zoneid
|
3839
|
+
@GatewayType = gatewaytype
|
3840
|
+
@GatewayName = gatewayname
|
3841
|
+
@GatewayPort = gatewayport
|
3842
|
+
@RegionId = regionid
|
3843
|
+
@GatewayIP = gatewayip
|
3844
|
+
end
|
3845
|
+
|
3846
|
+
def deserialize(params)
|
3847
|
+
@ZoneId = params['ZoneId']
|
3848
|
+
@GatewayType = params['GatewayType']
|
3849
|
+
@GatewayName = params['GatewayName']
|
3850
|
+
@GatewayPort = params['GatewayPort']
|
3851
|
+
@RegionId = params['RegionId']
|
3852
|
+
@GatewayIP = params['GatewayIP']
|
3853
|
+
end
|
3854
|
+
end
|
3855
|
+
|
3856
|
+
# CreateMultiPathGateway返回参数结构体
|
3857
|
+
class CreateMultiPathGatewayResponse < TencentCloud::Common::AbstractModel
|
3858
|
+
# @param GatewayId: 网关 ID。
|
3859
|
+
# @type GatewayId: String
|
3860
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
3861
|
+
# @type RequestId: String
|
3862
|
+
|
3863
|
+
attr_accessor :GatewayId, :RequestId
|
3864
|
+
|
3865
|
+
def initialize(gatewayid=nil, requestid=nil)
|
3866
|
+
@GatewayId = gatewayid
|
3867
|
+
@RequestId = requestid
|
3868
|
+
end
|
3869
|
+
|
3870
|
+
def deserialize(params)
|
3871
|
+
@GatewayId = params['GatewayId']
|
3872
|
+
@RequestId = params['RequestId']
|
3873
|
+
end
|
3874
|
+
end
|
3875
|
+
|
3876
|
+
# CreateMultiPathGatewaySecretKey请求参数结构体
|
3877
|
+
class CreateMultiPathGatewaySecretKeyRequest < TencentCloud::Common::AbstractModel
|
3878
|
+
# @param ZoneId: 站点 ID。
|
3879
|
+
# @type ZoneId: String
|
3880
|
+
# @param SecretKey: 多通道安全加速网关接入密钥,base64字符串,编码前字符串长度为 32-48 个字符,非必填,不填系统自动生成,可通过接口 DescribeMultiPathGatewaySecretKey 查询。
|
3881
|
+
# @type SecretKey: String
|
3882
|
+
|
3883
|
+
attr_accessor :ZoneId, :SecretKey
|
3884
|
+
|
3885
|
+
def initialize(zoneid=nil, secretkey=nil)
|
3886
|
+
@ZoneId = zoneid
|
3887
|
+
@SecretKey = secretkey
|
3888
|
+
end
|
3889
|
+
|
3890
|
+
def deserialize(params)
|
3891
|
+
@ZoneId = params['ZoneId']
|
3892
|
+
@SecretKey = params['SecretKey']
|
3893
|
+
end
|
3894
|
+
end
|
3895
|
+
|
3896
|
+
# CreateMultiPathGatewaySecretKey返回参数结构体
|
3897
|
+
class CreateMultiPathGatewaySecretKeyResponse < TencentCloud::Common::AbstractModel
|
3898
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
3899
|
+
# @type RequestId: String
|
3900
|
+
|
3901
|
+
attr_accessor :RequestId
|
3902
|
+
|
3903
|
+
def initialize(requestid=nil)
|
3904
|
+
@RequestId = requestid
|
3905
|
+
end
|
3906
|
+
|
3907
|
+
def deserialize(params)
|
3908
|
+
@RequestId = params['RequestId']
|
3909
|
+
end
|
3910
|
+
end
|
3911
|
+
|
3743
3912
|
# CreateOriginGroup请求参数结构体
|
3744
3913
|
class CreateOriginGroupRequest < TencentCloud::Common::AbstractModel
|
3745
3914
|
# @param ZoneId: 站点 ID
|
@@ -5463,6 +5632,82 @@ module TencentCloud
|
|
5463
5632
|
end
|
5464
5633
|
end
|
5465
5634
|
|
5635
|
+
# DeleteMultiPathGatewayLine请求参数结构体
|
5636
|
+
class DeleteMultiPathGatewayLineRequest < TencentCloud::Common::AbstractModel
|
5637
|
+
# @param ZoneId: 站点 ID。
|
5638
|
+
# @type ZoneId: String
|
5639
|
+
# @param GatewayId: 网关 ID。
|
5640
|
+
# @type GatewayId: String
|
5641
|
+
# @param LineId: 线路 ID。
|
5642
|
+
# @type LineId: String
|
5643
|
+
|
5644
|
+
attr_accessor :ZoneId, :GatewayId, :LineId
|
5645
|
+
|
5646
|
+
def initialize(zoneid=nil, gatewayid=nil, lineid=nil)
|
5647
|
+
@ZoneId = zoneid
|
5648
|
+
@GatewayId = gatewayid
|
5649
|
+
@LineId = lineid
|
5650
|
+
end
|
5651
|
+
|
5652
|
+
def deserialize(params)
|
5653
|
+
@ZoneId = params['ZoneId']
|
5654
|
+
@GatewayId = params['GatewayId']
|
5655
|
+
@LineId = params['LineId']
|
5656
|
+
end
|
5657
|
+
end
|
5658
|
+
|
5659
|
+
# DeleteMultiPathGatewayLine返回参数结构体
|
5660
|
+
class DeleteMultiPathGatewayLineResponse < TencentCloud::Common::AbstractModel
|
5661
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
5662
|
+
# @type RequestId: String
|
5663
|
+
|
5664
|
+
attr_accessor :RequestId
|
5665
|
+
|
5666
|
+
def initialize(requestid=nil)
|
5667
|
+
@RequestId = requestid
|
5668
|
+
end
|
5669
|
+
|
5670
|
+
def deserialize(params)
|
5671
|
+
@RequestId = params['RequestId']
|
5672
|
+
end
|
5673
|
+
end
|
5674
|
+
|
5675
|
+
# DeleteMultiPathGateway请求参数结构体
|
5676
|
+
class DeleteMultiPathGatewayRequest < TencentCloud::Common::AbstractModel
|
5677
|
+
# @param ZoneId: 站点 ID。
|
5678
|
+
# @type ZoneId: String
|
5679
|
+
# @param GatewayId: 网关 ID。
|
5680
|
+
# @type GatewayId: String
|
5681
|
+
|
5682
|
+
attr_accessor :ZoneId, :GatewayId
|
5683
|
+
|
5684
|
+
def initialize(zoneid=nil, gatewayid=nil)
|
5685
|
+
@ZoneId = zoneid
|
5686
|
+
@GatewayId = gatewayid
|
5687
|
+
end
|
5688
|
+
|
5689
|
+
def deserialize(params)
|
5690
|
+
@ZoneId = params['ZoneId']
|
5691
|
+
@GatewayId = params['GatewayId']
|
5692
|
+
end
|
5693
|
+
end
|
5694
|
+
|
5695
|
+
# DeleteMultiPathGateway返回参数结构体
|
5696
|
+
class DeleteMultiPathGatewayResponse < TencentCloud::Common::AbstractModel
|
5697
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
5698
|
+
# @type RequestId: String
|
5699
|
+
|
5700
|
+
attr_accessor :RequestId
|
5701
|
+
|
5702
|
+
def initialize(requestid=nil)
|
5703
|
+
@RequestId = requestid
|
5704
|
+
end
|
5705
|
+
|
5706
|
+
def deserialize(params)
|
5707
|
+
@RequestId = params['RequestId']
|
5708
|
+
end
|
5709
|
+
end
|
5710
|
+
|
5466
5711
|
# DeleteOriginGroup请求参数结构体
|
5467
5712
|
class DeleteOriginGroupRequest < TencentCloud::Common::AbstractModel
|
5468
5713
|
# @param ZoneId: 站点 ID
|
@@ -6154,34 +6399,13 @@ module TencentCloud
|
|
6154
6399
|
class DescribeBillingDataRequest < TencentCloud::Common::AbstractModel
|
6155
6400
|
# @param StartTime: 起始时间。
|
6156
6401
|
# @type StartTime: String
|
6157
|
-
# @param EndTime:
|
6402
|
+
# @param EndTime: 结束时间。查询时间范围(`EndTime` - `StartTime`)需小于等于 31 天。
|
6158
6403
|
# @type EndTime: String
|
6159
|
-
# @param ZoneIds: 站点 ID
|
6404
|
+
# @param ZoneIds: 站点 ID 集合,此参数必填。最多传入 100 个站点 ID。若需查询腾讯云主账号下所有站点数据,请用 `*` 代替,查询账号级别数据需具备本接口全部站点资源权限。
|
6160
6405
|
# @type ZoneIds: Array
|
6161
|
-
# @param MetricName:
|
6162
|
-
# <li>acc_flux: 内容加速流量,单位为 Byte;</li>
|
6163
|
-
# <li>
|
6164
|
-
# <li>l4_flux: 四层加速流量,单位为 Byte;</li>
|
6165
|
-
# <li>sec_flux: 独立防护流量,单位为 Byte;</li>
|
6166
|
-
# <li>zxctg_flux: 中国大陆网络优化流量,单位为 Byte;</li>
|
6167
|
-
# <li>acc_bandwidth: 内容加速带宽,单位为 bps;</li>
|
6168
|
-
# <li>smt_bandwidth: 智能加速带宽,单位为 bps;</li>
|
6169
|
-
# <li>l4_bandwidth: 四层加速带宽,单位为 bps;</li>
|
6170
|
-
# <li>sec_bandwidth: 独立防护带宽,单位为 bps;</li>
|
6171
|
-
# <li>zxctg_bandwidth: 中国大陆网络优化带宽,单位为 bps;</li>
|
6172
|
-
# <li>sec_request_clean: HTTP/HTTPS 请求,单位为次;</li>
|
6173
|
-
# <li>smt_request_clean: 智能加速请求,单位为次;</li>
|
6174
|
-
# <li>quic_request: QUIC 请求,单位为次;</li>
|
6175
|
-
# <li>bot_request_clean: Bot 请求,单位为次;</li>
|
6176
|
-
# <li>cls_count: 实时日志推送条数,单位为条;</li>
|
6177
|
-
# <li>ddos_bandwidth: 弹性 DDoS 防护带宽,单位为 bps;</li>
|
6178
|
-
# <li>total_transcode:所有规格音频,视频即时转码,转封装时长,单位为秒;</li>
|
6179
|
-
# <li>remux:转封装时长,单位为秒;</li>
|
6180
|
-
# <li>transcode_audio:音频转码时长,单位为秒;</li>
|
6181
|
-
# <li>transcode_H264_SD:H.264 编码方式的标清视频(短边 <= 480 px)时长,单位为秒;</li>
|
6182
|
-
# <li>transcode_H264_HD:H.264 编码方式的高清视频(短边 <= 720 px)时长,单位为秒;</li>
|
6183
|
-
# <li>transcode_H264_FHD:H.264 编码方式的全高清视频(短边 <= 1080 px)时长,单位为秒;</li>
|
6184
|
-
# <li>transcode_H264_2K:H.264 编码方式的 2K 视频(短边 <= 1440 px)时长,单位为秒。</li>
|
6406
|
+
# @param MetricName: 指标列表,取值如下:
|
6407
|
+
# <b>四/七层加速流量:</b><li>acc_flux: 内容加速流量,单位为 Byte;</li><li>smt_flux: 智能加速流量,单位为 Byte;</li><li>l4_flux: 四层加速流量,单位为 Byte;</li><li>sec_flux: 独立防护流量,单位为 Byte;</li><li>zxctg_flux: 中国大陆网络优化流量,单位为 Byte。</li><br><b>四/七层加速带宽:</b><li>acc_bandwidth: 内容加速带宽,单位为 bps;</li><li>smt_bandwidth: 智能加速带宽,单位为 bps;</li><li>l4_bandwidth: 四层加速带宽,单位为 bps;</li><li>sec_bandwidth: 独立防护带宽,单位为 bps;</li><li>zxctg_bandwidth: 中国大陆网络优化带宽,单位为 bps。</li><br><b>HTTP/HTTPS 安全请求数:</b><li>sec_request_clean: HTTP/HTTPS 请求,单位为次。</li><b><br>增值服务用量:</b><li>smt_request_clean: 智能加速请求,单位为次;</li><li>quic_request: QUIC 请求,单位为次;</li><li>bot_request_clean: Bot 请求,单位为次;</li><li>cls_count: 实时日志推送条数,单位为条;</li><li>ddos_bandwidth: 弹性 DDoS 防护带宽,单位为 bps。</li><br><b>边缘计算用量:</b><li>edgefunction_request:边缘函数请求数,单位为次;</li><li>edgefunction_cpu_time:边缘函数CPU处理时间,单位为毫秒。</li>
|
6408
|
+
# <b>媒体处理用量:</b><li>total_transcode:所有规格音频,视频即时转码,转封装时长,单位为秒;</li><li>remux:转封装时长,单位为秒;</li><li>transcode_audio:音频转码时长,单位为秒;</li><li>transcode_H264_SD:H.264 编码方式的标清视频(短边 <= 480 px)时长,单位为秒;</li><li>transcode_H264_HD:H.264 编码方式的高清视频(短边 <= 720 px)时长,单位为秒;</li><li>transcode_H264_FHD:H.264 编码方式的全高清视频(短边 <= 1080 px)时长,单位为秒;</li><li>transcode_H264_2K:H.264 编码方式的 2K 视频(短边 <= 1440 px)时长,单位为秒。</li>
|
6185
6409
|
# @type MetricName: String
|
6186
6410
|
# @param Interval: 查询时间粒度,取值有:
|
6187
6411
|
# <li>5min:5 分钟粒度;</li>
|
@@ -6192,17 +6416,21 @@ module TencentCloud
|
|
6192
6416
|
# <li>host:按照域名进行过滤。示例值:test.example.com。<br></li>
|
6193
6417
|
# <li>proxy-id:按照四层代理实例 ID 进行过滤。示例值:sid-2rugn89bkla9。<br></li>
|
6194
6418
|
# <li>region-id:按照计费大区进行过滤。可选项如下:<br> CH:中国大陆境内<br> AF:非洲<br> AS1:亚太一区<br> AS2:亚太二区<br> AS3:亚太三区<br> EU:欧洲<br> MidEast:中东<br> NA:北美<br> SA:南美</li>
|
6419
|
+
# 说明:相同 `Type` 的 `BillingDataFilter` 之间为“或”关系,不同 `Type` 的 `BillingDataFilter` 之间为“且”关系。
|
6195
6420
|
# @type Filters: Array
|
6421
|
+
# @param GroupBy: 分组聚合维度。最多允许同时按照两种维度进行分组。取值如下: <li>zone-id:按照站点 ID 进行分组,若使用了内容标识符功能,则优先按照内容标识符分组;<br></li><li>host:按照域名进行分组;<br></li> <li>proxy-id:按照四层代理实例 ID 进行分组;<br></li> <li>region-id:按照计费大区进行分组。</li>
|
6422
|
+
# @type GroupBy: Array
|
6196
6423
|
|
6197
|
-
attr_accessor :StartTime, :EndTime, :ZoneIds, :MetricName, :Interval, :Filters
|
6424
|
+
attr_accessor :StartTime, :EndTime, :ZoneIds, :MetricName, :Interval, :Filters, :GroupBy
|
6198
6425
|
|
6199
|
-
def initialize(starttime=nil, endtime=nil, zoneids=nil, metricname=nil, interval=nil, filters=nil)
|
6426
|
+
def initialize(starttime=nil, endtime=nil, zoneids=nil, metricname=nil, interval=nil, filters=nil, groupby=nil)
|
6200
6427
|
@StartTime = starttime
|
6201
6428
|
@EndTime = endtime
|
6202
6429
|
@ZoneIds = zoneids
|
6203
6430
|
@MetricName = metricname
|
6204
6431
|
@Interval = interval
|
6205
6432
|
@Filters = filters
|
6433
|
+
@GroupBy = groupby
|
6206
6434
|
end
|
6207
6435
|
|
6208
6436
|
def deserialize(params)
|
@@ -6219,6 +6447,7 @@ module TencentCloud
|
|
6219
6447
|
@Filters << billingdatafilter_tmp
|
6220
6448
|
end
|
6221
6449
|
end
|
6450
|
+
@GroupBy = params['GroupBy']
|
6222
6451
|
end
|
6223
6452
|
end
|
6224
6453
|
|
@@ -7747,6 +7976,243 @@ module TencentCloud
|
|
7747
7976
|
end
|
7748
7977
|
end
|
7749
7978
|
|
7979
|
+
# DescribeMultiPathGatewayLine请求参数结构体
|
7980
|
+
class DescribeMultiPathGatewayLineRequest < TencentCloud::Common::AbstractModel
|
7981
|
+
# @param ZoneId: 站点 ID。
|
7982
|
+
# @type ZoneId: String
|
7983
|
+
# @param GatewayId: 网关 ID。
|
7984
|
+
# @type GatewayId: String
|
7985
|
+
# @param LineId: 线路 ID。
|
7986
|
+
# @type LineId: String
|
7987
|
+
|
7988
|
+
attr_accessor :ZoneId, :GatewayId, :LineId
|
7989
|
+
|
7990
|
+
def initialize(zoneid=nil, gatewayid=nil, lineid=nil)
|
7991
|
+
@ZoneId = zoneid
|
7992
|
+
@GatewayId = gatewayid
|
7993
|
+
@LineId = lineid
|
7994
|
+
end
|
7995
|
+
|
7996
|
+
def deserialize(params)
|
7997
|
+
@ZoneId = params['ZoneId']
|
7998
|
+
@GatewayId = params['GatewayId']
|
7999
|
+
@LineId = params['LineId']
|
8000
|
+
end
|
8001
|
+
end
|
8002
|
+
|
8003
|
+
# DescribeMultiPathGatewayLine返回参数结构体
|
8004
|
+
class DescribeMultiPathGatewayLineResponse < TencentCloud::Common::AbstractModel
|
8005
|
+
# @param Line: 线路信息。
|
8006
|
+
# @type Line: :class:`Tencentcloud::Teo.v20220901.models.MultiPathGatewayLine`
|
8007
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
8008
|
+
# @type RequestId: String
|
8009
|
+
|
8010
|
+
attr_accessor :Line, :RequestId
|
8011
|
+
|
8012
|
+
def initialize(line=nil, requestid=nil)
|
8013
|
+
@Line = line
|
8014
|
+
@RequestId = requestid
|
8015
|
+
end
|
8016
|
+
|
8017
|
+
def deserialize(params)
|
8018
|
+
unless params['Line'].nil?
|
8019
|
+
@Line = MultiPathGatewayLine.new
|
8020
|
+
@Line.deserialize(params['Line'])
|
8021
|
+
end
|
8022
|
+
@RequestId = params['RequestId']
|
8023
|
+
end
|
8024
|
+
end
|
8025
|
+
|
8026
|
+
# DescribeMultiPathGatewayRegions请求参数结构体
|
8027
|
+
class DescribeMultiPathGatewayRegionsRequest < TencentCloud::Common::AbstractModel
|
8028
|
+
# @param ZoneId: 站点 ID。
|
8029
|
+
# @type ZoneId: String
|
8030
|
+
|
8031
|
+
attr_accessor :ZoneId
|
8032
|
+
|
8033
|
+
def initialize(zoneid=nil)
|
8034
|
+
@ZoneId = zoneid
|
8035
|
+
end
|
8036
|
+
|
8037
|
+
def deserialize(params)
|
8038
|
+
@ZoneId = params['ZoneId']
|
8039
|
+
end
|
8040
|
+
end
|
8041
|
+
|
8042
|
+
# DescribeMultiPathGatewayRegions返回参数结构体
|
8043
|
+
class DescribeMultiPathGatewayRegionsResponse < TencentCloud::Common::AbstractModel
|
8044
|
+
# @param GatewayRegions: 网关可用地域列表。
|
8045
|
+
# @type GatewayRegions: Array
|
8046
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
8047
|
+
# @type RequestId: String
|
8048
|
+
|
8049
|
+
attr_accessor :GatewayRegions, :RequestId
|
8050
|
+
|
8051
|
+
def initialize(gatewayregions=nil, requestid=nil)
|
8052
|
+
@GatewayRegions = gatewayregions
|
8053
|
+
@RequestId = requestid
|
8054
|
+
end
|
8055
|
+
|
8056
|
+
def deserialize(params)
|
8057
|
+
unless params['GatewayRegions'].nil?
|
8058
|
+
@GatewayRegions = []
|
8059
|
+
params['GatewayRegions'].each do |i|
|
8060
|
+
gatewayregion_tmp = GatewayRegion.new
|
8061
|
+
gatewayregion_tmp.deserialize(i)
|
8062
|
+
@GatewayRegions << gatewayregion_tmp
|
8063
|
+
end
|
8064
|
+
end
|
8065
|
+
@RequestId = params['RequestId']
|
8066
|
+
end
|
8067
|
+
end
|
8068
|
+
|
8069
|
+
# DescribeMultiPathGateway请求参数结构体
|
8070
|
+
class DescribeMultiPathGatewayRequest < TencentCloud::Common::AbstractModel
|
8071
|
+
# @param ZoneId: 站点 ID。
|
8072
|
+
# @type ZoneId: String
|
8073
|
+
# @param GatewayId: 网关 ID。
|
8074
|
+
# @type GatewayId: String
|
8075
|
+
|
8076
|
+
attr_accessor :ZoneId, :GatewayId
|
8077
|
+
|
8078
|
+
def initialize(zoneid=nil, gatewayid=nil)
|
8079
|
+
@ZoneId = zoneid
|
8080
|
+
@GatewayId = gatewayid
|
8081
|
+
end
|
8082
|
+
|
8083
|
+
def deserialize(params)
|
8084
|
+
@ZoneId = params['ZoneId']
|
8085
|
+
@GatewayId = params['GatewayId']
|
8086
|
+
end
|
8087
|
+
end
|
8088
|
+
|
8089
|
+
# DescribeMultiPathGateway返回参数结构体
|
8090
|
+
class DescribeMultiPathGatewayResponse < TencentCloud::Common::AbstractModel
|
8091
|
+
# @param GatewayDetail: 网关详情。
|
8092
|
+
# @type GatewayDetail: :class:`Tencentcloud::Teo.v20220901.models.MultiPathGateway`
|
8093
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
8094
|
+
# @type RequestId: String
|
8095
|
+
|
8096
|
+
attr_accessor :GatewayDetail, :RequestId
|
8097
|
+
|
8098
|
+
def initialize(gatewaydetail=nil, requestid=nil)
|
8099
|
+
@GatewayDetail = gatewaydetail
|
8100
|
+
@RequestId = requestid
|
8101
|
+
end
|
8102
|
+
|
8103
|
+
def deserialize(params)
|
8104
|
+
unless params['GatewayDetail'].nil?
|
8105
|
+
@GatewayDetail = MultiPathGateway.new
|
8106
|
+
@GatewayDetail.deserialize(params['GatewayDetail'])
|
8107
|
+
end
|
8108
|
+
@RequestId = params['RequestId']
|
8109
|
+
end
|
8110
|
+
end
|
8111
|
+
|
8112
|
+
# DescribeMultiPathGatewaySecretKey请求参数结构体
|
8113
|
+
class DescribeMultiPathGatewaySecretKeyRequest < TencentCloud::Common::AbstractModel
|
8114
|
+
# @param ZoneId: 站点 ID。
|
8115
|
+
# @type ZoneId: String
|
8116
|
+
|
8117
|
+
attr_accessor :ZoneId
|
8118
|
+
|
8119
|
+
def initialize(zoneid=nil)
|
8120
|
+
@ZoneId = zoneid
|
8121
|
+
end
|
8122
|
+
|
8123
|
+
def deserialize(params)
|
8124
|
+
@ZoneId = params['ZoneId']
|
8125
|
+
end
|
8126
|
+
end
|
8127
|
+
|
8128
|
+
# DescribeMultiPathGatewaySecretKey返回参数结构体
|
8129
|
+
class DescribeMultiPathGatewaySecretKeyResponse < TencentCloud::Common::AbstractModel
|
8130
|
+
# @param SecretKey: 接入密钥。
|
8131
|
+
# @type SecretKey: String
|
8132
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
8133
|
+
# @type RequestId: String
|
8134
|
+
|
8135
|
+
attr_accessor :SecretKey, :RequestId
|
8136
|
+
|
8137
|
+
def initialize(secretkey=nil, requestid=nil)
|
8138
|
+
@SecretKey = secretkey
|
8139
|
+
@RequestId = requestid
|
8140
|
+
end
|
8141
|
+
|
8142
|
+
def deserialize(params)
|
8143
|
+
@SecretKey = params['SecretKey']
|
8144
|
+
@RequestId = params['RequestId']
|
8145
|
+
end
|
8146
|
+
end
|
8147
|
+
|
8148
|
+
# DescribeMultiPathGateways请求参数结构体
|
8149
|
+
class DescribeMultiPathGatewaysRequest < TencentCloud::Common::AbstractModel
|
8150
|
+
# @param ZoneId: 站点 ID。
|
8151
|
+
# @type ZoneId: String
|
8152
|
+
# @param Offset: 分页查询偏移量。默认值:0。
|
8153
|
+
# @type Offset: Integer
|
8154
|
+
# @param Limit: 分页查询限制数目。默认值:20,最大值:1000。
|
8155
|
+
# @type Limit: Integer
|
8156
|
+
# @param Filters: 网关列表的过滤字段,该参数不填写时,返回当前 appid 下所有网关信息,详细的过滤条件如下:
|
8157
|
+
# <li> gateway-type:按照网关类型进行过滤,支持取值 cloud 和 private,分别代表过滤云上网关和自由网关;</li>
|
8158
|
+
# <li> keyword:按照网关名的关键字进行过滤。</li>
|
8159
|
+
# @type Filters: Array
|
8160
|
+
|
8161
|
+
attr_accessor :ZoneId, :Offset, :Limit, :Filters
|
8162
|
+
|
8163
|
+
def initialize(zoneid=nil, offset=nil, limit=nil, filters=nil)
|
8164
|
+
@ZoneId = zoneid
|
8165
|
+
@Offset = offset
|
8166
|
+
@Limit = limit
|
8167
|
+
@Filters = filters
|
8168
|
+
end
|
8169
|
+
|
8170
|
+
def deserialize(params)
|
8171
|
+
@ZoneId = params['ZoneId']
|
8172
|
+
@Offset = params['Offset']
|
8173
|
+
@Limit = params['Limit']
|
8174
|
+
unless params['Filters'].nil?
|
8175
|
+
@Filters = []
|
8176
|
+
params['Filters'].each do |i|
|
8177
|
+
filter_tmp = Filter.new
|
8178
|
+
filter_tmp.deserialize(i)
|
8179
|
+
@Filters << filter_tmp
|
8180
|
+
end
|
8181
|
+
end
|
8182
|
+
end
|
8183
|
+
end
|
8184
|
+
|
8185
|
+
# DescribeMultiPathGateways返回参数结构体
|
8186
|
+
class DescribeMultiPathGatewaysResponse < TencentCloud::Common::AbstractModel
|
8187
|
+
# @param Gateways: 网关详情。
|
8188
|
+
# @type Gateways: Array
|
8189
|
+
# @param TotalCount: 总条数。
|
8190
|
+
# @type TotalCount: Integer
|
8191
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
8192
|
+
# @type RequestId: String
|
8193
|
+
|
8194
|
+
attr_accessor :Gateways, :TotalCount, :RequestId
|
8195
|
+
|
8196
|
+
def initialize(gateways=nil, totalcount=nil, requestid=nil)
|
8197
|
+
@Gateways = gateways
|
8198
|
+
@TotalCount = totalcount
|
8199
|
+
@RequestId = requestid
|
8200
|
+
end
|
8201
|
+
|
8202
|
+
def deserialize(params)
|
8203
|
+
unless params['Gateways'].nil?
|
8204
|
+
@Gateways = []
|
8205
|
+
params['Gateways'].each do |i|
|
8206
|
+
multipathgateway_tmp = MultiPathGateway.new
|
8207
|
+
multipathgateway_tmp.deserialize(i)
|
8208
|
+
@Gateways << multipathgateway_tmp
|
8209
|
+
end
|
8210
|
+
end
|
8211
|
+
@TotalCount = params['TotalCount']
|
8212
|
+
@RequestId = params['RequestId']
|
8213
|
+
end
|
8214
|
+
end
|
8215
|
+
|
7750
8216
|
# DescribeOriginACL请求参数结构体
|
7751
8217
|
class DescribeOriginACLRequest < TencentCloud::Common::AbstractModel
|
7752
8218
|
# @param ZoneId: 站点 ID。
|
@@ -10996,6 +11462,30 @@ module TencentCloud
|
|
10996
11462
|
end
|
10997
11463
|
end
|
10998
11464
|
|
11465
|
+
# 多通道安全网关可用地域
|
11466
|
+
class GatewayRegion < TencentCloud::Common::AbstractModel
|
11467
|
+
# @param RegionId: 地域 ID 。
|
11468
|
+
# @type RegionId: String
|
11469
|
+
# @param CNName: 中文地域名称。
|
11470
|
+
# @type CNName: String
|
11471
|
+
# @param ENName: 英文地域名称。
|
11472
|
+
# @type ENName: String
|
11473
|
+
|
11474
|
+
attr_accessor :RegionId, :CNName, :ENName
|
11475
|
+
|
11476
|
+
def initialize(regionid=nil, cnname=nil, enname=nil)
|
11477
|
+
@RegionId = regionid
|
11478
|
+
@CNName = cnname
|
11479
|
+
@ENName = enname
|
11480
|
+
end
|
11481
|
+
|
11482
|
+
def deserialize(params)
|
11483
|
+
@RegionId = params['RegionId']
|
11484
|
+
@CNName = params['CNName']
|
11485
|
+
@ENName = params['ENName']
|
11486
|
+
end
|
11487
|
+
end
|
11488
|
+
|
10999
11489
|
# Grpc配置项
|
11000
11490
|
class Grpc < TencentCloud::Common::AbstractModel
|
11001
11491
|
# @param Switch: 是否开启 Grpc 配置,取值有:
|
@@ -13884,6 +14374,150 @@ module TencentCloud
|
|
13884
14374
|
end
|
13885
14375
|
end
|
13886
14376
|
|
14377
|
+
# ModifyMultiPathGatewayLine请求参数结构体
|
14378
|
+
class ModifyMultiPathGatewayLineRequest < TencentCloud::Common::AbstractModel
|
14379
|
+
# @param ZoneId: 站点 ID。
|
14380
|
+
# @type ZoneId: String
|
14381
|
+
# @param GatewayId: 多通道安全加速网关 ID 。
|
14382
|
+
# @type GatewayId: String
|
14383
|
+
# @param LineId: 线路 ID , 取值有:
|
14384
|
+
# <li> line-1: EdgeOne 四层代理线路,支持修改实例和规则,不支持删除;</li>
|
14385
|
+
# <li> line-2 及以上:EdgeOne 四层代理线路或者自定义线路,支持修改、删除实例和规则。</li>
|
14386
|
+
# @type LineId: String
|
14387
|
+
# @param LineType: 线路类型,取值有:
|
14388
|
+
# <li>proxy :EdgeOne 四层代理线路,支持修改实例和规则,不支持删除;</li>
|
14389
|
+
# <li>custom :自定义线路,支持编辑、删除实例和规则。</li>
|
14390
|
+
# @type LineType: String
|
14391
|
+
# @param LineAddress: 线路地址,格式为 host:port,直连线路( LineType 取值为 direct )不允许修改,其余类型支持修改。
|
14392
|
+
# @type LineAddress: String
|
14393
|
+
# @param ProxyId: 四层代理实例 ID ,当线路类型 LineType 取值为 proxy(EdgeOne 四层代理)可传入,进行修改。
|
14394
|
+
# @type ProxyId: String
|
14395
|
+
# @param RuleId: 转发规则 ID ,当线路类型 LineType 取值为 proxy(EdgeOne 四层代理)可传入,进行修改。
|
14396
|
+
# @type RuleId: String
|
14397
|
+
|
14398
|
+
attr_accessor :ZoneId, :GatewayId, :LineId, :LineType, :LineAddress, :ProxyId, :RuleId
|
14399
|
+
|
14400
|
+
def initialize(zoneid=nil, gatewayid=nil, lineid=nil, linetype=nil, lineaddress=nil, proxyid=nil, ruleid=nil)
|
14401
|
+
@ZoneId = zoneid
|
14402
|
+
@GatewayId = gatewayid
|
14403
|
+
@LineId = lineid
|
14404
|
+
@LineType = linetype
|
14405
|
+
@LineAddress = lineaddress
|
14406
|
+
@ProxyId = proxyid
|
14407
|
+
@RuleId = ruleid
|
14408
|
+
end
|
14409
|
+
|
14410
|
+
def deserialize(params)
|
14411
|
+
@ZoneId = params['ZoneId']
|
14412
|
+
@GatewayId = params['GatewayId']
|
14413
|
+
@LineId = params['LineId']
|
14414
|
+
@LineType = params['LineType']
|
14415
|
+
@LineAddress = params['LineAddress']
|
14416
|
+
@ProxyId = params['ProxyId']
|
14417
|
+
@RuleId = params['RuleId']
|
14418
|
+
end
|
14419
|
+
end
|
14420
|
+
|
14421
|
+
# ModifyMultiPathGatewayLine返回参数结构体
|
14422
|
+
class ModifyMultiPathGatewayLineResponse < TencentCloud::Common::AbstractModel
|
14423
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
14424
|
+
# @type RequestId: String
|
14425
|
+
|
14426
|
+
attr_accessor :RequestId
|
14427
|
+
|
14428
|
+
def initialize(requestid=nil)
|
14429
|
+
@RequestId = requestid
|
14430
|
+
end
|
14431
|
+
|
14432
|
+
def deserialize(params)
|
14433
|
+
@RequestId = params['RequestId']
|
14434
|
+
end
|
14435
|
+
end
|
14436
|
+
|
14437
|
+
# ModifyMultiPathGateway请求参数结构体
|
14438
|
+
class ModifyMultiPathGatewayRequest < TencentCloud::Common::AbstractModel
|
14439
|
+
# @param ZoneId: 站点 ID。
|
14440
|
+
# @type ZoneId: String
|
14441
|
+
# @param GatewayId: 网关 ID。
|
14442
|
+
# @type GatewayId: String
|
14443
|
+
# @param GatewayName: 网关名称,16 个字符以内,可用字符(a-z,A-Z,0-9,-,_)。
|
14444
|
+
# @type GatewayName: String
|
14445
|
+
# @param GatewayIP: 网关地址,GatewayType 取值为 private(自有网关)可填入进行修改,使用该地址时,请确保该地址已录入腾讯云多通道安全加速网关系统。如未录入,需要在本接口调用前通过工单或者联系架构师把网关 IP 地址提前录入腾讯云多通道安全加速网关系统。
|
14446
|
+
# @type GatewayIP: String
|
14447
|
+
# @param GatewayPort: 网关端口,范围 1~65535(除去 8888 ),只支持修改 GatewayType 取值为 private 的自有网关。
|
14448
|
+
# @type GatewayPort: Integer
|
14449
|
+
|
14450
|
+
attr_accessor :ZoneId, :GatewayId, :GatewayName, :GatewayIP, :GatewayPort
|
14451
|
+
|
14452
|
+
def initialize(zoneid=nil, gatewayid=nil, gatewayname=nil, gatewayip=nil, gatewayport=nil)
|
14453
|
+
@ZoneId = zoneid
|
14454
|
+
@GatewayId = gatewayid
|
14455
|
+
@GatewayName = gatewayname
|
14456
|
+
@GatewayIP = gatewayip
|
14457
|
+
@GatewayPort = gatewayport
|
14458
|
+
end
|
14459
|
+
|
14460
|
+
def deserialize(params)
|
14461
|
+
@ZoneId = params['ZoneId']
|
14462
|
+
@GatewayId = params['GatewayId']
|
14463
|
+
@GatewayName = params['GatewayName']
|
14464
|
+
@GatewayIP = params['GatewayIP']
|
14465
|
+
@GatewayPort = params['GatewayPort']
|
14466
|
+
end
|
14467
|
+
end
|
14468
|
+
|
14469
|
+
# ModifyMultiPathGateway返回参数结构体
|
14470
|
+
class ModifyMultiPathGatewayResponse < TencentCloud::Common::AbstractModel
|
14471
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
14472
|
+
# @type RequestId: String
|
14473
|
+
|
14474
|
+
attr_accessor :RequestId
|
14475
|
+
|
14476
|
+
def initialize(requestid=nil)
|
14477
|
+
@RequestId = requestid
|
14478
|
+
end
|
14479
|
+
|
14480
|
+
def deserialize(params)
|
14481
|
+
@RequestId = params['RequestId']
|
14482
|
+
end
|
14483
|
+
end
|
14484
|
+
|
14485
|
+
# ModifyMultiPathGatewaySecretKey请求参数结构体
|
14486
|
+
class ModifyMultiPathGatewaySecretKeyRequest < TencentCloud::Common::AbstractModel
|
14487
|
+
# @param ZoneId: 站点 ID。
|
14488
|
+
# @type ZoneId: String
|
14489
|
+
# @param SecretKey: 多通道安全加速网关接入密钥,base64 字符串,编码前字符串长度为 32-48 个字符。
|
14490
|
+
# @type SecretKey: String
|
14491
|
+
|
14492
|
+
attr_accessor :ZoneId, :SecretKey
|
14493
|
+
|
14494
|
+
def initialize(zoneid=nil, secretkey=nil)
|
14495
|
+
@ZoneId = zoneid
|
14496
|
+
@SecretKey = secretkey
|
14497
|
+
end
|
14498
|
+
|
14499
|
+
def deserialize(params)
|
14500
|
+
@ZoneId = params['ZoneId']
|
14501
|
+
@SecretKey = params['SecretKey']
|
14502
|
+
end
|
14503
|
+
end
|
14504
|
+
|
14505
|
+
# ModifyMultiPathGatewaySecretKey返回参数结构体
|
14506
|
+
class ModifyMultiPathGatewaySecretKeyResponse < TencentCloud::Common::AbstractModel
|
14507
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
14508
|
+
# @type RequestId: String
|
14509
|
+
|
14510
|
+
attr_accessor :RequestId
|
14511
|
+
|
14512
|
+
def initialize(requestid=nil)
|
14513
|
+
@RequestId = requestid
|
14514
|
+
end
|
14515
|
+
|
14516
|
+
def deserialize(params)
|
14517
|
+
@RequestId = params['RequestId']
|
14518
|
+
end
|
14519
|
+
end
|
14520
|
+
|
13887
14521
|
# ModifyOriginACL请求参数结构体
|
13888
14522
|
class ModifyOriginACLRequest < TencentCloud::Common::AbstractModel
|
13889
14523
|
# @param ZoneId: 站点 ID。
|
@@ -14749,6 +15383,101 @@ module TencentCloud
|
|
14749
15383
|
end
|
14750
15384
|
end
|
14751
15385
|
|
15386
|
+
# 多通道安全网关详情
|
15387
|
+
class MultiPathGateway < TencentCloud::Common::AbstractModel
|
15388
|
+
# @param GatewayId: 网关 ID。
|
15389
|
+
# @type GatewayId: String
|
15390
|
+
# @param GatewayName: 网关名。
|
15391
|
+
# @type GatewayName: String
|
15392
|
+
# @param GatewayType: 网关类型,取值有:
|
15393
|
+
# <li> cloud:云上网关,腾讯云创建和管理的网关。</li>
|
15394
|
+
# <li> private:自有网关,用户部署的私有网关。</li>
|
15395
|
+
# @type GatewayType: String
|
15396
|
+
# @param GatewayPort: 网关端口,范围 1~65535(除去 8888 )。
|
15397
|
+
# @type GatewayPort: Integer
|
15398
|
+
# @param Status: 网关状态,取值有:
|
15399
|
+
# <li> creating : 创建中;</li>
|
15400
|
+
# <li> online : 在线;</li>
|
15401
|
+
# <li> offline : 离线;</li>
|
15402
|
+
# <li> disable : 已停用。</li>
|
15403
|
+
# @type Status: String
|
15404
|
+
# @param GatewayIP: 网关 IP, 格式为 IPv4。
|
15405
|
+
# @type GatewayIP: String
|
15406
|
+
# @param RegionId: 网关地域 Id,可以从接口 DescribeMultiPathGatewayRegions 获取 RegionId 列表。
|
15407
|
+
# @type RegionId: String
|
15408
|
+
# @param Lines: 线路信息,当查询网关信息详情 DescribeMultiPathGateway 的时候会返回,当查询网关列表 DescribeMultiPathGateways 的时候不会返回。
|
15409
|
+
# @type Lines: Array
|
15410
|
+
|
15411
|
+
attr_accessor :GatewayId, :GatewayName, :GatewayType, :GatewayPort, :Status, :GatewayIP, :RegionId, :Lines
|
15412
|
+
|
15413
|
+
def initialize(gatewayid=nil, gatewayname=nil, gatewaytype=nil, gatewayport=nil, status=nil, gatewayip=nil, regionid=nil, lines=nil)
|
15414
|
+
@GatewayId = gatewayid
|
15415
|
+
@GatewayName = gatewayname
|
15416
|
+
@GatewayType = gatewaytype
|
15417
|
+
@GatewayPort = gatewayport
|
15418
|
+
@Status = status
|
15419
|
+
@GatewayIP = gatewayip
|
15420
|
+
@RegionId = regionid
|
15421
|
+
@Lines = lines
|
15422
|
+
end
|
15423
|
+
|
15424
|
+
def deserialize(params)
|
15425
|
+
@GatewayId = params['GatewayId']
|
15426
|
+
@GatewayName = params['GatewayName']
|
15427
|
+
@GatewayType = params['GatewayType']
|
15428
|
+
@GatewayPort = params['GatewayPort']
|
15429
|
+
@Status = params['Status']
|
15430
|
+
@GatewayIP = params['GatewayIP']
|
15431
|
+
@RegionId = params['RegionId']
|
15432
|
+
unless params['Lines'].nil?
|
15433
|
+
@Lines = []
|
15434
|
+
params['Lines'].each do |i|
|
15435
|
+
multipathgatewayline_tmp = MultiPathGatewayLine.new
|
15436
|
+
multipathgatewayline_tmp.deserialize(i)
|
15437
|
+
@Lines << multipathgatewayline_tmp
|
15438
|
+
end
|
15439
|
+
end
|
15440
|
+
end
|
15441
|
+
end
|
15442
|
+
|
15443
|
+
# 多通道安全网关线路信息
|
15444
|
+
class MultiPathGatewayLine < TencentCloud::Common::AbstractModel
|
15445
|
+
# @param LineId: 线路 ID , 其中 line-0 和 line-1 为系统内置线路 ID,取值有:
|
15446
|
+
# <li> line-0:直连线路,不支持添加、编辑和删除;</li>
|
15447
|
+
# <li> line-1: EdgeOne 四层代理线路,支持修改实例和规则,不支持删除;</li>
|
15448
|
+
# <li> line-2 及以上:EdgeOne 四层代理线路或者自定义线路,支持修改、删除实例和规则。</li>
|
15449
|
+
# @type LineId: String
|
15450
|
+
# @param LineType: 线路类型,取值有:
|
15451
|
+
# <li>direct :直连线路,不支持编辑、不支持删除;</li>
|
15452
|
+
# <li>proxy :EdgeOne 四层代理线路,支持编辑修改实例和规则,不支持删除;</li>
|
15453
|
+
# <li>custom :自定义线路,支持编辑、支持删除。</li>
|
15454
|
+
# @type LineType: String
|
15455
|
+
# @param LineAddress: 线路地址,格式为 host:port 。
|
15456
|
+
# @type LineAddress: String
|
15457
|
+
# @param ProxyId: 四层代理实例 ID ,当线路类型 LineType 取值为 proxy(EdgeOne 四层代理)返回。
|
15458
|
+
# @type ProxyId: String
|
15459
|
+
# @param RuleId: 转发规则 ID ,当线路类型 LineType 取值为 proxy(EdgeOne 四层代理)返回。
|
15460
|
+
# @type RuleId: String
|
15461
|
+
|
15462
|
+
attr_accessor :LineId, :LineType, :LineAddress, :ProxyId, :RuleId
|
15463
|
+
|
15464
|
+
def initialize(lineid=nil, linetype=nil, lineaddress=nil, proxyid=nil, ruleid=nil)
|
15465
|
+
@LineId = lineid
|
15466
|
+
@LineType = linetype
|
15467
|
+
@LineAddress = lineaddress
|
15468
|
+
@ProxyId = proxyid
|
15469
|
+
@RuleId = ruleid
|
15470
|
+
end
|
15471
|
+
|
15472
|
+
def deserialize(params)
|
15473
|
+
@LineId = params['LineId']
|
15474
|
+
@LineType = params['LineType']
|
15475
|
+
@LineAddress = params['LineAddress']
|
15476
|
+
@ProxyId = params['ProxyId']
|
15477
|
+
@RuleId = params['RuleId']
|
15478
|
+
end
|
15479
|
+
end
|
15480
|
+
|
14752
15481
|
# HTTPS 双向认证。
|
14753
15482
|
class MutualTLS < TencentCloud::Common::AbstractModel
|
14754
15483
|
# @param Switch: 双向认证配置开关,取值有:
|
@@ -16536,6 +17265,42 @@ module TencentCloud
|
|
16536
17265
|
end
|
16537
17266
|
end
|
16538
17267
|
|
17268
|
+
# RefreshMultiPathGatewaySecretKey请求参数结构体
|
17269
|
+
class RefreshMultiPathGatewaySecretKeyRequest < TencentCloud::Common::AbstractModel
|
17270
|
+
# @param ZoneId: 站点 ID。
|
17271
|
+
# @type ZoneId: String
|
17272
|
+
|
17273
|
+
attr_accessor :ZoneId
|
17274
|
+
|
17275
|
+
def initialize(zoneid=nil)
|
17276
|
+
@ZoneId = zoneid
|
17277
|
+
end
|
17278
|
+
|
17279
|
+
def deserialize(params)
|
17280
|
+
@ZoneId = params['ZoneId']
|
17281
|
+
end
|
17282
|
+
end
|
17283
|
+
|
17284
|
+
# RefreshMultiPathGatewaySecretKey返回参数结构体
|
17285
|
+
class RefreshMultiPathGatewaySecretKeyResponse < TencentCloud::Common::AbstractModel
|
17286
|
+
# @param SecretKey: 多通道安全加速网关接入密钥。
|
17287
|
+
# @type SecretKey: String
|
17288
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
17289
|
+
# @type RequestId: String
|
17290
|
+
|
17291
|
+
attr_accessor :SecretKey, :RequestId
|
17292
|
+
|
17293
|
+
def initialize(secretkey=nil, requestid=nil)
|
17294
|
+
@SecretKey = secretkey
|
17295
|
+
@RequestId = requestid
|
17296
|
+
end
|
17297
|
+
|
17298
|
+
def deserialize(params)
|
17299
|
+
@SecretKey = params['SecretKey']
|
17300
|
+
@RequestId = params['RequestId']
|
17301
|
+
end
|
17302
|
+
end
|
17303
|
+
|
16539
17304
|
# 预付费套餐自动续费配置项。
|
16540
17305
|
class RenewFlag < TencentCloud::Common::AbstractModel
|
16541
17306
|
# @param Switch: 预付费套餐的自动续费标志,取值有:
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-teo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.1105
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-07-
|
11
|
+
date: 2025-07-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|