tencentcloud-sdk-teo 3.0.685 → 3.0.686

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: 187638bde48ce7455ede29bda324d9aba4badf25
4
- data.tar.gz: dc1ceb9f38535c4d213791a3638f4244556eef7d
3
+ metadata.gz: 3e53606e1352e7f2f453bb529e13e3b1fb156ab3
4
+ data.tar.gz: 0ab317d16c85cb7be326e56319f352ad9af4d200
5
5
  SHA512:
6
- metadata.gz: 09048dee0096b41bcf718ccc629c9b4148bb2af37c9107e853b798731fedc03347d6650bf603ab2ca57df27bf4a6e76d57a11b902cda544575f628a6fa4ad4d2
7
- data.tar.gz: f84cd92c97efec3d5d5c398786c4a2f8839ed74588c0a2c33d800cc81eeba1e9f418d5dfaf90e4c038d54075c405b181a1ca9e6f529fc1f33659ec21a9ccd01f
6
+ metadata.gz: b5bfc14cbbdac6defb1644c1418008c6b438cbade00e0fd5ae58dbc1ec17a901329c2a605559622f3726f3238d62b739cdd12e4abe6ab62134808c5d4f531136
7
+ data.tar.gz: 632c5914267ac6f96703ff60ff4543a296858c88589753efd34fb66afb72c0b7d2a05f1164882a06e5536fec9d82f09f1c2dc79e4b186f460fa5a55672345c3c
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.685
1
+ 3.0.686
@@ -175,7 +175,7 @@ module TencentCloud
175
175
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
176
176
  end
177
177
 
178
- # 创建源站组
178
+ # 创建源站组,以源站组的方式管理业务源站。此处配置的源站组可于**添加加速域名**和**四层代理**等功能中引用。
179
179
 
180
180
  # @param request: Request instance for CreateOriginGroup.
181
181
  # @type request: :class:`Tencentcloud::teo::V20220901::CreateOriginGroupRequest`
@@ -995,6 +995,30 @@ module TencentCloud
995
995
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
996
996
  end
997
997
 
998
+ # 查询指定策略模板的绑定关系列表。
999
+
1000
+ # @param request: Request instance for DescribeSecurityTemplateBindings.
1001
+ # @type request: :class:`Tencentcloud::teo::V20220901::DescribeSecurityTemplateBindingsRequest`
1002
+ # @rtype: :class:`Tencentcloud::teo::V20220901::DescribeSecurityTemplateBindingsResponse`
1003
+ def DescribeSecurityTemplateBindings(request)
1004
+ body = send_request('DescribeSecurityTemplateBindings', request.serialize)
1005
+ response = JSON.parse(body)
1006
+ if response['Response'].key?('Error') == false
1007
+ model = DescribeSecurityTemplateBindingsResponse.new
1008
+ model.deserialize(response['Response'])
1009
+ model
1010
+ else
1011
+ code = response['Response']['Error']['Code']
1012
+ message = response['Response']['Error']['Message']
1013
+ reqid = response['Response']['RequestId']
1014
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1015
+ end
1016
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1017
+ raise e
1018
+ rescue StandardError => e
1019
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1020
+ end
1021
+
998
1022
  # 本接口(DescribeTimingL4Data)用于查询四层时序流量数据列表。
999
1023
 
1000
1024
  # @param request: Request instance for DescribeTimingL4Data.
@@ -1453,7 +1477,7 @@ module TencentCloud
1453
1477
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1454
1478
  end
1455
1479
 
1456
- # 修改源站组
1480
+ # 修改源站组配置,新提交的源站记录将会覆盖原有源站组中的源站记录。
1457
1481
 
1458
1482
  # @param request: Request instance for ModifyOriginGroup.
1459
1483
  # @type request: :class:`Tencentcloud::teo::V20220901::ModifyOriginGroupRequest`
@@ -1959,24 +1959,27 @@ module TencentCloud
1959
1959
 
1960
1960
  # CreateOriginGroup请求参数结构体
1961
1961
  class CreateOriginGroupRequest < TencentCloud::Common::AbstractModel
1962
- # @param ZoneId: 站点ID
1962
+ # @param ZoneId: 站点 ID
1963
1963
  # @type ZoneId: String
1964
- # @param Name: 源站组名称,可输入1-200个字符,允许的字符为 a-z, A-Z, 0-9, _, - 。
1964
+ # @param Name: 源站组名称,可输入1 - 200个字符,允许的字符为 a - z, A - Z, 0 - 9, _, - 。
1965
1965
  # @type Name: String
1966
1966
  # @param Type: 源站组类型,此参数必填,取值有:
1967
- # <li>GENERAL:通用型源站组,仅支持添加 IP/域名 源站,可以被域名服务、规则引擎、四层代理、通用型负载均衡引用;</li>
1968
- # <li>HTTP: HTTP专用型源站组,支持添加 IP/域名、对象存储源站,无法被四层代理引用。</li>
1967
+ # <li>GENERAL:通用型源站组,仅支持添加 IP/域名 源站,可以被域名服务、规则引擎、四层代理、通用型负载均衡、HTTP 专用型负载均衡引用;</li>
1968
+ # <li>HTTP: HTTP 专用型源站组,支持添加 IP/域名、对象存储源站作为源站,无法被四层代理引用,仅支持被添加加速域名、规则引擎-修改源站、HTTP 专用型负载均衡引用。</li>
1969
1969
  # @type Type: String
1970
1970
  # @param Records: 源站记录信息,此参数必填。
1971
1971
  # @type Records: Array
1972
+ # @param HostHeader: 回源 Host Header,仅 Type = HTTP 时传入生效,规则引擎修改 Host Header 配置优先级高于源站组的 Host Header。
1973
+ # @type HostHeader: String
1972
1974
 
1973
- attr_accessor :ZoneId, :Name, :Type, :Records
1975
+ attr_accessor :ZoneId, :Name, :Type, :Records, :HostHeader
1974
1976
 
1975
- def initialize(zoneid=nil, name=nil, type=nil, records=nil)
1977
+ def initialize(zoneid=nil, name=nil, type=nil, records=nil, hostheader=nil)
1976
1978
  @ZoneId = zoneid
1977
1979
  @Name = name
1978
1980
  @Type = type
1979
1981
  @Records = records
1982
+ @HostHeader = hostheader
1980
1983
  end
1981
1984
 
1982
1985
  def deserialize(params)
@@ -1991,6 +1994,7 @@ module TencentCloud
1991
1994
  @Records << originrecord_tmp
1992
1995
  end
1993
1996
  end
1997
+ @HostHeader = params['HostHeader']
1994
1998
  end
1995
1999
  end
1996
2000
 
@@ -4198,6 +4202,59 @@ module TencentCloud
4198
4202
  end
4199
4203
  end
4200
4204
 
4205
+ # DescribeSecurityTemplateBindings请求参数结构体
4206
+ class DescribeSecurityTemplateBindingsRequest < TencentCloud::Common::AbstractModel
4207
+ # @param ZoneId: 要查询的站点 ID。
4208
+ # @type ZoneId: String
4209
+ # @param TemplateId: 要查询的策略模板 ID。
4210
+ # @type TemplateId: Array
4211
+
4212
+ attr_accessor :ZoneId, :TemplateId
4213
+
4214
+ def initialize(zoneid=nil, templateid=nil)
4215
+ @ZoneId = zoneid
4216
+ @TemplateId = templateid
4217
+ end
4218
+
4219
+ def deserialize(params)
4220
+ @ZoneId = params['ZoneId']
4221
+ @TemplateId = params['TemplateId']
4222
+ end
4223
+ end
4224
+
4225
+ # DescribeSecurityTemplateBindings返回参数结构体
4226
+ class DescribeSecurityTemplateBindingsResponse < TencentCloud::Common::AbstractModel
4227
+ # @param SecurityTemplate: 指定策略模板的绑定关系列表。
4228
+
4229
+ # 当某个站点中的域名包含在指定策略模板的绑定关系中时,绑定关系列表 `TemplateScope` 中会包含该站点的 `ZoneId`,和该站点下的和该策略模板有关的域名绑定关系。
4230
+
4231
+ # 注意:当没有任何域名正在绑定或已经绑定到指定策略模板时,绑定关系为空。即:返回结构体中,`TemplateScope` 数组长度为 0。
4232
+
4233
+ # 绑定关系中,同一域名可能在 `EntityStatus` 列表中重复出现,并标记为不同 `Status` 。例如,正在被绑定到其他策略模板的域名,会同时标记为 `online` 和 `pending` 。
4234
+ # @type SecurityTemplate: Array
4235
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4236
+ # @type RequestId: String
4237
+
4238
+ attr_accessor :SecurityTemplate, :RequestId
4239
+
4240
+ def initialize(securitytemplate=nil, requestid=nil)
4241
+ @SecurityTemplate = securitytemplate
4242
+ @RequestId = requestid
4243
+ end
4244
+
4245
+ def deserialize(params)
4246
+ unless params['SecurityTemplate'].nil?
4247
+ @SecurityTemplate = []
4248
+ params['SecurityTemplate'].each do |i|
4249
+ securitytemplatebinding_tmp = SecurityTemplateBinding.new
4250
+ securitytemplatebinding_tmp.deserialize(i)
4251
+ @SecurityTemplate << securitytemplatebinding_tmp
4252
+ end
4253
+ end
4254
+ @RequestId = params['RequestId']
4255
+ end
4256
+ end
4257
+
4201
4258
  # DescribeTimingL4Data请求参数结构体
4202
4259
  class DescribeTimingL4DataRequest < TencentCloud::Common::AbstractModel
4203
4260
  # @param StartTime: 开始时间。
@@ -5279,6 +5336,31 @@ module TencentCloud
5279
5336
  end
5280
5337
  end
5281
5338
 
5339
+ # 安全实例状态。
5340
+ class EntityStatus < TencentCloud::Common::AbstractModel
5341
+ # @param Entity: 实例名,现在只有子域名。
5342
+ # @type Entity: String
5343
+ # @param Status: 实例配置下发状态,取值有:
5344
+ # <li>online:配置已生效;</li><li>fail:配置失败;</li><li> process:配置下发中。</li>
5345
+ # @type Status: String
5346
+ # @param Message: 实例配置下发信息提示。
5347
+ # @type Message: String
5348
+
5349
+ attr_accessor :Entity, :Status, :Message
5350
+
5351
+ def initialize(entity=nil, status=nil, message=nil)
5352
+ @Entity = entity
5353
+ @Status = status
5354
+ @Message = message
5355
+ end
5356
+
5357
+ def deserialize(params)
5358
+ @Entity = params['Entity']
5359
+ @Status = params['Status']
5360
+ @Message = params['Message']
5361
+ end
5362
+ end
5363
+
5282
5364
  # 例外规则,用于配置需要跳过特定场景的规则
5283
5365
  class ExceptConfig < TencentCloud::Common::AbstractModel
5284
5366
  # @param Switch: 配置开关,取值有:
@@ -6749,11 +6831,11 @@ module TencentCloud
6749
6831
 
6750
6832
  # ModifyOriginGroup请求参数结构体
6751
6833
  class ModifyOriginGroupRequest < TencentCloud::Common::AbstractModel
6752
- # @param ZoneId: 站点ID
6834
+ # @param ZoneId: 站点 ID
6753
6835
  # @type ZoneId: String
6754
- # @param GroupId: 源站组ID,此参数必填。
6836
+ # @param GroupId: 源站组 ID,此参数必填。
6755
6837
  # @type GroupId: String
6756
- # @param Name: 源站组名称,不填保持原有配置,可输入1-200个字符,允许的字符为 a-z, A-Z, 0-9, _, - 。
6838
+ # @param Name: 源站组名称,不填保持原有配置,可输入1 - 200个字符,允许的字符为 a - z, A - Z, 0 - 9, _, - 。
6757
6839
  # @type Name: String
6758
6840
  # @param Type: 源站组类型,取值有:
6759
6841
  # <li>GENERAL:通用型源站组,仅支持添加 IP/域名 源站,可以被域名服务、规则引擎、四层代理、通用型负载均衡引用;</li>
@@ -6761,15 +6843,18 @@ module TencentCloud
6761
6843
  # @type Type: String
6762
6844
  # @param Records: 源站记录信息,不填保持原有配置。
6763
6845
  # @type Records: Array
6846
+ # @param HostHeader: 回源 Host Header,仅 Type = HTTP 时生效, 不填或者填空表示不配置回源Host,规则引擎修改 Host Header 配置优先级高于源站组的 Host Header。
6847
+ # @type HostHeader: String
6764
6848
 
6765
- attr_accessor :ZoneId, :GroupId, :Name, :Type, :Records
6849
+ attr_accessor :ZoneId, :GroupId, :Name, :Type, :Records, :HostHeader
6766
6850
 
6767
- def initialize(zoneid=nil, groupid=nil, name=nil, type=nil, records=nil)
6851
+ def initialize(zoneid=nil, groupid=nil, name=nil, type=nil, records=nil, hostheader=nil)
6768
6852
  @ZoneId = zoneid
6769
6853
  @GroupId = groupid
6770
6854
  @Name = name
6771
6855
  @Type = type
6772
6856
  @Records = records
6857
+ @HostHeader = hostheader
6773
6858
  end
6774
6859
 
6775
6860
  def deserialize(params)
@@ -6785,6 +6870,7 @@ module TencentCloud
6785
6870
  @Records << originrecord_tmp
6786
6871
  end
6787
6872
  end
6873
+ @HostHeader = params['HostHeader']
6788
6874
  end
6789
6875
  end
6790
6876
 
@@ -8923,6 +9009,33 @@ module TencentCloud
8923
9009
  end
8924
9010
  end
8925
9011
 
9012
+ # 安全策略模板的绑定关系。
9013
+ class SecurityTemplateBinding < TencentCloud::Common::AbstractModel
9014
+ # @param TemplateId: 模板ID
9015
+ # @type TemplateId: String
9016
+ # @param TemplateScope: 模板绑定状态。
9017
+ # @type TemplateScope: Array
9018
+
9019
+ attr_accessor :TemplateId, :TemplateScope
9020
+
9021
+ def initialize(templateid=nil, templatescope=nil)
9022
+ @TemplateId = templateid
9023
+ @TemplateScope = templatescope
9024
+ end
9025
+
9026
+ def deserialize(params)
9027
+ @TemplateId = params['TemplateId']
9028
+ unless params['TemplateScope'].nil?
9029
+ @TemplateScope = []
9030
+ params['TemplateScope'].each do |i|
9031
+ templatescope_tmp = TemplateScope.new
9032
+ templatescope_tmp.deserialize(i)
9033
+ @TemplateScope << templatescope_tmp
9034
+ end
9035
+ end
9036
+ end
9037
+ end
9038
+
8926
9039
  # 安全类型配置项。
8927
9040
  class SecurityType < TencentCloud::Common::AbstractModel
8928
9041
  # @param Switch: 安全类型开关,取值为:
@@ -9362,6 +9475,35 @@ module TencentCloud
9362
9475
  end
9363
9476
  end
9364
9477
 
9478
+ # 安全模板绑定域名状态
9479
+ class TemplateScope < TencentCloud::Common::AbstractModel
9480
+ # @param ZoneId: 站点ID。
9481
+ # 注意:此字段可能返回 null,表示取不到有效值。
9482
+ # @type ZoneId: String
9483
+ # @param EntityStatus: 实例状态列表。
9484
+ # 注意:此字段可能返回 null,表示取不到有效值。
9485
+ # @type EntityStatus: Array
9486
+
9487
+ attr_accessor :ZoneId, :EntityStatus
9488
+
9489
+ def initialize(zoneid=nil, entitystatus=nil)
9490
+ @ZoneId = zoneid
9491
+ @EntityStatus = entitystatus
9492
+ end
9493
+
9494
+ def deserialize(params)
9495
+ @ZoneId = params['ZoneId']
9496
+ unless params['EntityStatus'].nil?
9497
+ @EntityStatus = []
9498
+ params['EntityStatus'].each do |i|
9499
+ entitystatus_tmp = EntityStatus.new
9500
+ entitystatus_tmp.deserialize(i)
9501
+ @EntityStatus << entitystatus_tmp
9502
+ end
9503
+ end
9504
+ end
9505
+ end
9506
+
9365
9507
  # 统计曲线数据项
9366
9508
  class TimingDataItem < TencentCloud::Common::AbstractModel
9367
9509
  # @param Timestamp: 返回数据对应时间点,采用unix秒级时间戳。
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.685
4
+ version: 3.0.686
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-10-26 00:00:00.000000000 Z
11
+ date: 2023-10-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common