tencentcloud-sdk-tse 3.0.708 → 3.0.710

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9ba7e6d82fb070a47badbb1819cebefaf266caeb
4
- data.tar.gz: d0e0dab0e5e0cea4ca66cc66371d496f74b1c222
3
+ metadata.gz: 1baca6a0a1c229271936d4c40b9c487da00d1860
4
+ data.tar.gz: d8b1afd7254b0f76ec3111c39fb9d2efcc1195e6
5
5
  SHA512:
6
- metadata.gz: 225eda8f7c3726bb100c5f1f63996fd112ed89357cb9f55d76674b4cc353479cb40d42a702dcb2da4ddd164ced5ceb04e1d997df8c73bea309b78e533d1a8172
7
- data.tar.gz: 4bd716c4e33525cda3fb574eecec030c62ffadf6e15201c6b99870ce4ffc75dbaa03ac0ad1f4e66ecd3952b4bf33886c6558ae3b4cc694f0ae490e94dde05be2
6
+ metadata.gz: 4ea3925c7f942520583e8f8d029a366cea65b9ecfdd3667e5929fdfef7944eee00e69bfe927e96c4b7d1cdfe3eb7437458c93cc1c9f5300b6f24b8f1bb9b158e
7
+ data.tar.gz: 2d8963bc819a10962f66a99b44215c17ee54247f1bd41536b6bbd82580a320d0013c02ee8539c55e325b6dc41d4b386d3f4d47a01253b040a7badd5092bb9cbf
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.708
1
+ 3.0.710
@@ -29,6 +29,30 @@ module TencentCloud
29
29
  end
30
30
 
31
31
 
32
+ # 关闭 WAF 防护
33
+
34
+ # @param request: Request instance for CloseWafProtection.
35
+ # @type request: :class:`Tencentcloud::tse::V20201207::CloseWafProtectionRequest`
36
+ # @rtype: :class:`Tencentcloud::tse::V20201207::CloseWafProtectionResponse`
37
+ def CloseWafProtection(request)
38
+ body = send_request('CloseWafProtection', request.serialize)
39
+ response = JSON.parse(body)
40
+ if response['Response'].key?('Error') == false
41
+ model = CloseWafProtectionResponse.new
42
+ model.deserialize(response['Response'])
43
+ model
44
+ else
45
+ code = response['Response']['Error']['Code']
46
+ message = response['Response']['Error']['Message']
47
+ reqid = response['Response']['RequestId']
48
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
49
+ end
50
+ rescue TencentCloud::Common::TencentCloudSDKException => e
51
+ raise e
52
+ rescue StandardError => e
53
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
54
+ end
55
+
32
56
  # 创建云原生API网关实例
33
57
 
34
58
  # @param request: Request instance for CreateCloudNativeAPIGateway.
@@ -245,6 +269,30 @@ module TencentCloud
245
269
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
246
270
  end
247
271
 
272
+ # 新建 WAF 防护域名
273
+
274
+ # @param request: Request instance for CreateWafDomains.
275
+ # @type request: :class:`Tencentcloud::tse::V20201207::CreateWafDomainsRequest`
276
+ # @rtype: :class:`Tencentcloud::tse::V20201207::CreateWafDomainsResponse`
277
+ def CreateWafDomains(request)
278
+ body = send_request('CreateWafDomains', request.serialize)
279
+ response = JSON.parse(body)
280
+ if response['Response'].key?('Error') == false
281
+ model = CreateWafDomainsResponse.new
282
+ model.deserialize(response['Response'])
283
+ model
284
+ else
285
+ code = response['Response']['Error']['Code']
286
+ message = response['Response']['Error']['Message']
287
+ reqid = response['Response']['RequestId']
288
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
289
+ end
290
+ rescue TencentCloud::Common::TencentCloudSDKException => e
291
+ raise e
292
+ rescue StandardError => e
293
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
294
+ end
295
+
248
296
  # 删除云原生API网关实例
249
297
 
250
298
  # @param request: Request instance for DeleteCloudNativeAPIGateway.
@@ -461,6 +509,30 @@ module TencentCloud
461
509
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
462
510
  end
463
511
 
512
+ # 删除 WAF 防护域名
513
+
514
+ # @param request: Request instance for DeleteWafDomains.
515
+ # @type request: :class:`Tencentcloud::tse::V20201207::DeleteWafDomainsRequest`
516
+ # @rtype: :class:`Tencentcloud::tse::V20201207::DeleteWafDomainsResponse`
517
+ def DeleteWafDomains(request)
518
+ body = send_request('DeleteWafDomains', request.serialize)
519
+ response = JSON.parse(body)
520
+ if response['Response'].key?('Error') == false
521
+ model = DeleteWafDomainsResponse.new
522
+ model.deserialize(response['Response'])
523
+ model
524
+ else
525
+ code = response['Response']['Error']['Code']
526
+ message = response['Response']['Error']['Message']
527
+ reqid = response['Response']['RequestId']
528
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
529
+ end
530
+ rescue TencentCloud::Common::TencentCloudSDKException => e
531
+ raise e
532
+ rescue StandardError => e
533
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
534
+ end
535
+
464
536
  # 获取云原生API网关实例信息
465
537
 
466
538
  # @param request: Request instance for DescribeCloudNativeAPIGateway.
@@ -941,6 +1013,54 @@ module TencentCloud
941
1013
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
942
1014
  end
943
1015
 
1016
+ # 获取 WAF 防护域名
1017
+
1018
+ # @param request: Request instance for DescribeWafDomains.
1019
+ # @type request: :class:`Tencentcloud::tse::V20201207::DescribeWafDomainsRequest`
1020
+ # @rtype: :class:`Tencentcloud::tse::V20201207::DescribeWafDomainsResponse`
1021
+ def DescribeWafDomains(request)
1022
+ body = send_request('DescribeWafDomains', request.serialize)
1023
+ response = JSON.parse(body)
1024
+ if response['Response'].key?('Error') == false
1025
+ model = DescribeWafDomainsResponse.new
1026
+ model.deserialize(response['Response'])
1027
+ model
1028
+ else
1029
+ code = response['Response']['Error']['Code']
1030
+ message = response['Response']['Error']['Message']
1031
+ reqid = response['Response']['RequestId']
1032
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1033
+ end
1034
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1035
+ raise e
1036
+ rescue StandardError => e
1037
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1038
+ end
1039
+
1040
+ # 获取 WAF 防护状态
1041
+
1042
+ # @param request: Request instance for DescribeWafProtection.
1043
+ # @type request: :class:`Tencentcloud::tse::V20201207::DescribeWafProtectionRequest`
1044
+ # @rtype: :class:`Tencentcloud::tse::V20201207::DescribeWafProtectionResponse`
1045
+ def DescribeWafProtection(request)
1046
+ body = send_request('DescribeWafProtection', request.serialize)
1047
+ response = JSON.parse(body)
1048
+ if response['Response'].key?('Error') == false
1049
+ model = DescribeWafProtectionResponse.new
1050
+ model.deserialize(response['Response'])
1051
+ model
1052
+ else
1053
+ code = response['Response']['Error']['Code']
1054
+ message = response['Response']['Error']['Message']
1055
+ reqid = response['Response']['RequestId']
1056
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1057
+ end
1058
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1059
+ raise e
1060
+ rescue StandardError => e
1061
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1062
+ end
1063
+
944
1064
  # 查询Zookeeper类型注册引擎实例副本信息
945
1065
 
946
1066
  # @param request: Request instance for DescribeZookeeperReplicas.
@@ -1205,6 +1325,30 @@ module TencentCloud
1205
1325
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1206
1326
  end
1207
1327
 
1328
+ # 开启 WAF 防护
1329
+
1330
+ # @param request: Request instance for OpenWafProtection.
1331
+ # @type request: :class:`Tencentcloud::tse::V20201207::OpenWafProtectionRequest`
1332
+ # @rtype: :class:`Tencentcloud::tse::V20201207::OpenWafProtectionResponse`
1333
+ def OpenWafProtection(request)
1334
+ body = send_request('OpenWafProtection', request.serialize)
1335
+ response = JSON.parse(body)
1336
+ if response['Response'].key?('Error') == false
1337
+ model = OpenWafProtectionResponse.new
1338
+ model.deserialize(response['Response'])
1339
+ model
1340
+ else
1341
+ code = response['Response']['Error']['Code']
1342
+ message = response['Response']['Error']['Message']
1343
+ reqid = response['Response']['RequestId']
1344
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1345
+ end
1346
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1347
+ raise e
1348
+ rescue StandardError => e
1349
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1350
+ end
1351
+
1208
1352
  # 修改云原生网关证书信息
1209
1353
 
1210
1354
  # @param request: Request instance for UpdateCloudNativeAPIGatewayCertificateInfo.
@@ -224,6 +224,50 @@ module TencentCloud
224
224
  end
225
225
  end
226
226
 
227
+ # CloseWafProtection请求参数结构体
228
+ class CloseWafProtectionRequest < TencentCloud::Common::AbstractModel
229
+ # @param GatewayId: 网关ID
230
+ # @type GatewayId: String
231
+ # @param Type: 防护资源的类型。
232
+ # - Global 实例
233
+ # - Service 服务
234
+ # - Route 路由
235
+ # - Object 对象
236
+ # @type Type: String
237
+ # @param List: 当资源类型 Type 是 Service 或 Route 的时候,传入的服务或路由的列表
238
+ # @type List: Array
239
+
240
+ attr_accessor :GatewayId, :Type, :List
241
+
242
+ def initialize(gatewayid=nil, type=nil, list=nil)
243
+ @GatewayId = gatewayid
244
+ @Type = type
245
+ @List = list
246
+ end
247
+
248
+ def deserialize(params)
249
+ @GatewayId = params['GatewayId']
250
+ @Type = params['Type']
251
+ @List = params['List']
252
+ end
253
+ end
254
+
255
+ # CloseWafProtection返回参数结构体
256
+ class CloseWafProtectionResponse < TencentCloud::Common::AbstractModel
257
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
258
+ # @type RequestId: String
259
+
260
+ attr_accessor :RequestId
261
+
262
+ def initialize(requestid=nil)
263
+ @RequestId = requestid
264
+ end
265
+
266
+ def deserialize(params)
267
+ @RequestId = params['RequestId']
268
+ end
269
+ end
270
+
227
271
  # 灰度规则列表
228
272
  class CloudAPIGatewayCanaryRuleList < TencentCloud::Common::AbstractModel
229
273
  # @param CanaryRuleList: 灰度规则
@@ -1753,6 +1797,42 @@ module TencentCloud
1753
1797
  end
1754
1798
  end
1755
1799
 
1800
+ # CreateWafDomains请求参数结构体
1801
+ class CreateWafDomainsRequest < TencentCloud::Common::AbstractModel
1802
+ # @param GatewayId: 网关ID
1803
+ # @type GatewayId: String
1804
+ # @param Domains: WAF 防护域名列表
1805
+ # @type Domains: Array
1806
+
1807
+ attr_accessor :GatewayId, :Domains
1808
+
1809
+ def initialize(gatewayid=nil, domains=nil)
1810
+ @GatewayId = gatewayid
1811
+ @Domains = domains
1812
+ end
1813
+
1814
+ def deserialize(params)
1815
+ @GatewayId = params['GatewayId']
1816
+ @Domains = params['Domains']
1817
+ end
1818
+ end
1819
+
1820
+ # CreateWafDomains返回参数结构体
1821
+ class CreateWafDomainsResponse < TencentCloud::Common::AbstractModel
1822
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1823
+ # @type RequestId: String
1824
+
1825
+ attr_accessor :RequestId
1826
+
1827
+ def initialize(requestid=nil)
1828
+ @RequestId = requestid
1829
+ end
1830
+
1831
+ def deserialize(params)
1832
+ @RequestId = params['RequestId']
1833
+ end
1834
+ end
1835
+
1756
1836
  # DeleteCloudNativeAPIGatewayCanaryRule请求参数结构体
1757
1837
  class DeleteCloudNativeAPIGatewayCanaryRuleRequest < TencentCloud::Common::AbstractModel
1758
1838
  # @param GatewayId: 网关 ID
@@ -2142,6 +2222,42 @@ module TencentCloud
2142
2222
  end
2143
2223
  end
2144
2224
 
2225
+ # DeleteWafDomains请求参数结构体
2226
+ class DeleteWafDomainsRequest < TencentCloud::Common::AbstractModel
2227
+ # @param GatewayId: 网关ID
2228
+ # @type GatewayId: String
2229
+ # @param Domains: WAF 防护域名列表
2230
+ # @type Domains: Array
2231
+
2232
+ attr_accessor :GatewayId, :Domains
2233
+
2234
+ def initialize(gatewayid=nil, domains=nil)
2235
+ @GatewayId = gatewayid
2236
+ @Domains = domains
2237
+ end
2238
+
2239
+ def deserialize(params)
2240
+ @GatewayId = params['GatewayId']
2241
+ @Domains = params['Domains']
2242
+ end
2243
+ end
2244
+
2245
+ # DeleteWafDomains返回参数结构体
2246
+ class DeleteWafDomainsResponse < TencentCloud::Common::AbstractModel
2247
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2248
+ # @type RequestId: String
2249
+
2250
+ attr_accessor :RequestId
2251
+
2252
+ def initialize(requestid=nil)
2253
+ @RequestId = requestid
2254
+ end
2255
+
2256
+ def deserialize(params)
2257
+ @RequestId = params['RequestId']
2258
+ end
2259
+ end
2260
+
2145
2261
  # DescribeCloudNativeAPIGatewayCanaryRules请求参数结构体
2146
2262
  class DescribeCloudNativeAPIGatewayCanaryRulesRequest < TencentCloud::Common::AbstractModel
2147
2263
  # @param GatewayId: 网关ID
@@ -3534,6 +3650,163 @@ module TencentCloud
3534
3650
  end
3535
3651
  end
3536
3652
 
3653
+ # DescribeWafDomains请求参数结构体
3654
+ class DescribeWafDomainsRequest < TencentCloud::Common::AbstractModel
3655
+ # @param GatewayId: 网关ID
3656
+ # @type GatewayId: String
3657
+
3658
+ attr_accessor :GatewayId
3659
+
3660
+ def initialize(gatewayid=nil)
3661
+ @GatewayId = gatewayid
3662
+ end
3663
+
3664
+ def deserialize(params)
3665
+ @GatewayId = params['GatewayId']
3666
+ end
3667
+ end
3668
+
3669
+ # DescribeWafDomains返回参数结构体
3670
+ class DescribeWafDomainsResponse < TencentCloud::Common::AbstractModel
3671
+ # @param Result: 已被 WAF 防护域名
3672
+ # 注意:此字段可能返回 null,表示取不到有效值。
3673
+ # @type Result: :class:`Tencentcloud::Tse.v20201207.models.DescribeWafDomainsResult`
3674
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3675
+ # @type RequestId: String
3676
+
3677
+ attr_accessor :Result, :RequestId
3678
+
3679
+ def initialize(result=nil, requestid=nil)
3680
+ @Result = result
3681
+ @RequestId = requestid
3682
+ end
3683
+
3684
+ def deserialize(params)
3685
+ unless params['Result'].nil?
3686
+ @Result = DescribeWafDomainsResult.new
3687
+ @Result.deserialize(params['Result'])
3688
+ end
3689
+ @RequestId = params['RequestId']
3690
+ end
3691
+ end
3692
+
3693
+ # 获取WAF保护域名列表
3694
+ class DescribeWafDomainsResult < TencentCloud::Common::AbstractModel
3695
+ # @param Domains: WAF防护域名列表
3696
+ # 注意:此字段可能返回 null,表示取不到有效值。
3697
+ # @type Domains: Array
3698
+
3699
+ attr_accessor :Domains
3700
+
3701
+ def initialize(domains=nil)
3702
+ @Domains = domains
3703
+ end
3704
+
3705
+ def deserialize(params)
3706
+ @Domains = params['Domains']
3707
+ end
3708
+ end
3709
+
3710
+ # DescribeWafProtection请求参数结构体
3711
+ class DescribeWafProtectionRequest < TencentCloud::Common::AbstractModel
3712
+ # @param GatewayId: 网关ID
3713
+ # @type GatewayId: String
3714
+ # @param Type: 防护资源的类型。
3715
+ # - Global 实例
3716
+ # - Service 服务
3717
+ # - Route 路由
3718
+ # - Object 对象
3719
+ # @type Type: String
3720
+ # @param TypeList: 防护资源类型列表,支持查询多个类型(Global、Service、Route、Object)。为空时,默认查询Global类型。
3721
+ # @type TypeList: Array
3722
+
3723
+ attr_accessor :GatewayId, :Type, :TypeList
3724
+ extend Gem::Deprecate
3725
+ deprecate :Type, :none, 2023, 11
3726
+ deprecate :Type=, :none, 2023, 11
3727
+
3728
+ def initialize(gatewayid=nil, type=nil, typelist=nil)
3729
+ @GatewayId = gatewayid
3730
+ @Type = type
3731
+ @TypeList = typelist
3732
+ end
3733
+
3734
+ def deserialize(params)
3735
+ @GatewayId = params['GatewayId']
3736
+ @Type = params['Type']
3737
+ @TypeList = params['TypeList']
3738
+ end
3739
+ end
3740
+
3741
+ # DescribeWafProtection返回参数结构体
3742
+ class DescribeWafProtectionResponse < TencentCloud::Common::AbstractModel
3743
+ # @param Result: 保护状态
3744
+ # @type Result: :class:`Tencentcloud::Tse.v20201207.models.DescribeWafProtectionResult`
3745
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3746
+ # @type RequestId: String
3747
+
3748
+ attr_accessor :Result, :RequestId
3749
+
3750
+ def initialize(result=nil, requestid=nil)
3751
+ @Result = result
3752
+ @RequestId = requestid
3753
+ end
3754
+
3755
+ def deserialize(params)
3756
+ unless params['Result'].nil?
3757
+ @Result = DescribeWafProtectionResult.new
3758
+ @Result.deserialize(params['Result'])
3759
+ end
3760
+ @RequestId = params['RequestId']
3761
+ end
3762
+ end
3763
+
3764
+ # 获取WAF保护资源状态
3765
+ class DescribeWafProtectionResult < TencentCloud::Common::AbstractModel
3766
+ # @param GlobalStatus: 全局防护状态
3767
+ # 注意:此字段可能返回 null,表示取不到有效值。
3768
+ # @type GlobalStatus: String
3769
+ # @param ServicesStatus: 服务防护状态
3770
+ # 注意:此字段可能返回 null,表示取不到有效值。
3771
+ # @type ServicesStatus: Array
3772
+ # @param RouteStatus: 路由防护状态
3773
+ # 注意:此字段可能返回 null,表示取不到有效值。
3774
+ # @type RouteStatus: Array
3775
+ # @param ObjectStatus: 对象防护状态
3776
+ # 注意:此字段可能返回 null,表示取不到有效值。
3777
+ # @type ObjectStatus: String
3778
+
3779
+ attr_accessor :GlobalStatus, :ServicesStatus, :RouteStatus, :ObjectStatus
3780
+
3781
+ def initialize(globalstatus=nil, servicesstatus=nil, routestatus=nil, objectstatus=nil)
3782
+ @GlobalStatus = globalstatus
3783
+ @ServicesStatus = servicesstatus
3784
+ @RouteStatus = routestatus
3785
+ @ObjectStatus = objectstatus
3786
+ end
3787
+
3788
+ def deserialize(params)
3789
+ @GlobalStatus = params['GlobalStatus']
3790
+ unless params['ServicesStatus'].nil?
3791
+ @ServicesStatus = []
3792
+ params['ServicesStatus'].each do |i|
3793
+ servicewafstatus_tmp = ServiceWafStatus.new
3794
+ servicewafstatus_tmp.deserialize(i)
3795
+ @ServicesStatus << servicewafstatus_tmp
3796
+ end
3797
+ end
3798
+ unless params['RouteStatus'].nil?
3799
+ @RouteStatus = []
3800
+ params['RouteStatus'].each do |i|
3801
+ routewafstatus_tmp = RouteWafStatus.new
3802
+ routewafstatus_tmp.deserialize(i)
3803
+ @RouteStatus << routewafstatus_tmp
3804
+ end
3805
+ end
3806
+ @ObjectStatus = params['ObjectStatus']
3807
+ end
3808
+ end
3809
+
3537
3810
  # DescribeZookeeperReplicas请求参数结构体
3538
3811
  class DescribeZookeeperReplicasRequest < TencentCloud::Common::AbstractModel
3539
3812
  # @param InstanceId: 注册引擎实例ID
@@ -5492,6 +5765,50 @@ module TencentCloud
5492
5765
  end
5493
5766
  end
5494
5767
 
5768
+ # OpenWafProtection请求参数结构体
5769
+ class OpenWafProtectionRequest < TencentCloud::Common::AbstractModel
5770
+ # @param GatewayId: 网关ID
5771
+ # @type GatewayId: String
5772
+ # @param Type: 防护资源的类型。
5773
+ # - Global 实例
5774
+ # - Service 服务
5775
+ # - Route 路由
5776
+ # - Object 对象(接口暂不支持)
5777
+ # @type Type: String
5778
+ # @param List: 当资源类型 Type 是 Service 或 Route 的时候,传入的服务或路由的列表
5779
+ # @type List: Array
5780
+
5781
+ attr_accessor :GatewayId, :Type, :List
5782
+
5783
+ def initialize(gatewayid=nil, type=nil, list=nil)
5784
+ @GatewayId = gatewayid
5785
+ @Type = type
5786
+ @List = list
5787
+ end
5788
+
5789
+ def deserialize(params)
5790
+ @GatewayId = params['GatewayId']
5791
+ @Type = params['Type']
5792
+ @List = params['List']
5793
+ end
5794
+ end
5795
+
5796
+ # OpenWafProtection返回参数结构体
5797
+ class OpenWafProtectionResponse < TencentCloud::Common::AbstractModel
5798
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5799
+ # @type RequestId: String
5800
+
5801
+ attr_accessor :RequestId
5802
+
5803
+ def initialize(requestid=nil)
5804
+ @RequestId = requestid
5805
+ end
5806
+
5807
+ def deserialize(params)
5808
+ @RequestId = params['RequestId']
5809
+ end
5810
+ end
5811
+
5495
5812
  # 北极星日志主题信息
5496
5813
  class PolarisCLSTopicInfo < TencentCloud::Common::AbstractModel
5497
5814
  # @param LogSetId: 日志集ID
@@ -5595,6 +5912,58 @@ module TencentCloud
5595
5912
  end
5596
5913
  end
5597
5914
 
5915
+ # 路由 WAF 状态
5916
+ class RouteWafStatus < TencentCloud::Common::AbstractModel
5917
+ # @param Name: 路由的名字
5918
+ # 注意:此字段可能返回 null,表示取不到有效值。
5919
+ # @type Name: String
5920
+ # @param Id: 路由的 ID
5921
+ # 注意:此字段可能返回 null,表示取不到有效值。
5922
+ # @type Id: String
5923
+ # @param Status: 路由是否开启 WAF 防护
5924
+ # 注意:此字段可能返回 null,表示取不到有效值。
5925
+ # @type Status: String
5926
+ # @param Methods: 方法
5927
+ # 注意:此字段可能返回 null,表示取不到有效值。
5928
+ # @type Methods: Array
5929
+ # @param Paths: 路径
5930
+ # 注意:此字段可能返回 null,表示取不到有效值。
5931
+ # @type Paths: Array
5932
+ # @param Hosts: 域名
5933
+ # 注意:此字段可能返回 null,表示取不到有效值。
5934
+ # @type Hosts: Array
5935
+ # @param ServiceName: 路由对应服务的名字
5936
+ # 注意:此字段可能返回 null,表示取不到有效值。
5937
+ # @type ServiceName: String
5938
+ # @param ServiceId: 路由对应服务的ID
5939
+ # 注意:此字段可能返回 null,表示取不到有效值。
5940
+ # @type ServiceId: String
5941
+
5942
+ attr_accessor :Name, :Id, :Status, :Methods, :Paths, :Hosts, :ServiceName, :ServiceId
5943
+
5944
+ def initialize(name=nil, id=nil, status=nil, methods=nil, paths=nil, hosts=nil, servicename=nil, serviceid=nil)
5945
+ @Name = name
5946
+ @Id = id
5947
+ @Status = status
5948
+ @Methods = methods
5949
+ @Paths = paths
5950
+ @Hosts = hosts
5951
+ @ServiceName = servicename
5952
+ @ServiceId = serviceid
5953
+ end
5954
+
5955
+ def deserialize(params)
5956
+ @Name = params['Name']
5957
+ @Id = params['Id']
5958
+ @Status = params['Status']
5959
+ @Methods = params['Methods']
5960
+ @Paths = params['Paths']
5961
+ @Hosts = params['Hosts']
5962
+ @ServiceName = params['ServiceName']
5963
+ @ServiceId = params['ServiceId']
5964
+ end
5965
+ end
5966
+
5598
5967
  # 微服务注册引擎实例
5599
5968
  class SREInstance < TencentCloud::Common::AbstractModel
5600
5969
  # @param InstanceId: 实例ID
@@ -5895,6 +6264,38 @@ module TencentCloud
5895
6264
  end
5896
6265
  end
5897
6266
 
6267
+ # 服务的 WAF 状态
6268
+ class ServiceWafStatus < TencentCloud::Common::AbstractModel
6269
+ # @param Name: 服务的名字
6270
+ # 注意:此字段可能返回 null,表示取不到有效值。
6271
+ # @type Name: String
6272
+ # @param Id: 服务的 ID
6273
+ # 注意:此字段可能返回 null,表示取不到有效值。
6274
+ # @type Id: String
6275
+ # @param Type: 服务的类型
6276
+ # 注意:此字段可能返回 null,表示取不到有效值。
6277
+ # @type Type: String
6278
+ # @param Status: 服务是否开启 WAF 防护
6279
+ # 注意:此字段可能返回 null,表示取不到有效值。
6280
+ # @type Status: String
6281
+
6282
+ attr_accessor :Name, :Id, :Type, :Status
6283
+
6284
+ def initialize(name=nil, id=nil, type=nil, status=nil)
6285
+ @Name = name
6286
+ @Id = id
6287
+ @Type = type
6288
+ @Status = status
6289
+ end
6290
+
6291
+ def deserialize(params)
6292
+ @Name = params['Name']
6293
+ @Id = params['Id']
6294
+ @Type = params['Type']
6295
+ @Status = params['Status']
6296
+ end
6297
+ end
6298
+
5898
6299
  # 存储的额外选项
5899
6300
  class StorageOption < TencentCloud::Common::AbstractModel
5900
6301
  # @param Name: 存储对象,分为snap和txn两种
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-tse
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.708
4
+ version: 3.0.710
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-11-20 00:00:00.000000000 Z
11
+ date: 2023-11-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common
@@ -33,9 +33,9 @@ executables: []
33
33
  extensions: []
34
34
  extra_rdoc_files: []
35
35
  files:
36
- - lib/tencentcloud-sdk-tse.rb
37
- - lib/v20201207/models.rb
38
36
  - lib/v20201207/client.rb
37
+ - lib/v20201207/models.rb
38
+ - lib/tencentcloud-sdk-tse.rb
39
39
  - lib/VERSION
40
40
  homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
41
41
  licenses: