tencentcloud-sdk-teo 1.0.327 → 1.0.328
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/v20220106/client.rb +408 -0
- data/lib/v20220106/models.rb +2401 -142
- metadata +2 -2
data/lib/v20220106/models.rb
CHANGED
@@ -17,6 +17,158 @@
|
|
17
17
|
module TencentCloud
|
18
18
|
module Teo
|
19
19
|
module V20220106
|
20
|
+
# 精准防护条件
|
21
|
+
class ACLCondition < TencentCloud::Common::AbstractModel
|
22
|
+
# @param MatchFrom: 匹配字段
|
23
|
+
# @type MatchFrom: String
|
24
|
+
# @param MatchParam: 匹配字符串
|
25
|
+
# @type MatchParam: String
|
26
|
+
# @param Operator: 匹配关系
|
27
|
+
# @type Operator: String
|
28
|
+
# @param MatchContent: 匹配内容
|
29
|
+
# @type MatchContent: String
|
30
|
+
|
31
|
+
attr_accessor :MatchFrom, :MatchParam, :Operator, :MatchContent
|
32
|
+
|
33
|
+
def initialize(matchfrom=nil, matchparam=nil, operator=nil, matchcontent=nil)
|
34
|
+
@MatchFrom = matchfrom
|
35
|
+
@MatchParam = matchparam
|
36
|
+
@Operator = operator
|
37
|
+
@MatchContent = matchcontent
|
38
|
+
end
|
39
|
+
|
40
|
+
def deserialize(params)
|
41
|
+
@MatchFrom = params['MatchFrom']
|
42
|
+
@MatchParam = params['MatchParam']
|
43
|
+
@Operator = params['Operator']
|
44
|
+
@MatchContent = params['MatchContent']
|
45
|
+
end
|
46
|
+
end
|
47
|
+
|
48
|
+
# ACL用户规则
|
49
|
+
class ACLUserRule < TencentCloud::Common::AbstractModel
|
50
|
+
# @param RuleName: 规则名
|
51
|
+
# @type RuleName: String
|
52
|
+
# @param Action: 动作
|
53
|
+
# @type Action: String
|
54
|
+
# @param RuleStatus: 状态
|
55
|
+
# @type RuleStatus: String
|
56
|
+
# @param Conditions: ACL规则
|
57
|
+
# @type Conditions: Array
|
58
|
+
# @param RulePriority: 规则优先级
|
59
|
+
# @type RulePriority: Integer
|
60
|
+
# @param RuleID: 规则id
|
61
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
62
|
+
# @type RuleID: Integer
|
63
|
+
# @param UpdateTime: 更新时间
|
64
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
65
|
+
# @type UpdateTime: String
|
66
|
+
# @param PunishTime: ip封禁的惩罚时间
|
67
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
68
|
+
# @type PunishTime: Integer
|
69
|
+
# @param PunishTimeUnit: ip封禁的惩罚时间单位
|
70
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
71
|
+
# @type PunishTimeUnit: String
|
72
|
+
# @param Name: 自定义返回页面的名称
|
73
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
74
|
+
# @type Name: String
|
75
|
+
# @param PageId: 自定义返回页面的实例id
|
76
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
77
|
+
# @type PageId: Integer
|
78
|
+
# @param RedirectUrl: 重定向时候的地址,必须为本用户接入的站点子域名
|
79
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
80
|
+
# @type RedirectUrl: String
|
81
|
+
# @param ResponseCode: 重定向时候的返回码
|
82
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
83
|
+
# @type ResponseCode: Integer
|
84
|
+
|
85
|
+
attr_accessor :RuleName, :Action, :RuleStatus, :Conditions, :RulePriority, :RuleID, :UpdateTime, :PunishTime, :PunishTimeUnit, :Name, :PageId, :RedirectUrl, :ResponseCode
|
86
|
+
|
87
|
+
def initialize(rulename=nil, action=nil, rulestatus=nil, conditions=nil, rulepriority=nil, ruleid=nil, updatetime=nil, punishtime=nil, punishtimeunit=nil, name=nil, pageid=nil, redirecturl=nil, responsecode=nil)
|
88
|
+
@RuleName = rulename
|
89
|
+
@Action = action
|
90
|
+
@RuleStatus = rulestatus
|
91
|
+
@Conditions = conditions
|
92
|
+
@RulePriority = rulepriority
|
93
|
+
@RuleID = ruleid
|
94
|
+
@UpdateTime = updatetime
|
95
|
+
@PunishTime = punishtime
|
96
|
+
@PunishTimeUnit = punishtimeunit
|
97
|
+
@Name = name
|
98
|
+
@PageId = pageid
|
99
|
+
@RedirectUrl = redirecturl
|
100
|
+
@ResponseCode = responsecode
|
101
|
+
end
|
102
|
+
|
103
|
+
def deserialize(params)
|
104
|
+
@RuleName = params['RuleName']
|
105
|
+
@Action = params['Action']
|
106
|
+
@RuleStatus = params['RuleStatus']
|
107
|
+
unless params['Conditions'].nil?
|
108
|
+
@Conditions = []
|
109
|
+
params['Conditions'].each do |i|
|
110
|
+
aclcondition_tmp = ACLCondition.new
|
111
|
+
aclcondition_tmp.deserialize(i)
|
112
|
+
@Conditions << aclcondition_tmp
|
113
|
+
end
|
114
|
+
end
|
115
|
+
@RulePriority = params['RulePriority']
|
116
|
+
@RuleID = params['RuleID']
|
117
|
+
@UpdateTime = params['UpdateTime']
|
118
|
+
@PunishTime = params['PunishTime']
|
119
|
+
@PunishTimeUnit = params['PunishTimeUnit']
|
120
|
+
@Name = params['Name']
|
121
|
+
@PageId = params['PageId']
|
122
|
+
@RedirectUrl = params['RedirectUrl']
|
123
|
+
@ResponseCode = params['ResponseCode']
|
124
|
+
end
|
125
|
+
end
|
126
|
+
|
127
|
+
# ACL配置
|
128
|
+
class AclConfig < TencentCloud::Common::AbstractModel
|
129
|
+
# @param Switch: 开关
|
130
|
+
# @type Switch: String
|
131
|
+
# @param UserRules: ACL用户规则
|
132
|
+
# @type UserRules: Array
|
133
|
+
|
134
|
+
attr_accessor :Switch, :UserRules
|
135
|
+
|
136
|
+
def initialize(switch=nil, userrules=nil)
|
137
|
+
@Switch = switch
|
138
|
+
@UserRules = userrules
|
139
|
+
end
|
140
|
+
|
141
|
+
def deserialize(params)
|
142
|
+
@Switch = params['Switch']
|
143
|
+
unless params['UserRules'].nil?
|
144
|
+
@UserRules = []
|
145
|
+
params['UserRules'].each do |i|
|
146
|
+
acluserrule_tmp = ACLUserRule.new
|
147
|
+
acluserrule_tmp.deserialize(i)
|
148
|
+
@UserRules << acluserrule_tmp
|
149
|
+
end
|
150
|
+
end
|
151
|
+
end
|
152
|
+
end
|
153
|
+
|
154
|
+
# AI规则引擎防护
|
155
|
+
class AiRule < TencentCloud::Common::AbstractModel
|
156
|
+
# @param Mode: smart_status_close-关闭;smart_status_open-拦截处置;
|
157
|
+
# smart_status_observe-观察处置
|
158
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
159
|
+
# @type Mode: String
|
160
|
+
|
161
|
+
attr_accessor :Mode
|
162
|
+
|
163
|
+
def initialize(mode=nil)
|
164
|
+
@Mode = mode
|
165
|
+
end
|
166
|
+
|
167
|
+
def deserialize(params)
|
168
|
+
@Mode = params['Mode']
|
169
|
+
end
|
170
|
+
end
|
171
|
+
|
20
172
|
# 应用代理实例
|
21
173
|
class ApplicationProxy < TencentCloud::Common::AbstractModel
|
22
174
|
# @param ProxyId: 实例ID
|
@@ -185,6 +337,195 @@ module TencentCloud
|
|
185
337
|
end
|
186
338
|
end
|
187
339
|
|
340
|
+
# 安全Bot配置
|
341
|
+
class BotConfig < TencentCloud::Common::AbstractModel
|
342
|
+
# @param Switch: bot开关
|
343
|
+
# @type Switch: String
|
344
|
+
# @param ManagedRule: 预置规则
|
345
|
+
# @type ManagedRule: :class:`Tencentcloud::Teo.v20220106.models.BotManagedRule`
|
346
|
+
# @param UaBotRule: 保留
|
347
|
+
# @type UaBotRule: :class:`Tencentcloud::Teo.v20220106.models.BotManagedRule`
|
348
|
+
# @param IspBotRule: 保留
|
349
|
+
# @type IspBotRule: :class:`Tencentcloud::Teo.v20220106.models.BotManagedRule`
|
350
|
+
# @param PortraitRule: 用户画像规则
|
351
|
+
# @type PortraitRule: :class:`Tencentcloud::Teo.v20220106.models.BotPortraitRule`
|
352
|
+
|
353
|
+
attr_accessor :Switch, :ManagedRule, :UaBotRule, :IspBotRule, :PortraitRule
|
354
|
+
|
355
|
+
def initialize(switch=nil, managedrule=nil, uabotrule=nil, ispbotrule=nil, portraitrule=nil)
|
356
|
+
@Switch = switch
|
357
|
+
@ManagedRule = managedrule
|
358
|
+
@UaBotRule = uabotrule
|
359
|
+
@IspBotRule = ispbotrule
|
360
|
+
@PortraitRule = portraitrule
|
361
|
+
end
|
362
|
+
|
363
|
+
def deserialize(params)
|
364
|
+
@Switch = params['Switch']
|
365
|
+
unless params['ManagedRule'].nil?
|
366
|
+
@ManagedRule = BotManagedRule.new
|
367
|
+
@ManagedRule.deserialize(params['ManagedRule'])
|
368
|
+
end
|
369
|
+
unless params['UaBotRule'].nil?
|
370
|
+
@UaBotRule = BotManagedRule.new
|
371
|
+
@UaBotRule.deserialize(params['UaBotRule'])
|
372
|
+
end
|
373
|
+
unless params['IspBotRule'].nil?
|
374
|
+
@IspBotRule = BotManagedRule.new
|
375
|
+
@IspBotRule.deserialize(params['IspBotRule'])
|
376
|
+
end
|
377
|
+
unless params['PortraitRule'].nil?
|
378
|
+
@PortraitRule = BotPortraitRule.new
|
379
|
+
@PortraitRule.deserialize(params['PortraitRule'])
|
380
|
+
end
|
381
|
+
end
|
382
|
+
end
|
383
|
+
|
384
|
+
# Bot 规则
|
385
|
+
class BotManagedRule < TencentCloud::Common::AbstractModel
|
386
|
+
# @param ManagedIds: 想开启的规则id
|
387
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
388
|
+
# @type ManagedIds: Array
|
389
|
+
# @param RuleID: 本规则的id
|
390
|
+
# @type RuleID: Integer
|
391
|
+
# @param Action: drop/trans/monitor/alg
|
392
|
+
# @type Action: String
|
393
|
+
# @param PunishTime: ip封禁的惩罚时间
|
394
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
395
|
+
# @type PunishTime: Integer
|
396
|
+
# @param PunishTimeUnit: 单位
|
397
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
398
|
+
# @type PunishTimeUnit: String
|
399
|
+
# @param Name: 自定义返回页面的名称
|
400
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
401
|
+
# @type Name: String
|
402
|
+
# @param PageId: 自定义返回页面的实例id
|
403
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
404
|
+
# @type PageId: Integer
|
405
|
+
# @param RedirectUrl: 重定向时候的地址,必须为本用户接入的站点子域名,使用URLENCODE
|
406
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
407
|
+
# @type RedirectUrl: String
|
408
|
+
# @param ResponseCode: 重定向时候的返回码
|
409
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
410
|
+
# @type ResponseCode: Integer
|
411
|
+
# @param TransManagedIds: 放行的规则ID
|
412
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
413
|
+
# @type TransManagedIds: Array
|
414
|
+
# @param AlgManagedIds: JS挑战的规则ID
|
415
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
416
|
+
# @type AlgManagedIds: Array
|
417
|
+
# @param CapManagedIds: 数字验证码的规则ID
|
418
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
419
|
+
# @type CapManagedIds: Array
|
420
|
+
# @param MonManagedIds: 观察的规则ID
|
421
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
422
|
+
# @type MonManagedIds: Array
|
423
|
+
# @param DropManagedIds: 拦截的规则ID
|
424
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
425
|
+
# @type DropManagedIds: Array
|
426
|
+
|
427
|
+
attr_accessor :ManagedIds, :RuleID, :Action, :PunishTime, :PunishTimeUnit, :Name, :PageId, :RedirectUrl, :ResponseCode, :TransManagedIds, :AlgManagedIds, :CapManagedIds, :MonManagedIds, :DropManagedIds
|
428
|
+
|
429
|
+
def initialize(managedids=nil, ruleid=nil, action=nil, punishtime=nil, punishtimeunit=nil, name=nil, pageid=nil, redirecturl=nil, responsecode=nil, transmanagedids=nil, algmanagedids=nil, capmanagedids=nil, monmanagedids=nil, dropmanagedids=nil)
|
430
|
+
@ManagedIds = managedids
|
431
|
+
@RuleID = ruleid
|
432
|
+
@Action = action
|
433
|
+
@PunishTime = punishtime
|
434
|
+
@PunishTimeUnit = punishtimeunit
|
435
|
+
@Name = name
|
436
|
+
@PageId = pageid
|
437
|
+
@RedirectUrl = redirecturl
|
438
|
+
@ResponseCode = responsecode
|
439
|
+
@TransManagedIds = transmanagedids
|
440
|
+
@AlgManagedIds = algmanagedids
|
441
|
+
@CapManagedIds = capmanagedids
|
442
|
+
@MonManagedIds = monmanagedids
|
443
|
+
@DropManagedIds = dropmanagedids
|
444
|
+
end
|
445
|
+
|
446
|
+
def deserialize(params)
|
447
|
+
@ManagedIds = params['ManagedIds']
|
448
|
+
@RuleID = params['RuleID']
|
449
|
+
@Action = params['Action']
|
450
|
+
@PunishTime = params['PunishTime']
|
451
|
+
@PunishTimeUnit = params['PunishTimeUnit']
|
452
|
+
@Name = params['Name']
|
453
|
+
@PageId = params['PageId']
|
454
|
+
@RedirectUrl = params['RedirectUrl']
|
455
|
+
@ResponseCode = params['ResponseCode']
|
456
|
+
@TransManagedIds = params['TransManagedIds']
|
457
|
+
@AlgManagedIds = params['AlgManagedIds']
|
458
|
+
@CapManagedIds = params['CapManagedIds']
|
459
|
+
@MonManagedIds = params['MonManagedIds']
|
460
|
+
@DropManagedIds = params['DropManagedIds']
|
461
|
+
end
|
462
|
+
end
|
463
|
+
|
464
|
+
# bot托管规则详情
|
465
|
+
class BotManagedRuleDetail < TencentCloud::Common::AbstractModel
|
466
|
+
# @param RuleId: 规则ID
|
467
|
+
# @type RuleId: Integer
|
468
|
+
# @param Description: 规则描述
|
469
|
+
# @type Description: String
|
470
|
+
# @param RuleTypeName: 规则分类
|
471
|
+
# @type RuleTypeName: String
|
472
|
+
# @param Status: 该规则开启/关闭
|
473
|
+
# @type Status: String
|
474
|
+
|
475
|
+
attr_accessor :RuleId, :Description, :RuleTypeName, :Status
|
476
|
+
|
477
|
+
def initialize(ruleid=nil, description=nil, ruletypename=nil, status=nil)
|
478
|
+
@RuleId = ruleid
|
479
|
+
@Description = description
|
480
|
+
@RuleTypeName = ruletypename
|
481
|
+
@Status = status
|
482
|
+
end
|
483
|
+
|
484
|
+
def deserialize(params)
|
485
|
+
@RuleId = params['RuleId']
|
486
|
+
@Description = params['Description']
|
487
|
+
@RuleTypeName = params['RuleTypeName']
|
488
|
+
@Status = params['Status']
|
489
|
+
end
|
490
|
+
end
|
491
|
+
|
492
|
+
# bot 用户画像规则
|
493
|
+
class BotPortraitRule < TencentCloud::Common::AbstractModel
|
494
|
+
# @param RuleID: 本规则的id
|
495
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
496
|
+
# @type RuleID: Integer
|
497
|
+
# @param AlgManagedIds: JS挑战的规则ID
|
498
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
499
|
+
# @type AlgManagedIds: Array
|
500
|
+
# @param CapManagedIds: 数字验证码的规则ID
|
501
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
502
|
+
# @type CapManagedIds: Array
|
503
|
+
# @param MonManagedIds: 观察的规则ID
|
504
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
505
|
+
# @type MonManagedIds: Array
|
506
|
+
# @param DropManagedIds: 拦截的规则ID
|
507
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
508
|
+
# @type DropManagedIds: Array
|
509
|
+
|
510
|
+
attr_accessor :RuleID, :AlgManagedIds, :CapManagedIds, :MonManagedIds, :DropManagedIds
|
511
|
+
|
512
|
+
def initialize(ruleid=nil, algmanagedids=nil, capmanagedids=nil, monmanagedids=nil, dropmanagedids=nil)
|
513
|
+
@RuleID = ruleid
|
514
|
+
@AlgManagedIds = algmanagedids
|
515
|
+
@CapManagedIds = capmanagedids
|
516
|
+
@MonManagedIds = monmanagedids
|
517
|
+
@DropManagedIds = dropmanagedids
|
518
|
+
end
|
519
|
+
|
520
|
+
def deserialize(params)
|
521
|
+
@RuleID = params['RuleID']
|
522
|
+
@AlgManagedIds = params['AlgManagedIds']
|
523
|
+
@CapManagedIds = params['CapManagedIds']
|
524
|
+
@MonManagedIds = params['MonManagedIds']
|
525
|
+
@DropManagedIds = params['DropManagedIds']
|
526
|
+
end
|
527
|
+
end
|
528
|
+
|
188
529
|
# 缓存规则配置。
|
189
530
|
class CacheConfig < TencentCloud::Common::AbstractModel
|
190
531
|
# @param Cache: 缓存配置
|
@@ -698,6 +1039,54 @@ module TencentCloud
|
|
698
1039
|
end
|
699
1040
|
end
|
700
1041
|
|
1042
|
+
# CreateCustomErrorPage请求参数结构体
|
1043
|
+
class CreateCustomErrorPageRequest < TencentCloud::Common::AbstractModel
|
1044
|
+
# @param ZoneId: zone的id
|
1045
|
+
# @type ZoneId: String
|
1046
|
+
# @param Entity: 具体所属实体
|
1047
|
+
# @type Entity: String
|
1048
|
+
# @param Name: 自定义页面的文件名
|
1049
|
+
# @type Name: String
|
1050
|
+
# @param Content: 自定义页面的内容
|
1051
|
+
# @type Content: String
|
1052
|
+
|
1053
|
+
attr_accessor :ZoneId, :Entity, :Name, :Content
|
1054
|
+
|
1055
|
+
def initialize(zoneid=nil, entity=nil, name=nil, content=nil)
|
1056
|
+
@ZoneId = zoneid
|
1057
|
+
@Entity = entity
|
1058
|
+
@Name = name
|
1059
|
+
@Content = content
|
1060
|
+
end
|
1061
|
+
|
1062
|
+
def deserialize(params)
|
1063
|
+
@ZoneId = params['ZoneId']
|
1064
|
+
@Entity = params['Entity']
|
1065
|
+
@Name = params['Name']
|
1066
|
+
@Content = params['Content']
|
1067
|
+
end
|
1068
|
+
end
|
1069
|
+
|
1070
|
+
# CreateCustomErrorPage返回参数结构体
|
1071
|
+
class CreateCustomErrorPageResponse < TencentCloud::Common::AbstractModel
|
1072
|
+
# @param PageId: 自定义页面上传后的唯一id
|
1073
|
+
# @type PageId: Integer
|
1074
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1075
|
+
# @type RequestId: String
|
1076
|
+
|
1077
|
+
attr_accessor :PageId, :RequestId
|
1078
|
+
|
1079
|
+
def initialize(pageid=nil, requestid=nil)
|
1080
|
+
@PageId = pageid
|
1081
|
+
@RequestId = requestid
|
1082
|
+
end
|
1083
|
+
|
1084
|
+
def deserialize(params)
|
1085
|
+
@PageId = params['PageId']
|
1086
|
+
@RequestId = params['RequestId']
|
1087
|
+
end
|
1088
|
+
end
|
1089
|
+
|
701
1090
|
# CreateDnsRecord请求参数结构体
|
702
1091
|
class CreateDnsRecordRequest < TencentCloud::Common::AbstractModel
|
703
1092
|
# @param ZoneId: 站点 ID
|
@@ -867,6 +1256,70 @@ module TencentCloud
|
|
867
1256
|
end
|
868
1257
|
end
|
869
1258
|
|
1259
|
+
# CreateOriginGroup请求参数结构体
|
1260
|
+
class CreateOriginGroupRequest < TencentCloud::Common::AbstractModel
|
1261
|
+
# @param OriginName: 源站组名称
|
1262
|
+
# @type OriginName: String
|
1263
|
+
# @param Type: 配置类型,当OriginType=self 时,需要填写:
|
1264
|
+
# area: 按区域配置
|
1265
|
+
# weight: 按权重配置
|
1266
|
+
# 当OriginType=third_party 时,不需要填写
|
1267
|
+
# @type Type: String
|
1268
|
+
# @param Record: 源站记录
|
1269
|
+
# @type Record: Array
|
1270
|
+
# @param ZoneId: 站点ID
|
1271
|
+
# @type ZoneId: String
|
1272
|
+
# @param OriginType: 源站类型
|
1273
|
+
# self:自有源站
|
1274
|
+
# third_party:第三方源站
|
1275
|
+
# @type OriginType: String
|
1276
|
+
|
1277
|
+
attr_accessor :OriginName, :Type, :Record, :ZoneId, :OriginType
|
1278
|
+
|
1279
|
+
def initialize(originname=nil, type=nil, record=nil, zoneid=nil, origintype=nil)
|
1280
|
+
@OriginName = originname
|
1281
|
+
@Type = type
|
1282
|
+
@Record = record
|
1283
|
+
@ZoneId = zoneid
|
1284
|
+
@OriginType = origintype
|
1285
|
+
end
|
1286
|
+
|
1287
|
+
def deserialize(params)
|
1288
|
+
@OriginName = params['OriginName']
|
1289
|
+
@Type = params['Type']
|
1290
|
+
unless params['Record'].nil?
|
1291
|
+
@Record = []
|
1292
|
+
params['Record'].each do |i|
|
1293
|
+
originrecord_tmp = OriginRecord.new
|
1294
|
+
originrecord_tmp.deserialize(i)
|
1295
|
+
@Record << originrecord_tmp
|
1296
|
+
end
|
1297
|
+
end
|
1298
|
+
@ZoneId = params['ZoneId']
|
1299
|
+
@OriginType = params['OriginType']
|
1300
|
+
end
|
1301
|
+
end
|
1302
|
+
|
1303
|
+
# CreateOriginGroup返回参数结构体
|
1304
|
+
class CreateOriginGroupResponse < TencentCloud::Common::AbstractModel
|
1305
|
+
# @param OriginId: 新增的源站组ID
|
1306
|
+
# @type OriginId: String
|
1307
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1308
|
+
# @type RequestId: String
|
1309
|
+
|
1310
|
+
attr_accessor :OriginId, :RequestId
|
1311
|
+
|
1312
|
+
def initialize(originid=nil, requestid=nil)
|
1313
|
+
@OriginId = originid
|
1314
|
+
@RequestId = requestid
|
1315
|
+
end
|
1316
|
+
|
1317
|
+
def deserialize(params)
|
1318
|
+
@OriginId = params['OriginId']
|
1319
|
+
@RequestId = params['RequestId']
|
1320
|
+
end
|
1321
|
+
end
|
1322
|
+
|
870
1323
|
# CreatePrefetchTask请求参数结构体
|
871
1324
|
class CreatePrefetchTaskRequest < TencentCloud::Common::AbstractModel
|
872
1325
|
# @param ZoneId: Zone ID
|
@@ -1086,62 +1539,548 @@ module TencentCloud
|
|
1086
1539
|
end
|
1087
1540
|
end
|
1088
1541
|
|
1089
|
-
#
|
1090
|
-
class
|
1091
|
-
# @param
|
1092
|
-
# @type
|
1093
|
-
# @param
|
1094
|
-
#
|
1095
|
-
# @
|
1542
|
+
# DDoS配置端口过滤
|
1543
|
+
class DDoSAcl < TencentCloud::Common::AbstractModel
|
1544
|
+
# @param DportEnd: 目的端口end
|
1545
|
+
# @type DportEnd: Integer
|
1546
|
+
# @param DportStart: 目的端口start
|
1547
|
+
# @type DportStart: Integer
|
1548
|
+
# @param SportEnd: 源端口end
|
1549
|
+
# @type SportEnd: Integer
|
1550
|
+
# @param SportStart: 源端口start
|
1551
|
+
# @type SportStart: Integer
|
1552
|
+
# @param Protocol: 协议 'tcp', 'udp', 'all'
|
1553
|
+
# @type Protocol: String
|
1554
|
+
# @param Action: 动作 drop-丢弃,;transmit-放行; forward-继续防护
|
1555
|
+
# @type Action: String
|
1556
|
+
# @param Default: 是否为系统配置 0-人工配置;1-系统配置
|
1557
|
+
# @type Default: Integer
|
1096
1558
|
|
1097
|
-
attr_accessor :
|
1559
|
+
attr_accessor :DportEnd, :DportStart, :SportEnd, :SportStart, :Protocol, :Action, :Default
|
1098
1560
|
|
1099
|
-
def initialize(
|
1100
|
-
@
|
1101
|
-
@
|
1561
|
+
def initialize(dportend=nil, dportstart=nil, sportend=nil, sportstart=nil, protocol=nil, action=nil, default=nil)
|
1562
|
+
@DportEnd = dportend
|
1563
|
+
@DportStart = dportstart
|
1564
|
+
@SportEnd = sportend
|
1565
|
+
@SportStart = sportstart
|
1566
|
+
@Protocol = protocol
|
1567
|
+
@Action = action
|
1568
|
+
@Default = default
|
1102
1569
|
end
|
1103
1570
|
|
1104
1571
|
def deserialize(params)
|
1105
|
-
@
|
1106
|
-
@
|
1107
|
-
|
1108
|
-
|
1109
|
-
|
1110
|
-
|
1111
|
-
|
1112
|
-
|
1113
|
-
|
1114
|
-
|
1115
|
-
|
1116
|
-
|
1117
|
-
# @
|
1118
|
-
# @
|
1119
|
-
#
|
1120
|
-
#
|
1121
|
-
#
|
1122
|
-
#
|
1123
|
-
# @
|
1124
|
-
# @
|
1125
|
-
#
|
1126
|
-
# @type
|
1127
|
-
# @param
|
1128
|
-
#
|
1129
|
-
# @
|
1130
|
-
# @
|
1131
|
-
#
|
1132
|
-
# @type
|
1133
|
-
# @param
|
1572
|
+
@DportEnd = params['DportEnd']
|
1573
|
+
@DportStart = params['DportStart']
|
1574
|
+
@SportEnd = params['SportEnd']
|
1575
|
+
@SportStart = params['SportStart']
|
1576
|
+
@Protocol = params['Protocol']
|
1577
|
+
@Action = params['Action']
|
1578
|
+
@Default = params['Default']
|
1579
|
+
end
|
1580
|
+
end
|
1581
|
+
|
1582
|
+
# DDoS协议防护+连接防护
|
1583
|
+
class DDoSAntiPly < TencentCloud::Common::AbstractModel
|
1584
|
+
# @param DropTcp: tcp协议封禁 on-开;off-关
|
1585
|
+
# @type DropTcp: String
|
1586
|
+
# @param DropUdp: udp协议封禁 on-开;off-关
|
1587
|
+
# @type DropUdp: String
|
1588
|
+
# @param DropIcmp: icmp协议封禁 on-开;off-关
|
1589
|
+
# @type DropIcmp: String
|
1590
|
+
# @param DropOther: 其他协议封禁 on-开;off-关
|
1591
|
+
# @type DropOther: String
|
1592
|
+
# @param SourceCreateLimit: 源每秒新建数限制 0-4294967295
|
1593
|
+
# @type SourceCreateLimit: Integer
|
1594
|
+
# @param SourceConnectLimit: 源并发连接控制 0-4294967295
|
1595
|
+
# @type SourceConnectLimit: Integer
|
1596
|
+
# @param DestinationCreateLimit: 目的每秒新建数限制 0-4294967295
|
1597
|
+
# @type DestinationCreateLimit: Integer
|
1598
|
+
# @param DestinationConnectLimit: 目的端口的并发连接控制 0-4294967295
|
1599
|
+
# @type DestinationConnectLimit: Integer
|
1600
|
+
# @param AbnormalConnectNum: 异常连接数阈值 0-4294967295
|
1601
|
+
# @type AbnormalConnectNum: Integer
|
1602
|
+
# @param AbnormalSynRatio: syn占比异常阈值 0-100
|
1603
|
+
# @type AbnormalSynRatio: Integer
|
1604
|
+
# @param AbnormalSynNum: syn个数异常阈值 0-65535
|
1605
|
+
# @type AbnormalSynNum: Integer
|
1606
|
+
# @param ConnectTimeout: 连接超时检测 0-65535
|
1607
|
+
# @type ConnectTimeout: Integer
|
1608
|
+
# @param EmptyConnectProtect: 空连接防护开启 0-1
|
1609
|
+
# @type EmptyConnectProtect: String
|
1610
|
+
|
1611
|
+
attr_accessor :DropTcp, :DropUdp, :DropIcmp, :DropOther, :SourceCreateLimit, :SourceConnectLimit, :DestinationCreateLimit, :DestinationConnectLimit, :AbnormalConnectNum, :AbnormalSynRatio, :AbnormalSynNum, :ConnectTimeout, :EmptyConnectProtect
|
1612
|
+
|
1613
|
+
def initialize(droptcp=nil, dropudp=nil, dropicmp=nil, dropother=nil, sourcecreatelimit=nil, sourceconnectlimit=nil, destinationcreatelimit=nil, destinationconnectlimit=nil, abnormalconnectnum=nil, abnormalsynratio=nil, abnormalsynnum=nil, connecttimeout=nil, emptyconnectprotect=nil)
|
1614
|
+
@DropTcp = droptcp
|
1615
|
+
@DropUdp = dropudp
|
1616
|
+
@DropIcmp = dropicmp
|
1617
|
+
@DropOther = dropother
|
1618
|
+
@SourceCreateLimit = sourcecreatelimit
|
1619
|
+
@SourceConnectLimit = sourceconnectlimit
|
1620
|
+
@DestinationCreateLimit = destinationcreatelimit
|
1621
|
+
@DestinationConnectLimit = destinationconnectlimit
|
1622
|
+
@AbnormalConnectNum = abnormalconnectnum
|
1623
|
+
@AbnormalSynRatio = abnormalsynratio
|
1624
|
+
@AbnormalSynNum = abnormalsynnum
|
1625
|
+
@ConnectTimeout = connecttimeout
|
1626
|
+
@EmptyConnectProtect = emptyconnectprotect
|
1627
|
+
end
|
1628
|
+
|
1629
|
+
def deserialize(params)
|
1630
|
+
@DropTcp = params['DropTcp']
|
1631
|
+
@DropUdp = params['DropUdp']
|
1632
|
+
@DropIcmp = params['DropIcmp']
|
1633
|
+
@DropOther = params['DropOther']
|
1634
|
+
@SourceCreateLimit = params['SourceCreateLimit']
|
1635
|
+
@SourceConnectLimit = params['SourceConnectLimit']
|
1636
|
+
@DestinationCreateLimit = params['DestinationCreateLimit']
|
1637
|
+
@DestinationConnectLimit = params['DestinationConnectLimit']
|
1638
|
+
@AbnormalConnectNum = params['AbnormalConnectNum']
|
1639
|
+
@AbnormalSynRatio = params['AbnormalSynRatio']
|
1640
|
+
@AbnormalSynNum = params['AbnormalSynNum']
|
1641
|
+
@ConnectTimeout = params['ConnectTimeout']
|
1642
|
+
@EmptyConnectProtect = params['EmptyConnectProtect']
|
1643
|
+
end
|
1644
|
+
end
|
1645
|
+
|
1646
|
+
# DDoS7层应用
|
1647
|
+
class DDoSApplication < TencentCloud::Common::AbstractModel
|
1648
|
+
# @param Host: 二级域名
|
1134
1649
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
1135
|
-
# @type
|
1136
|
-
# @param Status:
|
1137
|
-
#
|
1138
|
-
#
|
1139
|
-
#
|
1140
|
-
#
|
1141
|
-
# disabled: 证书被禁用
|
1650
|
+
# @type Host: String
|
1651
|
+
# @param Status: 域名状态;
|
1652
|
+
# init 待切ns
|
1653
|
+
# offline 需要dns开启站点加速
|
1654
|
+
# process 在部署中,稍等一会
|
1655
|
+
# online 正常状态
|
1142
1656
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
1143
1657
|
# @type Status: String
|
1144
|
-
# @param
|
1658
|
+
# @param AccelerateType: 加速开关;on-开启加速;off-关闭加速(AccelerateType:on,SecurityType:on,安全加速,未开防护增强;AccelerateType:off,SecurityType:on,安全加速,开启防护增强;AccelerateType:on,SecurityType:off,内容加速,未开防护增强)
|
1659
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1660
|
+
# @type AccelerateType: String
|
1661
|
+
# @param SecurityType: 安全开关;on-开启安全;off-关闭安全(AccelerateType:on,SecurityType:on,安全加速,未开防护增强;AccelerateType:off,SecurityType:on,安全加速,开启防护增强;AccelerateType:on,SecurityType:off,内容加速,未开防护增强)
|
1662
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1663
|
+
# @type SecurityType: String
|
1664
|
+
|
1665
|
+
attr_accessor :Host, :Status, :AccelerateType, :SecurityType
|
1666
|
+
|
1667
|
+
def initialize(host=nil, status=nil, acceleratetype=nil, securitytype=nil)
|
1668
|
+
@Host = host
|
1669
|
+
@Status = status
|
1670
|
+
@AccelerateType = acceleratetype
|
1671
|
+
@SecurityType = securitytype
|
1672
|
+
end
|
1673
|
+
|
1674
|
+
def deserialize(params)
|
1675
|
+
@Host = params['Host']
|
1676
|
+
@Status = params['Status']
|
1677
|
+
@AccelerateType = params['AccelerateType']
|
1678
|
+
@SecurityType = params['SecurityType']
|
1679
|
+
end
|
1680
|
+
end
|
1681
|
+
|
1682
|
+
# DDoS配置
|
1683
|
+
class DDoSConfig < TencentCloud::Common::AbstractModel
|
1684
|
+
# @param Switch: 开关
|
1685
|
+
# @type Switch: String
|
1686
|
+
|
1687
|
+
attr_accessor :Switch
|
1688
|
+
|
1689
|
+
def initialize(switch=nil)
|
1690
|
+
@Switch = switch
|
1691
|
+
end
|
1692
|
+
|
1693
|
+
def deserialize(params)
|
1694
|
+
@Switch = params['Switch']
|
1695
|
+
end
|
1696
|
+
end
|
1697
|
+
|
1698
|
+
# DDoS特征过滤
|
1699
|
+
class DDoSFeaturesFilter < TencentCloud::Common::AbstractModel
|
1700
|
+
# @param Action: 动作 drop-丢弃;transmit-放行;drop_block-丢弃并拉黑;forward-继续防护
|
1701
|
+
# @type Action: String
|
1702
|
+
# @param Depth: 深度值1
|
1703
|
+
# @type Depth: Integer
|
1704
|
+
# @param Depth2: 深度值2
|
1705
|
+
# @type Depth2: Integer
|
1706
|
+
# @param DportEnd: 目标端口结束
|
1707
|
+
# @type DportEnd: Integer
|
1708
|
+
# @param DportStart: 目标端口开始
|
1709
|
+
# @type DportStart: Integer
|
1710
|
+
# @param IsNot: 取非判断1
|
1711
|
+
# @type IsNot: Integer
|
1712
|
+
# @param IsNot2: 取非判断2
|
1713
|
+
# @type IsNot2: Integer
|
1714
|
+
# @param MatchLogic: 多特征关系(单特征时(none),第二特征相关配置可不填) none;and;or
|
1715
|
+
# @type MatchLogic: String
|
1716
|
+
# @param MatchType: 匹配方式1 pcre-正则匹配, sunday-字符串匹配
|
1717
|
+
# @type MatchType: String
|
1718
|
+
# @param MatchType2: 匹配方式2 pcre-正则匹配, sunday-字符串匹配
|
1719
|
+
# @type MatchType2: String
|
1720
|
+
# @param Offset: 偏移量1
|
1721
|
+
# @type Offset: Integer
|
1722
|
+
# @param Offset2: 偏移量2
|
1723
|
+
# @type Offset2: Integer
|
1724
|
+
# @param PacketMax: 最大包长
|
1725
|
+
# @type PacketMax: Integer
|
1726
|
+
# @param PacketMin: 最小包长
|
1727
|
+
# @type PacketMin: Integer
|
1728
|
+
# @param Protocol: 协议 tcp;udp;icmp;all
|
1729
|
+
# @type Protocol: String
|
1730
|
+
# @param SportEnd: 源端口结束
|
1731
|
+
# @type SportEnd: Integer
|
1732
|
+
# @param SportStart: 源端口开始
|
1733
|
+
# @type SportStart: Integer
|
1734
|
+
# @param Str: 匹配字符串1
|
1735
|
+
# @type Str: String
|
1736
|
+
# @param Str2: 匹配字符串2
|
1737
|
+
# @type Str2: String
|
1738
|
+
# @param MatchBegin: 匹配开始层级,层级参考计算机网络结构 begin_l5, no_match, begin_l3, begin_l4
|
1739
|
+
# @type MatchBegin: String
|
1740
|
+
# @param MatchBegin2: 匹配开始层级,层级参考计算机网络结构 begin_l5, no_match, begin_l3, begin_l4
|
1741
|
+
# @type MatchBegin2: String
|
1742
|
+
|
1743
|
+
attr_accessor :Action, :Depth, :Depth2, :DportEnd, :DportStart, :IsNot, :IsNot2, :MatchLogic, :MatchType, :MatchType2, :Offset, :Offset2, :PacketMax, :PacketMin, :Protocol, :SportEnd, :SportStart, :Str, :Str2, :MatchBegin, :MatchBegin2
|
1744
|
+
|
1745
|
+
def initialize(action=nil, depth=nil, depth2=nil, dportend=nil, dportstart=nil, isnot=nil, isnot2=nil, matchlogic=nil, matchtype=nil, matchtype2=nil, offset=nil, offset2=nil, packetmax=nil, packetmin=nil, protocol=nil, sportend=nil, sportstart=nil, str=nil, str2=nil, matchbegin=nil, matchbegin2=nil)
|
1746
|
+
@Action = action
|
1747
|
+
@Depth = depth
|
1748
|
+
@Depth2 = depth2
|
1749
|
+
@DportEnd = dportend
|
1750
|
+
@DportStart = dportstart
|
1751
|
+
@IsNot = isnot
|
1752
|
+
@IsNot2 = isnot2
|
1753
|
+
@MatchLogic = matchlogic
|
1754
|
+
@MatchType = matchtype
|
1755
|
+
@MatchType2 = matchtype2
|
1756
|
+
@Offset = offset
|
1757
|
+
@Offset2 = offset2
|
1758
|
+
@PacketMax = packetmax
|
1759
|
+
@PacketMin = packetmin
|
1760
|
+
@Protocol = protocol
|
1761
|
+
@SportEnd = sportend
|
1762
|
+
@SportStart = sportstart
|
1763
|
+
@Str = str
|
1764
|
+
@Str2 = str2
|
1765
|
+
@MatchBegin = matchbegin
|
1766
|
+
@MatchBegin2 = matchbegin2
|
1767
|
+
end
|
1768
|
+
|
1769
|
+
def deserialize(params)
|
1770
|
+
@Action = params['Action']
|
1771
|
+
@Depth = params['Depth']
|
1772
|
+
@Depth2 = params['Depth2']
|
1773
|
+
@DportEnd = params['DportEnd']
|
1774
|
+
@DportStart = params['DportStart']
|
1775
|
+
@IsNot = params['IsNot']
|
1776
|
+
@IsNot2 = params['IsNot2']
|
1777
|
+
@MatchLogic = params['MatchLogic']
|
1778
|
+
@MatchType = params['MatchType']
|
1779
|
+
@MatchType2 = params['MatchType2']
|
1780
|
+
@Offset = params['Offset']
|
1781
|
+
@Offset2 = params['Offset2']
|
1782
|
+
@PacketMax = params['PacketMax']
|
1783
|
+
@PacketMin = params['PacketMin']
|
1784
|
+
@Protocol = params['Protocol']
|
1785
|
+
@SportEnd = params['SportEnd']
|
1786
|
+
@SportStart = params['SportStart']
|
1787
|
+
@Str = params['Str']
|
1788
|
+
@Str2 = params['Str2']
|
1789
|
+
@MatchBegin = params['MatchBegin']
|
1790
|
+
@MatchBegin2 = params['MatchBegin2']
|
1791
|
+
end
|
1792
|
+
end
|
1793
|
+
|
1794
|
+
# DDoS地域封禁
|
1795
|
+
class DDoSGeoIp < TencentCloud::Common::AbstractModel
|
1796
|
+
# @param RegionId: 地域信息
|
1797
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1798
|
+
# @type RegionId: Array
|
1799
|
+
# @param Switch: 区域封禁清空标识
|
1800
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1801
|
+
# @type Switch: String
|
1802
|
+
|
1803
|
+
attr_accessor :RegionId, :Switch
|
1804
|
+
|
1805
|
+
def initialize(regionid=nil, switch=nil)
|
1806
|
+
@RegionId = regionid
|
1807
|
+
@Switch = switch
|
1808
|
+
end
|
1809
|
+
|
1810
|
+
def deserialize(params)
|
1811
|
+
@RegionId = params['RegionId']
|
1812
|
+
@Switch = params['Switch']
|
1813
|
+
end
|
1814
|
+
end
|
1815
|
+
|
1816
|
+
# DDoS封禁等级
|
1817
|
+
class DDoSStatusInfo < TencentCloud::Common::AbstractModel
|
1818
|
+
# @param AiStatus: 不支持,填off
|
1819
|
+
# @type AiStatus: String
|
1820
|
+
# @param Appid: 用户appid
|
1821
|
+
# @type Appid: String
|
1822
|
+
# @param PlyLevel: 策略等级 low, middle, high
|
1823
|
+
# @type PlyLevel: String
|
1824
|
+
|
1825
|
+
attr_accessor :AiStatus, :Appid, :PlyLevel
|
1826
|
+
|
1827
|
+
def initialize(aistatus=nil, appid=nil, plylevel=nil)
|
1828
|
+
@AiStatus = aistatus
|
1829
|
+
@Appid = appid
|
1830
|
+
@PlyLevel = plylevel
|
1831
|
+
end
|
1832
|
+
|
1833
|
+
def deserialize(params)
|
1834
|
+
@AiStatus = params['AiStatus']
|
1835
|
+
@Appid = params['Appid']
|
1836
|
+
@PlyLevel = params['PlyLevel']
|
1837
|
+
end
|
1838
|
+
end
|
1839
|
+
|
1840
|
+
# DDoS黑白名单
|
1841
|
+
class DDoSUserAllowBlockIP < TencentCloud::Common::AbstractModel
|
1842
|
+
# @param Ip: 用户ip
|
1843
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1844
|
+
# @type Ip: String
|
1845
|
+
# @param Mask: 掩码
|
1846
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1847
|
+
# @type Mask: Integer
|
1848
|
+
# @param Type: 类型 block-丢弃;allow-允许
|
1849
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1850
|
+
# @type Type: String
|
1851
|
+
# @param UpdateTime: 时间戳
|
1852
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1853
|
+
# @type UpdateTime: Integer
|
1854
|
+
# @param Ip2: 用户ip范围截止
|
1855
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1856
|
+
# @type Ip2: String
|
1857
|
+
# @param Mask2: 掩码截止范围
|
1858
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1859
|
+
# @type Mask2: Integer
|
1860
|
+
|
1861
|
+
attr_accessor :Ip, :Mask, :Type, :UpdateTime, :Ip2, :Mask2
|
1862
|
+
|
1863
|
+
def initialize(ip=nil, mask=nil, type=nil, updatetime=nil, ip2=nil, mask2=nil)
|
1864
|
+
@Ip = ip
|
1865
|
+
@Mask = mask
|
1866
|
+
@Type = type
|
1867
|
+
@UpdateTime = updatetime
|
1868
|
+
@Ip2 = ip2
|
1869
|
+
@Mask2 = mask2
|
1870
|
+
end
|
1871
|
+
|
1872
|
+
def deserialize(params)
|
1873
|
+
@Ip = params['Ip']
|
1874
|
+
@Mask = params['Mask']
|
1875
|
+
@Type = params['Type']
|
1876
|
+
@UpdateTime = params['UpdateTime']
|
1877
|
+
@Ip2 = params['Ip2']
|
1878
|
+
@Mask2 = params['Mask2']
|
1879
|
+
end
|
1880
|
+
end
|
1881
|
+
|
1882
|
+
# 统计曲线数据项
|
1883
|
+
class DataItem < TencentCloud::Common::AbstractModel
|
1884
|
+
# @param Time: 时间
|
1885
|
+
# @type Time: String
|
1886
|
+
# @param Value: 数值
|
1887
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1888
|
+
# @type Value: Integer
|
1889
|
+
|
1890
|
+
attr_accessor :Time, :Value
|
1891
|
+
|
1892
|
+
def initialize(time=nil, value=nil)
|
1893
|
+
@Time = time
|
1894
|
+
@Value = value
|
1895
|
+
end
|
1896
|
+
|
1897
|
+
def deserialize(params)
|
1898
|
+
@Time = params['Time']
|
1899
|
+
@Value = params['Value']
|
1900
|
+
end
|
1901
|
+
end
|
1902
|
+
|
1903
|
+
# ddos端口过滤
|
1904
|
+
class DdosAcls < TencentCloud::Common::AbstractModel
|
1905
|
+
# @param Switch: 开关 off清空规则标识
|
1906
|
+
# @type Switch: String
|
1907
|
+
# @param Acl: 端口过了详细参数
|
1908
|
+
# @type Acl: Array
|
1909
|
+
|
1910
|
+
attr_accessor :Switch, :Acl
|
1911
|
+
|
1912
|
+
def initialize(switch=nil, acl=nil)
|
1913
|
+
@Switch = switch
|
1914
|
+
@Acl = acl
|
1915
|
+
end
|
1916
|
+
|
1917
|
+
def deserialize(params)
|
1918
|
+
@Switch = params['Switch']
|
1919
|
+
unless params['Acl'].nil?
|
1920
|
+
@Acl = []
|
1921
|
+
params['Acl'].each do |i|
|
1922
|
+
ddosacl_tmp = DDoSAcl.new
|
1923
|
+
ddosacl_tmp.deserialize(i)
|
1924
|
+
@Acl << ddosacl_tmp
|
1925
|
+
end
|
1926
|
+
end
|
1927
|
+
end
|
1928
|
+
end
|
1929
|
+
|
1930
|
+
# ddos黑白名单
|
1931
|
+
class DdosAllowBlock < TencentCloud::Common::AbstractModel
|
1932
|
+
# @param Switch: 开关标识防护是否清空
|
1933
|
+
# @type Switch: String
|
1934
|
+
# @param UserAllowBlockIp: 黑白名单数组
|
1935
|
+
# @type UserAllowBlockIp: Array
|
1936
|
+
|
1937
|
+
attr_accessor :Switch, :UserAllowBlockIp
|
1938
|
+
|
1939
|
+
def initialize(switch=nil, userallowblockip=nil)
|
1940
|
+
@Switch = switch
|
1941
|
+
@UserAllowBlockIp = userallowblockip
|
1942
|
+
end
|
1943
|
+
|
1944
|
+
def deserialize(params)
|
1945
|
+
@Switch = params['Switch']
|
1946
|
+
unless params['UserAllowBlockIp'].nil?
|
1947
|
+
@UserAllowBlockIp = []
|
1948
|
+
params['UserAllowBlockIp'].each do |i|
|
1949
|
+
ddosuserallowblockip_tmp = DDoSUserAllowBlockIP.new
|
1950
|
+
ddosuserallowblockip_tmp.deserialize(i)
|
1951
|
+
@UserAllowBlockIp << ddosuserallowblockip_tmp
|
1952
|
+
end
|
1953
|
+
end
|
1954
|
+
end
|
1955
|
+
end
|
1956
|
+
|
1957
|
+
# ddos特征过滤
|
1958
|
+
class DdosPacketFilter < TencentCloud::Common::AbstractModel
|
1959
|
+
# @param Switch: 特征过滤清空标识,off清空处理
|
1960
|
+
# @type Switch: String
|
1961
|
+
# @param PacketFilter: 特征过滤数组
|
1962
|
+
# @type PacketFilter: Array
|
1963
|
+
|
1964
|
+
attr_accessor :Switch, :PacketFilter
|
1965
|
+
|
1966
|
+
def initialize(switch=nil, packetfilter=nil)
|
1967
|
+
@Switch = switch
|
1968
|
+
@PacketFilter = packetfilter
|
1969
|
+
end
|
1970
|
+
|
1971
|
+
def deserialize(params)
|
1972
|
+
@Switch = params['Switch']
|
1973
|
+
unless params['PacketFilter'].nil?
|
1974
|
+
@PacketFilter = []
|
1975
|
+
params['PacketFilter'].each do |i|
|
1976
|
+
ddosfeaturesfilter_tmp = DDoSFeaturesFilter.new
|
1977
|
+
ddosfeaturesfilter_tmp.deserialize(i)
|
1978
|
+
@PacketFilter << ddosfeaturesfilter_tmp
|
1979
|
+
end
|
1980
|
+
end
|
1981
|
+
end
|
1982
|
+
end
|
1983
|
+
|
1984
|
+
# Ddos防护配置
|
1985
|
+
class DdosRule < TencentCloud::Common::AbstractModel
|
1986
|
+
# @param DdosStatusInfo: DDoS防护等级
|
1987
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1988
|
+
# @type DdosStatusInfo: :class:`Tencentcloud::Teo.v20220106.models.DDoSStatusInfo`
|
1989
|
+
# @param DdosGeoIp: DDoS地域封禁
|
1990
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1991
|
+
# @type DdosGeoIp: :class:`Tencentcloud::Teo.v20220106.models.DDoSGeoIp`
|
1992
|
+
# @param DdosAllowBlock: DDoS黑白名单
|
1993
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1994
|
+
# @type DdosAllowBlock: :class:`Tencentcloud::Teo.v20220106.models.DdosAllowBlock`
|
1995
|
+
# @param DdosAntiPly: DDoS 协议封禁+连接防护
|
1996
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1997
|
+
# @type DdosAntiPly: :class:`Tencentcloud::Teo.v20220106.models.DDoSAntiPly`
|
1998
|
+
# @param DdosPacketFilter: DDoS特征过滤
|
1999
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2000
|
+
# @type DdosPacketFilter: :class:`Tencentcloud::Teo.v20220106.models.DdosPacketFilter`
|
2001
|
+
# @param DdosAcl: DDoS端口过滤
|
2002
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2003
|
+
# @type DdosAcl: :class:`Tencentcloud::Teo.v20220106.models.DdosAcls`
|
2004
|
+
# @param Switch: DDoS开关 on-开启;off-关闭
|
2005
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2006
|
+
# @type Switch: String
|
2007
|
+
|
2008
|
+
attr_accessor :DdosStatusInfo, :DdosGeoIp, :DdosAllowBlock, :DdosAntiPly, :DdosPacketFilter, :DdosAcl, :Switch
|
2009
|
+
|
2010
|
+
def initialize(ddosstatusinfo=nil, ddosgeoip=nil, ddosallowblock=nil, ddosantiply=nil, ddospacketfilter=nil, ddosacl=nil, switch=nil)
|
2011
|
+
@DdosStatusInfo = ddosstatusinfo
|
2012
|
+
@DdosGeoIp = ddosgeoip
|
2013
|
+
@DdosAllowBlock = ddosallowblock
|
2014
|
+
@DdosAntiPly = ddosantiply
|
2015
|
+
@DdosPacketFilter = ddospacketfilter
|
2016
|
+
@DdosAcl = ddosacl
|
2017
|
+
@Switch = switch
|
2018
|
+
end
|
2019
|
+
|
2020
|
+
def deserialize(params)
|
2021
|
+
unless params['DdosStatusInfo'].nil?
|
2022
|
+
@DdosStatusInfo = DDoSStatusInfo.new
|
2023
|
+
@DdosStatusInfo.deserialize(params['DdosStatusInfo'])
|
2024
|
+
end
|
2025
|
+
unless params['DdosGeoIp'].nil?
|
2026
|
+
@DdosGeoIp = DDoSGeoIp.new
|
2027
|
+
@DdosGeoIp.deserialize(params['DdosGeoIp'])
|
2028
|
+
end
|
2029
|
+
unless params['DdosAllowBlock'].nil?
|
2030
|
+
@DdosAllowBlock = DdosAllowBlock.new
|
2031
|
+
@DdosAllowBlock.deserialize(params['DdosAllowBlock'])
|
2032
|
+
end
|
2033
|
+
unless params['DdosAntiPly'].nil?
|
2034
|
+
@DdosAntiPly = DDoSAntiPly.new
|
2035
|
+
@DdosAntiPly.deserialize(params['DdosAntiPly'])
|
2036
|
+
end
|
2037
|
+
unless params['DdosPacketFilter'].nil?
|
2038
|
+
@DdosPacketFilter = DdosPacketFilter.new
|
2039
|
+
@DdosPacketFilter.deserialize(params['DdosPacketFilter'])
|
2040
|
+
end
|
2041
|
+
unless params['DdosAcl'].nil?
|
2042
|
+
@DdosAcl = DdosAcls.new
|
2043
|
+
@DdosAcl.deserialize(params['DdosAcl'])
|
2044
|
+
end
|
2045
|
+
@Switch = params['Switch']
|
2046
|
+
end
|
2047
|
+
end
|
2048
|
+
|
2049
|
+
# https 服务端证书配置
|
2050
|
+
class DefaultServerCertInfo < TencentCloud::Common::AbstractModel
|
2051
|
+
# @param CertId: 服务器证书 ID, 默认证书ID, 或在 SSL 证书管理进行证书托管时自动生成
|
2052
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2053
|
+
# @type CertId: String
|
2054
|
+
# @param Alias: 证书备注名
|
2055
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2056
|
+
# @type Alias: String
|
2057
|
+
# @param Type: 证书类型:
|
2058
|
+
# default: 默认证书
|
2059
|
+
# upload:用户上传
|
2060
|
+
# managed:腾讯云托管
|
2061
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2062
|
+
# @type Type: String
|
2063
|
+
# @param ExpireTime: 证书过期时间
|
2064
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2065
|
+
# @type ExpireTime: String
|
2066
|
+
# @param EffectiveTime: 证书生效时间
|
2067
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2068
|
+
# @type EffectiveTime: String
|
2069
|
+
# @param CommonName: 证书公用名
|
2070
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2071
|
+
# @type CommonName: String
|
2072
|
+
# @param SubjectAltName: 证书SAN域名
|
2073
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2074
|
+
# @type SubjectAltName: Array
|
2075
|
+
# @param Status: 证书状态:
|
2076
|
+
# applying: 证书申请中
|
2077
|
+
# failed: 证书(申请)失败
|
2078
|
+
# processing: 证书部署中
|
2079
|
+
# deployed: 证书已部署
|
2080
|
+
# disabled: 证书被禁用
|
2081
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2082
|
+
# @type Status: String
|
2083
|
+
# @param Message: Status为失败时,此字段返回失败原因
|
1145
2084
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
1146
2085
|
# @type Message: String
|
1147
2086
|
|
@@ -1336,6 +2275,46 @@ module TencentCloud
|
|
1336
2275
|
end
|
1337
2276
|
end
|
1338
2277
|
|
2278
|
+
# DeleteOriginGroup请求参数结构体
|
2279
|
+
class DeleteOriginGroupRequest < TencentCloud::Common::AbstractModel
|
2280
|
+
# @param OriginId: 源站组ID
|
2281
|
+
# @type OriginId: String
|
2282
|
+
# @param ZoneId: 站点ID
|
2283
|
+
# @type ZoneId: String
|
2284
|
+
|
2285
|
+
attr_accessor :OriginId, :ZoneId
|
2286
|
+
|
2287
|
+
def initialize(originid=nil, zoneid=nil)
|
2288
|
+
@OriginId = originid
|
2289
|
+
@ZoneId = zoneid
|
2290
|
+
end
|
2291
|
+
|
2292
|
+
def deserialize(params)
|
2293
|
+
@OriginId = params['OriginId']
|
2294
|
+
@ZoneId = params['ZoneId']
|
2295
|
+
end
|
2296
|
+
end
|
2297
|
+
|
2298
|
+
# DeleteOriginGroup返回参数结构体
|
2299
|
+
class DeleteOriginGroupResponse < TencentCloud::Common::AbstractModel
|
2300
|
+
# @param OriginId: 源站组ID
|
2301
|
+
# @type OriginId: String
|
2302
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2303
|
+
# @type RequestId: String
|
2304
|
+
|
2305
|
+
attr_accessor :OriginId, :RequestId
|
2306
|
+
|
2307
|
+
def initialize(originid=nil, requestid=nil)
|
2308
|
+
@OriginId = originid
|
2309
|
+
@RequestId = requestid
|
2310
|
+
end
|
2311
|
+
|
2312
|
+
def deserialize(params)
|
2313
|
+
@OriginId = params['OriginId']
|
2314
|
+
@RequestId = params['RequestId']
|
2315
|
+
end
|
2316
|
+
end
|
2317
|
+
|
1339
2318
|
# DeleteZone请求参数结构体
|
1340
2319
|
class DeleteZoneRequest < TencentCloud::Common::AbstractModel
|
1341
2320
|
# @param Id: 站点 ID
|
@@ -1548,6 +2527,73 @@ module TencentCloud
|
|
1548
2527
|
end
|
1549
2528
|
end
|
1550
2529
|
|
2530
|
+
# DescribeBotManagedRules请求参数结构体
|
2531
|
+
class DescribeBotManagedRulesRequest < TencentCloud::Common::AbstractModel
|
2532
|
+
# @param ZoneId: 一级域名
|
2533
|
+
# @type ZoneId: String
|
2534
|
+
# @param Entity: 子域名/应用名
|
2535
|
+
# @type Entity: String
|
2536
|
+
# @param Page: 页数
|
2537
|
+
# @type Page: Integer
|
2538
|
+
# @param PerPage: 每页数量
|
2539
|
+
# @type PerPage: Integer
|
2540
|
+
# @param RuleType: idcid/sipbot/uabot规则类型,空代表拉取全部
|
2541
|
+
# @type RuleType: String
|
2542
|
+
|
2543
|
+
attr_accessor :ZoneId, :Entity, :Page, :PerPage, :RuleType
|
2544
|
+
|
2545
|
+
def initialize(zoneid=nil, entity=nil, page=nil, perpage=nil, ruletype=nil)
|
2546
|
+
@ZoneId = zoneid
|
2547
|
+
@Entity = entity
|
2548
|
+
@Page = page
|
2549
|
+
@PerPage = perpage
|
2550
|
+
@RuleType = ruletype
|
2551
|
+
end
|
2552
|
+
|
2553
|
+
def deserialize(params)
|
2554
|
+
@ZoneId = params['ZoneId']
|
2555
|
+
@Entity = params['Entity']
|
2556
|
+
@Page = params['Page']
|
2557
|
+
@PerPage = params['PerPage']
|
2558
|
+
@RuleType = params['RuleType']
|
2559
|
+
end
|
2560
|
+
end
|
2561
|
+
|
2562
|
+
# DescribeBotManagedRules返回参数结构体
|
2563
|
+
class DescribeBotManagedRulesResponse < TencentCloud::Common::AbstractModel
|
2564
|
+
# @param Count: 本次返回的规则数
|
2565
|
+
# @type Count: Integer
|
2566
|
+
# @param Rules: Bot规则
|
2567
|
+
# @type Rules: Array
|
2568
|
+
# @param Total: 总规则数
|
2569
|
+
# @type Total: Integer
|
2570
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2571
|
+
# @type RequestId: String
|
2572
|
+
|
2573
|
+
attr_accessor :Count, :Rules, :Total, :RequestId
|
2574
|
+
|
2575
|
+
def initialize(count=nil, rules=nil, total=nil, requestid=nil)
|
2576
|
+
@Count = count
|
2577
|
+
@Rules = rules
|
2578
|
+
@Total = total
|
2579
|
+
@RequestId = requestid
|
2580
|
+
end
|
2581
|
+
|
2582
|
+
def deserialize(params)
|
2583
|
+
@Count = params['Count']
|
2584
|
+
unless params['Rules'].nil?
|
2585
|
+
@Rules = []
|
2586
|
+
params['Rules'].each do |i|
|
2587
|
+
botmanagedruledetail_tmp = BotManagedRuleDetail.new
|
2588
|
+
botmanagedruledetail_tmp.deserialize(i)
|
2589
|
+
@Rules << botmanagedruledetail_tmp
|
2590
|
+
end
|
2591
|
+
end
|
2592
|
+
@Total = params['Total']
|
2593
|
+
@RequestId = params['RequestId']
|
2594
|
+
end
|
2595
|
+
end
|
2596
|
+
|
1551
2597
|
# DescribeCnameStatus请求参数结构体
|
1552
2598
|
class DescribeCnameStatusRequest < TencentCloud::Common::AbstractModel
|
1553
2599
|
# @param ZoneId: 站点 ID
|
@@ -1595,8 +2641,44 @@ module TencentCloud
|
|
1595
2641
|
end
|
1596
2642
|
end
|
1597
2643
|
|
1598
|
-
#
|
1599
|
-
class
|
2644
|
+
# DescribeDDoSPolicy请求参数结构体
|
2645
|
+
class DescribeDDoSPolicyRequest < TencentCloud::Common::AbstractModel
|
2646
|
+
# @param PolicyId: 策略组id
|
2647
|
+
# @type PolicyId: Integer
|
2648
|
+
# @param ZoneId: 一级域名zone
|
2649
|
+
# @type ZoneId: String
|
2650
|
+
|
2651
|
+
attr_accessor :PolicyId, :ZoneId
|
2652
|
+
|
2653
|
+
def initialize(policyid=nil, zoneid=nil)
|
2654
|
+
@PolicyId = policyid
|
2655
|
+
@ZoneId = zoneid
|
2656
|
+
end
|
2657
|
+
|
2658
|
+
def deserialize(params)
|
2659
|
+
@PolicyId = params['PolicyId']
|
2660
|
+
@ZoneId = params['ZoneId']
|
2661
|
+
end
|
2662
|
+
end
|
2663
|
+
|
2664
|
+
# DescribeDDoSPolicy返回参数结构体
|
2665
|
+
class DescribeDDoSPolicyResponse < TencentCloud::Common::AbstractModel
|
2666
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2667
|
+
# @type RequestId: String
|
2668
|
+
|
2669
|
+
attr_accessor :RequestId
|
2670
|
+
|
2671
|
+
def initialize(requestid=nil)
|
2672
|
+
@RequestId = requestid
|
2673
|
+
end
|
2674
|
+
|
2675
|
+
def deserialize(params)
|
2676
|
+
@RequestId = params['RequestId']
|
2677
|
+
end
|
2678
|
+
end
|
2679
|
+
|
2680
|
+
# DescribeDefaultCertificates请求参数结构体
|
2681
|
+
class DescribeDefaultCertificatesRequest < TencentCloud::Common::AbstractModel
|
1600
2682
|
# @param ZoneId: Zone ID
|
1601
2683
|
# @type ZoneId: String
|
1602
2684
|
|
@@ -2193,6 +3275,159 @@ module TencentCloud
|
|
2193
3275
|
end
|
2194
3276
|
end
|
2195
3277
|
|
3278
|
+
# DescribeOriginGroupDetail请求参数结构体
|
3279
|
+
class DescribeOriginGroupDetailRequest < TencentCloud::Common::AbstractModel
|
3280
|
+
# @param OriginId: 源站组ID
|
3281
|
+
# @type OriginId: String
|
3282
|
+
# @param ZoneId: 站点ID
|
3283
|
+
# @type ZoneId: String
|
3284
|
+
|
3285
|
+
attr_accessor :OriginId, :ZoneId
|
3286
|
+
|
3287
|
+
def initialize(originid=nil, zoneid=nil)
|
3288
|
+
@OriginId = originid
|
3289
|
+
@ZoneId = zoneid
|
3290
|
+
end
|
3291
|
+
|
3292
|
+
def deserialize(params)
|
3293
|
+
@OriginId = params['OriginId']
|
3294
|
+
@ZoneId = params['ZoneId']
|
3295
|
+
end
|
3296
|
+
end
|
3297
|
+
|
3298
|
+
# DescribeOriginGroupDetail返回参数结构体
|
3299
|
+
class DescribeOriginGroupDetailResponse < TencentCloud::Common::AbstractModel
|
3300
|
+
# @param OriginId: 源站组ID
|
3301
|
+
# @type OriginId: String
|
3302
|
+
# @param OriginName: 源站组名称
|
3303
|
+
# @type OriginName: String
|
3304
|
+
# @param Type: 配置类型
|
3305
|
+
# @type Type: String
|
3306
|
+
# @param Record: 记录
|
3307
|
+
# @type Record: Array
|
3308
|
+
# @param UpdateTime: 更新时间
|
3309
|
+
# @type UpdateTime: String
|
3310
|
+
# @param ZoneId: 站点ID
|
3311
|
+
# @type ZoneId: String
|
3312
|
+
# @param ZoneName: 站点名称
|
3313
|
+
# @type ZoneName: String
|
3314
|
+
# @param OriginType: 源站类型
|
3315
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3316
|
+
# @type OriginType: String
|
3317
|
+
# @param ApplicationProxyUsed: 是否被四层代理使用
|
3318
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3319
|
+
# @type ApplicationProxyUsed: Boolean
|
3320
|
+
# @param LoadBalancingUsed: 是否被负载均衡使用
|
3321
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3322
|
+
# @type LoadBalancingUsed: Boolean
|
3323
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3324
|
+
# @type RequestId: String
|
3325
|
+
|
3326
|
+
attr_accessor :OriginId, :OriginName, :Type, :Record, :UpdateTime, :ZoneId, :ZoneName, :OriginType, :ApplicationProxyUsed, :LoadBalancingUsed, :RequestId
|
3327
|
+
|
3328
|
+
def initialize(originid=nil, originname=nil, type=nil, record=nil, updatetime=nil, zoneid=nil, zonename=nil, origintype=nil, applicationproxyused=nil, loadbalancingused=nil, requestid=nil)
|
3329
|
+
@OriginId = originid
|
3330
|
+
@OriginName = originname
|
3331
|
+
@Type = type
|
3332
|
+
@Record = record
|
3333
|
+
@UpdateTime = updatetime
|
3334
|
+
@ZoneId = zoneid
|
3335
|
+
@ZoneName = zonename
|
3336
|
+
@OriginType = origintype
|
3337
|
+
@ApplicationProxyUsed = applicationproxyused
|
3338
|
+
@LoadBalancingUsed = loadbalancingused
|
3339
|
+
@RequestId = requestid
|
3340
|
+
end
|
3341
|
+
|
3342
|
+
def deserialize(params)
|
3343
|
+
@OriginId = params['OriginId']
|
3344
|
+
@OriginName = params['OriginName']
|
3345
|
+
@Type = params['Type']
|
3346
|
+
unless params['Record'].nil?
|
3347
|
+
@Record = []
|
3348
|
+
params['Record'].each do |i|
|
3349
|
+
originrecord_tmp = OriginRecord.new
|
3350
|
+
originrecord_tmp.deserialize(i)
|
3351
|
+
@Record << originrecord_tmp
|
3352
|
+
end
|
3353
|
+
end
|
3354
|
+
@UpdateTime = params['UpdateTime']
|
3355
|
+
@ZoneId = params['ZoneId']
|
3356
|
+
@ZoneName = params['ZoneName']
|
3357
|
+
@OriginType = params['OriginType']
|
3358
|
+
@ApplicationProxyUsed = params['ApplicationProxyUsed']
|
3359
|
+
@LoadBalancingUsed = params['LoadBalancingUsed']
|
3360
|
+
@RequestId = params['RequestId']
|
3361
|
+
end
|
3362
|
+
end
|
3363
|
+
|
3364
|
+
# DescribeOriginGroup请求参数结构体
|
3365
|
+
class DescribeOriginGroupRequest < TencentCloud::Common::AbstractModel
|
3366
|
+
# @param Offset: 分页参数Offset
|
3367
|
+
# @type Offset: Integer
|
3368
|
+
# @param Limit: 分页参数Limit
|
3369
|
+
# @type Limit: Integer
|
3370
|
+
# @param Filters: 过滤参数
|
3371
|
+
# @type Filters: Array
|
3372
|
+
# @param ZoneId: 站点ID
|
3373
|
+
# 不填写获取所有站点源站组
|
3374
|
+
# @type ZoneId: String
|
3375
|
+
|
3376
|
+
attr_accessor :Offset, :Limit, :Filters, :ZoneId
|
3377
|
+
|
3378
|
+
def initialize(offset=nil, limit=nil, filters=nil, zoneid=nil)
|
3379
|
+
@Offset = offset
|
3380
|
+
@Limit = limit
|
3381
|
+
@Filters = filters
|
3382
|
+
@ZoneId = zoneid
|
3383
|
+
end
|
3384
|
+
|
3385
|
+
def deserialize(params)
|
3386
|
+
@Offset = params['Offset']
|
3387
|
+
@Limit = params['Limit']
|
3388
|
+
unless params['Filters'].nil?
|
3389
|
+
@Filters = []
|
3390
|
+
params['Filters'].each do |i|
|
3391
|
+
originfilter_tmp = OriginFilter.new
|
3392
|
+
originfilter_tmp.deserialize(i)
|
3393
|
+
@Filters << originfilter_tmp
|
3394
|
+
end
|
3395
|
+
end
|
3396
|
+
@ZoneId = params['ZoneId']
|
3397
|
+
end
|
3398
|
+
end
|
3399
|
+
|
3400
|
+
# DescribeOriginGroup返回参数结构体
|
3401
|
+
class DescribeOriginGroupResponse < TencentCloud::Common::AbstractModel
|
3402
|
+
# @param Data: 源站组信息
|
3403
|
+
# @type Data: Array
|
3404
|
+
# @param TotalCount: 记录总数
|
3405
|
+
# @type TotalCount: Integer
|
3406
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3407
|
+
# @type RequestId: String
|
3408
|
+
|
3409
|
+
attr_accessor :Data, :TotalCount, :RequestId
|
3410
|
+
|
3411
|
+
def initialize(data=nil, totalcount=nil, requestid=nil)
|
3412
|
+
@Data = data
|
3413
|
+
@TotalCount = totalcount
|
3414
|
+
@RequestId = requestid
|
3415
|
+
end
|
3416
|
+
|
3417
|
+
def deserialize(params)
|
3418
|
+
unless params['Data'].nil?
|
3419
|
+
@Data = []
|
3420
|
+
params['Data'].each do |i|
|
3421
|
+
origingroup_tmp = OriginGroup.new
|
3422
|
+
origingroup_tmp.deserialize(i)
|
3423
|
+
@Data << origingroup_tmp
|
3424
|
+
end
|
3425
|
+
end
|
3426
|
+
@TotalCount = params['TotalCount']
|
3427
|
+
@RequestId = params['RequestId']
|
3428
|
+
end
|
3429
|
+
end
|
3430
|
+
|
2196
3431
|
# DescribePrefetchTasks请求参数结构体
|
2197
3432
|
class DescribePrefetchTasksRequest < TencentCloud::Common::AbstractModel
|
2198
3433
|
# @param JobId: 任务ID
|
@@ -2292,65 +3527,375 @@ module TencentCloud
|
|
2292
3527
|
# @type Statuses: Array
|
2293
3528
|
# @param ZoneId: zone id
|
2294
3529
|
# @type ZoneId: String
|
2295
|
-
# @param Domains: 查询的域名列表
|
2296
|
-
# @type Domains: Array
|
2297
|
-
# @param Target: 查询内容
|
2298
|
-
# @type Target: String
|
3530
|
+
# @param Domains: 查询的域名列表
|
3531
|
+
# @type Domains: Array
|
3532
|
+
# @param Target: 查询内容
|
3533
|
+
# @type Target: String
|
3534
|
+
|
3535
|
+
attr_accessor :JobId, :Type, :StartTime, :EndTime, :Offset, :Limit, :Statuses, :ZoneId, :Domains, :Target
|
3536
|
+
|
3537
|
+
def initialize(jobid=nil, type=nil, starttime=nil, endtime=nil, offset=nil, limit=nil, statuses=nil, zoneid=nil, domains=nil, target=nil)
|
3538
|
+
@JobId = jobid
|
3539
|
+
@Type = type
|
3540
|
+
@StartTime = starttime
|
3541
|
+
@EndTime = endtime
|
3542
|
+
@Offset = offset
|
3543
|
+
@Limit = limit
|
3544
|
+
@Statuses = statuses
|
3545
|
+
@ZoneId = zoneid
|
3546
|
+
@Domains = domains
|
3547
|
+
@Target = target
|
3548
|
+
end
|
3549
|
+
|
3550
|
+
def deserialize(params)
|
3551
|
+
@JobId = params['JobId']
|
3552
|
+
@Type = params['Type']
|
3553
|
+
@StartTime = params['StartTime']
|
3554
|
+
@EndTime = params['EndTime']
|
3555
|
+
@Offset = params['Offset']
|
3556
|
+
@Limit = params['Limit']
|
3557
|
+
@Statuses = params['Statuses']
|
3558
|
+
@ZoneId = params['ZoneId']
|
3559
|
+
@Domains = params['Domains']
|
3560
|
+
@Target = params['Target']
|
3561
|
+
end
|
3562
|
+
end
|
3563
|
+
|
3564
|
+
# DescribePurgeTasks返回参数结构体
|
3565
|
+
class DescribePurgeTasksResponse < TencentCloud::Common::AbstractModel
|
3566
|
+
# @param TotalCount: 该查询条件总共条目数
|
3567
|
+
# @type TotalCount: Integer
|
3568
|
+
# @param Tasks: 任务结果列表
|
3569
|
+
# @type Tasks: Array
|
3570
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3571
|
+
# @type RequestId: String
|
3572
|
+
|
3573
|
+
attr_accessor :TotalCount, :Tasks, :RequestId
|
3574
|
+
|
3575
|
+
def initialize(totalcount=nil, tasks=nil, requestid=nil)
|
3576
|
+
@TotalCount = totalcount
|
3577
|
+
@Tasks = tasks
|
3578
|
+
@RequestId = requestid
|
3579
|
+
end
|
3580
|
+
|
3581
|
+
def deserialize(params)
|
3582
|
+
@TotalCount = params['TotalCount']
|
3583
|
+
unless params['Tasks'].nil?
|
3584
|
+
@Tasks = []
|
3585
|
+
params['Tasks'].each do |i|
|
3586
|
+
task_tmp = Task.new
|
3587
|
+
task_tmp.deserialize(i)
|
3588
|
+
@Tasks << task_tmp
|
3589
|
+
end
|
3590
|
+
end
|
3591
|
+
@RequestId = params['RequestId']
|
3592
|
+
end
|
3593
|
+
end
|
3594
|
+
|
3595
|
+
# DescribeSecurityPolicyList请求参数结构体
|
3596
|
+
class DescribeSecurityPolicyListRequest < TencentCloud::Common::AbstractModel
|
3597
|
+
# @param ZoneId: 一级域名
|
3598
|
+
# @type ZoneId: String
|
3599
|
+
|
3600
|
+
attr_accessor :ZoneId
|
3601
|
+
|
3602
|
+
def initialize(zoneid=nil)
|
3603
|
+
@ZoneId = zoneid
|
3604
|
+
end
|
3605
|
+
|
3606
|
+
def deserialize(params)
|
3607
|
+
@ZoneId = params['ZoneId']
|
3608
|
+
end
|
3609
|
+
end
|
3610
|
+
|
3611
|
+
# DescribeSecurityPolicyList返回参数结构体
|
3612
|
+
class DescribeSecurityPolicyListResponse < TencentCloud::Common::AbstractModel
|
3613
|
+
# @param Entities: 防护资源列表
|
3614
|
+
# @type Entities: Array
|
3615
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3616
|
+
# @type RequestId: String
|
3617
|
+
|
3618
|
+
attr_accessor :Entities, :RequestId
|
3619
|
+
|
3620
|
+
def initialize(entities=nil, requestid=nil)
|
3621
|
+
@Entities = entities
|
3622
|
+
@RequestId = requestid
|
3623
|
+
end
|
3624
|
+
|
3625
|
+
def deserialize(params)
|
3626
|
+
unless params['Entities'].nil?
|
3627
|
+
@Entities = []
|
3628
|
+
params['Entities'].each do |i|
|
3629
|
+
securityentity_tmp = SecurityEntity.new
|
3630
|
+
securityentity_tmp.deserialize(i)
|
3631
|
+
@Entities << securityentity_tmp
|
3632
|
+
end
|
3633
|
+
end
|
3634
|
+
@RequestId = params['RequestId']
|
3635
|
+
end
|
3636
|
+
end
|
3637
|
+
|
3638
|
+
# DescribeSecurityPolicyManagedRulesId请求参数结构体
|
3639
|
+
class DescribeSecurityPolicyManagedRulesIdRequest < TencentCloud::Common::AbstractModel
|
3640
|
+
# @param RuleId: 规则id集合
|
3641
|
+
# @type RuleId: Array
|
3642
|
+
|
3643
|
+
attr_accessor :RuleId
|
3644
|
+
|
3645
|
+
def initialize(ruleid=nil)
|
3646
|
+
@RuleId = ruleid
|
3647
|
+
end
|
3648
|
+
|
3649
|
+
def deserialize(params)
|
3650
|
+
@RuleId = params['RuleId']
|
3651
|
+
end
|
3652
|
+
end
|
3653
|
+
|
3654
|
+
# DescribeSecurityPolicyManagedRulesId返回参数结构体
|
3655
|
+
class DescribeSecurityPolicyManagedRulesIdResponse < TencentCloud::Common::AbstractModel
|
3656
|
+
# @param Total: 返回总数
|
3657
|
+
# @type Total: Integer
|
3658
|
+
# @param Rules: 门神规则
|
3659
|
+
# @type Rules: Array
|
3660
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3661
|
+
# @type RequestId: String
|
3662
|
+
|
3663
|
+
attr_accessor :Total, :Rules, :RequestId
|
3664
|
+
|
3665
|
+
def initialize(total=nil, rules=nil, requestid=nil)
|
3666
|
+
@Total = total
|
3667
|
+
@Rules = rules
|
3668
|
+
@RequestId = requestid
|
3669
|
+
end
|
3670
|
+
|
3671
|
+
def deserialize(params)
|
3672
|
+
@Total = params['Total']
|
3673
|
+
unless params['Rules'].nil?
|
3674
|
+
@Rules = []
|
3675
|
+
params['Rules'].each do |i|
|
3676
|
+
managedrule_tmp = ManagedRule.new
|
3677
|
+
managedrule_tmp.deserialize(i)
|
3678
|
+
@Rules << managedrule_tmp
|
3679
|
+
end
|
3680
|
+
end
|
3681
|
+
@RequestId = params['RequestId']
|
3682
|
+
end
|
3683
|
+
end
|
3684
|
+
|
3685
|
+
# DescribeSecurityPolicyManagedRules请求参数结构体
|
3686
|
+
class DescribeSecurityPolicyManagedRulesRequest < TencentCloud::Common::AbstractModel
|
3687
|
+
# @param ZoneId: 一级域名
|
3688
|
+
# @type ZoneId: String
|
3689
|
+
# @param Entity: 子域名/应用名
|
3690
|
+
# @type Entity: String
|
3691
|
+
# @param Page: 页数
|
3692
|
+
# @type Page: Integer
|
3693
|
+
# @param PerPage: 每页数量
|
3694
|
+
# @type PerPage: Integer
|
3695
|
+
|
3696
|
+
attr_accessor :ZoneId, :Entity, :Page, :PerPage
|
3697
|
+
|
3698
|
+
def initialize(zoneid=nil, entity=nil, page=nil, perpage=nil)
|
3699
|
+
@ZoneId = zoneid
|
3700
|
+
@Entity = entity
|
3701
|
+
@Page = page
|
3702
|
+
@PerPage = perpage
|
3703
|
+
end
|
3704
|
+
|
3705
|
+
def deserialize(params)
|
3706
|
+
@ZoneId = params['ZoneId']
|
3707
|
+
@Entity = params['Entity']
|
3708
|
+
@Page = params['Page']
|
3709
|
+
@PerPage = params['PerPage']
|
3710
|
+
end
|
3711
|
+
end
|
3712
|
+
|
3713
|
+
# DescribeSecurityPolicyManagedRules返回参数结构体
|
3714
|
+
class DescribeSecurityPolicyManagedRulesResponse < TencentCloud::Common::AbstractModel
|
3715
|
+
# @param Count: 本次返回的规则数
|
3716
|
+
# @type Count: Integer
|
3717
|
+
# @param Rules: 门神规则
|
3718
|
+
# @type Rules: Array
|
3719
|
+
# @param Total: 总规则数
|
3720
|
+
# @type Total: Integer
|
3721
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3722
|
+
# @type RequestId: String
|
3723
|
+
|
3724
|
+
attr_accessor :Count, :Rules, :Total, :RequestId
|
3725
|
+
|
3726
|
+
def initialize(count=nil, rules=nil, total=nil, requestid=nil)
|
3727
|
+
@Count = count
|
3728
|
+
@Rules = rules
|
3729
|
+
@Total = total
|
3730
|
+
@RequestId = requestid
|
3731
|
+
end
|
3732
|
+
|
3733
|
+
def deserialize(params)
|
3734
|
+
@Count = params['Count']
|
3735
|
+
unless params['Rules'].nil?
|
3736
|
+
@Rules = []
|
3737
|
+
params['Rules'].each do |i|
|
3738
|
+
managedrule_tmp = ManagedRule.new
|
3739
|
+
managedrule_tmp.deserialize(i)
|
3740
|
+
@Rules << managedrule_tmp
|
3741
|
+
end
|
3742
|
+
end
|
3743
|
+
@Total = params['Total']
|
3744
|
+
@RequestId = params['RequestId']
|
3745
|
+
end
|
3746
|
+
end
|
3747
|
+
|
3748
|
+
# DescribeSecurityPolicyRegions请求参数结构体
|
3749
|
+
class DescribeSecurityPolicyRegionsRequest < TencentCloud::Common::AbstractModel
|
3750
|
+
|
3751
|
+
|
3752
|
+
def initialize()
|
3753
|
+
end
|
3754
|
+
|
3755
|
+
def deserialize(params)
|
3756
|
+
end
|
3757
|
+
end
|
3758
|
+
|
3759
|
+
# DescribeSecurityPolicyRegions返回参数结构体
|
3760
|
+
class DescribeSecurityPolicyRegionsResponse < TencentCloud::Common::AbstractModel
|
3761
|
+
# @param Count: 总数
|
3762
|
+
# @type Count: Integer
|
3763
|
+
# @param GeoIp: 地域信息
|
3764
|
+
# @type GeoIp: Array
|
3765
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3766
|
+
# @type RequestId: String
|
3767
|
+
|
3768
|
+
attr_accessor :Count, :GeoIp, :RequestId
|
3769
|
+
|
3770
|
+
def initialize(count=nil, geoip=nil, requestid=nil)
|
3771
|
+
@Count = count
|
3772
|
+
@GeoIp = geoip
|
3773
|
+
@RequestId = requestid
|
3774
|
+
end
|
3775
|
+
|
3776
|
+
def deserialize(params)
|
3777
|
+
@Count = params['Count']
|
3778
|
+
unless params['GeoIp'].nil?
|
3779
|
+
@GeoIp = []
|
3780
|
+
params['GeoIp'].each do |i|
|
3781
|
+
geoip_tmp = GeoIp.new
|
3782
|
+
geoip_tmp.deserialize(i)
|
3783
|
+
@GeoIp << geoip_tmp
|
3784
|
+
end
|
3785
|
+
end
|
3786
|
+
@RequestId = params['RequestId']
|
3787
|
+
end
|
3788
|
+
end
|
3789
|
+
|
3790
|
+
# DescribeSecurityPolicy请求参数结构体
|
3791
|
+
class DescribeSecurityPolicyRequest < TencentCloud::Common::AbstractModel
|
3792
|
+
# @param ZoneId: 一级域名
|
3793
|
+
# @type ZoneId: String
|
3794
|
+
# @param Entity: 二级域名
|
3795
|
+
# @type Entity: String
|
3796
|
+
|
3797
|
+
attr_accessor :ZoneId, :Entity
|
3798
|
+
|
3799
|
+
def initialize(zoneid=nil, entity=nil)
|
3800
|
+
@ZoneId = zoneid
|
3801
|
+
@Entity = entity
|
3802
|
+
end
|
3803
|
+
|
3804
|
+
def deserialize(params)
|
3805
|
+
@ZoneId = params['ZoneId']
|
3806
|
+
@Entity = params['Entity']
|
3807
|
+
end
|
3808
|
+
end
|
3809
|
+
|
3810
|
+
# DescribeSecurityPolicy返回参数结构体
|
3811
|
+
class DescribeSecurityPolicyResponse < TencentCloud::Common::AbstractModel
|
3812
|
+
# @param AppId: 用户id
|
3813
|
+
# @type AppId: Integer
|
3814
|
+
# @param ZoneId: 一级域名
|
3815
|
+
# @type ZoneId: String
|
3816
|
+
# @param Entity: 二级域名
|
3817
|
+
# @type Entity: String
|
3818
|
+
# @param Config: 安全配置
|
3819
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3820
|
+
# @type Config: :class:`Tencentcloud::Teo.v20220106.models.SecurityConfig`
|
3821
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3822
|
+
# @type RequestId: String
|
3823
|
+
|
3824
|
+
attr_accessor :AppId, :ZoneId, :Entity, :Config, :RequestId
|
3825
|
+
|
3826
|
+
def initialize(appid=nil, zoneid=nil, entity=nil, config=nil, requestid=nil)
|
3827
|
+
@AppId = appid
|
3828
|
+
@ZoneId = zoneid
|
3829
|
+
@Entity = entity
|
3830
|
+
@Config = config
|
3831
|
+
@RequestId = requestid
|
3832
|
+
end
|
3833
|
+
|
3834
|
+
def deserialize(params)
|
3835
|
+
@AppId = params['AppId']
|
3836
|
+
@ZoneId = params['ZoneId']
|
3837
|
+
@Entity = params['Entity']
|
3838
|
+
unless params['Config'].nil?
|
3839
|
+
@Config = SecurityConfig.new
|
3840
|
+
@Config.deserialize(params['Config'])
|
3841
|
+
end
|
3842
|
+
@RequestId = params['RequestId']
|
3843
|
+
end
|
3844
|
+
end
|
3845
|
+
|
3846
|
+
# DescribeZoneDDoSPolicy请求参数结构体
|
3847
|
+
class DescribeZoneDDoSPolicyRequest < TencentCloud::Common::AbstractModel
|
3848
|
+
# @param ZoneId: 一级域名id
|
3849
|
+
# @type ZoneId: String
|
2299
3850
|
|
2300
|
-
attr_accessor :
|
3851
|
+
attr_accessor :ZoneId
|
2301
3852
|
|
2302
|
-
def initialize(
|
2303
|
-
@JobId = jobid
|
2304
|
-
@Type = type
|
2305
|
-
@StartTime = starttime
|
2306
|
-
@EndTime = endtime
|
2307
|
-
@Offset = offset
|
2308
|
-
@Limit = limit
|
2309
|
-
@Statuses = statuses
|
3853
|
+
def initialize(zoneid=nil)
|
2310
3854
|
@ZoneId = zoneid
|
2311
|
-
@Domains = domains
|
2312
|
-
@Target = target
|
2313
3855
|
end
|
2314
3856
|
|
2315
3857
|
def deserialize(params)
|
2316
|
-
@JobId = params['JobId']
|
2317
|
-
@Type = params['Type']
|
2318
|
-
@StartTime = params['StartTime']
|
2319
|
-
@EndTime = params['EndTime']
|
2320
|
-
@Offset = params['Offset']
|
2321
|
-
@Limit = params['Limit']
|
2322
|
-
@Statuses = params['Statuses']
|
2323
3858
|
@ZoneId = params['ZoneId']
|
2324
|
-
@Domains = params['Domains']
|
2325
|
-
@Target = params['Target']
|
2326
3859
|
end
|
2327
3860
|
end
|
2328
3861
|
|
2329
|
-
#
|
2330
|
-
class
|
2331
|
-
# @param
|
2332
|
-
# @type
|
2333
|
-
# @param
|
2334
|
-
# @type
|
3862
|
+
# DescribeZoneDDoSPolicy返回参数结构体
|
3863
|
+
class DescribeZoneDDoSPolicyResponse < TencentCloud::Common::AbstractModel
|
3864
|
+
# @param AppId: 用户appid
|
3865
|
+
# @type AppId: Integer
|
3866
|
+
# @param ShieldAreas: 防护分区
|
3867
|
+
# @type ShieldAreas: Array
|
3868
|
+
# @param Domains: 所有子域名信息,包含安全加速/内容加速
|
3869
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3870
|
+
# @type Domains: Array
|
2335
3871
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2336
3872
|
# @type RequestId: String
|
2337
3873
|
|
2338
|
-
attr_accessor :
|
3874
|
+
attr_accessor :AppId, :ShieldAreas, :Domains, :RequestId
|
2339
3875
|
|
2340
|
-
def initialize(
|
2341
|
-
@
|
2342
|
-
@
|
3876
|
+
def initialize(appid=nil, shieldareas=nil, domains=nil, requestid=nil)
|
3877
|
+
@AppId = appid
|
3878
|
+
@ShieldAreas = shieldareas
|
3879
|
+
@Domains = domains
|
2343
3880
|
@RequestId = requestid
|
2344
3881
|
end
|
2345
3882
|
|
2346
3883
|
def deserialize(params)
|
2347
|
-
@
|
2348
|
-
unless params['
|
2349
|
-
@
|
2350
|
-
params['
|
2351
|
-
|
2352
|
-
|
2353
|
-
@
|
3884
|
+
@AppId = params['AppId']
|
3885
|
+
unless params['ShieldAreas'].nil?
|
3886
|
+
@ShieldAreas = []
|
3887
|
+
params['ShieldAreas'].each do |i|
|
3888
|
+
shieldarea_tmp = ShieldArea.new
|
3889
|
+
shieldarea_tmp.deserialize(i)
|
3890
|
+
@ShieldAreas << shieldarea_tmp
|
3891
|
+
end
|
3892
|
+
end
|
3893
|
+
unless params['Domains'].nil?
|
3894
|
+
@Domains = []
|
3895
|
+
params['Domains'].each do |i|
|
3896
|
+
ddosapplication_tmp = DDoSApplication.new
|
3897
|
+
ddosapplication_tmp.deserialize(i)
|
3898
|
+
@Domains << ddosapplication_tmp
|
2354
3899
|
end
|
2355
3900
|
end
|
2356
3901
|
@RequestId = params['RequestId']
|
@@ -3049,6 +4594,38 @@ module TencentCloud
|
|
3049
4594
|
end
|
3050
4595
|
end
|
3051
4596
|
|
4597
|
+
# 地域信息
|
4598
|
+
class GeoIp < TencentCloud::Common::AbstractModel
|
4599
|
+
# @param RegionId: 地域ID
|
4600
|
+
# @type RegionId: Integer
|
4601
|
+
# @param Country: 国家名
|
4602
|
+
# @type Country: String
|
4603
|
+
# @param Continent: 洲
|
4604
|
+
# @type Continent: String
|
4605
|
+
# @param CountryEn: 国家英文名
|
4606
|
+
# @type CountryEn: String
|
4607
|
+
# @param ContinentEn: 洲
|
4608
|
+
# @type ContinentEn: String
|
4609
|
+
|
4610
|
+
attr_accessor :RegionId, :Country, :Continent, :CountryEn, :ContinentEn
|
4611
|
+
|
4612
|
+
def initialize(regionid=nil, country=nil, continent=nil, countryen=nil, continenten=nil)
|
4613
|
+
@RegionId = regionid
|
4614
|
+
@Country = country
|
4615
|
+
@Continent = continent
|
4616
|
+
@CountryEn = countryen
|
4617
|
+
@ContinentEn = continenten
|
4618
|
+
end
|
4619
|
+
|
4620
|
+
def deserialize(params)
|
4621
|
+
@RegionId = params['RegionId']
|
4622
|
+
@Country = params['Country']
|
4623
|
+
@Continent = params['Continent']
|
4624
|
+
@CountryEn = params['CountryEn']
|
4625
|
+
@ContinentEn = params['ContinentEn']
|
4626
|
+
end
|
4627
|
+
end
|
4628
|
+
|
3052
4629
|
# 刷新预热附带的头部信息
|
3053
4630
|
class Header < TencentCloud::Common::AbstractModel
|
3054
4631
|
# @param Name: HTTP头部
|
@@ -3356,6 +4933,57 @@ module TencentCloud
|
|
3356
4933
|
end
|
3357
4934
|
end
|
3358
4935
|
|
4936
|
+
# 门神规则
|
4937
|
+
class ManagedRule < TencentCloud::Common::AbstractModel
|
4938
|
+
# @param RuleId: 规则id
|
4939
|
+
# @type RuleId: Integer
|
4940
|
+
# @param Description: 规则描述
|
4941
|
+
# @type Description: String
|
4942
|
+
# @param RuleTypeName: 规则类型名
|
4943
|
+
# @type RuleTypeName: String
|
4944
|
+
# @param RuleLevelDesc: 策略规则防护等级
|
4945
|
+
# @type RuleLevelDesc: String
|
4946
|
+
# @param UpdateTime: 更新时间
|
4947
|
+
# @type UpdateTime: String
|
4948
|
+
# @param Status: 规则当前状态 block, allow
|
4949
|
+
# @type Status: String
|
4950
|
+
# @param RuleTags: 规则标签
|
4951
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4952
|
+
# @type RuleTags: Array
|
4953
|
+
# @param RuleTypeDesc: 规则类型详细描述
|
4954
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4955
|
+
# @type RuleTypeDesc: String
|
4956
|
+
# @param RuleTypeId: 规则类型id
|
4957
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4958
|
+
# @type RuleTypeId: Integer
|
4959
|
+
|
4960
|
+
attr_accessor :RuleId, :Description, :RuleTypeName, :RuleLevelDesc, :UpdateTime, :Status, :RuleTags, :RuleTypeDesc, :RuleTypeId
|
4961
|
+
|
4962
|
+
def initialize(ruleid=nil, description=nil, ruletypename=nil, ruleleveldesc=nil, updatetime=nil, status=nil, ruletags=nil, ruletypedesc=nil, ruletypeid=nil)
|
4963
|
+
@RuleId = ruleid
|
4964
|
+
@Description = description
|
4965
|
+
@RuleTypeName = ruletypename
|
4966
|
+
@RuleLevelDesc = ruleleveldesc
|
4967
|
+
@UpdateTime = updatetime
|
4968
|
+
@Status = status
|
4969
|
+
@RuleTags = ruletags
|
4970
|
+
@RuleTypeDesc = ruletypedesc
|
4971
|
+
@RuleTypeId = ruletypeid
|
4972
|
+
end
|
4973
|
+
|
4974
|
+
def deserialize(params)
|
4975
|
+
@RuleId = params['RuleId']
|
4976
|
+
@Description = params['Description']
|
4977
|
+
@RuleTypeName = params['RuleTypeName']
|
4978
|
+
@RuleLevelDesc = params['RuleLevelDesc']
|
4979
|
+
@UpdateTime = params['UpdateTime']
|
4980
|
+
@Status = params['Status']
|
4981
|
+
@RuleTags = params['RuleTags']
|
4982
|
+
@RuleTypeDesc = params['RuleTypeDesc']
|
4983
|
+
@RuleTypeId = params['RuleTypeId']
|
4984
|
+
end
|
4985
|
+
end
|
4986
|
+
|
3359
4987
|
# 浏览器缓存规则配置,用于设置 MaxAge 默认值,默认为关闭状态
|
3360
4988
|
class MaxAge < TencentCloud::Common::AbstractModel
|
3361
4989
|
# @param MaxAgeTime: MaxAge 时间设置,单位秒,最大365天
|
@@ -3622,6 +5250,105 @@ module TencentCloud
|
|
3622
5250
|
end
|
3623
5251
|
end
|
3624
5252
|
|
5253
|
+
# ModifyDDoSPolicyHost请求参数结构体
|
5254
|
+
class ModifyDDoSPolicyHostRequest < TencentCloud::Common::AbstractModel
|
5255
|
+
# @param ZoneId: 站点id
|
5256
|
+
# @type ZoneId: String
|
5257
|
+
# @param Host: 二级域名
|
5258
|
+
# @type Host: String
|
5259
|
+
# @param AccelerateType: 加速开关 on-开启加速;off-关闭加速(AccelerateType:on,SecurityType:on,安全加速,未开防护增强;AccelerateType:off,SecurityType:on,安全加速,开启防护增强;AccelerateType:on,SecurityType:off,内容加速,未开防护增强)
|
5260
|
+
# @type AccelerateType: String
|
5261
|
+
# @param PolicyId: 策略id
|
5262
|
+
# @type PolicyId: Integer
|
5263
|
+
# @param SecurityType: 安全开关 on-开启安全;off-关闭安全(AccelerateType:on,SecurityType:on,安全加速,未开防护增强;AccelerateType:off,SecurityType:on,安全加速,开启防护增强;AccelerateType:on,SecurityType:off,内容加速,未开防护增强)
|
5264
|
+
# @type SecurityType: String
|
5265
|
+
|
5266
|
+
attr_accessor :ZoneId, :Host, :AccelerateType, :PolicyId, :SecurityType
|
5267
|
+
|
5268
|
+
def initialize(zoneid=nil, host=nil, acceleratetype=nil, policyid=nil, securitytype=nil)
|
5269
|
+
@ZoneId = zoneid
|
5270
|
+
@Host = host
|
5271
|
+
@AccelerateType = acceleratetype
|
5272
|
+
@PolicyId = policyid
|
5273
|
+
@SecurityType = securitytype
|
5274
|
+
end
|
5275
|
+
|
5276
|
+
def deserialize(params)
|
5277
|
+
@ZoneId = params['ZoneId']
|
5278
|
+
@Host = params['Host']
|
5279
|
+
@AccelerateType = params['AccelerateType']
|
5280
|
+
@PolicyId = params['PolicyId']
|
5281
|
+
@SecurityType = params['SecurityType']
|
5282
|
+
end
|
5283
|
+
end
|
5284
|
+
|
5285
|
+
# ModifyDDoSPolicyHost返回参数结构体
|
5286
|
+
class ModifyDDoSPolicyHostResponse < TencentCloud::Common::AbstractModel
|
5287
|
+
# @param Host: 修改成功的host
|
5288
|
+
# @type Host: String
|
5289
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
5290
|
+
# @type RequestId: String
|
5291
|
+
|
5292
|
+
attr_accessor :Host, :RequestId
|
5293
|
+
|
5294
|
+
def initialize(host=nil, requestid=nil)
|
5295
|
+
@Host = host
|
5296
|
+
@RequestId = requestid
|
5297
|
+
end
|
5298
|
+
|
5299
|
+
def deserialize(params)
|
5300
|
+
@Host = params['Host']
|
5301
|
+
@RequestId = params['RequestId']
|
5302
|
+
end
|
5303
|
+
end
|
5304
|
+
|
5305
|
+
# ModifyDDoSPolicy请求参数结构体
|
5306
|
+
class ModifyDDoSPolicyRequest < TencentCloud::Common::AbstractModel
|
5307
|
+
# @param PolicyId: 策略组ID
|
5308
|
+
# @type PolicyId: Integer
|
5309
|
+
# @param ZoneId: 一级域名
|
5310
|
+
# @type ZoneId: String
|
5311
|
+
# @param DdosRule: DDoS具体防护配置
|
5312
|
+
# @type DdosRule: :class:`Tencentcloud::Teo.v20220106.models.DdosRule`
|
5313
|
+
|
5314
|
+
attr_accessor :PolicyId, :ZoneId, :DdosRule
|
5315
|
+
|
5316
|
+
def initialize(policyid=nil, zoneid=nil, ddosrule=nil)
|
5317
|
+
@PolicyId = policyid
|
5318
|
+
@ZoneId = zoneid
|
5319
|
+
@DdosRule = ddosrule
|
5320
|
+
end
|
5321
|
+
|
5322
|
+
def deserialize(params)
|
5323
|
+
@PolicyId = params['PolicyId']
|
5324
|
+
@ZoneId = params['ZoneId']
|
5325
|
+
unless params['DdosRule'].nil?
|
5326
|
+
@DdosRule = DdosRule.new
|
5327
|
+
@DdosRule.deserialize(params['DdosRule'])
|
5328
|
+
end
|
5329
|
+
end
|
5330
|
+
end
|
5331
|
+
|
5332
|
+
# ModifyDDoSPolicy返回参数结构体
|
5333
|
+
class ModifyDDoSPolicyResponse < TencentCloud::Common::AbstractModel
|
5334
|
+
# @param PolicyId: 策略组ID
|
5335
|
+
# @type PolicyId: Integer
|
5336
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
5337
|
+
# @type RequestId: String
|
5338
|
+
|
5339
|
+
attr_accessor :PolicyId, :RequestId
|
5340
|
+
|
5341
|
+
def initialize(policyid=nil, requestid=nil)
|
5342
|
+
@PolicyId = policyid
|
5343
|
+
@RequestId = requestid
|
5344
|
+
end
|
5345
|
+
|
5346
|
+
def deserialize(params)
|
5347
|
+
@PolicyId = params['PolicyId']
|
5348
|
+
@RequestId = params['RequestId']
|
5349
|
+
end
|
5350
|
+
end
|
5351
|
+
|
3625
5352
|
# ModifyDefaultCertificate请求参数结构体
|
3626
5353
|
class ModifyDefaultCertificateRequest < TencentCloud::Common::AbstractModel
|
3627
5354
|
# @param ZoneId: Zone ID
|
@@ -3897,98 +5624,209 @@ module TencentCloud
|
|
3897
5624
|
class ModifyLoadBalancingRequest < TencentCloud::Common::AbstractModel
|
3898
5625
|
# @param ZoneId: 站点ID
|
3899
5626
|
# @type ZoneId: String
|
3900
|
-
# @param LoadBalancingId: 负载均衡ID
|
3901
|
-
# @type LoadBalancingId: String
|
3902
|
-
# @param Type: 代理模式:
|
3903
|
-
# dns_only: 仅DNS
|
3904
|
-
# proxied: 开启代理
|
3905
|
-
# @type Type: String
|
3906
|
-
# @param OriginId: 使用的源站组ID
|
3907
|
-
# @type OriginId: Array
|
3908
|
-
# @param TTL: 当Type=dns_only表示DNS的TTL时间
|
3909
|
-
# @type TTL: Integer
|
5627
|
+
# @param LoadBalancingId: 负载均衡ID
|
5628
|
+
# @type LoadBalancingId: String
|
5629
|
+
# @param Type: 代理模式:
|
5630
|
+
# dns_only: 仅DNS
|
5631
|
+
# proxied: 开启代理
|
5632
|
+
# @type Type: String
|
5633
|
+
# @param OriginId: 使用的源站组ID
|
5634
|
+
# @type OriginId: Array
|
5635
|
+
# @param TTL: 当Type=dns_only表示DNS的TTL时间
|
5636
|
+
# @type TTL: Integer
|
5637
|
+
|
5638
|
+
attr_accessor :ZoneId, :LoadBalancingId, :Type, :OriginId, :TTL
|
5639
|
+
|
5640
|
+
def initialize(zoneid=nil, loadbalancingid=nil, type=nil, originid=nil, ttl=nil)
|
5641
|
+
@ZoneId = zoneid
|
5642
|
+
@LoadBalancingId = loadbalancingid
|
5643
|
+
@Type = type
|
5644
|
+
@OriginId = originid
|
5645
|
+
@TTL = ttl
|
5646
|
+
end
|
5647
|
+
|
5648
|
+
def deserialize(params)
|
5649
|
+
@ZoneId = params['ZoneId']
|
5650
|
+
@LoadBalancingId = params['LoadBalancingId']
|
5651
|
+
@Type = params['Type']
|
5652
|
+
@OriginId = params['OriginId']
|
5653
|
+
@TTL = params['TTL']
|
5654
|
+
end
|
5655
|
+
end
|
5656
|
+
|
5657
|
+
# ModifyLoadBalancing返回参数结构体
|
5658
|
+
class ModifyLoadBalancingResponse < TencentCloud::Common::AbstractModel
|
5659
|
+
# @param LoadBalancingId: 负载均衡ID
|
5660
|
+
# @type LoadBalancingId: String
|
5661
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
5662
|
+
# @type RequestId: String
|
5663
|
+
|
5664
|
+
attr_accessor :LoadBalancingId, :RequestId
|
5665
|
+
|
5666
|
+
def initialize(loadbalancingid=nil, requestid=nil)
|
5667
|
+
@LoadBalancingId = loadbalancingid
|
5668
|
+
@RequestId = requestid
|
5669
|
+
end
|
5670
|
+
|
5671
|
+
def deserialize(params)
|
5672
|
+
@LoadBalancingId = params['LoadBalancingId']
|
5673
|
+
@RequestId = params['RequestId']
|
5674
|
+
end
|
5675
|
+
end
|
5676
|
+
|
5677
|
+
# ModifyLoadBalancingStatus请求参数结构体
|
5678
|
+
class ModifyLoadBalancingStatusRequest < TencentCloud::Common::AbstractModel
|
5679
|
+
# @param ZoneId: 站点ID
|
5680
|
+
# @type ZoneId: String
|
5681
|
+
# @param LoadBalancingId: 负载均衡ID
|
5682
|
+
# @type LoadBalancingId: String
|
5683
|
+
# @param Status: 状态
|
5684
|
+
# online: 启用
|
5685
|
+
# offline: 停用
|
5686
|
+
# @type Status: String
|
5687
|
+
|
5688
|
+
attr_accessor :ZoneId, :LoadBalancingId, :Status
|
5689
|
+
|
5690
|
+
def initialize(zoneid=nil, loadbalancingid=nil, status=nil)
|
5691
|
+
@ZoneId = zoneid
|
5692
|
+
@LoadBalancingId = loadbalancingid
|
5693
|
+
@Status = status
|
5694
|
+
end
|
5695
|
+
|
5696
|
+
def deserialize(params)
|
5697
|
+
@ZoneId = params['ZoneId']
|
5698
|
+
@LoadBalancingId = params['LoadBalancingId']
|
5699
|
+
@Status = params['Status']
|
5700
|
+
end
|
5701
|
+
end
|
5702
|
+
|
5703
|
+
# ModifyLoadBalancingStatus返回参数结构体
|
5704
|
+
class ModifyLoadBalancingStatusResponse < TencentCloud::Common::AbstractModel
|
5705
|
+
# @param LoadBalancingId: 负载均衡ID
|
5706
|
+
# @type LoadBalancingId: String
|
5707
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
5708
|
+
# @type RequestId: String
|
5709
|
+
|
5710
|
+
attr_accessor :LoadBalancingId, :RequestId
|
5711
|
+
|
5712
|
+
def initialize(loadbalancingid=nil, requestid=nil)
|
5713
|
+
@LoadBalancingId = loadbalancingid
|
5714
|
+
@RequestId = requestid
|
5715
|
+
end
|
5716
|
+
|
5717
|
+
def deserialize(params)
|
5718
|
+
@LoadBalancingId = params['LoadBalancingId']
|
5719
|
+
@RequestId = params['RequestId']
|
5720
|
+
end
|
5721
|
+
end
|
5722
|
+
|
5723
|
+
# ModifyOriginGroup请求参数结构体
|
5724
|
+
class ModifyOriginGroupRequest < TencentCloud::Common::AbstractModel
|
5725
|
+
# @param OriginId: 源站组ID
|
5726
|
+
# @type OriginId: String
|
5727
|
+
# @param OriginName: 源站组名称
|
5728
|
+
# @type OriginName: String
|
5729
|
+
# @param Type: 配置类型,当OriginType=self 时,需要填写:
|
5730
|
+
# area: 按区域配置
|
5731
|
+
# weight: 按权重配置
|
5732
|
+
# 当OriginType=third_party 时,不需要填写
|
5733
|
+
# @type Type: String
|
5734
|
+
# @param Record: 源站记录
|
5735
|
+
# @type Record: Array
|
5736
|
+
# @param ZoneId: 站点ID
|
5737
|
+
# @type ZoneId: String
|
5738
|
+
# @param OriginType: 源站类型
|
5739
|
+
# self:自有源站
|
5740
|
+
# third_party:第三方源站
|
5741
|
+
# @type OriginType: String
|
3910
5742
|
|
3911
|
-
attr_accessor :
|
5743
|
+
attr_accessor :OriginId, :OriginName, :Type, :Record, :ZoneId, :OriginType
|
3912
5744
|
|
3913
|
-
def initialize(
|
3914
|
-
@ZoneId = zoneid
|
3915
|
-
@LoadBalancingId = loadbalancingid
|
3916
|
-
@Type = type
|
5745
|
+
def initialize(originid=nil, originname=nil, type=nil, record=nil, zoneid=nil, origintype=nil)
|
3917
5746
|
@OriginId = originid
|
3918
|
-
@
|
5747
|
+
@OriginName = originname
|
5748
|
+
@Type = type
|
5749
|
+
@Record = record
|
5750
|
+
@ZoneId = zoneid
|
5751
|
+
@OriginType = origintype
|
3919
5752
|
end
|
3920
5753
|
|
3921
5754
|
def deserialize(params)
|
3922
|
-
@ZoneId = params['ZoneId']
|
3923
|
-
@LoadBalancingId = params['LoadBalancingId']
|
3924
|
-
@Type = params['Type']
|
3925
5755
|
@OriginId = params['OriginId']
|
3926
|
-
@
|
5756
|
+
@OriginName = params['OriginName']
|
5757
|
+
@Type = params['Type']
|
5758
|
+
unless params['Record'].nil?
|
5759
|
+
@Record = []
|
5760
|
+
params['Record'].each do |i|
|
5761
|
+
originrecord_tmp = OriginRecord.new
|
5762
|
+
originrecord_tmp.deserialize(i)
|
5763
|
+
@Record << originrecord_tmp
|
5764
|
+
end
|
5765
|
+
end
|
5766
|
+
@ZoneId = params['ZoneId']
|
5767
|
+
@OriginType = params['OriginType']
|
3927
5768
|
end
|
3928
5769
|
end
|
3929
5770
|
|
3930
|
-
#
|
3931
|
-
class
|
3932
|
-
# @param
|
3933
|
-
# @type
|
5771
|
+
# ModifyOriginGroup返回参数结构体
|
5772
|
+
class ModifyOriginGroupResponse < TencentCloud::Common::AbstractModel
|
5773
|
+
# @param OriginId: 源站组ID
|
5774
|
+
# @type OriginId: String
|
3934
5775
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3935
5776
|
# @type RequestId: String
|
3936
5777
|
|
3937
|
-
attr_accessor :
|
5778
|
+
attr_accessor :OriginId, :RequestId
|
3938
5779
|
|
3939
|
-
def initialize(
|
3940
|
-
@
|
5780
|
+
def initialize(originid=nil, requestid=nil)
|
5781
|
+
@OriginId = originid
|
3941
5782
|
@RequestId = requestid
|
3942
5783
|
end
|
3943
5784
|
|
3944
5785
|
def deserialize(params)
|
3945
|
-
@
|
5786
|
+
@OriginId = params['OriginId']
|
3946
5787
|
@RequestId = params['RequestId']
|
3947
5788
|
end
|
3948
5789
|
end
|
3949
5790
|
|
3950
|
-
#
|
3951
|
-
class
|
3952
|
-
# @param ZoneId:
|
5791
|
+
# ModifySecurityPolicy请求参数结构体
|
5792
|
+
class ModifySecurityPolicyRequest < TencentCloud::Common::AbstractModel
|
5793
|
+
# @param ZoneId: 一级域名
|
3953
5794
|
# @type ZoneId: String
|
3954
|
-
# @param
|
3955
|
-
# @type
|
3956
|
-
# @param
|
3957
|
-
#
|
3958
|
-
# offline: 停用
|
3959
|
-
# @type Status: String
|
5795
|
+
# @param Entity: 二级域名/应用名
|
5796
|
+
# @type Entity: String
|
5797
|
+
# @param Config: 安全配置
|
5798
|
+
# @type Config: :class:`Tencentcloud::Teo.v20220106.models.SecurityConfig`
|
3960
5799
|
|
3961
|
-
attr_accessor :ZoneId, :
|
5800
|
+
attr_accessor :ZoneId, :Entity, :Config
|
3962
5801
|
|
3963
|
-
def initialize(zoneid=nil,
|
5802
|
+
def initialize(zoneid=nil, entity=nil, config=nil)
|
3964
5803
|
@ZoneId = zoneid
|
3965
|
-
@
|
3966
|
-
@
|
5804
|
+
@Entity = entity
|
5805
|
+
@Config = config
|
3967
5806
|
end
|
3968
5807
|
|
3969
5808
|
def deserialize(params)
|
3970
5809
|
@ZoneId = params['ZoneId']
|
3971
|
-
@
|
3972
|
-
|
5810
|
+
@Entity = params['Entity']
|
5811
|
+
unless params['Config'].nil?
|
5812
|
+
@Config = SecurityConfig.new
|
5813
|
+
@Config.deserialize(params['Config'])
|
5814
|
+
end
|
3973
5815
|
end
|
3974
5816
|
end
|
3975
5817
|
|
3976
|
-
#
|
3977
|
-
class
|
3978
|
-
# @param LoadBalancingId: 负载均衡ID
|
3979
|
-
# @type LoadBalancingId: String
|
5818
|
+
# ModifySecurityPolicy返回参数结构体
|
5819
|
+
class ModifySecurityPolicyResponse < TencentCloud::Common::AbstractModel
|
3980
5820
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3981
5821
|
# @type RequestId: String
|
3982
5822
|
|
3983
|
-
attr_accessor :
|
5823
|
+
attr_accessor :RequestId
|
3984
5824
|
|
3985
|
-
def initialize(
|
3986
|
-
@LoadBalancingId = loadbalancingid
|
5825
|
+
def initialize(requestid=nil)
|
3987
5826
|
@RequestId = requestid
|
3988
5827
|
end
|
3989
5828
|
|
3990
5829
|
def deserialize(params)
|
3991
|
-
@LoadBalancingId = params['LoadBalancingId']
|
3992
5830
|
@RequestId = params['RequestId']
|
3993
5831
|
end
|
3994
5832
|
end
|
@@ -4365,6 +6203,26 @@ module TencentCloud
|
|
4365
6203
|
end
|
4366
6204
|
end
|
4367
6205
|
|
6206
|
+
# 源站组查询过滤参数
|
6207
|
+
class OriginFilter < TencentCloud::Common::AbstractModel
|
6208
|
+
# @param Name: 要过滤的字段,支持:name
|
6209
|
+
# @type Name: String
|
6210
|
+
# @param Value: 要过滤的值
|
6211
|
+
# @type Value: String
|
6212
|
+
|
6213
|
+
attr_accessor :Name, :Value
|
6214
|
+
|
6215
|
+
def initialize(name=nil, value=nil)
|
6216
|
+
@Name = name
|
6217
|
+
@Value = value
|
6218
|
+
end
|
6219
|
+
|
6220
|
+
def deserialize(params)
|
6221
|
+
@Name = params['Name']
|
6222
|
+
@Value = params['Value']
|
6223
|
+
end
|
6224
|
+
end
|
6225
|
+
|
4368
6226
|
# 源站组信息
|
4369
6227
|
class OriginGroup < TencentCloud::Common::AbstractModel
|
4370
6228
|
# @param OriginId: 源站组ID
|
@@ -4568,6 +6426,178 @@ module TencentCloud
|
|
4568
6426
|
end
|
4569
6427
|
end
|
4570
6428
|
|
6429
|
+
# RateLimit配置
|
6430
|
+
class RateLimitConfig < TencentCloud::Common::AbstractModel
|
6431
|
+
# @param Switch: 开关
|
6432
|
+
# @type Switch: String
|
6433
|
+
# @param UserRules: 用户规则
|
6434
|
+
# @type UserRules: Array
|
6435
|
+
# @param Template: 默认模板
|
6436
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6437
|
+
# @type Template: :class:`Tencentcloud::Teo.v20220106.models.RateLimitTemplate`
|
6438
|
+
|
6439
|
+
attr_accessor :Switch, :UserRules, :Template
|
6440
|
+
|
6441
|
+
def initialize(switch=nil, userrules=nil, template=nil)
|
6442
|
+
@Switch = switch
|
6443
|
+
@UserRules = userrules
|
6444
|
+
@Template = template
|
6445
|
+
end
|
6446
|
+
|
6447
|
+
def deserialize(params)
|
6448
|
+
@Switch = params['Switch']
|
6449
|
+
unless params['UserRules'].nil?
|
6450
|
+
@UserRules = []
|
6451
|
+
params['UserRules'].each do |i|
|
6452
|
+
ratelimituserrule_tmp = RateLimitUserRule.new
|
6453
|
+
ratelimituserrule_tmp.deserialize(i)
|
6454
|
+
@UserRules << ratelimituserrule_tmp
|
6455
|
+
end
|
6456
|
+
end
|
6457
|
+
unless params['Template'].nil?
|
6458
|
+
@Template = RateLimitTemplate.new
|
6459
|
+
@Template.deserialize(params['Template'])
|
6460
|
+
end
|
6461
|
+
end
|
6462
|
+
end
|
6463
|
+
|
6464
|
+
# 速率限制模板
|
6465
|
+
class RateLimitTemplate < TencentCloud::Common::AbstractModel
|
6466
|
+
# @param Mode: 模板名称
|
6467
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6468
|
+
# @type Mode: String
|
6469
|
+
# @param Detail: 模板值详情
|
6470
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6471
|
+
# @type Detail: :class:`Tencentcloud::Teo.v20220106.models.RateLimitTemplateDetail`
|
6472
|
+
|
6473
|
+
attr_accessor :Mode, :Detail
|
6474
|
+
|
6475
|
+
def initialize(mode=nil, detail=nil)
|
6476
|
+
@Mode = mode
|
6477
|
+
@Detail = detail
|
6478
|
+
end
|
6479
|
+
|
6480
|
+
def deserialize(params)
|
6481
|
+
@Mode = params['Mode']
|
6482
|
+
unless params['Detail'].nil?
|
6483
|
+
@Detail = RateLimitTemplateDetail.new
|
6484
|
+
@Detail.deserialize(params['Detail'])
|
6485
|
+
end
|
6486
|
+
end
|
6487
|
+
end
|
6488
|
+
|
6489
|
+
# 模板当前详细配置
|
6490
|
+
class RateLimitTemplateDetail < TencentCloud::Common::AbstractModel
|
6491
|
+
# @param Mode: 模板名称
|
6492
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6493
|
+
# @type Mode: String
|
6494
|
+
# @param ID: 唯一id
|
6495
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6496
|
+
# @type ID: Integer
|
6497
|
+
# @param Action: 处置动作
|
6498
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6499
|
+
# @type Action: String
|
6500
|
+
# @param PunishTime: 惩罚时间,秒
|
6501
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6502
|
+
# @type PunishTime: Integer
|
6503
|
+
# @param Threshold: 阈值
|
6504
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6505
|
+
# @type Threshold: Integer
|
6506
|
+
# @param Period: 统计周期
|
6507
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6508
|
+
# @type Period: Integer
|
6509
|
+
|
6510
|
+
attr_accessor :Mode, :ID, :Action, :PunishTime, :Threshold, :Period
|
6511
|
+
|
6512
|
+
def initialize(mode=nil, id=nil, action=nil, punishtime=nil, threshold=nil, period=nil)
|
6513
|
+
@Mode = mode
|
6514
|
+
@ID = id
|
6515
|
+
@Action = action
|
6516
|
+
@PunishTime = punishtime
|
6517
|
+
@Threshold = threshold
|
6518
|
+
@Period = period
|
6519
|
+
end
|
6520
|
+
|
6521
|
+
def deserialize(params)
|
6522
|
+
@Mode = params['Mode']
|
6523
|
+
@ID = params['ID']
|
6524
|
+
@Action = params['Action']
|
6525
|
+
@PunishTime = params['PunishTime']
|
6526
|
+
@Threshold = params['Threshold']
|
6527
|
+
@Period = params['Period']
|
6528
|
+
end
|
6529
|
+
end
|
6530
|
+
|
6531
|
+
# RateLimit规则
|
6532
|
+
class RateLimitUserRule < TencentCloud::Common::AbstractModel
|
6533
|
+
# @param Threshold: RateLimit统计阈值
|
6534
|
+
# @type Threshold: Integer
|
6535
|
+
# @param Period: RateLimit统计时间
|
6536
|
+
# @type Period: Integer
|
6537
|
+
# @param RuleName: 规则名
|
6538
|
+
# @type RuleName: String
|
6539
|
+
# @param Action: 动作:monitor(观察), drop(拦截)
|
6540
|
+
# @type Action: String
|
6541
|
+
# @param PunishTime: 惩罚时长
|
6542
|
+
# @type PunishTime: Integer
|
6543
|
+
# @param PunishTimeUnit: 处罚时长单位,second
|
6544
|
+
# @type PunishTimeUnit: String
|
6545
|
+
# @param RuleStatus: 规则状态
|
6546
|
+
# @type RuleStatus: String
|
6547
|
+
# @param Conditions: 规则
|
6548
|
+
# @type Conditions: Array
|
6549
|
+
# @param RulePriority: 规则权重
|
6550
|
+
# @type RulePriority: Integer
|
6551
|
+
# @param RuleID: 规则id
|
6552
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6553
|
+
# @type RuleID: Integer
|
6554
|
+
# @param FreqFields: 过滤词
|
6555
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6556
|
+
# @type FreqFields: Array
|
6557
|
+
# @param UpdateTime: 更新时间
|
6558
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6559
|
+
# @type UpdateTime: String
|
6560
|
+
|
6561
|
+
attr_accessor :Threshold, :Period, :RuleName, :Action, :PunishTime, :PunishTimeUnit, :RuleStatus, :Conditions, :RulePriority, :RuleID, :FreqFields, :UpdateTime
|
6562
|
+
|
6563
|
+
def initialize(threshold=nil, period=nil, rulename=nil, action=nil, punishtime=nil, punishtimeunit=nil, rulestatus=nil, conditions=nil, rulepriority=nil, ruleid=nil, freqfields=nil, updatetime=nil)
|
6564
|
+
@Threshold = threshold
|
6565
|
+
@Period = period
|
6566
|
+
@RuleName = rulename
|
6567
|
+
@Action = action
|
6568
|
+
@PunishTime = punishtime
|
6569
|
+
@PunishTimeUnit = punishtimeunit
|
6570
|
+
@RuleStatus = rulestatus
|
6571
|
+
@Conditions = conditions
|
6572
|
+
@RulePriority = rulepriority
|
6573
|
+
@RuleID = ruleid
|
6574
|
+
@FreqFields = freqfields
|
6575
|
+
@UpdateTime = updatetime
|
6576
|
+
end
|
6577
|
+
|
6578
|
+
def deserialize(params)
|
6579
|
+
@Threshold = params['Threshold']
|
6580
|
+
@Period = params['Period']
|
6581
|
+
@RuleName = params['RuleName']
|
6582
|
+
@Action = params['Action']
|
6583
|
+
@PunishTime = params['PunishTime']
|
6584
|
+
@PunishTimeUnit = params['PunishTimeUnit']
|
6585
|
+
@RuleStatus = params['RuleStatus']
|
6586
|
+
unless params['Conditions'].nil?
|
6587
|
+
@Conditions = []
|
6588
|
+
params['Conditions'].each do |i|
|
6589
|
+
aclcondition_tmp = ACLCondition.new
|
6590
|
+
aclcondition_tmp.deserialize(i)
|
6591
|
+
@Conditions << aclcondition_tmp
|
6592
|
+
end
|
6593
|
+
end
|
6594
|
+
@RulePriority = params['RulePriority']
|
6595
|
+
@RuleID = params['RuleID']
|
6596
|
+
@FreqFields = params['FreqFields']
|
6597
|
+
@UpdateTime = params['UpdateTime']
|
6598
|
+
end
|
6599
|
+
end
|
6600
|
+
|
4571
6601
|
# ReclaimZone请求参数结构体
|
4572
6602
|
class ReclaimZoneRequest < TencentCloud::Common::AbstractModel
|
4573
6603
|
# @param Name: 站点名称
|
@@ -4646,6 +6676,94 @@ module TencentCloud
|
|
4646
6676
|
end
|
4647
6677
|
end
|
4648
6678
|
|
6679
|
+
# 安全配置
|
6680
|
+
class SecurityConfig < TencentCloud::Common::AbstractModel
|
6681
|
+
# @param WafConfig: 门神配置
|
6682
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6683
|
+
# @type WafConfig: :class:`Tencentcloud::Teo.v20220106.models.WafConfig`
|
6684
|
+
# @param RateLimitConfig: RateLimit配置
|
6685
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6686
|
+
# @type RateLimitConfig: :class:`Tencentcloud::Teo.v20220106.models.RateLimitConfig`
|
6687
|
+
# @param DdosConfig: DDoS配置
|
6688
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6689
|
+
# @type DdosConfig: :class:`Tencentcloud::Teo.v20220106.models.DDoSConfig`
|
6690
|
+
# @param AclConfig: ACL配置
|
6691
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6692
|
+
# @type AclConfig: :class:`Tencentcloud::Teo.v20220106.models.AclConfig`
|
6693
|
+
# @param BotConfig: Bot配置
|
6694
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6695
|
+
# @type BotConfig: :class:`Tencentcloud::Teo.v20220106.models.BotConfig`
|
6696
|
+
# @param SwitchConfig: 总开关
|
6697
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6698
|
+
# @type SwitchConfig: :class:`Tencentcloud::Teo.v20220106.models.SwitchConfig`
|
6699
|
+
|
6700
|
+
attr_accessor :WafConfig, :RateLimitConfig, :DdosConfig, :AclConfig, :BotConfig, :SwitchConfig
|
6701
|
+
|
6702
|
+
def initialize(wafconfig=nil, ratelimitconfig=nil, ddosconfig=nil, aclconfig=nil, botconfig=nil, switchconfig=nil)
|
6703
|
+
@WafConfig = wafconfig
|
6704
|
+
@RateLimitConfig = ratelimitconfig
|
6705
|
+
@DdosConfig = ddosconfig
|
6706
|
+
@AclConfig = aclconfig
|
6707
|
+
@BotConfig = botconfig
|
6708
|
+
@SwitchConfig = switchconfig
|
6709
|
+
end
|
6710
|
+
|
6711
|
+
def deserialize(params)
|
6712
|
+
unless params['WafConfig'].nil?
|
6713
|
+
@WafConfig = WafConfig.new
|
6714
|
+
@WafConfig.deserialize(params['WafConfig'])
|
6715
|
+
end
|
6716
|
+
unless params['RateLimitConfig'].nil?
|
6717
|
+
@RateLimitConfig = RateLimitConfig.new
|
6718
|
+
@RateLimitConfig.deserialize(params['RateLimitConfig'])
|
6719
|
+
end
|
6720
|
+
unless params['DdosConfig'].nil?
|
6721
|
+
@DdosConfig = DDoSConfig.new
|
6722
|
+
@DdosConfig.deserialize(params['DdosConfig'])
|
6723
|
+
end
|
6724
|
+
unless params['AclConfig'].nil?
|
6725
|
+
@AclConfig = AclConfig.new
|
6726
|
+
@AclConfig.deserialize(params['AclConfig'])
|
6727
|
+
end
|
6728
|
+
unless params['BotConfig'].nil?
|
6729
|
+
@BotConfig = BotConfig.new
|
6730
|
+
@BotConfig.deserialize(params['BotConfig'])
|
6731
|
+
end
|
6732
|
+
unless params['SwitchConfig'].nil?
|
6733
|
+
@SwitchConfig = SwitchConfig.new
|
6734
|
+
@SwitchConfig.deserialize(params['SwitchConfig'])
|
6735
|
+
end
|
6736
|
+
end
|
6737
|
+
end
|
6738
|
+
|
6739
|
+
# 安全防护实例
|
6740
|
+
class SecurityEntity < TencentCloud::Common::AbstractModel
|
6741
|
+
# @param AppId: 用户appid
|
6742
|
+
# @type AppId: Integer
|
6743
|
+
# @param ZoneId: 一级域名
|
6744
|
+
# @type ZoneId: String
|
6745
|
+
# @param Entity: 二级域名
|
6746
|
+
# @type Entity: String
|
6747
|
+
# @param EntityType: 类型 domain/application
|
6748
|
+
# @type EntityType: String
|
6749
|
+
|
6750
|
+
attr_accessor :AppId, :ZoneId, :Entity, :EntityType
|
6751
|
+
|
6752
|
+
def initialize(appid=nil, zoneid=nil, entity=nil, entitytype=nil)
|
6753
|
+
@AppId = appid
|
6754
|
+
@ZoneId = zoneid
|
6755
|
+
@Entity = entity
|
6756
|
+
@EntityType = entitytype
|
6757
|
+
end
|
6758
|
+
|
6759
|
+
def deserialize(params)
|
6760
|
+
@AppId = params['AppId']
|
6761
|
+
@ZoneId = params['ZoneId']
|
6762
|
+
@Entity = params['Entity']
|
6763
|
+
@EntityType = params['EntityType']
|
6764
|
+
end
|
6765
|
+
end
|
6766
|
+
|
4649
6767
|
# https 服务端证书配置
|
4650
6768
|
class ServerCertInfo < TencentCloud::Common::AbstractModel
|
4651
6769
|
# @param CertId: 服务器证书 ID, 默认证书ID, 或在 SSL 证书管理进行证书托管时自动生成
|
@@ -4693,6 +6811,67 @@ module TencentCloud
|
|
4693
6811
|
end
|
4694
6812
|
end
|
4695
6813
|
|
6814
|
+
# DDoS防护分区
|
6815
|
+
class ShieldArea < TencentCloud::Common::AbstractModel
|
6816
|
+
# @param ZoneId: 一级域名id
|
6817
|
+
# @type ZoneId: String
|
6818
|
+
# @param PolicyId: 策略id
|
6819
|
+
# @type PolicyId: Integer
|
6820
|
+
# @param Type: 防护类型 domain/application
|
6821
|
+
# @type Type: String
|
6822
|
+
# @param EntityName: 四层应用名
|
6823
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6824
|
+
# @type EntityName: String
|
6825
|
+
# @param Application: 7层域名参数
|
6826
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6827
|
+
# @type Application: Array
|
6828
|
+
# @param TcpNum: 四层tcp转发规则数
|
6829
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6830
|
+
# @type TcpNum: Integer
|
6831
|
+
# @param UdpNum: 四层udp转发规则数
|
6832
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6833
|
+
# @type UdpNum: Integer
|
6834
|
+
# @param Entity: 实例名称
|
6835
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6836
|
+
# @type Entity: String
|
6837
|
+
# @param Share: 是否为共享资源客户,注意共享资源用户不可以切换代理模式,true-是;false-否
|
6838
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6839
|
+
# @type Share: Boolean
|
6840
|
+
|
6841
|
+
attr_accessor :ZoneId, :PolicyId, :Type, :EntityName, :Application, :TcpNum, :UdpNum, :Entity, :Share
|
6842
|
+
|
6843
|
+
def initialize(zoneid=nil, policyid=nil, type=nil, entityname=nil, application=nil, tcpnum=nil, udpnum=nil, entity=nil, share=nil)
|
6844
|
+
@ZoneId = zoneid
|
6845
|
+
@PolicyId = policyid
|
6846
|
+
@Type = type
|
6847
|
+
@EntityName = entityname
|
6848
|
+
@Application = application
|
6849
|
+
@TcpNum = tcpnum
|
6850
|
+
@UdpNum = udpnum
|
6851
|
+
@Entity = entity
|
6852
|
+
@Share = share
|
6853
|
+
end
|
6854
|
+
|
6855
|
+
def deserialize(params)
|
6856
|
+
@ZoneId = params['ZoneId']
|
6857
|
+
@PolicyId = params['PolicyId']
|
6858
|
+
@Type = params['Type']
|
6859
|
+
@EntityName = params['EntityName']
|
6860
|
+
unless params['Application'].nil?
|
6861
|
+
@Application = []
|
6862
|
+
params['Application'].each do |i|
|
6863
|
+
ddosapplication_tmp = DDoSApplication.new
|
6864
|
+
ddosapplication_tmp.deserialize(i)
|
6865
|
+
@Application << ddosapplication_tmp
|
6866
|
+
end
|
6867
|
+
end
|
6868
|
+
@TcpNum = params['TcpNum']
|
6869
|
+
@UdpNum = params['UdpNum']
|
6870
|
+
@Entity = params['Entity']
|
6871
|
+
@Share = params['Share']
|
6872
|
+
end
|
6873
|
+
end
|
6874
|
+
|
4696
6875
|
# 智能加速配置
|
4697
6876
|
class SmartRouting < TencentCloud::Common::AbstractModel
|
4698
6877
|
# @param Switch: 智能加速配置开关
|
@@ -4711,6 +6890,22 @@ module TencentCloud
|
|
4711
6890
|
end
|
4712
6891
|
end
|
4713
6892
|
|
6893
|
+
# 功能总开关
|
6894
|
+
class SwitchConfig < TencentCloud::Common::AbstractModel
|
6895
|
+
# @param WebSwitch: Web类型的安全总开关:Web基础防护,自定义规则,速率限制
|
6896
|
+
# @type WebSwitch: String
|
6897
|
+
|
6898
|
+
attr_accessor :WebSwitch
|
6899
|
+
|
6900
|
+
def initialize(webswitch=nil)
|
6901
|
+
@WebSwitch = webswitch
|
6902
|
+
end
|
6903
|
+
|
6904
|
+
def deserialize(params)
|
6905
|
+
@WebSwitch = params['WebSwitch']
|
6906
|
+
end
|
6907
|
+
end
|
6908
|
+
|
4714
6909
|
# 内容管理任务结果
|
4715
6910
|
class Task < TencentCloud::Common::AbstractModel
|
4716
6911
|
# @param JobId: 任务ID
|
@@ -4807,6 +7002,70 @@ module TencentCloud
|
|
4807
7002
|
end
|
4808
7003
|
end
|
4809
7004
|
|
7005
|
+
# 门神配置
|
7006
|
+
class WafConfig < TencentCloud::Common::AbstractModel
|
7007
|
+
# @param Switch: 开关
|
7008
|
+
# @type Switch: String
|
7009
|
+
# @param Level: 防护级别,loose/normal/strict/stricter/custom
|
7010
|
+
# @type Level: String
|
7011
|
+
# @param Mode: 模式 block-阻断;observe-观察模式;close-关闭
|
7012
|
+
# @type Mode: String
|
7013
|
+
# @param WafRules: 门神黑白名单
|
7014
|
+
# @type WafRules: :class:`Tencentcloud::Teo.v20220106.models.WafRule`
|
7015
|
+
# @param AiRule: AI规则引擎防护
|
7016
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7017
|
+
# @type AiRule: :class:`Tencentcloud::Teo.v20220106.models.AiRule`
|
7018
|
+
|
7019
|
+
attr_accessor :Switch, :Level, :Mode, :WafRules, :AiRule
|
7020
|
+
|
7021
|
+
def initialize(switch=nil, level=nil, mode=nil, wafrules=nil, airule=nil)
|
7022
|
+
@Switch = switch
|
7023
|
+
@Level = level
|
7024
|
+
@Mode = mode
|
7025
|
+
@WafRules = wafrules
|
7026
|
+
@AiRule = airule
|
7027
|
+
end
|
7028
|
+
|
7029
|
+
def deserialize(params)
|
7030
|
+
@Switch = params['Switch']
|
7031
|
+
@Level = params['Level']
|
7032
|
+
@Mode = params['Mode']
|
7033
|
+
unless params['WafRules'].nil?
|
7034
|
+
@WafRules = WafRule.new
|
7035
|
+
@WafRules.deserialize(params['WafRules'])
|
7036
|
+
end
|
7037
|
+
unless params['AiRule'].nil?
|
7038
|
+
@AiRule = AiRule.new
|
7039
|
+
@AiRule.deserialize(params['AiRule'])
|
7040
|
+
end
|
7041
|
+
end
|
7042
|
+
end
|
7043
|
+
|
7044
|
+
# Waf规则
|
7045
|
+
class WafRule < TencentCloud::Common::AbstractModel
|
7046
|
+
# @param BlockRuleIDs: 黑名单
|
7047
|
+
# @type BlockRuleIDs: Array
|
7048
|
+
# @param Switch: id的开关
|
7049
|
+
# @type Switch: String
|
7050
|
+
# @param ObserveRuleIDs: 观察模式
|
7051
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7052
|
+
# @type ObserveRuleIDs: Array
|
7053
|
+
|
7054
|
+
attr_accessor :BlockRuleIDs, :Switch, :ObserveRuleIDs
|
7055
|
+
|
7056
|
+
def initialize(blockruleids=nil, switch=nil, observeruleids=nil)
|
7057
|
+
@BlockRuleIDs = blockruleids
|
7058
|
+
@Switch = switch
|
7059
|
+
@ObserveRuleIDs = observeruleids
|
7060
|
+
end
|
7061
|
+
|
7062
|
+
def deserialize(params)
|
7063
|
+
@BlockRuleIDs = params['BlockRuleIDs']
|
7064
|
+
@Switch = params['Switch']
|
7065
|
+
@ObserveRuleIDs = params['ObserveRuleIDs']
|
7066
|
+
end
|
7067
|
+
end
|
7068
|
+
|
4810
7069
|
# WebSocket配置
|
4811
7070
|
class WebSocket < TencentCloud::Common::AbstractModel
|
4812
7071
|
# @param Switch: WebSocket 超时配置开关, 开关为off时,平台仍支持WebSocket连接,此时超时时间默认为15秒,若需要调整超时时间,将开关置为on.
|