tencentcloud-sdk-teo 3.0.420 → 3.0.421
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 +0 -24
- data/lib/v20220901/models.rb +383 -237
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7dc4bdf418abd7d1e0c8d4985644b33d191d9164
|
4
|
+
data.tar.gz: 9c364a7eb5c95c3ac35c099890e8f939137a7b78
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c401cd94bfe02f865670f792b65a842812c378af3c3902b4618bf73080ae6ce9c08f4a03de76d89154654f09aa178a5e6ab46498e3dd3059c98280f27541bae0
|
7
|
+
data.tar.gz: bea990bb35289f16f90fd250a4fc81ce1445c097a713fcdb4ebb6d8c127e506f1aebed39677b69955743ba193a70a39fae2a3eb2cbefd725108a2ff8cef2384d
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.421
|
data/lib/v20220901/client.rb
CHANGED
@@ -1253,30 +1253,6 @@ module TencentCloud
|
|
1253
1253
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1254
1254
|
end
|
1255
1255
|
|
1256
|
-
# 查询域名证书列表,支持搜索、分页、排序、过滤。
|
1257
|
-
|
1258
|
-
# @param request: Request instance for DescribeHostCertificates.
|
1259
|
-
# @type request: :class:`Tencentcloud::teo::V20220901::DescribeHostCertificatesRequest`
|
1260
|
-
# @rtype: :class:`Tencentcloud::teo::V20220901::DescribeHostCertificatesResponse`
|
1261
|
-
def DescribeHostCertificates(request)
|
1262
|
-
body = send_request('DescribeHostCertificates', request.serialize)
|
1263
|
-
response = JSON.parse(body)
|
1264
|
-
if response['Response'].key?('Error') == false
|
1265
|
-
model = DescribeHostCertificatesResponse.new
|
1266
|
-
model.deserialize(response['Response'])
|
1267
|
-
model
|
1268
|
-
else
|
1269
|
-
code = response['Response']['Error']['Code']
|
1270
|
-
message = response['Response']['Error']['Message']
|
1271
|
-
reqid = response['Response']['RequestId']
|
1272
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1273
|
-
end
|
1274
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1275
|
-
raise e
|
1276
|
-
rescue StandardError => e
|
1277
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1278
|
-
end
|
1279
|
-
|
1280
1256
|
# 用于查询域名配置信息
|
1281
1257
|
|
1282
1258
|
# @param request: Request instance for DescribeHostsSetting.
|
data/lib/v20220901/models.rb
CHANGED
@@ -299,6 +299,37 @@ module TencentCloud
|
|
299
299
|
end
|
300
300
|
end
|
301
301
|
|
302
|
+
# 高级回源配置
|
303
|
+
class AdvancedOriginGroup < TencentCloud::Common::AbstractModel
|
304
|
+
# @param OriginGroupConditions: 高级回源配置的匹配条件。其中相同的Target只能出现一次。
|
305
|
+
# @type OriginGroupConditions: Array
|
306
|
+
# @param OriginGroupId: 主源站组ID。
|
307
|
+
# @type OriginGroupId: String
|
308
|
+
# @param BackupOriginGroupId: 备用源站组ID。
|
309
|
+
# @type BackupOriginGroupId: String
|
310
|
+
|
311
|
+
attr_accessor :OriginGroupConditions, :OriginGroupId, :BackupOriginGroupId
|
312
|
+
|
313
|
+
def initialize(origingroupconditions=nil, origingroupid=nil, backuporigingroupid=nil)
|
314
|
+
@OriginGroupConditions = origingroupconditions
|
315
|
+
@OriginGroupId = origingroupid
|
316
|
+
@BackupOriginGroupId = backuporigingroupid
|
317
|
+
end
|
318
|
+
|
319
|
+
def deserialize(params)
|
320
|
+
unless params['OriginGroupConditions'].nil?
|
321
|
+
@OriginGroupConditions = []
|
322
|
+
params['OriginGroupConditions'].each do |i|
|
323
|
+
origingroupcondition_tmp = OriginGroupCondition.new
|
324
|
+
origingroupcondition_tmp.deserialize(i)
|
325
|
+
@OriginGroupConditions << origingroupcondition_tmp
|
326
|
+
end
|
327
|
+
end
|
328
|
+
@OriginGroupId = params['OriginGroupId']
|
329
|
+
@BackupOriginGroupId = params['BackupOriginGroupId']
|
330
|
+
end
|
331
|
+
end
|
332
|
+
|
302
333
|
# AI规则引擎防护
|
303
334
|
class AiRule < TencentCloud::Common::AbstractModel
|
304
335
|
# @param Mode: AI规则引擎状态,取值有:
|
@@ -1015,6 +1046,29 @@ module TencentCloud
|
|
1015
1046
|
end
|
1016
1047
|
end
|
1017
1048
|
|
1049
|
+
# 回源时携带客户端IP所属地域信息,值的格式为ISO-3166-1两位字母代码。
|
1050
|
+
class ClientIpCountry < TencentCloud::Common::AbstractModel
|
1051
|
+
# @param Switch: 配置开关,取值有:
|
1052
|
+
# <li>on:开启;</li>
|
1053
|
+
# <li>off:关闭。</li>
|
1054
|
+
# @type Switch: String
|
1055
|
+
# @param HeaderName: 存放客户端IP所属地域信息的请求头名称,当Switch=on时有效。
|
1056
|
+
# 为空则使用默认值:EO-Client-IPCountry。
|
1057
|
+
# @type HeaderName: String
|
1058
|
+
|
1059
|
+
attr_accessor :Switch, :HeaderName
|
1060
|
+
|
1061
|
+
def initialize(switch=nil, headername=nil)
|
1062
|
+
@Switch = switch
|
1063
|
+
@HeaderName = headername
|
1064
|
+
end
|
1065
|
+
|
1066
|
+
def deserialize(params)
|
1067
|
+
@Switch = params['Switch']
|
1068
|
+
@HeaderName = params['HeaderName']
|
1069
|
+
end
|
1070
|
+
end
|
1071
|
+
|
1018
1072
|
# 存储客户端请求IP的头部信息配置
|
1019
1073
|
class ClientIpHeader < TencentCloud::Common::AbstractModel
|
1020
1074
|
# @param Switch: 配置开关,取值有:
|
@@ -1117,10 +1171,14 @@ module TencentCloud
|
|
1117
1171
|
# <li>mainland:中国大陆境内;</li>
|
1118
1172
|
# <li>overseas:全球(不含中国大陆)。</li>
|
1119
1173
|
# @type Area: String
|
1174
|
+
# @param LogSetType: 推送任务类型,取值有:
|
1175
|
+
# <li>cls:推送到cls;</li>
|
1176
|
+
# <li>custom_endpoint:推送到自定义接口。</li>
|
1177
|
+
# @type LogSetType: String
|
1120
1178
|
|
1121
|
-
attr_accessor :TaskName, :ZoneName, :LogSetId, :TopicId, :EntityType, :Period, :Enabled, :Deleted, :CreateTime, :Target, :LogSetRegion, :ZoneId, :Area
|
1179
|
+
attr_accessor :TaskName, :ZoneName, :LogSetId, :TopicId, :EntityType, :Period, :Enabled, :Deleted, :CreateTime, :Target, :LogSetRegion, :ZoneId, :Area, :LogSetType
|
1122
1180
|
|
1123
|
-
def initialize(taskname=nil, zonename=nil, logsetid=nil, topicid=nil, entitytype=nil, period=nil, enabled=nil, deleted=nil, createtime=nil, target=nil, logsetregion=nil, zoneid=nil, area=nil)
|
1181
|
+
def initialize(taskname=nil, zonename=nil, logsetid=nil, topicid=nil, entitytype=nil, period=nil, enabled=nil, deleted=nil, createtime=nil, target=nil, logsetregion=nil, zoneid=nil, area=nil, logsettype=nil)
|
1124
1182
|
@TaskName = taskname
|
1125
1183
|
@ZoneName = zonename
|
1126
1184
|
@LogSetId = logsetid
|
@@ -1134,6 +1192,7 @@ module TencentCloud
|
|
1134
1192
|
@LogSetRegion = logsetregion
|
1135
1193
|
@ZoneId = zoneid
|
1136
1194
|
@Area = area
|
1195
|
+
@LogSetType = logsettype
|
1137
1196
|
end
|
1138
1197
|
|
1139
1198
|
def deserialize(params)
|
@@ -1150,6 +1209,7 @@ module TencentCloud
|
|
1150
1209
|
@LogSetRegion = params['LogSetRegion']
|
1151
1210
|
@ZoneId = params['ZoneId']
|
1152
1211
|
@Area = params['Area']
|
1212
|
+
@LogSetType = params['LogSetType']
|
1153
1213
|
end
|
1154
1214
|
end
|
1155
1215
|
|
@@ -1585,16 +1645,24 @@ module TencentCloud
|
|
1585
1645
|
# @param TTL: 当Type=dns_only时,指解析记录在DNS服务器缓存的生存时间。
|
1586
1646
|
# 取值范围60-86400,单位:秒,不填写使用默认值:600。
|
1587
1647
|
# @type TTL: Integer
|
1648
|
+
# @param OriginType: 回源类型,取值有:
|
1649
|
+
# <li>normal:主备回源;</li>
|
1650
|
+
# <li>advanced:高级回源配置(仅当Type=proxied时可以使用)。</li>为空表示使用主备回源。
|
1651
|
+
# @type OriginType: String
|
1652
|
+
# @param AdvancedOriginGroups: 高级回源配置,当OriginType=advanced时有效。
|
1653
|
+
# @type AdvancedOriginGroups: Array
|
1588
1654
|
|
1589
|
-
attr_accessor :ZoneId, :Host, :Type, :OriginGroupId, :BackupOriginGroupId, :TTL
|
1655
|
+
attr_accessor :ZoneId, :Host, :Type, :OriginGroupId, :BackupOriginGroupId, :TTL, :OriginType, :AdvancedOriginGroups
|
1590
1656
|
|
1591
|
-
def initialize(zoneid=nil, host=nil, type=nil, origingroupid=nil, backuporigingroupid=nil, ttl=nil)
|
1657
|
+
def initialize(zoneid=nil, host=nil, type=nil, origingroupid=nil, backuporigingroupid=nil, ttl=nil, origintype=nil, advancedorigingroups=nil)
|
1592
1658
|
@ZoneId = zoneid
|
1593
1659
|
@Host = host
|
1594
1660
|
@Type = type
|
1595
1661
|
@OriginGroupId = origingroupid
|
1596
1662
|
@BackupOriginGroupId = backuporigingroupid
|
1597
1663
|
@TTL = ttl
|
1664
|
+
@OriginType = origintype
|
1665
|
+
@AdvancedOriginGroups = advancedorigingroups
|
1598
1666
|
end
|
1599
1667
|
|
1600
1668
|
def deserialize(params)
|
@@ -1604,6 +1672,15 @@ module TencentCloud
|
|
1604
1672
|
@OriginGroupId = params['OriginGroupId']
|
1605
1673
|
@BackupOriginGroupId = params['BackupOriginGroupId']
|
1606
1674
|
@TTL = params['TTL']
|
1675
|
+
@OriginType = params['OriginType']
|
1676
|
+
unless params['AdvancedOriginGroups'].nil?
|
1677
|
+
@AdvancedOriginGroups = []
|
1678
|
+
params['AdvancedOriginGroups'].each do |i|
|
1679
|
+
advancedorigingroup_tmp = AdvancedOriginGroup.new
|
1680
|
+
advancedorigingroup_tmp.deserialize(i)
|
1681
|
+
@AdvancedOriginGroups << advancedorigingroup_tmp
|
1682
|
+
end
|
1683
|
+
end
|
1607
1684
|
end
|
1608
1685
|
end
|
1609
1686
|
|
@@ -1765,15 +1842,18 @@ module TencentCloud
|
|
1765
1842
|
# @type ConfigurationType: String
|
1766
1843
|
# @param OriginRecords: 源站记录信息。
|
1767
1844
|
# @type OriginRecords: Array
|
1845
|
+
# @param HostHeader: 回源Host,仅当OriginType=self时可以设置。
|
1846
|
+
# @type HostHeader: String
|
1768
1847
|
|
1769
|
-
attr_accessor :ZoneId, :OriginType, :OriginGroupName, :ConfigurationType, :OriginRecords
|
1848
|
+
attr_accessor :ZoneId, :OriginType, :OriginGroupName, :ConfigurationType, :OriginRecords, :HostHeader
|
1770
1849
|
|
1771
|
-
def initialize(zoneid=nil, origintype=nil, origingroupname=nil, configurationtype=nil, originrecords=nil)
|
1850
|
+
def initialize(zoneid=nil, origintype=nil, origingroupname=nil, configurationtype=nil, originrecords=nil, hostheader=nil)
|
1772
1851
|
@ZoneId = zoneid
|
1773
1852
|
@OriginType = origintype
|
1774
1853
|
@OriginGroupName = origingroupname
|
1775
1854
|
@ConfigurationType = configurationtype
|
1776
1855
|
@OriginRecords = originrecords
|
1856
|
+
@HostHeader = hostheader
|
1777
1857
|
end
|
1778
1858
|
|
1779
1859
|
def deserialize(params)
|
@@ -1789,6 +1869,7 @@ module TencentCloud
|
|
1789
1869
|
@OriginRecords << originrecord_tmp
|
1790
1870
|
end
|
1791
1871
|
end
|
1872
|
+
@HostHeader = params['HostHeader']
|
1792
1873
|
end
|
1793
1874
|
end
|
1794
1875
|
|
@@ -3005,17 +3086,21 @@ module TencentCloud
|
|
3005
3086
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
3006
3087
|
# @type SubjectAltName: Array
|
3007
3088
|
# @param Status: 部署状态,取值有:
|
3008
|
-
# <li>processing:
|
3009
|
-
# <li>deployed:
|
3089
|
+
# <li>processing: 部署中;</li>
|
3090
|
+
# <li>deployed: 已部署;</li>
|
3091
|
+
# <li>failed: 部署失败。</li>
|
3010
3092
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
3011
3093
|
# @type Status: String
|
3012
3094
|
# @param Message: Status为失败时,此字段返回失败原因。
|
3013
3095
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
3014
3096
|
# @type Message: String
|
3097
|
+
# @param SignAlgo: 证书算法。
|
3098
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3099
|
+
# @type SignAlgo: String
|
3015
3100
|
|
3016
|
-
attr_accessor :CertId, :Alias, :Type, :ExpireTime, :EffectiveTime, :CommonName, :SubjectAltName, :Status, :Message
|
3101
|
+
attr_accessor :CertId, :Alias, :Type, :ExpireTime, :EffectiveTime, :CommonName, :SubjectAltName, :Status, :Message, :SignAlgo
|
3017
3102
|
|
3018
|
-
def initialize(certid=nil, _alias=nil, type=nil, expiretime=nil, effectivetime=nil, commonname=nil, subjectaltname=nil, status=nil, message=nil)
|
3103
|
+
def initialize(certid=nil, _alias=nil, type=nil, expiretime=nil, effectivetime=nil, commonname=nil, subjectaltname=nil, status=nil, message=nil, signalgo=nil)
|
3019
3104
|
@CertId = certid
|
3020
3105
|
@Alias = _alias
|
3021
3106
|
@Type = type
|
@@ -3025,6 +3110,7 @@ module TencentCloud
|
|
3025
3110
|
@SubjectAltName = subjectaltname
|
3026
3111
|
@Status = status
|
3027
3112
|
@Message = message
|
3113
|
+
@SignAlgo = signalgo
|
3028
3114
|
end
|
3029
3115
|
|
3030
3116
|
def deserialize(params)
|
@@ -3037,6 +3123,7 @@ module TencentCloud
|
|
3037
3123
|
@SubjectAltName = params['SubjectAltName']
|
3038
3124
|
@Status = params['Status']
|
3039
3125
|
@Message = params['Message']
|
3126
|
+
@SignAlgo = params['SignAlgo']
|
3040
3127
|
end
|
3041
3128
|
end
|
3042
3129
|
|
@@ -3192,7 +3279,7 @@ module TencentCloud
|
|
3192
3279
|
class DeleteLogTopicTaskRequest < TencentCloud::Common::AbstractModel
|
3193
3280
|
# @param TopicId: 待删除的推送任务ID。
|
3194
3281
|
# @type TopicId: String
|
3195
|
-
# @param LogSetRegion:
|
3282
|
+
# @param LogSetRegion: 推送任务所属日志集地域,此字段仅用于CLS推送任务。
|
3196
3283
|
# @type LogSetRegion: String
|
3197
3284
|
|
3198
3285
|
attr_accessor :TopicId, :LogSetRegion
|
@@ -3385,7 +3472,7 @@ module TencentCloud
|
|
3385
3472
|
# @type Offset: Integer
|
3386
3473
|
# @param Limit: 分页查询限制数目。默认值:20,最大值:1000。
|
3387
3474
|
# @type Limit: Integer
|
3388
|
-
# @param Filters: 过滤条件,Filters.Values的上限为20。详细的过滤条件如下:<li>proxy-id<br> 按照【<strong>代理ID</strong>】进行过滤。代理ID形如:proxy-ev2sawbwfd。<br> 类型:String<br>
|
3475
|
+
# @param Filters: 过滤条件,Filters.Values的上限为20。详细的过滤条件如下:<li>proxy-id<br> 按照【<strong>代理ID</strong>】进行过滤。代理ID形如:proxy-ev2sawbwfd。<br> 类型:String<br> 必选:否</li><li>zone-id<br> 按照【<strong>站点ID</strong>】进行过滤。站点ID形如:zone-vawer2vadg。<br> 类型:String<br> 必选:否</li>
|
3389
3476
|
# @type Filters: Array
|
3390
3477
|
|
3391
3478
|
attr_accessor :Offset, :Limit, :Filters
|
@@ -5135,80 +5222,6 @@ module TencentCloud
|
|
5135
5222
|
end
|
5136
5223
|
end
|
5137
5224
|
|
5138
|
-
# DescribeHostCertificates请求参数结构体
|
5139
|
-
class DescribeHostCertificatesRequest < TencentCloud::Common::AbstractModel
|
5140
|
-
# @param Filters: 过滤条件,Filters.Values的上限为20。详细的过滤条件如下:
|
5141
|
-
# <li>zone-id<br> 按照【<strong>站点ID</strong>】进行过滤。站点ID形如:zone-xxx。<br> 类型:String<br> 必选:是<li>host<br> 按照【<strong>域名名称</strong>】进行过滤。<br> 类型:String<br> 必选:否<li>cert-id<br> 按照【<strong>证书ID</strong>】进行过滤。<br> 类型:String<br> 必选:否<li>cert-alias<br> 按照【<strong>证书名称</strong>】进行过滤。<br> 类型:String<br> 必选:否<li>cert-type<br> 按照【<strong>证书类型</strong>】进行过滤。<br> 类型:String<br> 必选:否
|
5142
|
-
# @type Filters: Array
|
5143
|
-
# @param Offset: 分页查询偏移量,默认为 0。
|
5144
|
-
# @type Offset: Integer
|
5145
|
-
# @param Limit: 分页查询限制数目,默认为 100,最大可设置为 1000。
|
5146
|
-
# @type Limit: Integer
|
5147
|
-
# @param Sort: 排序方式。详细排序条件如下:
|
5148
|
-
# <li>create-time:域名创建时间;</li>
|
5149
|
-
# <li>cert-expire-time:证书过期时间;</li>
|
5150
|
-
# <li>cert-deploy-time:证书部署时间。</li>
|
5151
|
-
# @type Sort: :class:`Tencentcloud::Teo.v20220901.models.Sort`
|
5152
|
-
|
5153
|
-
attr_accessor :Filters, :Offset, :Limit, :Sort
|
5154
|
-
|
5155
|
-
def initialize(filters=nil, offset=nil, limit=nil, sort=nil)
|
5156
|
-
@Filters = filters
|
5157
|
-
@Offset = offset
|
5158
|
-
@Limit = limit
|
5159
|
-
@Sort = sort
|
5160
|
-
end
|
5161
|
-
|
5162
|
-
def deserialize(params)
|
5163
|
-
unless params['Filters'].nil?
|
5164
|
-
@Filters = []
|
5165
|
-
params['Filters'].each do |i|
|
5166
|
-
advancedfilter_tmp = AdvancedFilter.new
|
5167
|
-
advancedfilter_tmp.deserialize(i)
|
5168
|
-
@Filters << advancedfilter_tmp
|
5169
|
-
end
|
5170
|
-
end
|
5171
|
-
@Offset = params['Offset']
|
5172
|
-
@Limit = params['Limit']
|
5173
|
-
unless params['Sort'].nil?
|
5174
|
-
@Sort = Sort.new
|
5175
|
-
@Sort.deserialize(params['Sort'])
|
5176
|
-
end
|
5177
|
-
end
|
5178
|
-
end
|
5179
|
-
|
5180
|
-
# DescribeHostCertificates返回参数结构体
|
5181
|
-
class DescribeHostCertificatesResponse < TencentCloud::Common::AbstractModel
|
5182
|
-
# @param TotalCount: 总数,用于分页查询。
|
5183
|
-
# @type TotalCount: Integer
|
5184
|
-
# @param HostCertificates: 域名证书配置列表。
|
5185
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
5186
|
-
# @type HostCertificates: Array
|
5187
|
-
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
5188
|
-
# @type RequestId: String
|
5189
|
-
|
5190
|
-
attr_accessor :TotalCount, :HostCertificates, :RequestId
|
5191
|
-
|
5192
|
-
def initialize(totalcount=nil, hostcertificates=nil, requestid=nil)
|
5193
|
-
@TotalCount = totalcount
|
5194
|
-
@HostCertificates = hostcertificates
|
5195
|
-
@RequestId = requestid
|
5196
|
-
end
|
5197
|
-
|
5198
|
-
def deserialize(params)
|
5199
|
-
@TotalCount = params['TotalCount']
|
5200
|
-
unless params['HostCertificates'].nil?
|
5201
|
-
@HostCertificates = []
|
5202
|
-
params['HostCertificates'].each do |i|
|
5203
|
-
hostscertificate_tmp = HostsCertificate.new
|
5204
|
-
hostscertificate_tmp.deserialize(i)
|
5205
|
-
@HostCertificates << hostscertificate_tmp
|
5206
|
-
end
|
5207
|
-
end
|
5208
|
-
@RequestId = params['RequestId']
|
5209
|
-
end
|
5210
|
-
end
|
5211
|
-
|
5212
5225
|
# DescribeHostsSetting请求参数结构体
|
5213
5226
|
class DescribeHostsSettingRequest < TencentCloud::Common::AbstractModel
|
5214
5227
|
# @param ZoneId: 站点ID。
|
@@ -5218,7 +5231,7 @@ module TencentCloud
|
|
5218
5231
|
# @param Limit: 分页查询限制数目。默认值: 100,最大值:1000。
|
5219
5232
|
# @type Limit: Integer
|
5220
5233
|
# @param Filters: 过滤条件,Filters.Values的上限为20。详细的过滤条件如下:
|
5221
|
-
# <li>host<br> 按照【<strong>域名</strong>】进行过滤。<br> 类型:string<br>
|
5234
|
+
# <li>host<br> 按照【<strong>域名</strong>】进行过滤。<br> 类型:string<br> 必选:否</li>
|
5222
5235
|
# @type Filters: Array
|
5223
5236
|
|
5224
5237
|
attr_accessor :ZoneId, :Offset, :Limit, :Filters
|
@@ -5279,7 +5292,7 @@ module TencentCloud
|
|
5279
5292
|
# DescribeIdentifications请求参数结构体
|
5280
5293
|
class DescribeIdentificationsRequest < TencentCloud::Common::AbstractModel
|
5281
5294
|
# @param Filters: 过滤条件,Filters.Values的上限为20。详细的过滤条件如下:
|
5282
|
-
# <li>zone-name<br> 按照【<strong>站点名称</strong>】进行过滤。<br> 类型:String<br>
|
5295
|
+
# <li>zone-name<br> 按照【<strong>站点名称</strong>】进行过滤。<br> 类型:String<br> 必选:是</li>
|
5283
5296
|
# @type Filters: Array
|
5284
5297
|
# @param Offset: 分页查询偏移量。默认值:0。
|
5285
5298
|
# @type Offset: Integer
|
@@ -5737,7 +5750,7 @@ module TencentCloud
|
|
5737
5750
|
# @param Limit: 分页查询限制数目,默认值:20,上限:1000。
|
5738
5751
|
# @type Limit: Integer
|
5739
5752
|
# @param Filters: 过滤条件,Filters.Values的上限为20。详细的过滤条件如下:
|
5740
|
-
# <li>zone-id<br> 按照【<strong>站点 ID</strong>】进行过滤。zone-id形如:zone-1379afjk91u32h,暂不支持多值。<br> 类型:String<br> 必选:否。<br>
|
5753
|
+
# <li>zone-id<br> 按照【<strong>站点 ID</strong>】进行过滤。zone-id形如:zone-1379afjk91u32h,暂不支持多值。<br> 类型:String<br> 必选:否。<br> 模糊查询:不支持。</li><li>job-id<br> 按照【<strong>任务ID</strong>】进行过滤。job-id形如:1379afjk91u32h,暂不支持多值。<br> 类型:String<br> 必选:否。<br> 模糊查询:不支持。</li><li>target<br> 按照【<strong>目标资源信息</strong>】进行过滤。target形如:http://www.qq.com/1.txt,暂不支持多值。<br> 类型:String<br> 必选:否。<br> 模糊查询:不支持。</li><li>domains<br> 按照【<strong>域名</strong>】进行过滤。domains形如:www.qq.com。<br> 类型:String<br> 必选:否。<br> 模糊查询:不支持。</li><li>statuses<br> 按照【<strong>任务状态</strong>】进行过滤。<br> 必选:否<br> 模糊查询:不支持。<br> 可选项:<br> processing:处理中<br> success:成功<br> failed:失败<br> timeout:超时</li>
|
5741
5754
|
# @type Filters: Array
|
5742
5755
|
|
5743
5756
|
attr_accessor :StartTime, :EndTime, :Offset, :Limit, :Filters
|
@@ -5810,7 +5823,7 @@ module TencentCloud
|
|
5810
5823
|
# @param Limit: 分页查限制数目,默认值:20,最大值:1000。
|
5811
5824
|
# @type Limit: Integer
|
5812
5825
|
# @param Filters: 过滤条件,Filters.Values的上限为20。详细的过滤条件如下:
|
5813
|
-
# <li>job-id<br> 按照【<strong>任务ID</strong>】进行过滤。job-id形如:1379afjk91u32h,暂不支持多值。<br> 类型:String<br> 必选:否<br>
|
5826
|
+
# <li>job-id<br> 按照【<strong>任务ID</strong>】进行过滤。job-id形如:1379afjk91u32h,暂不支持多值。<br> 类型:String<br> 必选:否<br> 模糊查询:不支持。</li><li>target<br> 按照【<strong>目标资源信息</strong>】进行过滤。target形如:http://www.qq.com/1.txt,暂不支持多值。<br> 类型:String<br> 必选:否<br> 模糊查询:不支持。</li><li>domains<br> 按照【<strong>域名</strong>】进行过滤。domains形如:www.qq.com。<br> 类型:String<br> 必选:否<br> 模糊查询:不支持。</li><li>statuses<br> 按照【<strong>任务状态</strong>】进行过滤。<br> 必选:否<br> 模糊查询:不支持。<br> 可选项:<br> processing:处理中<br> success:成功<br> failed:失败<br> timeout:超时</li><li>type<br> 按照【<strong>清除缓存类型</strong>】进行过滤,暂不支持多值。<br> 类型:String<br> 必选:否<br> 模糊查询:不支持。<br> 可选项:<br> purge_url:URL<br> purge_prefix:前缀<br> purge_all:全部缓存内容<br> purge_host:Hostname</li>
|
5814
5827
|
# @type Filters: Array
|
5815
5828
|
|
5816
5829
|
attr_accessor :ZoneId, :StartTime, :EndTime, :Offset, :Limit, :Filters
|
@@ -7871,7 +7884,7 @@ module TencentCloud
|
|
7871
7884
|
# @param Limit: 分页查询限制数目。默认值:20,最大值:1000。
|
7872
7885
|
# @type Limit: Integer
|
7873
7886
|
# @param Filters: 过滤条件,Filters.Values的上限为20。详细的过滤条件如下:
|
7874
|
-
# <li>zone-name<br> 按照【<strong>站点名称</strong>】进行过滤。<br> 类型:String<br>
|
7887
|
+
# <li>zone-name<br> 按照【<strong>站点名称</strong>】进行过滤。<br> 类型:String<br> 必选:否</li><li>zone-id<br> 按照【<strong>站点ID</strong>】进行过滤。站点ID形如:zone-xxx。<br> 类型:String<br> 必选:否</li><li>status<br> 按照【<strong>站点状态</strong>】进行过滤。<br> 类型:String<br> 必选:否</li><li>tag-key<br> 按照【<strong>标签键</strong>】进行过滤。<br> 类型:String<br> 必选:否</li><li>tag-value<br> 按照【<strong>标签值</strong>】进行过滤。<br> 类型:String<br> 必选:否</li><li>Fuzzy<br> 按照【<strong>是否模糊查询</strong>】进行过滤。仅支持过滤字段名为zone-name。模糊查询时,Values长度最小为1。<br> 类型:Boolean<br> 必选:否<br> 默认值:false</li>
|
7875
7888
|
# @type Filters: Array
|
7876
7889
|
|
7877
7890
|
attr_accessor :Offset, :Limit, :Filters
|
@@ -7991,10 +8004,13 @@ module TencentCloud
|
|
7991
8004
|
# @param Ipv6: Ipv6访问配置项。
|
7992
8005
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
7993
8006
|
# @type Ipv6: :class:`Tencentcloud::Teo.v20220901.models.Ipv6`
|
8007
|
+
# @param ClientIpCountry: 回源时是否携带客户端IP所属地域信息的配置。
|
8008
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8009
|
+
# @type ClientIpCountry: :class:`Tencentcloud::Teo.v20220901.models.ClientIpCountry`
|
7994
8010
|
|
7995
|
-
attr_accessor :ZoneId, :Status, :Host, :ZoneName, :Cname, :Id, :InstanceId, :Lock, :Mode, :Area, :AccelerateType, :Https, :CacheConfig, :Origin, :SecurityType, :CacheKey, :Compression, :Waf, :CC, :DDoS, :SmartRouting, :Ipv6
|
8011
|
+
attr_accessor :ZoneId, :Status, :Host, :ZoneName, :Cname, :Id, :InstanceId, :Lock, :Mode, :Area, :AccelerateType, :Https, :CacheConfig, :Origin, :SecurityType, :CacheKey, :Compression, :Waf, :CC, :DDoS, :SmartRouting, :Ipv6, :ClientIpCountry
|
7996
8012
|
|
7997
|
-
def initialize(zoneid=nil, status=nil, host=nil, zonename=nil, cname=nil, id=nil, instanceid=nil, lock=nil, mode=nil, area=nil, acceleratetype=nil, https=nil, cacheconfig=nil, origin=nil, securitytype=nil, cachekey=nil, compression=nil, waf=nil, cc=nil, ddos=nil, smartrouting=nil, ipv6=nil)
|
8013
|
+
def initialize(zoneid=nil, status=nil, host=nil, zonename=nil, cname=nil, id=nil, instanceid=nil, lock=nil, mode=nil, area=nil, acceleratetype=nil, https=nil, cacheconfig=nil, origin=nil, securitytype=nil, cachekey=nil, compression=nil, waf=nil, cc=nil, ddos=nil, smartrouting=nil, ipv6=nil, clientipcountry=nil)
|
7998
8014
|
@ZoneId = zoneid
|
7999
8015
|
@Status = status
|
8000
8016
|
@Host = host
|
@@ -8017,6 +8033,7 @@ module TencentCloud
|
|
8017
8033
|
@DDoS = ddos
|
8018
8034
|
@SmartRouting = smartrouting
|
8019
8035
|
@Ipv6 = ipv6
|
8036
|
+
@ClientIpCountry = clientipcountry
|
8020
8037
|
end
|
8021
8038
|
|
8022
8039
|
def deserialize(params)
|
@@ -8078,6 +8095,10 @@ module TencentCloud
|
|
8078
8095
|
@Ipv6 = Ipv6.new
|
8079
8096
|
@Ipv6.deserialize(params['Ipv6'])
|
8080
8097
|
end
|
8098
|
+
unless params['ClientIpCountry'].nil?
|
8099
|
+
@ClientIpCountry = ClientIpCountry.new
|
8100
|
+
@ClientIpCountry.deserialize(params['ClientIpCountry'])
|
8101
|
+
end
|
8081
8102
|
end
|
8082
8103
|
end
|
8083
8104
|
|
@@ -8488,23 +8509,19 @@ module TencentCloud
|
|
8488
8509
|
end
|
8489
8510
|
end
|
8490
8511
|
|
8491
|
-
#
|
8512
|
+
# 例外规则的配置,包含生效的条件,生效的范围。
|
8492
8513
|
class ExceptUserRule < TencentCloud::Common::AbstractModel
|
8493
|
-
# @param RuleName:
|
8494
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
8514
|
+
# @param RuleName: 规则名称,不可使用中文。
|
8495
8515
|
# @type RuleName: String
|
8496
8516
|
# @param Action: 规则的处置方式,当前仅支持skip:跳过全部托管规则。
|
8497
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
8498
8517
|
# @type Action: String
|
8499
8518
|
# @param RuleStatus: 规则生效状态,取值有:
|
8500
8519
|
# <li>on:生效;</li>
|
8501
8520
|
# <li>off:失效。</li>
|
8502
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
8503
8521
|
# @type RuleStatus: String
|
8504
|
-
# @param RuleID: 规则ID
|
8505
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
8522
|
+
# @param RuleID: 规则ID。仅出参使用。默认由底层生成。
|
8506
8523
|
# @type RuleID: Integer
|
8507
|
-
# @param UpdateTime:
|
8524
|
+
# @param UpdateTime: 更新时间,如果为null,默认由底层按当前时间生成。
|
8508
8525
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
8509
8526
|
# @type UpdateTime: String
|
8510
8527
|
# @param ExceptUserRuleConditions: 匹配条件。
|
@@ -8513,8 +8530,7 @@ module TencentCloud
|
|
8513
8530
|
# @param ExceptUserRuleScope: 规则生效的范围。
|
8514
8531
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
8515
8532
|
# @type ExceptUserRuleScope: :class:`Tencentcloud::Teo.v20220901.models.ExceptUserRuleScope`
|
8516
|
-
# @param RulePriority: 优先级,取值范围0-100。
|
8517
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
8533
|
+
# @param RulePriority: 优先级,取值范围0-100。如果为null,默认由底层设置为0。
|
8518
8534
|
# @type RulePriority: Integer
|
8519
8535
|
|
8520
8536
|
attr_accessor :RuleName, :Action, :RuleStatus, :RuleID, :UpdateTime, :ExceptUserRuleConditions, :ExceptUserRuleScope, :RulePriority
|
@@ -8552,7 +8568,7 @@ module TencentCloud
|
|
8552
8568
|
end
|
8553
8569
|
end
|
8554
8570
|
|
8555
|
-
#
|
8571
|
+
# 例外规则生效的具体条件。
|
8556
8572
|
class ExceptUserRuleCondition < TencentCloud::Common::AbstractModel
|
8557
8573
|
# @param MatchFrom: 匹配项,取值有:
|
8558
8574
|
# <li>host:请求域名;</li>
|
@@ -8566,9 +8582,8 @@ module TencentCloud
|
|
8566
8582
|
# <li>method:请求方式;</li>
|
8567
8583
|
# <li>header:请求头部;</li>
|
8568
8584
|
# <li>sip_proto:网络层协议。</li>
|
8569
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
8570
8585
|
# @type MatchFrom: String
|
8571
|
-
# @param MatchParam:
|
8586
|
+
# @param MatchParam: 匹配项的参数。仅当 MatchFrom 为 header 时,可以使用本参数,值可填入 header 的 key 作为参数。
|
8572
8587
|
# @type MatchParam: String
|
8573
8588
|
# @param Operator: 匹配操作符,取值有:
|
8574
8589
|
# <li>equal:字符串等于;</li>
|
@@ -8587,10 +8602,8 @@ module TencentCloud
|
|
8587
8602
|
# <li>match_prefix:前缀匹配;</li>
|
8588
8603
|
# <li>match_suffix:后缀匹配;</li>
|
8589
8604
|
# <li>wildcard:通配符。</li>
|
8590
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
8591
8605
|
# @type Operator: String
|
8592
8606
|
# @param MatchContent: 匹配值。
|
8593
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
8594
8607
|
# @type MatchContent: String
|
8595
8608
|
|
8596
8609
|
attr_accessor :MatchFrom, :MatchParam, :Operator, :MatchContent
|
@@ -8610,20 +8623,53 @@ module TencentCloud
|
|
8610
8623
|
end
|
8611
8624
|
end
|
8612
8625
|
|
8613
|
-
#
|
8626
|
+
# 例外规则的生效范围。
|
8614
8627
|
class ExceptUserRuleScope < TencentCloud::Common::AbstractModel
|
8615
|
-
# @param
|
8628
|
+
# @param Type: 例外规则类型。其中complete模式代表全量数据进行例外,partial模式代表可选择指定模块指定字段进行例外,该字段取值有:
|
8629
|
+
# <li>complete:完全跳过模式;</li>
|
8630
|
+
# <li>partial:部分跳过模式。</li>
|
8631
|
+
# @type Type: String
|
8632
|
+
# @param Modules: 生效的模块,该字段取值有:
|
8633
|
+
# <li>waf:托管规则;</li>
|
8634
|
+
# <li>cc:速率限制规则;</li>
|
8635
|
+
# <li>bot:Bot防护。</li>
|
8616
8636
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
8617
8637
|
# @type Modules: Array
|
8638
|
+
# @param PartialModules: 跳过部分规则ID的例外规则详情。如果为null,默认使用历史配置。
|
8639
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8640
|
+
# @type PartialModules: Array
|
8641
|
+
# @param SkipConditions: 跳过具体字段不去扫描的例外规则详情。如果为null,默认使用历史配置。
|
8642
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8643
|
+
# @type SkipConditions: Array
|
8618
8644
|
|
8619
|
-
attr_accessor :Modules
|
8645
|
+
attr_accessor :Type, :Modules, :PartialModules, :SkipConditions
|
8620
8646
|
|
8621
|
-
def initialize(modules=nil)
|
8647
|
+
def initialize(type=nil, modules=nil, partialmodules=nil, skipconditions=nil)
|
8648
|
+
@Type = type
|
8622
8649
|
@Modules = modules
|
8650
|
+
@PartialModules = partialmodules
|
8651
|
+
@SkipConditions = skipconditions
|
8623
8652
|
end
|
8624
8653
|
|
8625
8654
|
def deserialize(params)
|
8655
|
+
@Type = params['Type']
|
8626
8656
|
@Modules = params['Modules']
|
8657
|
+
unless params['PartialModules'].nil?
|
8658
|
+
@PartialModules = []
|
8659
|
+
params['PartialModules'].each do |i|
|
8660
|
+
partialmodule_tmp = PartialModule.new
|
8661
|
+
partialmodule_tmp.deserialize(i)
|
8662
|
+
@PartialModules << partialmodule_tmp
|
8663
|
+
end
|
8664
|
+
end
|
8665
|
+
unless params['SkipConditions'].nil?
|
8666
|
+
@SkipConditions = []
|
8667
|
+
params['SkipConditions'].each do |i|
|
8668
|
+
skipcondition_tmp = SkipCondition.new
|
8669
|
+
skipcondition_tmp.deserialize(i)
|
8670
|
+
@SkipConditions << skipcondition_tmp
|
8671
|
+
end
|
8672
|
+
end
|
8627
8673
|
end
|
8628
8674
|
end
|
8629
8675
|
|
@@ -8647,6 +8693,26 @@ module TencentCloud
|
|
8647
8693
|
end
|
8648
8694
|
end
|
8649
8695
|
|
8696
|
+
# 站点归属权校验——文件校验信息。
|
8697
|
+
class FileAscriptionInfo < TencentCloud::Common::AbstractModel
|
8698
|
+
# @param IdentifyPath: 文件校验目录。
|
8699
|
+
# @type IdentifyPath: String
|
8700
|
+
# @param IdentifyContent: 文件校验内容。
|
8701
|
+
# @type IdentifyContent: String
|
8702
|
+
|
8703
|
+
attr_accessor :IdentifyPath, :IdentifyContent
|
8704
|
+
|
8705
|
+
def initialize(identifypath=nil, identifycontent=nil)
|
8706
|
+
@IdentifyPath = identifypath
|
8707
|
+
@IdentifyContent = identifycontent
|
8708
|
+
end
|
8709
|
+
|
8710
|
+
def deserialize(params)
|
8711
|
+
@IdentifyPath = params['IdentifyPath']
|
8712
|
+
@IdentifyContent = params['IdentifyContent']
|
8713
|
+
end
|
8714
|
+
end
|
8715
|
+
|
8650
8716
|
# 描述键值对过滤器,用于条件过滤查询。例如过滤ID、名称、状态等。
|
8651
8717
|
# 若存在多个Filter时,Filter间的关系为逻辑与(AND)关系。
|
8652
8718
|
# 若同一个Filter存在多个Values,同一Filter下Values间的关系为逻辑或(OR)关系。
|
@@ -8742,7 +8808,7 @@ module TencentCloud
|
|
8742
8808
|
|
8743
8809
|
# 刷新预热附带的头部信息
|
8744
8810
|
class Header < TencentCloud::Common::AbstractModel
|
8745
|
-
# @param Name: HTTP
|
8811
|
+
# @param Name: HTTP头部名称。
|
8746
8812
|
# @type Name: String
|
8747
8813
|
# @param Value: HTTP头部值。
|
8748
8814
|
# @type Value: String
|
@@ -8760,83 +8826,6 @@ module TencentCloud
|
|
8760
8826
|
end
|
8761
8827
|
end
|
8762
8828
|
|
8763
|
-
# https 服务端证书配置
|
8764
|
-
class HostCertInfo < TencentCloud::Common::AbstractModel
|
8765
|
-
# @param CertId: 服务器证书 ID。
|
8766
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
8767
|
-
# @type CertId: String
|
8768
|
-
# @param Alias: 证书备注名。
|
8769
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
8770
|
-
# @type Alias: String
|
8771
|
-
# @param Type: 证书类型,取值有:
|
8772
|
-
# <li>default:默认证书;</lil>
|
8773
|
-
# <li>upload:用户上传;</li>
|
8774
|
-
# <li>managed:腾讯云托管。</li>
|
8775
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
8776
|
-
# @type Type: String
|
8777
|
-
# @param ExpireTime: 证书过期时间。
|
8778
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
8779
|
-
# @type ExpireTime: String
|
8780
|
-
# @param DeployTime: 证书部署时间。
|
8781
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
8782
|
-
# @type DeployTime: String
|
8783
|
-
# @param SignAlgo: 签名算法。
|
8784
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
8785
|
-
# @type SignAlgo: String
|
8786
|
-
# @param Status: 证书状态,取值有:
|
8787
|
-
# <li>deployed:已部署;</li>
|
8788
|
-
# <li>process:部署中。</li>
|
8789
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
8790
|
-
# @type Status: String
|
8791
|
-
|
8792
|
-
attr_accessor :CertId, :Alias, :Type, :ExpireTime, :DeployTime, :SignAlgo, :Status
|
8793
|
-
|
8794
|
-
def initialize(certid=nil, _alias=nil, type=nil, expiretime=nil, deploytime=nil, signalgo=nil, status=nil)
|
8795
|
-
@CertId = certid
|
8796
|
-
@Alias = _alias
|
8797
|
-
@Type = type
|
8798
|
-
@ExpireTime = expiretime
|
8799
|
-
@DeployTime = deploytime
|
8800
|
-
@SignAlgo = signalgo
|
8801
|
-
@Status = status
|
8802
|
-
end
|
8803
|
-
|
8804
|
-
def deserialize(params)
|
8805
|
-
@CertId = params['CertId']
|
8806
|
-
@Alias = params['Alias']
|
8807
|
-
@Type = params['Type']
|
8808
|
-
@ExpireTime = params['ExpireTime']
|
8809
|
-
@DeployTime = params['DeployTime']
|
8810
|
-
@SignAlgo = params['SignAlgo']
|
8811
|
-
@Status = params['Status']
|
8812
|
-
end
|
8813
|
-
end
|
8814
|
-
|
8815
|
-
# 域名证书配置
|
8816
|
-
class HostsCertificate < TencentCloud::Common::AbstractModel
|
8817
|
-
# @param Host: 域名。
|
8818
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
8819
|
-
# @type Host: String
|
8820
|
-
# @param HostCertInfo: 服务端证书配置。
|
8821
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
8822
|
-
# @type HostCertInfo: :class:`Tencentcloud::Teo.v20220901.models.HostCertInfo`
|
8823
|
-
|
8824
|
-
attr_accessor :Host, :HostCertInfo
|
8825
|
-
|
8826
|
-
def initialize(host=nil, hostcertinfo=nil)
|
8827
|
-
@Host = host
|
8828
|
-
@HostCertInfo = hostcertinfo
|
8829
|
-
end
|
8830
|
-
|
8831
|
-
def deserialize(params)
|
8832
|
-
@Host = params['Host']
|
8833
|
-
unless params['HostCertInfo'].nil?
|
8834
|
-
@HostCertInfo = HostCertInfo.new
|
8835
|
-
@HostCertInfo.deserialize(params['HostCertInfo'])
|
8836
|
-
end
|
8837
|
-
end
|
8838
|
-
end
|
8839
|
-
|
8840
8829
|
# Hsts配置
|
8841
8830
|
class Hsts < TencentCloud::Common::AbstractModel
|
8842
8831
|
# @param Switch: 是否开启,取值有:
|
@@ -8937,19 +8926,22 @@ module TencentCloud
|
|
8937
8926
|
# <li> pending:验证中;</li>
|
8938
8927
|
# <li> finished:验证完成。</li>
|
8939
8928
|
# @type Status: String
|
8940
|
-
# @param Ascription:
|
8929
|
+
# @param Ascription: 站点归属权校验:Dns校验信息。
|
8941
8930
|
# @type Ascription: :class:`Tencentcloud::Teo.v20220901.models.AscriptionInfo`
|
8942
8931
|
# @param OriginalNameServers: 域名当前的 NS 记录。
|
8943
8932
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
8944
8933
|
# @type OriginalNameServers: Array
|
8934
|
+
# @param FileAscription: 站点归属权校验:文件校验信息。
|
8935
|
+
# @type FileAscription: :class:`Tencentcloud::Teo.v20220901.models.FileAscriptionInfo`
|
8945
8936
|
|
8946
|
-
attr_accessor :ZoneName, :Status, :Ascription, :OriginalNameServers
|
8937
|
+
attr_accessor :ZoneName, :Status, :Ascription, :OriginalNameServers, :FileAscription
|
8947
8938
|
|
8948
|
-
def initialize(zonename=nil, status=nil, ascription=nil, originalnameservers=nil)
|
8939
|
+
def initialize(zonename=nil, status=nil, ascription=nil, originalnameservers=nil, fileascription=nil)
|
8949
8940
|
@ZoneName = zonename
|
8950
8941
|
@Status = status
|
8951
8942
|
@Ascription = ascription
|
8952
8943
|
@OriginalNameServers = originalnameservers
|
8944
|
+
@FileAscription = fileascription
|
8953
8945
|
end
|
8954
8946
|
|
8955
8947
|
def deserialize(params)
|
@@ -8960,6 +8952,10 @@ module TencentCloud
|
|
8960
8952
|
@Ascription.deserialize(params['Ascription'])
|
8961
8953
|
end
|
8962
8954
|
@OriginalNameServers = params['OriginalNameServers']
|
8955
|
+
unless params['FileAscription'].nil?
|
8956
|
+
@FileAscription = FileAscriptionInfo.new
|
8957
|
+
@FileAscription.deserialize(params['FileAscription'])
|
8958
|
+
end
|
8963
8959
|
end
|
8964
8960
|
end
|
8965
8961
|
|
@@ -8981,15 +8977,18 @@ module TencentCloud
|
|
8981
8977
|
|
8982
8978
|
# IdentifyZone返回参数结构体
|
8983
8979
|
class IdentifyZoneResponse < TencentCloud::Common::AbstractModel
|
8984
|
-
# @param Ascription:
|
8980
|
+
# @param Ascription: 站点归属校验:Dns校验信息。
|
8985
8981
|
# @type Ascription: :class:`Tencentcloud::Teo.v20220901.models.AscriptionInfo`
|
8982
|
+
# @param FileAscription: 站点归属权校验:文件校验信息。
|
8983
|
+
# @type FileAscription: :class:`Tencentcloud::Teo.v20220901.models.FileAscriptionInfo`
|
8986
8984
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
8987
8985
|
# @type RequestId: String
|
8988
8986
|
|
8989
|
-
attr_accessor :Ascription, :RequestId
|
8987
|
+
attr_accessor :Ascription, :FileAscription, :RequestId
|
8990
8988
|
|
8991
|
-
def initialize(ascription=nil, requestid=nil)
|
8989
|
+
def initialize(ascription=nil, fileascription=nil, requestid=nil)
|
8992
8990
|
@Ascription = ascription
|
8991
|
+
@FileAscription = fileascription
|
8993
8992
|
@RequestId = requestid
|
8994
8993
|
end
|
8995
8994
|
|
@@ -8998,6 +8997,10 @@ module TencentCloud
|
|
8998
8997
|
@Ascription = AscriptionInfo.new
|
8999
8998
|
@Ascription.deserialize(params['Ascription'])
|
9000
8999
|
end
|
9000
|
+
unless params['FileAscription'].nil?
|
9001
|
+
@FileAscription = FileAscriptionInfo.new
|
9002
|
+
@FileAscription.deserialize(params['FileAscription'])
|
9003
|
+
end
|
9001
9004
|
@RequestId = params['RequestId']
|
9002
9005
|
end
|
9003
9006
|
end
|
@@ -9251,10 +9254,17 @@ module TencentCloud
|
|
9251
9254
|
# @type BackupOriginGroupId: String
|
9252
9255
|
# @param UpdateTime: 更新时间。
|
9253
9256
|
# @type UpdateTime: String
|
9257
|
+
# @param OriginType: 回源类型,取值有:
|
9258
|
+
# <li>normal:主备回源;</li>
|
9259
|
+
# <li>advanced:高级回源配置。</li>
|
9260
|
+
# @type OriginType: String
|
9261
|
+
# @param AdvancedOriginGroups: 高级回源配置,当OriginType=advanced时有效。
|
9262
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
9263
|
+
# @type AdvancedOriginGroups: Array
|
9254
9264
|
|
9255
|
-
attr_accessor :LoadBalancingId, :ZoneId, :Host, :Type, :TTL, :Status, :Cname, :OriginGroupId, :BackupOriginGroupId, :UpdateTime
|
9265
|
+
attr_accessor :LoadBalancingId, :ZoneId, :Host, :Type, :TTL, :Status, :Cname, :OriginGroupId, :BackupOriginGroupId, :UpdateTime, :OriginType, :AdvancedOriginGroups
|
9256
9266
|
|
9257
|
-
def initialize(loadbalancingid=nil, zoneid=nil, host=nil, type=nil, ttl=nil, status=nil, cname=nil, origingroupid=nil, backuporigingroupid=nil, updatetime=nil)
|
9267
|
+
def initialize(loadbalancingid=nil, zoneid=nil, host=nil, type=nil, ttl=nil, status=nil, cname=nil, origingroupid=nil, backuporigingroupid=nil, updatetime=nil, origintype=nil, advancedorigingroups=nil)
|
9258
9268
|
@LoadBalancingId = loadbalancingid
|
9259
9269
|
@ZoneId = zoneid
|
9260
9270
|
@Host = host
|
@@ -9265,6 +9275,8 @@ module TencentCloud
|
|
9265
9275
|
@OriginGroupId = origingroupid
|
9266
9276
|
@BackupOriginGroupId = backuporigingroupid
|
9267
9277
|
@UpdateTime = updatetime
|
9278
|
+
@OriginType = origintype
|
9279
|
+
@AdvancedOriginGroups = advancedorigingroups
|
9268
9280
|
end
|
9269
9281
|
|
9270
9282
|
def deserialize(params)
|
@@ -9278,6 +9290,15 @@ module TencentCloud
|
|
9278
9290
|
@OriginGroupId = params['OriginGroupId']
|
9279
9291
|
@BackupOriginGroupId = params['BackupOriginGroupId']
|
9280
9292
|
@UpdateTime = params['UpdateTime']
|
9293
|
+
@OriginType = params['OriginType']
|
9294
|
+
unless params['AdvancedOriginGroups'].nil?
|
9295
|
+
@AdvancedOriginGroups = []
|
9296
|
+
params['AdvancedOriginGroups'].each do |i|
|
9297
|
+
advancedorigingroup_tmp = AdvancedOriginGroup.new
|
9298
|
+
advancedorigingroup_tmp.deserialize(i)
|
9299
|
+
@AdvancedOriginGroups << advancedorigingroup_tmp
|
9300
|
+
end
|
9301
|
+
end
|
9281
9302
|
end
|
9282
9303
|
end
|
9283
9304
|
|
@@ -10044,16 +10065,25 @@ module TencentCloud
|
|
10044
10065
|
# @param TTL: 当Type=dns_only时,指解析记录在DNS服务器缓存的生存时间。
|
10045
10066
|
# 取值范围60-86400,单位:秒,不填写使用默认值:600。
|
10046
10067
|
# @type TTL: Integer
|
10068
|
+
# @param OriginType: 回源类型,取值有:
|
10069
|
+
# <li>normal:主备回源;</li>
|
10070
|
+
# <li>advanced:高级回源配置(仅当Type=proxied时可以使用)。</li>不填写表示使用主备回源。
|
10071
|
+
# @type OriginType: String
|
10072
|
+
# @param AdvancedOriginGroups: 高级回源配置,当OriginType=advanced时有效。
|
10073
|
+
# 不填写表示不使用高级回源配置。
|
10074
|
+
# @type AdvancedOriginGroups: Array
|
10047
10075
|
|
10048
|
-
attr_accessor :ZoneId, :LoadBalancingId, :Type, :OriginGroupId, :BackupOriginGroupId, :TTL
|
10076
|
+
attr_accessor :ZoneId, :LoadBalancingId, :Type, :OriginGroupId, :BackupOriginGroupId, :TTL, :OriginType, :AdvancedOriginGroups
|
10049
10077
|
|
10050
|
-
def initialize(zoneid=nil, loadbalancingid=nil, type=nil, origingroupid=nil, backuporigingroupid=nil, ttl=nil)
|
10078
|
+
def initialize(zoneid=nil, loadbalancingid=nil, type=nil, origingroupid=nil, backuporigingroupid=nil, ttl=nil, origintype=nil, advancedorigingroups=nil)
|
10051
10079
|
@ZoneId = zoneid
|
10052
10080
|
@LoadBalancingId = loadbalancingid
|
10053
10081
|
@Type = type
|
10054
10082
|
@OriginGroupId = origingroupid
|
10055
10083
|
@BackupOriginGroupId = backuporigingroupid
|
10056
10084
|
@TTL = ttl
|
10085
|
+
@OriginType = origintype
|
10086
|
+
@AdvancedOriginGroups = advancedorigingroups
|
10057
10087
|
end
|
10058
10088
|
|
10059
10089
|
def deserialize(params)
|
@@ -10063,6 +10093,15 @@ module TencentCloud
|
|
10063
10093
|
@OriginGroupId = params['OriginGroupId']
|
10064
10094
|
@BackupOriginGroupId = params['BackupOriginGroupId']
|
10065
10095
|
@TTL = params['TTL']
|
10096
|
+
@OriginType = params['OriginType']
|
10097
|
+
unless params['AdvancedOriginGroups'].nil?
|
10098
|
+
@AdvancedOriginGroups = []
|
10099
|
+
params['AdvancedOriginGroups'].each do |i|
|
10100
|
+
advancedorigingroup_tmp = AdvancedOriginGroup.new
|
10101
|
+
advancedorigingroup_tmp.deserialize(i)
|
10102
|
+
@AdvancedOriginGroups << advancedorigingroup_tmp
|
10103
|
+
end
|
10104
|
+
end
|
10066
10105
|
end
|
10067
10106
|
end
|
10068
10107
|
|
@@ -10222,16 +10261,20 @@ module TencentCloud
|
|
10222
10261
|
# @type ConfigurationType: String
|
10223
10262
|
# @param OriginRecords: 源站记录信息。
|
10224
10263
|
# @type OriginRecords: Array
|
10264
|
+
# @param HostHeader: 回源Host,仅当OriginType=self时可以设置。
|
10265
|
+
# 不填写,表示使用已有配置。
|
10266
|
+
# @type HostHeader: String
|
10225
10267
|
|
10226
|
-
attr_accessor :ZoneId, :OriginGroupId, :OriginType, :OriginGroupName, :ConfigurationType, :OriginRecords
|
10268
|
+
attr_accessor :ZoneId, :OriginGroupId, :OriginType, :OriginGroupName, :ConfigurationType, :OriginRecords, :HostHeader
|
10227
10269
|
|
10228
|
-
def initialize(zoneid=nil, origingroupid=nil, origintype=nil, origingroupname=nil, configurationtype=nil, originrecords=nil)
|
10270
|
+
def initialize(zoneid=nil, origingroupid=nil, origintype=nil, origingroupname=nil, configurationtype=nil, originrecords=nil, hostheader=nil)
|
10229
10271
|
@ZoneId = zoneid
|
10230
10272
|
@OriginGroupId = origingroupid
|
10231
10273
|
@OriginType = origintype
|
10232
10274
|
@OriginGroupName = origingroupname
|
10233
10275
|
@ConfigurationType = configurationtype
|
10234
10276
|
@OriginRecords = originrecords
|
10277
|
+
@HostHeader = hostheader
|
10235
10278
|
end
|
10236
10279
|
|
10237
10280
|
def deserialize(params)
|
@@ -10248,6 +10291,7 @@ module TencentCloud
|
|
10248
10291
|
@OriginRecords << originrecord_tmp
|
10249
10292
|
end
|
10250
10293
|
end
|
10294
|
+
@HostHeader = params['HostHeader']
|
10251
10295
|
end
|
10252
10296
|
end
|
10253
10297
|
|
@@ -10624,10 +10668,13 @@ module TencentCloud
|
|
10624
10668
|
# @param Ipv6: Ipv6访问配置。
|
10625
10669
|
# 不填写表示保持原有配置。
|
10626
10670
|
# @type Ipv6: :class:`Tencentcloud::Teo.v20220901.models.Ipv6`
|
10671
|
+
# @param ClientIpCountry: 回源时是否携带客户端IP所属地域信息的配置。
|
10672
|
+
# 不填写表示保持原有配置。
|
10673
|
+
# @type ClientIpCountry: :class:`Tencentcloud::Teo.v20220901.models.ClientIpCountry`
|
10627
10674
|
|
10628
|
-
attr_accessor :ZoneId, :CacheConfig, :CacheKey, :MaxAge, :OfflineCache, :Quic, :PostMaxSize, :Compression, :UpstreamHttp2, :ForceRedirect, :Https, :Origin, :SmartRouting, :WebSocket, :ClientIpHeader, :CachePrefresh, :Ipv6
|
10675
|
+
attr_accessor :ZoneId, :CacheConfig, :CacheKey, :MaxAge, :OfflineCache, :Quic, :PostMaxSize, :Compression, :UpstreamHttp2, :ForceRedirect, :Https, :Origin, :SmartRouting, :WebSocket, :ClientIpHeader, :CachePrefresh, :Ipv6, :ClientIpCountry
|
10629
10676
|
|
10630
|
-
def initialize(zoneid=nil, cacheconfig=nil, cachekey=nil, maxage=nil, offlinecache=nil, quic=nil, postmaxsize=nil, compression=nil, upstreamhttp2=nil, forceredirect=nil, https=nil, origin=nil, smartrouting=nil, websocket=nil, clientipheader=nil, cacheprefresh=nil, ipv6=nil)
|
10677
|
+
def initialize(zoneid=nil, cacheconfig=nil, cachekey=nil, maxage=nil, offlinecache=nil, quic=nil, postmaxsize=nil, compression=nil, upstreamhttp2=nil, forceredirect=nil, https=nil, origin=nil, smartrouting=nil, websocket=nil, clientipheader=nil, cacheprefresh=nil, ipv6=nil, clientipcountry=nil)
|
10631
10678
|
@ZoneId = zoneid
|
10632
10679
|
@CacheConfig = cacheconfig
|
10633
10680
|
@CacheKey = cachekey
|
@@ -10645,6 +10692,7 @@ module TencentCloud
|
|
10645
10692
|
@ClientIpHeader = clientipheader
|
10646
10693
|
@CachePrefresh = cacheprefresh
|
10647
10694
|
@Ipv6 = ipv6
|
10695
|
+
@ClientIpCountry = clientipcountry
|
10648
10696
|
end
|
10649
10697
|
|
10650
10698
|
def deserialize(params)
|
@@ -10713,6 +10761,10 @@ module TencentCloud
|
|
10713
10761
|
@Ipv6 = Ipv6.new
|
10714
10762
|
@Ipv6.deserialize(params['Ipv6'])
|
10715
10763
|
end
|
10764
|
+
unless params['ClientIpCountry'].nil?
|
10765
|
+
@ClientIpCountry = ClientIpCountry.new
|
10766
|
+
@ClientIpCountry.deserialize(params['ClientIpCountry'])
|
10767
|
+
end
|
10716
10768
|
end
|
10717
10769
|
end
|
10718
10770
|
|
@@ -10923,10 +10975,13 @@ module TencentCloud
|
|
10923
10975
|
# @type OriginRecords: Array
|
10924
10976
|
# @param UpdateTime: 源站组更新时间。
|
10925
10977
|
# @type UpdateTime: String
|
10978
|
+
# @param HostHeader: 当OriginType=self时,表示回源Host。
|
10979
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
10980
|
+
# @type HostHeader: String
|
10926
10981
|
|
10927
|
-
attr_accessor :ZoneId, :ZoneName, :OriginGroupId, :OriginType, :OriginGroupName, :ConfigurationType, :OriginRecords, :UpdateTime
|
10982
|
+
attr_accessor :ZoneId, :ZoneName, :OriginGroupId, :OriginType, :OriginGroupName, :ConfigurationType, :OriginRecords, :UpdateTime, :HostHeader
|
10928
10983
|
|
10929
|
-
def initialize(zoneid=nil, zonename=nil, origingroupid=nil, origintype=nil, origingroupname=nil, configurationtype=nil, originrecords=nil, updatetime=nil)
|
10984
|
+
def initialize(zoneid=nil, zonename=nil, origingroupid=nil, origintype=nil, origingroupname=nil, configurationtype=nil, originrecords=nil, updatetime=nil, hostheader=nil)
|
10930
10985
|
@ZoneId = zoneid
|
10931
10986
|
@ZoneName = zonename
|
10932
10987
|
@OriginGroupId = origingroupid
|
@@ -10935,6 +10990,7 @@ module TencentCloud
|
|
10935
10990
|
@ConfigurationType = configurationtype
|
10936
10991
|
@OriginRecords = originrecords
|
10937
10992
|
@UpdateTime = updatetime
|
10993
|
+
@HostHeader = hostheader
|
10938
10994
|
end
|
10939
10995
|
|
10940
10996
|
def deserialize(params)
|
@@ -10953,6 +11009,34 @@ module TencentCloud
|
|
10953
11009
|
end
|
10954
11010
|
end
|
10955
11011
|
@UpdateTime = params['UpdateTime']
|
11012
|
+
@HostHeader = params['HostHeader']
|
11013
|
+
end
|
11014
|
+
end
|
11015
|
+
|
11016
|
+
# 回源配置的条件参数
|
11017
|
+
class OriginGroupCondition < TencentCloud::Common::AbstractModel
|
11018
|
+
# @param Target: 匹配类型,取值有:
|
11019
|
+
# <li>url:当前站点下匹配URL路径的请求,例如:/example 或 /example/foo.jpg。支持*表示通配符,支持?表示匹配一个字符。
|
11020
|
+
# </li>
|
11021
|
+
# @type Target: String
|
11022
|
+
# @param Operator: 运算符,取值有:
|
11023
|
+
# <li>equal:等于。</li>
|
11024
|
+
# @type Operator: String
|
11025
|
+
# @param Values: 对应匹配类型的取值。
|
11026
|
+
# @type Values: Array
|
11027
|
+
|
11028
|
+
attr_accessor :Target, :Operator, :Values
|
11029
|
+
|
11030
|
+
def initialize(target=nil, operator=nil, values=nil)
|
11031
|
+
@Target = target
|
11032
|
+
@Operator = operator
|
11033
|
+
@Values = values
|
11034
|
+
end
|
11035
|
+
|
11036
|
+
def deserialize(params)
|
11037
|
+
@Target = params['Target']
|
11038
|
+
@Operator = params['Operator']
|
11039
|
+
@Values = params['Values']
|
10956
11040
|
end
|
10957
11041
|
end
|
10958
11042
|
|
@@ -11022,6 +11106,28 @@ module TencentCloud
|
|
11022
11106
|
end
|
11023
11107
|
end
|
11024
11108
|
|
11109
|
+
# 例外规则的详细模块配置。
|
11110
|
+
class PartialModule < TencentCloud::Common::AbstractModel
|
11111
|
+
# @param Module: 模块名称,取值为:
|
11112
|
+
# <li>waf:托管规则。</li>
|
11113
|
+
# @type Module: String
|
11114
|
+
# @param Include: 模块下的需要例外的具体规则ID列表。
|
11115
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
11116
|
+
# @type Include: Array
|
11117
|
+
|
11118
|
+
attr_accessor :Module, :Include
|
11119
|
+
|
11120
|
+
def initialize(_module=nil, include=nil)
|
11121
|
+
@Module = _module
|
11122
|
+
@Include = include
|
11123
|
+
end
|
11124
|
+
|
11125
|
+
def deserialize(params)
|
11126
|
+
@Module = params['Module']
|
11127
|
+
@Include = params['Include']
|
11128
|
+
end
|
11129
|
+
end
|
11130
|
+
|
11025
11131
|
# edgeone套餐信息
|
11026
11132
|
class PlanInfo < TencentCloud::Common::AbstractModel
|
11027
11133
|
# @param Currency: 结算货币类型,取值有:
|
@@ -11174,10 +11280,10 @@ module TencentCloud
|
|
11174
11280
|
# <li>notEquals: 不等于;</li>
|
11175
11281
|
# <li>include: 包含;</li>
|
11176
11282
|
# <li>notInclude: 不包含; </li>
|
11177
|
-
# <li>startWith:
|
11178
|
-
# <li>notStartWith:
|
11179
|
-
# <li>endWith:
|
11180
|
-
# <li>notEndWith:
|
11283
|
+
# <li>startWith: 开始的值是value;</li>
|
11284
|
+
# <li>notStartWith: 不以value的值开始;</li>
|
11285
|
+
# <li>endWith: 结尾是value值;</li>
|
11286
|
+
# <li>notEndWith: 不以value的值结尾。</li>
|
11181
11287
|
# @type Operator: String
|
11182
11288
|
# @param Value: 筛选条件的值。
|
11183
11289
|
# @type Value: Array
|
@@ -12528,6 +12634,61 @@ module TencentCloud
|
|
12528
12634
|
end
|
12529
12635
|
end
|
12530
12636
|
|
12637
|
+
# 例外规则的跳过匹配条件,即在例外时根据本匹配条件,略过指定字段及内容。
|
12638
|
+
class SkipCondition < TencentCloud::Common::AbstractModel
|
12639
|
+
# @param Type: 例外跳过类型,取值为:
|
12640
|
+
# <li>header_fields:HTTP请求Header;</li>
|
12641
|
+
# <li>cookie:HTTP请求Cookie;</li>
|
12642
|
+
# <li>query_string:HTTP请求URL中的Query参数;</li>
|
12643
|
+
# <li>uri:HTTP请求URI;</li>
|
12644
|
+
# <li>body_raw:HTTP请求Body;</li>
|
12645
|
+
# <li>body_json: JSON格式的HTTP Body。</li>
|
12646
|
+
# @type Type: String
|
12647
|
+
# @param Selector: 选择跳过的字段,取值为:
|
12648
|
+
# <li>args:uri 下选择 query 参数: ?name1=jack&age=12;</li>
|
12649
|
+
# <li>path:uri 下选择部分路径:/path/to/resource.jpg;</li>
|
12650
|
+
# <li>full:uri 下选择完整路径:example.com/path/to/resource.jpg?name1=jack&age=12;</li>
|
12651
|
+
# <li>upload_filename:分段文件名,即分段传输文件时;</li>
|
12652
|
+
# <li>keys:所有的Key;</li>
|
12653
|
+
# <li>values:匹配Key对应的值;</li>
|
12654
|
+
# <li>key_value:匹配Key及匹配Value。</li>
|
12655
|
+
# @type Selector: String
|
12656
|
+
# @param MatchFromType: 匹配Key所使用的匹配方式,取值为:
|
12657
|
+
# <li>equal:精准匹配,等于;</li>
|
12658
|
+
# <li>wildcard:通配符匹配,支持 * 通配。</li>
|
12659
|
+
# @type MatchFromType: String
|
12660
|
+
# @param MatchFrom: 匹配Key的值。
|
12661
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
12662
|
+
# @type MatchFrom: Array
|
12663
|
+
# @param MatchContentType: 匹配Content所使用的匹配方式,取值为:
|
12664
|
+
# <li>equal:精准匹配,等于;</li>
|
12665
|
+
# <li>wildcard:通配符匹配,支持 * 通配。</li>
|
12666
|
+
# @type MatchContentType: String
|
12667
|
+
# @param MatchContent: 匹配Value的值。
|
12668
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
12669
|
+
# @type MatchContent: Array
|
12670
|
+
|
12671
|
+
attr_accessor :Type, :Selector, :MatchFromType, :MatchFrom, :MatchContentType, :MatchContent
|
12672
|
+
|
12673
|
+
def initialize(type=nil, selector=nil, matchfromtype=nil, matchfrom=nil, matchcontenttype=nil, matchcontent=nil)
|
12674
|
+
@Type = type
|
12675
|
+
@Selector = selector
|
12676
|
+
@MatchFromType = matchfromtype
|
12677
|
+
@MatchFrom = matchfrom
|
12678
|
+
@MatchContentType = matchcontenttype
|
12679
|
+
@MatchContent = matchcontent
|
12680
|
+
end
|
12681
|
+
|
12682
|
+
def deserialize(params)
|
12683
|
+
@Type = params['Type']
|
12684
|
+
@Selector = params['Selector']
|
12685
|
+
@MatchFromType = params['MatchFromType']
|
12686
|
+
@MatchFrom = params['MatchFrom']
|
12687
|
+
@MatchContentType = params['MatchContentType']
|
12688
|
+
@MatchContent = params['MatchContent']
|
12689
|
+
end
|
12690
|
+
end
|
12691
|
+
|
12531
12692
|
# 智能加速配置
|
12532
12693
|
class SmartRouting < TencentCloud::Common::AbstractModel
|
12533
12694
|
# @param Switch: 智能加速配置开关,取值有:
|
@@ -12546,29 +12707,6 @@ module TencentCloud
|
|
12546
12707
|
end
|
12547
12708
|
end
|
12548
12709
|
|
12549
|
-
# 查询结果排序条件。
|
12550
|
-
class Sort < TencentCloud::Common::AbstractModel
|
12551
|
-
# @param Key: 排序字段,当前支持:
|
12552
|
-
# createTime,域名创建时间
|
12553
|
-
# certExpireTime,证书过期时间
|
12554
|
-
# certDeployTime, 证书部署时间
|
12555
|
-
# @type Key: String
|
12556
|
-
# @param Sequence: asc/desc,默认desc。
|
12557
|
-
# @type Sequence: String
|
12558
|
-
|
12559
|
-
attr_accessor :Key, :Sequence
|
12560
|
-
|
12561
|
-
def initialize(key=nil, sequence=nil)
|
12562
|
-
@Key = key
|
12563
|
-
@Sequence = sequence
|
12564
|
-
end
|
12565
|
-
|
12566
|
-
def deserialize(params)
|
12567
|
-
@Key = params['Key']
|
12568
|
-
@Sequence = params['Sequence']
|
12569
|
-
end
|
12570
|
-
end
|
12571
|
-
|
12572
12710
|
# 站点拨测配置
|
12573
12711
|
class SpeedTestingConfig < TencentCloud::Common::AbstractModel
|
12574
12712
|
# @param TaskType: 任务类型,取值有:
|
@@ -13627,11 +13765,11 @@ module TencentCloud
|
|
13627
13765
|
# @type Type: String
|
13628
13766
|
# @param Paused: 站点是否关闭。
|
13629
13767
|
# @type Paused: Boolean
|
13630
|
-
# @param CnameSpeedUp: 是否开启
|
13768
|
+
# @param CnameSpeedUp: 是否开启 CNAME 加速,取值有:
|
13631
13769
|
# <li> enabled:开启;</li>
|
13632
13770
|
# <li> disabled:关闭。</li>
|
13633
13771
|
# @type CnameSpeedUp: String
|
13634
|
-
# @param CnameStatus:
|
13772
|
+
# @param CnameStatus: CNAME 接入状态,取值有:
|
13635
13773
|
# <li> finished:站点已验证;</li>
|
13636
13774
|
# <li> pending:站点验证中。</li>
|
13637
13775
|
# @type CnameStatus: String
|
@@ -13776,10 +13914,13 @@ module TencentCloud
|
|
13776
13914
|
# @param Https: Https 加速配置。
|
13777
13915
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
13778
13916
|
# @type Https: :class:`Tencentcloud::Teo.v20220901.models.Https`
|
13917
|
+
# @param ClientIpCountry: 回源时是否携带客户端IP所属地域信息的配置。
|
13918
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
13919
|
+
# @type ClientIpCountry: :class:`Tencentcloud::Teo.v20220901.models.ClientIpCountry`
|
13779
13920
|
|
13780
|
-
attr_accessor :ZoneName, :Area, :CacheKey, :Quic, :PostMaxSize, :Compression, :UpstreamHttp2, :ForceRedirect, :CacheConfig, :Origin, :SmartRouting, :MaxAge, :OfflineCache, :WebSocket, :ClientIpHeader, :CachePrefresh, :Ipv6, :Https
|
13921
|
+
attr_accessor :ZoneName, :Area, :CacheKey, :Quic, :PostMaxSize, :Compression, :UpstreamHttp2, :ForceRedirect, :CacheConfig, :Origin, :SmartRouting, :MaxAge, :OfflineCache, :WebSocket, :ClientIpHeader, :CachePrefresh, :Ipv6, :Https, :ClientIpCountry
|
13781
13922
|
|
13782
|
-
def initialize(zonename=nil, area=nil, cachekey=nil, quic=nil, postmaxsize=nil, compression=nil, upstreamhttp2=nil, forceredirect=nil, cacheconfig=nil, origin=nil, smartrouting=nil, maxage=nil, offlinecache=nil, websocket=nil, clientipheader=nil, cacheprefresh=nil, ipv6=nil, https=nil)
|
13923
|
+
def initialize(zonename=nil, area=nil, cachekey=nil, quic=nil, postmaxsize=nil, compression=nil, upstreamhttp2=nil, forceredirect=nil, cacheconfig=nil, origin=nil, smartrouting=nil, maxage=nil, offlinecache=nil, websocket=nil, clientipheader=nil, cacheprefresh=nil, ipv6=nil, https=nil, clientipcountry=nil)
|
13783
13924
|
@ZoneName = zonename
|
13784
13925
|
@Area = area
|
13785
13926
|
@CacheKey = cachekey
|
@@ -13798,6 +13939,7 @@ module TencentCloud
|
|
13798
13939
|
@CachePrefresh = cacheprefresh
|
13799
13940
|
@Ipv6 = ipv6
|
13800
13941
|
@Https = https
|
13942
|
+
@ClientIpCountry = clientipcountry
|
13801
13943
|
end
|
13802
13944
|
|
13803
13945
|
def deserialize(params)
|
@@ -13867,6 +14009,10 @@ module TencentCloud
|
|
13867
14009
|
@Https = Https.new
|
13868
14010
|
@Https.deserialize(params['Https'])
|
13869
14011
|
end
|
14012
|
+
unless params['ClientIpCountry'].nil?
|
14013
|
+
@ClientIpCountry = ClientIpCountry.new
|
14014
|
+
@ClientIpCountry.deserialize(params['ClientIpCountry'])
|
14015
|
+
end
|
13870
14016
|
end
|
13871
14017
|
end
|
13872
14018
|
|