tencentcloud-sdk-teo 3.0.684 → 3.0.686
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/tencentcloud-sdk-teo.rb +3 -3
- data/lib/v20220901/client.rb +96 -0
- data/lib/v20220901/models.rb +472 -93
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3e53606e1352e7f2f453bb529e13e3b1fb156ab3
|
4
|
+
data.tar.gz: 0ab317d16c85cb7be326e56319f352ad9af4d200
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b5bfc14cbbdac6defb1644c1418008c6b438cbade00e0fd5ae58dbc1ec17a901329c2a605559622f3726f3238d62b739cdd12e4abe6ab62134808c5d4f531136
|
7
|
+
data.tar.gz: 632c5914267ac6f96703ff60ff4543a296858c88589753efd34fb66afb72c0b7d2a05f1164882a06e5536fec9d82f09f1c2dc79e4b186f460fa5a55672345c3c
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.686
|
data/lib/tencentcloud-sdk-teo.rb
CHANGED
@@ -2,12 +2,12 @@
|
|
2
2
|
|
3
3
|
require 'tencentcloud-sdk-common'
|
4
4
|
|
5
|
-
require_relative 'v20220901/client'
|
6
|
-
require_relative 'v20220901/models'
|
7
|
-
|
8
5
|
require_relative 'v20220106/client'
|
9
6
|
require_relative 'v20220106/models'
|
10
7
|
|
8
|
+
require_relative 'v20220901/client'
|
9
|
+
require_relative 'v20220901/models'
|
10
|
+
|
11
11
|
module TencentCloud
|
12
12
|
module Teo
|
13
13
|
end
|
data/lib/v20220901/client.rb
CHANGED
@@ -175,6 +175,30 @@ module TencentCloud
|
|
175
175
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
176
176
|
end
|
177
177
|
|
178
|
+
# 创建源站组,以源站组的方式管理业务源站。此处配置的源站组可于**添加加速域名**和**四层代理**等功能中引用。
|
179
|
+
|
180
|
+
# @param request: Request instance for CreateOriginGroup.
|
181
|
+
# @type request: :class:`Tencentcloud::teo::V20220901::CreateOriginGroupRequest`
|
182
|
+
# @rtype: :class:`Tencentcloud::teo::V20220901::CreateOriginGroupResponse`
|
183
|
+
def CreateOriginGroup(request)
|
184
|
+
body = send_request('CreateOriginGroup', request.serialize)
|
185
|
+
response = JSON.parse(body)
|
186
|
+
if response['Response'].key?('Error') == false
|
187
|
+
model = CreateOriginGroupResponse.new
|
188
|
+
model.deserialize(response['Response'])
|
189
|
+
model
|
190
|
+
else
|
191
|
+
code = response['Response']['Error']['Code']
|
192
|
+
message = response['Response']['Error']['Message']
|
193
|
+
reqid = response['Response']['RequestId']
|
194
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
195
|
+
end
|
196
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
197
|
+
raise e
|
198
|
+
rescue StandardError => e
|
199
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
200
|
+
end
|
201
|
+
|
178
202
|
# 为未购买套餐的站点购买套餐
|
179
203
|
|
180
204
|
# @param request: Request instance for CreatePlanForZone.
|
@@ -443,6 +467,30 @@ module TencentCloud
|
|
443
467
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
444
468
|
end
|
445
469
|
|
470
|
+
# 删除源站组,若源站组仍然被服务(例如:四层代理,域名服务,负载均衡,规则引起)引用,将不允许删除。
|
471
|
+
|
472
|
+
# @param request: Request instance for DeleteOriginGroup.
|
473
|
+
# @type request: :class:`Tencentcloud::teo::V20220901::DeleteOriginGroupRequest`
|
474
|
+
# @rtype: :class:`Tencentcloud::teo::V20220901::DeleteOriginGroupResponse`
|
475
|
+
def DeleteOriginGroup(request)
|
476
|
+
body = send_request('DeleteOriginGroup', request.serialize)
|
477
|
+
response = JSON.parse(body)
|
478
|
+
if response['Response'].key?('Error') == false
|
479
|
+
model = DeleteOriginGroupResponse.new
|
480
|
+
model.deserialize(response['Response'])
|
481
|
+
model
|
482
|
+
else
|
483
|
+
code = response['Response']['Error']['Code']
|
484
|
+
message = response['Response']['Error']['Message']
|
485
|
+
reqid = response['Response']['RequestId']
|
486
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
487
|
+
end
|
488
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
489
|
+
raise e
|
490
|
+
rescue StandardError => e
|
491
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
492
|
+
end
|
493
|
+
|
446
494
|
# 批量删除规则引擎规则。
|
447
495
|
|
448
496
|
# @param request: Request instance for DeleteRules.
|
@@ -947,6 +995,30 @@ module TencentCloud
|
|
947
995
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
948
996
|
end
|
949
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
|
+
|
950
1022
|
# 本接口(DescribeTimingL4Data)用于查询四层时序流量数据列表。
|
951
1023
|
|
952
1024
|
# @param request: Request instance for DescribeTimingL4Data.
|
@@ -1405,6 +1477,30 @@ module TencentCloud
|
|
1405
1477
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1406
1478
|
end
|
1407
1479
|
|
1480
|
+
# 修改源站组配置,新提交的源站记录将会覆盖原有源站组中的源站记录。
|
1481
|
+
|
1482
|
+
# @param request: Request instance for ModifyOriginGroup.
|
1483
|
+
# @type request: :class:`Tencentcloud::teo::V20220901::ModifyOriginGroupRequest`
|
1484
|
+
# @rtype: :class:`Tencentcloud::teo::V20220901::ModifyOriginGroupResponse`
|
1485
|
+
def ModifyOriginGroup(request)
|
1486
|
+
body = send_request('ModifyOriginGroup', request.serialize)
|
1487
|
+
response = JSON.parse(body)
|
1488
|
+
if response['Response'].key?('Error') == false
|
1489
|
+
model = ModifyOriginGroupResponse.new
|
1490
|
+
model.deserialize(response['Response'])
|
1491
|
+
model
|
1492
|
+
else
|
1493
|
+
code = response['Response']['Error']['Code']
|
1494
|
+
message = response['Response']['Error']['Message']
|
1495
|
+
reqid = response['Response']['RequestId']
|
1496
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1497
|
+
end
|
1498
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1499
|
+
raise e
|
1500
|
+
rescue StandardError => e
|
1501
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1502
|
+
end
|
1503
|
+
|
1408
1504
|
# 修改规则引擎规则。
|
1409
1505
|
|
1410
1506
|
# @param request: Request instance for ModifyRule.
|
data/lib/v20220901/models.rb
CHANGED
@@ -69,6 +69,24 @@ module TencentCloud
|
|
69
69
|
# @param OriginDetail: 源站信息。
|
70
70
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
71
71
|
# @type OriginDetail: :class:`Tencentcloud::Teo.v20220901.models.OriginDetail`
|
72
|
+
# @param OriginProtocol: 回源协议,取值有:
|
73
|
+
# <li>FOLLOW: 协议跟随;</li>
|
74
|
+
# <li>HTTP: HTTP协议回源;</li>
|
75
|
+
# <li>HTTPS: HTTPS协议回源。</li>
|
76
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
77
|
+
# @type OriginProtocol: String
|
78
|
+
# @param HttpOriginPort: HTTP回源端口。
|
79
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
80
|
+
# @type HttpOriginPort: Integer
|
81
|
+
# @param HttpsOriginPort: HTTPS回源端口。
|
82
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
83
|
+
# @type HttpsOriginPort: Integer
|
84
|
+
# @param IPv6Status: IPv6状态,取值有:
|
85
|
+
# <li>follow:遵循站点IPv6配置;</li>
|
86
|
+
# <li>on:开启状态;</li>
|
87
|
+
# <li>off:关闭状态。</li>
|
88
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
89
|
+
# @type IPv6Status: String
|
72
90
|
# @param Cname: CNAME 地址。
|
73
91
|
# @type Cname: String
|
74
92
|
# @param IdentificationStatus: 加速域名归属权验证状态,取值有: <li>pending:待验证;</li> <li>finished:已完成验证。</li>
|
@@ -85,13 +103,17 @@ module TencentCloud
|
|
85
103
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
86
104
|
# @type Certificate: :class:`Tencentcloud::Teo.v20220901.models.AccelerationDomainCertificate`
|
87
105
|
|
88
|
-
attr_accessor :ZoneId, :DomainName, :DomainStatus, :OriginDetail, :Cname, :IdentificationStatus, :CreatedOn, :ModifiedOn, :OwnershipVerification, :Certificate
|
106
|
+
attr_accessor :ZoneId, :DomainName, :DomainStatus, :OriginDetail, :OriginProtocol, :HttpOriginPort, :HttpsOriginPort, :IPv6Status, :Cname, :IdentificationStatus, :CreatedOn, :ModifiedOn, :OwnershipVerification, :Certificate
|
89
107
|
|
90
|
-
def initialize(zoneid=nil, domainname=nil, domainstatus=nil, origindetail=nil, cname=nil, identificationstatus=nil, createdon=nil, modifiedon=nil, ownershipverification=nil, certificate=nil)
|
108
|
+
def initialize(zoneid=nil, domainname=nil, domainstatus=nil, origindetail=nil, originprotocol=nil, httporiginport=nil, httpsoriginport=nil, ipv6status=nil, cname=nil, identificationstatus=nil, createdon=nil, modifiedon=nil, ownershipverification=nil, certificate=nil)
|
91
109
|
@ZoneId = zoneid
|
92
110
|
@DomainName = domainname
|
93
111
|
@DomainStatus = domainstatus
|
94
112
|
@OriginDetail = origindetail
|
113
|
+
@OriginProtocol = originprotocol
|
114
|
+
@HttpOriginPort = httporiginport
|
115
|
+
@HttpsOriginPort = httpsoriginport
|
116
|
+
@IPv6Status = ipv6status
|
95
117
|
@Cname = cname
|
96
118
|
@IdentificationStatus = identificationstatus
|
97
119
|
@CreatedOn = createdon
|
@@ -108,6 +130,10 @@ module TencentCloud
|
|
108
130
|
@OriginDetail = OriginDetail.new
|
109
131
|
@OriginDetail.deserialize(params['OriginDetail'])
|
110
132
|
end
|
133
|
+
@OriginProtocol = params['OriginProtocol']
|
134
|
+
@HttpOriginPort = params['HttpOriginPort']
|
135
|
+
@HttpsOriginPort = params['HttpsOriginPort']
|
136
|
+
@IPv6Status = params['IPv6Status']
|
111
137
|
@Cname = params['Cname']
|
112
138
|
@IdentificationStatus = params['IdentificationStatus']
|
113
139
|
@CreatedOn = params['CreatedOn']
|
@@ -1625,13 +1651,33 @@ module TencentCloud
|
|
1625
1651
|
# @type DomainName: String
|
1626
1652
|
# @param OriginInfo: 源站信息。
|
1627
1653
|
# @type OriginInfo: :class:`Tencentcloud::Teo.v20220901.models.OriginInfo`
|
1628
|
-
|
1629
|
-
|
1630
|
-
|
1631
|
-
|
1654
|
+
# @param OriginProtocol: 回源协议,取值有:
|
1655
|
+
# <li>FOLLOW: 协议跟随;</li>
|
1656
|
+
# <li>HTTP: HTTP协议回源;</li>
|
1657
|
+
# <li>HTTPS: HTTPS协议回源。</li>
|
1658
|
+
# <li>不填默认为: FOLLOW。</li>
|
1659
|
+
# @type OriginProtocol: String
|
1660
|
+
# @param HttpOriginPort: HTTP回源端口,取值为1-65535,当OriginProtocol=FOLLOW/HTTP时生效, 不填默认为80。
|
1661
|
+
# @type HttpOriginPort: Integer
|
1662
|
+
# @param HttpsOriginPort: HTTPS回源端口,取值为1-65535,当OriginProtocol=FOLLOW/HTTPS时生效,不填默认为443。
|
1663
|
+
# @type HttpsOriginPort: Integer
|
1664
|
+
# @param IPv6Status: IPv6状态,取值有:
|
1665
|
+
# <li>follow:遵循站点IPv6配置;</li>
|
1666
|
+
# <li>on:开启状态;</li>
|
1667
|
+
# <li>off:关闭状态。</li>
|
1668
|
+
# <li>不填默认为:follow。</li>
|
1669
|
+
# @type IPv6Status: String
|
1670
|
+
|
1671
|
+
attr_accessor :ZoneId, :DomainName, :OriginInfo, :OriginProtocol, :HttpOriginPort, :HttpsOriginPort, :IPv6Status
|
1672
|
+
|
1673
|
+
def initialize(zoneid=nil, domainname=nil, origininfo=nil, originprotocol=nil, httporiginport=nil, httpsoriginport=nil, ipv6status=nil)
|
1632
1674
|
@ZoneId = zoneid
|
1633
1675
|
@DomainName = domainname
|
1634
1676
|
@OriginInfo = origininfo
|
1677
|
+
@OriginProtocol = originprotocol
|
1678
|
+
@HttpOriginPort = httporiginport
|
1679
|
+
@HttpsOriginPort = httpsoriginport
|
1680
|
+
@IPv6Status = ipv6status
|
1635
1681
|
end
|
1636
1682
|
|
1637
1683
|
def deserialize(params)
|
@@ -1641,6 +1687,10 @@ module TencentCloud
|
|
1641
1687
|
@OriginInfo = OriginInfo.new
|
1642
1688
|
@OriginInfo.deserialize(params['OriginInfo'])
|
1643
1689
|
end
|
1690
|
+
@OriginProtocol = params['OriginProtocol']
|
1691
|
+
@HttpOriginPort = params['HttpOriginPort']
|
1692
|
+
@HttpsOriginPort = params['HttpsOriginPort']
|
1693
|
+
@IPv6Status = params['IPv6Status']
|
1644
1694
|
end
|
1645
1695
|
end
|
1646
1696
|
|
@@ -1907,6 +1957,67 @@ module TencentCloud
|
|
1907
1957
|
end
|
1908
1958
|
end
|
1909
1959
|
|
1960
|
+
# CreateOriginGroup请求参数结构体
|
1961
|
+
class CreateOriginGroupRequest < TencentCloud::Common::AbstractModel
|
1962
|
+
# @param ZoneId: 站点 ID
|
1963
|
+
# @type ZoneId: String
|
1964
|
+
# @param Name: 源站组名称,可输入1 - 200个字符,允许的字符为 a - z, A - Z, 0 - 9, _, - 。
|
1965
|
+
# @type Name: String
|
1966
|
+
# @param Type: 源站组类型,此参数必填,取值有:
|
1967
|
+
# <li>GENERAL:通用型源站组,仅支持添加 IP/域名 源站,可以被域名服务、规则引擎、四层代理、通用型负载均衡、HTTP 专用型负载均衡引用;</li>
|
1968
|
+
# <li>HTTP: HTTP 专用型源站组,支持添加 IP/域名、对象存储源站作为源站,无法被四层代理引用,仅支持被添加加速域名、规则引擎-修改源站、HTTP 专用型负载均衡引用。</li>
|
1969
|
+
# @type Type: String
|
1970
|
+
# @param Records: 源站记录信息,此参数必填。
|
1971
|
+
# @type Records: Array
|
1972
|
+
# @param HostHeader: 回源 Host Header,仅 Type = HTTP 时传入生效,规则引擎修改 Host Header 配置优先级高于源站组的 Host Header。
|
1973
|
+
# @type HostHeader: String
|
1974
|
+
|
1975
|
+
attr_accessor :ZoneId, :Name, :Type, :Records, :HostHeader
|
1976
|
+
|
1977
|
+
def initialize(zoneid=nil, name=nil, type=nil, records=nil, hostheader=nil)
|
1978
|
+
@ZoneId = zoneid
|
1979
|
+
@Name = name
|
1980
|
+
@Type = type
|
1981
|
+
@Records = records
|
1982
|
+
@HostHeader = hostheader
|
1983
|
+
end
|
1984
|
+
|
1985
|
+
def deserialize(params)
|
1986
|
+
@ZoneId = params['ZoneId']
|
1987
|
+
@Name = params['Name']
|
1988
|
+
@Type = params['Type']
|
1989
|
+
unless params['Records'].nil?
|
1990
|
+
@Records = []
|
1991
|
+
params['Records'].each do |i|
|
1992
|
+
originrecord_tmp = OriginRecord.new
|
1993
|
+
originrecord_tmp.deserialize(i)
|
1994
|
+
@Records << originrecord_tmp
|
1995
|
+
end
|
1996
|
+
end
|
1997
|
+
@HostHeader = params['HostHeader']
|
1998
|
+
end
|
1999
|
+
end
|
2000
|
+
|
2001
|
+
# CreateOriginGroup返回参数结构体
|
2002
|
+
class CreateOriginGroupResponse < TencentCloud::Common::AbstractModel
|
2003
|
+
# @param OriginGroupId: 源站组ID。
|
2004
|
+
# @type OriginGroupId: String
|
2005
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2006
|
+
# @type RequestId: String
|
2007
|
+
|
2008
|
+
attr_accessor :OriginGroupId, :RequestId
|
2009
|
+
|
2010
|
+
def initialize(origingroupid=nil, requestid=nil)
|
2011
|
+
@OriginGroupId = origingroupid
|
2012
|
+
@RequestId = requestid
|
2013
|
+
end
|
2014
|
+
|
2015
|
+
def deserialize(params)
|
2016
|
+
@OriginGroupId = params['OriginGroupId']
|
2017
|
+
@RequestId = params['RequestId']
|
2018
|
+
end
|
2019
|
+
end
|
2020
|
+
|
1910
2021
|
# CreatePlanForZone请求参数结构体
|
1911
2022
|
class CreatePlanForZoneRequest < TencentCloud::Common::AbstractModel
|
1912
2023
|
# @param ZoneId: 站点ID。
|
@@ -2214,8 +2325,10 @@ module TencentCloud
|
|
2214
2325
|
# @param ZoneId: 共享 CNAME 所属站点的 ID。
|
2215
2326
|
# @type ZoneId: String
|
2216
2327
|
# @param SharedCNAMEPrefix: 共享 CNAME 前缀。请输入合法的域名前缀,例如"test-api"、"test-api.com",限制输入 50 个字符。
|
2217
|
-
|
2218
|
-
#
|
2328
|
+
|
2329
|
+
# 共享 CNAME 完整格式为:<自定义前缀>+<zoneid中的12位随机字符串>+"share.eo.dnse[0-5].com"。
|
2330
|
+
|
2331
|
+
# 例如前缀传入 example.com,EO 会为您创建共享 CNAME:example.com.sai2ig51kaa5.share.eo.dnse2.com
|
2219
2332
|
# @type SharedCNAMEPrefix: String
|
2220
2333
|
# @param Description: 描述。可输入 1-50 个任意字符。
|
2221
2334
|
# @type Description: String
|
@@ -2686,6 +2799,42 @@ module TencentCloud
|
|
2686
2799
|
end
|
2687
2800
|
end
|
2688
2801
|
|
2802
|
+
# DeleteOriginGroup请求参数结构体
|
2803
|
+
class DeleteOriginGroupRequest < TencentCloud::Common::AbstractModel
|
2804
|
+
# @param ZoneId: 站点ID。
|
2805
|
+
# @type ZoneId: String
|
2806
|
+
# @param GroupId: 源站组ID,此参数必填。
|
2807
|
+
# @type GroupId: String
|
2808
|
+
|
2809
|
+
attr_accessor :ZoneId, :GroupId
|
2810
|
+
|
2811
|
+
def initialize(zoneid=nil, groupid=nil)
|
2812
|
+
@ZoneId = zoneid
|
2813
|
+
@GroupId = groupid
|
2814
|
+
end
|
2815
|
+
|
2816
|
+
def deserialize(params)
|
2817
|
+
@ZoneId = params['ZoneId']
|
2818
|
+
@GroupId = params['GroupId']
|
2819
|
+
end
|
2820
|
+
end
|
2821
|
+
|
2822
|
+
# DeleteOriginGroup返回参数结构体
|
2823
|
+
class DeleteOriginGroupResponse < TencentCloud::Common::AbstractModel
|
2824
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2825
|
+
# @type RequestId: String
|
2826
|
+
|
2827
|
+
attr_accessor :RequestId
|
2828
|
+
|
2829
|
+
def initialize(requestid=nil)
|
2830
|
+
@RequestId = requestid
|
2831
|
+
end
|
2832
|
+
|
2833
|
+
def deserialize(params)
|
2834
|
+
@RequestId = params['RequestId']
|
2835
|
+
end
|
2836
|
+
end
|
2837
|
+
|
2689
2838
|
# DeleteRules请求参数结构体
|
2690
2839
|
class DeleteRulesRequest < TencentCloud::Common::AbstractModel
|
2691
2840
|
# @param ZoneId: 站点 ID。
|
@@ -3571,23 +3720,27 @@ module TencentCloud
|
|
3571
3720
|
|
3572
3721
|
# DescribeOriginGroup请求参数结构体
|
3573
3722
|
class DescribeOriginGroupRequest < TencentCloud::Common::AbstractModel
|
3574
|
-
# @param
|
3723
|
+
# @param ZoneId: 站点ID,此参数必填。
|
3724
|
+
# @type ZoneId: String
|
3725
|
+
# @param Offset: 分页查询偏移量,不填默认为0。
|
3575
3726
|
# @type Offset: Integer
|
3576
|
-
# @param Limit:
|
3727
|
+
# @param Limit: 分页查询限制数目,不填默认为20,取值:1-1000。
|
3577
3728
|
# @type Limit: Integer
|
3578
3729
|
# @param Filters: 过滤条件,Filters.Values的上限为20。详细的过滤条件如下:
|
3579
|
-
# <li>
|
3730
|
+
# <li>origin-group-id<br> 按照【<strong>源站组ID</strong>】进行过滤。源站组ID形如:origin-2ccgtb24-7dc5-46s2-9r3e-95825d53dwe3a<br> 模糊查询:不支持</li><li>origin-group-name<br> 按照【<strong>源站组名称</strong>】进行过滤<br> 模糊查询:支持。使用模糊查询时,仅支持填写一个源站组名称</li>
|
3580
3731
|
# @type Filters: Array
|
3581
3732
|
|
3582
|
-
attr_accessor :Offset, :Limit, :Filters
|
3733
|
+
attr_accessor :ZoneId, :Offset, :Limit, :Filters
|
3583
3734
|
|
3584
|
-
def initialize(offset=nil, limit=nil, filters=nil)
|
3735
|
+
def initialize(zoneid=nil, offset=nil, limit=nil, filters=nil)
|
3736
|
+
@ZoneId = zoneid
|
3585
3737
|
@Offset = offset
|
3586
3738
|
@Limit = limit
|
3587
3739
|
@Filters = filters
|
3588
3740
|
end
|
3589
3741
|
|
3590
3742
|
def deserialize(params)
|
3743
|
+
@ZoneId = params['ZoneId']
|
3591
3744
|
@Offset = params['Offset']
|
3592
3745
|
@Limit = params['Limit']
|
3593
3746
|
unless params['Filters'].nil?
|
@@ -4049,6 +4202,59 @@ module TencentCloud
|
|
4049
4202
|
end
|
4050
4203
|
end
|
4051
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
|
+
|
4052
4258
|
# DescribeTimingL4Data请求参数结构体
|
4053
4259
|
class DescribeTimingL4DataRequest < TencentCloud::Common::AbstractModel
|
4054
4260
|
# @param StartTime: 开始时间。
|
@@ -5130,6 +5336,31 @@ module TencentCloud
|
|
5130
5336
|
end
|
5131
5337
|
end
|
5132
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
|
+
|
5133
5364
|
# 例外规则,用于配置需要跳过特定场景的规则
|
5134
5365
|
class ExceptConfig < TencentCloud::Common::AbstractModel
|
5135
5366
|
# @param Switch: 配置开关,取值有:
|
@@ -6086,13 +6317,33 @@ module TencentCloud
|
|
6086
6317
|
# @type DomainName: String
|
6087
6318
|
# @param OriginInfo: 源站信息。
|
6088
6319
|
# @type OriginInfo: :class:`Tencentcloud::Teo.v20220901.models.OriginInfo`
|
6089
|
-
|
6090
|
-
|
6091
|
-
|
6092
|
-
|
6320
|
+
# @param OriginProtocol: 回源协议,取值有:
|
6321
|
+
# <li>FOLLOW: 协议跟随;</li>
|
6322
|
+
# <li>HTTP: HTTP协议回源;</li>
|
6323
|
+
# <li>HTTPS: HTTPS协议回源。</li>
|
6324
|
+
# <li>不填保持原有配置。</li>
|
6325
|
+
# @type OriginProtocol: String
|
6326
|
+
# @param HttpOriginPort: HTTP回源端口,取值为1-65535,当OriginProtocol=FOLLOW/HTTP时生效, 不填保持原有配置。
|
6327
|
+
# @type HttpOriginPort: Integer
|
6328
|
+
# @param HttpsOriginPort: HTTPS回源端口,取值为1-65535,当OriginProtocol=FOLLOW/HTTPS时生效,不填保持原有配置。
|
6329
|
+
# @type HttpsOriginPort: Integer
|
6330
|
+
# @param IPv6Status: IPv6状态,取值有:
|
6331
|
+
# <li>follow:遵循站点IPv6配置;</li>
|
6332
|
+
# <li>on:开启状态;</li>
|
6333
|
+
# <li>off:关闭状态。</li>
|
6334
|
+
# <li>不填保持原有配置。</li>
|
6335
|
+
# @type IPv6Status: String
|
6336
|
+
|
6337
|
+
attr_accessor :ZoneId, :DomainName, :OriginInfo, :OriginProtocol, :HttpOriginPort, :HttpsOriginPort, :IPv6Status
|
6338
|
+
|
6339
|
+
def initialize(zoneid=nil, domainname=nil, origininfo=nil, originprotocol=nil, httporiginport=nil, httpsoriginport=nil, ipv6status=nil)
|
6093
6340
|
@ZoneId = zoneid
|
6094
6341
|
@DomainName = domainname
|
6095
6342
|
@OriginInfo = origininfo
|
6343
|
+
@OriginProtocol = originprotocol
|
6344
|
+
@HttpOriginPort = httporiginport
|
6345
|
+
@HttpsOriginPort = httpsoriginport
|
6346
|
+
@IPv6Status = ipv6status
|
6096
6347
|
end
|
6097
6348
|
|
6098
6349
|
def deserialize(params)
|
@@ -6102,6 +6353,10 @@ module TencentCloud
|
|
6102
6353
|
@OriginInfo = OriginInfo.new
|
6103
6354
|
@OriginInfo.deserialize(params['OriginInfo'])
|
6104
6355
|
end
|
6356
|
+
@OriginProtocol = params['OriginProtocol']
|
6357
|
+
@HttpOriginPort = params['HttpOriginPort']
|
6358
|
+
@HttpsOriginPort = params['HttpsOriginPort']
|
6359
|
+
@IPv6Status = params['IPv6Status']
|
6105
6360
|
end
|
6106
6361
|
end
|
6107
6362
|
|
@@ -6574,6 +6829,67 @@ module TencentCloud
|
|
6574
6829
|
end
|
6575
6830
|
end
|
6576
6831
|
|
6832
|
+
# ModifyOriginGroup请求参数结构体
|
6833
|
+
class ModifyOriginGroupRequest < TencentCloud::Common::AbstractModel
|
6834
|
+
# @param ZoneId: 站点 ID
|
6835
|
+
# @type ZoneId: String
|
6836
|
+
# @param GroupId: 源站组 ID,此参数必填。
|
6837
|
+
# @type GroupId: String
|
6838
|
+
# @param Name: 源站组名称,不填保持原有配置,可输入1 - 200个字符,允许的字符为 a - z, A - Z, 0 - 9, _, - 。
|
6839
|
+
# @type Name: String
|
6840
|
+
# @param Type: 源站组类型,取值有:
|
6841
|
+
# <li>GENERAL:通用型源站组,仅支持添加 IP/域名 源站,可以被域名服务、规则引擎、四层代理、通用型负载均衡引用;</li>
|
6842
|
+
# <li>HTTP: HTTP专用型源站组,支持添加 IP/域名、对象存储源站,无法被四层代理引用。</li>不填保持原有配置。
|
6843
|
+
# @type Type: String
|
6844
|
+
# @param Records: 源站记录信息,不填保持原有配置。
|
6845
|
+
# @type Records: Array
|
6846
|
+
# @param HostHeader: 回源 Host Header,仅 Type = HTTP 时生效, 不填或者填空表示不配置回源Host,规则引擎修改 Host Header 配置优先级高于源站组的 Host Header。
|
6847
|
+
# @type HostHeader: String
|
6848
|
+
|
6849
|
+
attr_accessor :ZoneId, :GroupId, :Name, :Type, :Records, :HostHeader
|
6850
|
+
|
6851
|
+
def initialize(zoneid=nil, groupid=nil, name=nil, type=nil, records=nil, hostheader=nil)
|
6852
|
+
@ZoneId = zoneid
|
6853
|
+
@GroupId = groupid
|
6854
|
+
@Name = name
|
6855
|
+
@Type = type
|
6856
|
+
@Records = records
|
6857
|
+
@HostHeader = hostheader
|
6858
|
+
end
|
6859
|
+
|
6860
|
+
def deserialize(params)
|
6861
|
+
@ZoneId = params['ZoneId']
|
6862
|
+
@GroupId = params['GroupId']
|
6863
|
+
@Name = params['Name']
|
6864
|
+
@Type = params['Type']
|
6865
|
+
unless params['Records'].nil?
|
6866
|
+
@Records = []
|
6867
|
+
params['Records'].each do |i|
|
6868
|
+
originrecord_tmp = OriginRecord.new
|
6869
|
+
originrecord_tmp.deserialize(i)
|
6870
|
+
@Records << originrecord_tmp
|
6871
|
+
end
|
6872
|
+
end
|
6873
|
+
@HostHeader = params['HostHeader']
|
6874
|
+
end
|
6875
|
+
end
|
6876
|
+
|
6877
|
+
# ModifyOriginGroup返回参数结构体
|
6878
|
+
class ModifyOriginGroupResponse < TencentCloud::Common::AbstractModel
|
6879
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
6880
|
+
# @type RequestId: String
|
6881
|
+
|
6882
|
+
attr_accessor :RequestId
|
6883
|
+
|
6884
|
+
def initialize(requestid=nil)
|
6885
|
+
@RequestId = requestid
|
6886
|
+
end
|
6887
|
+
|
6888
|
+
def deserialize(params)
|
6889
|
+
@RequestId = params['RequestId']
|
6890
|
+
end
|
6891
|
+
end
|
6892
|
+
|
6577
6893
|
# ModifyRule请求参数结构体
|
6578
6894
|
class ModifyRuleRequest < TencentCloud::Common::AbstractModel
|
6579
6895
|
# @param ZoneId: 站点 ID。
|
@@ -7194,63 +7510,85 @@ module TencentCloud
|
|
7194
7510
|
|
7195
7511
|
# 源站组信息
|
7196
7512
|
class OriginGroup < TencentCloud::Common::AbstractModel
|
7197
|
-
# @param
|
7198
|
-
# @type
|
7199
|
-
# @param
|
7200
|
-
# @type
|
7201
|
-
# @param
|
7202
|
-
#
|
7203
|
-
#
|
7204
|
-
#
|
7205
|
-
#
|
7206
|
-
#
|
7207
|
-
# @
|
7208
|
-
# @
|
7209
|
-
# @
|
7210
|
-
# @
|
7211
|
-
# <li>area:按区域配置;</li>
|
7212
|
-
# <li>weight: 按权重配置。</li>
|
7213
|
-
# <li>proto: 按HTTP协议配置。</li>当OriginType=third_party/cos时放空。
|
7214
|
-
# @type ConfigurationType: String
|
7215
|
-
# @param OriginRecords: 源站记录信息。
|
7216
|
-
# @type OriginRecords: Array
|
7513
|
+
# @param GroupId: 源站组ID。
|
7514
|
+
# @type GroupId: String
|
7515
|
+
# @param Name: 源站组名称。
|
7516
|
+
# @type Name: String
|
7517
|
+
# @param Type: 源站组类型,取值有:
|
7518
|
+
# <li>GENERAL:通用型源站组;</li>
|
7519
|
+
# <li>HTTP: HTTP专用型源站组。</li>
|
7520
|
+
# @type Type: String
|
7521
|
+
# @param Records: 源站记录信息。
|
7522
|
+
# @type Records: Array
|
7523
|
+
# @param References: 源站组被引用实例列表。
|
7524
|
+
# @type References: Array
|
7525
|
+
# @param CreateTime: 源站组创建时间。
|
7526
|
+
# @type CreateTime: String
|
7217
7527
|
# @param UpdateTime: 源站组更新时间。
|
7218
7528
|
# @type UpdateTime: String
|
7219
|
-
# @param HostHeader: 当OriginType=self时,表示回源Host。
|
7220
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
7221
|
-
# @type HostHeader: String
|
7222
7529
|
|
7223
|
-
attr_accessor :
|
7530
|
+
attr_accessor :GroupId, :Name, :Type, :Records, :References, :CreateTime, :UpdateTime
|
7224
7531
|
|
7225
|
-
def initialize(
|
7226
|
-
@
|
7227
|
-
@
|
7228
|
-
@
|
7229
|
-
@
|
7230
|
-
@
|
7231
|
-
@
|
7232
|
-
@OriginRecords = originrecords
|
7532
|
+
def initialize(groupid=nil, name=nil, type=nil, records=nil, references=nil, createtime=nil, updatetime=nil)
|
7533
|
+
@GroupId = groupid
|
7534
|
+
@Name = name
|
7535
|
+
@Type = type
|
7536
|
+
@Records = records
|
7537
|
+
@References = references
|
7538
|
+
@CreateTime = createtime
|
7233
7539
|
@UpdateTime = updatetime
|
7234
|
-
@HostHeader = hostheader
|
7235
7540
|
end
|
7236
7541
|
|
7237
7542
|
def deserialize(params)
|
7238
|
-
@
|
7239
|
-
@
|
7240
|
-
@
|
7241
|
-
|
7242
|
-
|
7243
|
-
|
7244
|
-
unless params['OriginRecords'].nil?
|
7245
|
-
@OriginRecords = []
|
7246
|
-
params['OriginRecords'].each do |i|
|
7543
|
+
@GroupId = params['GroupId']
|
7544
|
+
@Name = params['Name']
|
7545
|
+
@Type = params['Type']
|
7546
|
+
unless params['Records'].nil?
|
7547
|
+
@Records = []
|
7548
|
+
params['Records'].each do |i|
|
7247
7549
|
originrecord_tmp = OriginRecord.new
|
7248
7550
|
originrecord_tmp.deserialize(i)
|
7249
|
-
@
|
7551
|
+
@Records << originrecord_tmp
|
7250
7552
|
end
|
7251
7553
|
end
|
7554
|
+
unless params['References'].nil?
|
7555
|
+
@References = []
|
7556
|
+
params['References'].each do |i|
|
7557
|
+
origingroupreference_tmp = OriginGroupReference.new
|
7558
|
+
origingroupreference_tmp.deserialize(i)
|
7559
|
+
@References << origingroupreference_tmp
|
7560
|
+
end
|
7561
|
+
end
|
7562
|
+
@CreateTime = params['CreateTime']
|
7252
7563
|
@UpdateTime = params['UpdateTime']
|
7253
|
-
|
7564
|
+
end
|
7565
|
+
end
|
7566
|
+
|
7567
|
+
# 源站组引用服务。
|
7568
|
+
class OriginGroupReference < TencentCloud::Common::AbstractModel
|
7569
|
+
# @param InstanceType: 引用服务类型,取值有:
|
7570
|
+
# <li>AccelerationDomain: 加速域名;</li>
|
7571
|
+
# <li>RuleEngine: 规则引擎;</li>
|
7572
|
+
# <li>Loadbalance: 负载均衡;</li>
|
7573
|
+
# <li>ApplicationProxy: 四层代理。</li>
|
7574
|
+
# @type InstanceType: String
|
7575
|
+
# @param InstanceId: 引用类型的实例ID。
|
7576
|
+
# @type InstanceId: String
|
7577
|
+
# @param InstanceName: 应用类型的实例名称。
|
7578
|
+
# @type InstanceName: String
|
7579
|
+
|
7580
|
+
attr_accessor :InstanceType, :InstanceId, :InstanceName
|
7581
|
+
|
7582
|
+
def initialize(instancetype=nil, instanceid=nil, instancename=nil)
|
7583
|
+
@InstanceType = instancetype
|
7584
|
+
@InstanceId = instanceid
|
7585
|
+
@InstanceName = instancename
|
7586
|
+
end
|
7587
|
+
|
7588
|
+
def deserialize(params)
|
7589
|
+
@InstanceType = params['InstanceType']
|
7590
|
+
@InstanceId = params['InstanceId']
|
7591
|
+
@InstanceName = params['InstanceName']
|
7254
7592
|
end
|
7255
7593
|
end
|
7256
7594
|
|
@@ -7364,56 +7702,39 @@ module TencentCloud
|
|
7364
7702
|
class OriginRecord < TencentCloud::Common::AbstractModel
|
7365
7703
|
# @param Record: 源站记录值,不包含端口信息,可以为:IPv4,IPv6,域名格式。
|
7366
7704
|
# @type Record: String
|
7705
|
+
# @param Type: 源站类型,取值有:
|
7706
|
+
# <li>IP_DOMAIN:IPV4、IPV6、域名类型源站;</li>
|
7707
|
+
# <li>COS:COS源。</li>
|
7708
|
+
# <li>AWS_S3:AWS S3对象存储源站。</li>
|
7709
|
+
# @type Type: String
|
7367
7710
|
# @param RecordId: 源站记录ID。
|
7368
7711
|
# @type RecordId: String
|
7369
|
-
# @param
|
7370
|
-
#
|
7371
|
-
# @param Weight: 当源站配置类型ConfigurationType=weight时,表示权重。
|
7372
|
-
# 不配置权重信息时,所有源站组记录统一填写为0或者不填写,表示多个源站轮询回源。
|
7373
|
-
# 配置权重信息时,取值为[1-100],多个源站权重总和应为100,表示多个源站按照权重回源。
|
7374
|
-
# 当源站配置类型ConfigurationType=proto时,表示权重。
|
7375
|
-
# 不配置权重信息时,所有源站组记录统一填写为0或者不填写,表示多个源站轮询回源。
|
7376
|
-
# 配置权重信息时,取值为[1-100],源站组内Proto相同的多个源站权重总和应为100,表示多个源站按照权重回源。
|
7712
|
+
# @param Weight: 源站权重,取值为0-100, 不填表示不设置权重,由系统自由调度,填0表示权重为0, 流量将不会调度到此源站。
|
7713
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7377
7714
|
# @type Weight: Integer
|
7378
|
-
# @param
|
7379
|
-
# <li>http:HTTP协议源站;</li>
|
7380
|
-
# <li>https:HTTPS协议源站。</li>
|
7381
|
-
# @type Proto: String
|
7382
|
-
# @param Area: 当源站配置类型ConfigurationType=area时,表示区域,为空表示全部地区。取值为iso-3166中alpha-2编码或者大洲区域代码。大洲区域代码取值为:
|
7383
|
-
# <li>Asia:亚洲;</li>
|
7384
|
-
# <li>Europe:欧洲;</li>
|
7385
|
-
# <li>Africa:非洲;</li>
|
7386
|
-
# <li>Oceania:大洋洲;</li>
|
7387
|
-
# <li>Americas:美洲。</li>源站组记录中,至少需要有一项为全部地区。
|
7388
|
-
# @type Area: Array
|
7389
|
-
# @param Private: 当源站类型OriginType=third_part时有效
|
7390
|
-
# 是否私有鉴权,取值有:
|
7715
|
+
# @param Private: 是否私有鉴权,当源站类型 RecordType=COS/AWS_S3 时生效,取值有:
|
7391
7716
|
# <li>true:使用私有鉴权;</li>
|
7392
7717
|
# <li>false:不使用私有鉴权。</li>不填写,默认值为:false。
|
7393
7718
|
# @type Private: Boolean
|
7394
|
-
# @param PrivateParameters:
|
7719
|
+
# @param PrivateParameters: 私有鉴权参数,当源站类型Private=true时有效。
|
7395
7720
|
# @type PrivateParameters: Array
|
7396
7721
|
|
7397
|
-
attr_accessor :Record, :
|
7722
|
+
attr_accessor :Record, :Type, :RecordId, :Weight, :Private, :PrivateParameters
|
7398
7723
|
|
7399
|
-
def initialize(record=nil,
|
7724
|
+
def initialize(record=nil, type=nil, recordid=nil, weight=nil, private=nil, privateparameters=nil)
|
7400
7725
|
@Record = record
|
7726
|
+
@Type = type
|
7401
7727
|
@RecordId = recordid
|
7402
|
-
@Port = port
|
7403
7728
|
@Weight = weight
|
7404
|
-
@Proto = proto
|
7405
|
-
@Area = area
|
7406
7729
|
@Private = private
|
7407
7730
|
@PrivateParameters = privateparameters
|
7408
7731
|
end
|
7409
7732
|
|
7410
7733
|
def deserialize(params)
|
7411
7734
|
@Record = params['Record']
|
7735
|
+
@Type = params['Type']
|
7412
7736
|
@RecordId = params['RecordId']
|
7413
|
-
@Port = params['Port']
|
7414
7737
|
@Weight = params['Weight']
|
7415
|
-
@Proto = params['Proto']
|
7416
|
-
@Area = params['Area']
|
7417
7738
|
@Private = params['Private']
|
7418
7739
|
unless params['PrivateParameters'].nil?
|
7419
7740
|
@PrivateParameters = []
|
@@ -7575,11 +7896,13 @@ module TencentCloud
|
|
7575
7896
|
end
|
7576
7897
|
end
|
7577
7898
|
|
7578
|
-
#
|
7899
|
+
# 对象存储源站记录私有鉴权参数
|
7579
7900
|
class PrivateParameter < TencentCloud::Common::AbstractModel
|
7580
7901
|
# @param Name: 私有鉴权参数名称,取值有:
|
7581
7902
|
# <li>AccessKeyId:鉴权参数Access Key ID;</li>
|
7582
|
-
# <li>SecretAccessKey:鉴权参数Secret Access Key
|
7903
|
+
# <li>SecretAccessKey:鉴权参数Secret Access Key;</li>
|
7904
|
+
# <li>SignatureVersion:鉴权版本,v2或者v4;</li>
|
7905
|
+
# <li>Region:存储桶地域。</li>
|
7583
7906
|
# @type Name: String
|
7584
7907
|
# @param Value: 私有鉴权参数值。
|
7585
7908
|
# @type Value: String
|
@@ -8686,6 +9009,33 @@ module TencentCloud
|
|
8686
9009
|
end
|
8687
9010
|
end
|
8688
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
|
+
|
8689
9039
|
# 安全类型配置项。
|
8690
9040
|
class SecurityType < TencentCloud::Common::AbstractModel
|
8691
9041
|
# @param Switch: 安全类型开关,取值为:
|
@@ -9125,6 +9475,35 @@ module TencentCloud
|
|
9125
9475
|
end
|
9126
9476
|
end
|
9127
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
|
+
|
9128
9507
|
# 统计曲线数据项
|
9129
9508
|
class TimingDataItem < TencentCloud::Common::AbstractModel
|
9130
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.
|
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-
|
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
|
@@ -33,11 +33,11 @@ executables: []
|
|
33
33
|
extensions: []
|
34
34
|
extra_rdoc_files: []
|
35
35
|
files:
|
36
|
-
- lib/tencentcloud-sdk-teo.rb
|
37
|
-
- lib/v20220106/client.rb
|
38
|
-
- lib/v20220106/models.rb
|
39
36
|
- lib/v20220901/client.rb
|
40
37
|
- lib/v20220901/models.rb
|
38
|
+
- lib/v20220106/client.rb
|
39
|
+
- lib/v20220106/models.rb
|
40
|
+
- lib/tencentcloud-sdk-teo.rb
|
41
41
|
- lib/VERSION
|
42
42
|
homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
|
43
43
|
licenses:
|