tencentcloud-sdk-cfw 3.0.684 → 3.0.686
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20190904/client.rb +72 -0
- data/lib/v20190904/models.rb +258 -7
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0cbf217b70a7213d911b717412675013dba944b7
|
4
|
+
data.tar.gz: 359ac0f60a34efb72e6fbcceb41fd54eb3184756
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b22c2f2e09f92adae009a1dfce968cb18181b3cb809d1012aa825b20bed0dbdc4d7b4b74ea1cf807c69795614a9b720dfc394c053524464889d5051513f4672b
|
7
|
+
data.tar.gz: 0f70d82cf77485449be00528c18a25a98a2bce484f5871c0b380c88e8b98e6706844216a3f071c63c269e175eaa06aadad015b4b00d11a402fd6e05358240a31
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.686
|
data/lib/v20190904/client.rb
CHANGED
@@ -197,6 +197,78 @@ module TencentCloud
|
|
197
197
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
198
198
|
end
|
199
199
|
|
200
|
+
# 用户告警中心-封隔离处置按钮
|
201
|
+
|
202
|
+
# @param request: Request instance for CreateAlertCenterIsolate.
|
203
|
+
# @type request: :class:`Tencentcloud::cfw::V20190904::CreateAlertCenterIsolateRequest`
|
204
|
+
# @rtype: :class:`Tencentcloud::cfw::V20190904::CreateAlertCenterIsolateResponse`
|
205
|
+
def CreateAlertCenterIsolate(request)
|
206
|
+
body = send_request('CreateAlertCenterIsolate', request.serialize)
|
207
|
+
response = JSON.parse(body)
|
208
|
+
if response['Response'].key?('Error') == false
|
209
|
+
model = CreateAlertCenterIsolateResponse.new
|
210
|
+
model.deserialize(response['Response'])
|
211
|
+
model
|
212
|
+
else
|
213
|
+
code = response['Response']['Error']['Code']
|
214
|
+
message = response['Response']['Error']['Message']
|
215
|
+
reqid = response['Response']['RequestId']
|
216
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
217
|
+
end
|
218
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
219
|
+
raise e
|
220
|
+
rescue StandardError => e
|
221
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
222
|
+
end
|
223
|
+
|
224
|
+
# 用户告警中心-忽略处置按钮
|
225
|
+
|
226
|
+
# @param request: Request instance for CreateAlertCenterOmit.
|
227
|
+
# @type request: :class:`Tencentcloud::cfw::V20190904::CreateAlertCenterOmitRequest`
|
228
|
+
# @rtype: :class:`Tencentcloud::cfw::V20190904::CreateAlertCenterOmitResponse`
|
229
|
+
def CreateAlertCenterOmit(request)
|
230
|
+
body = send_request('CreateAlertCenterOmit', request.serialize)
|
231
|
+
response = JSON.parse(body)
|
232
|
+
if response['Response'].key?('Error') == false
|
233
|
+
model = CreateAlertCenterOmitResponse.new
|
234
|
+
model.deserialize(response['Response'])
|
235
|
+
model
|
236
|
+
else
|
237
|
+
code = response['Response']['Error']['Code']
|
238
|
+
message = response['Response']['Error']['Message']
|
239
|
+
reqid = response['Response']['RequestId']
|
240
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
241
|
+
end
|
242
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
243
|
+
raise e
|
244
|
+
rescue StandardError => e
|
245
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
246
|
+
end
|
247
|
+
|
248
|
+
# 用户告警中心-封禁、放通处置按钮
|
249
|
+
|
250
|
+
# @param request: Request instance for CreateAlertCenterRule.
|
251
|
+
# @type request: :class:`Tencentcloud::cfw::V20190904::CreateAlertCenterRuleRequest`
|
252
|
+
# @rtype: :class:`Tencentcloud::cfw::V20190904::CreateAlertCenterRuleResponse`
|
253
|
+
def CreateAlertCenterRule(request)
|
254
|
+
body = send_request('CreateAlertCenterRule', request.serialize)
|
255
|
+
response = JSON.parse(body)
|
256
|
+
if response['Response'].key?('Error') == false
|
257
|
+
model = CreateAlertCenterRuleResponse.new
|
258
|
+
model.deserialize(response['Response'])
|
259
|
+
model
|
260
|
+
else
|
261
|
+
code = response['Response']['Error']['Code']
|
262
|
+
message = response['Response']['Error']['Message']
|
263
|
+
reqid = response['Response']['RequestId']
|
264
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
265
|
+
end
|
266
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
267
|
+
raise e
|
268
|
+
rescue StandardError => e
|
269
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
270
|
+
end
|
271
|
+
|
200
272
|
# 批量添加入侵防御封禁列表、放通列表规则
|
201
273
|
|
202
274
|
# @param request: Request instance for CreateBlockIgnoreRuleList.
|
data/lib/v20190904/models.rb
CHANGED
@@ -836,6 +836,227 @@ module TencentCloud
|
|
836
836
|
end
|
837
837
|
end
|
838
838
|
|
839
|
+
# CreateAlertCenterIsolate请求参数结构体
|
840
|
+
class CreateAlertCenterIsolateRequest < TencentCloud::Common::AbstractModel
|
841
|
+
# @param HandleAssetList: 处置对象,资产列表
|
842
|
+
# @type HandleAssetList: Array
|
843
|
+
# @param HandleTime: 处置时间
|
844
|
+
# 1 1天
|
845
|
+
# 7 7天
|
846
|
+
# -2 永久
|
847
|
+
# @type HandleTime: Integer
|
848
|
+
# @param AlertDirection: 当前日志方向: 0 出向 1 入向
|
849
|
+
# @type AlertDirection: Integer
|
850
|
+
# @param IsolateType: 隔离类型
|
851
|
+
# 1 互联网入站
|
852
|
+
# 2 互联网出站
|
853
|
+
# 4 内网访问
|
854
|
+
# @type IsolateType: Array
|
855
|
+
# @param OmMode: 运维模式 1 IP白名单 2 身份认证
|
856
|
+
# @type OmMode: Integer
|
857
|
+
|
858
|
+
attr_accessor :HandleAssetList, :HandleTime, :AlertDirection, :IsolateType, :OmMode
|
859
|
+
|
860
|
+
def initialize(handleassetlist=nil, handletime=nil, alertdirection=nil, isolatetype=nil, ommode=nil)
|
861
|
+
@HandleAssetList = handleassetlist
|
862
|
+
@HandleTime = handletime
|
863
|
+
@AlertDirection = alertdirection
|
864
|
+
@IsolateType = isolatetype
|
865
|
+
@OmMode = ommode
|
866
|
+
end
|
867
|
+
|
868
|
+
def deserialize(params)
|
869
|
+
@HandleAssetList = params['HandleAssetList']
|
870
|
+
@HandleTime = params['HandleTime']
|
871
|
+
@AlertDirection = params['AlertDirection']
|
872
|
+
@IsolateType = params['IsolateType']
|
873
|
+
@OmMode = params['OmMode']
|
874
|
+
end
|
875
|
+
end
|
876
|
+
|
877
|
+
# CreateAlertCenterIsolate返回参数结构体
|
878
|
+
class CreateAlertCenterIsolateResponse < TencentCloud::Common::AbstractModel
|
879
|
+
# @param ReturnCode: 返回状态码:
|
880
|
+
# 0 成功
|
881
|
+
# 非0 失败
|
882
|
+
# @type ReturnCode: Integer
|
883
|
+
# @param ReturnMsg: 返回信息:
|
884
|
+
# success 成功
|
885
|
+
# 其他
|
886
|
+
# @type ReturnMsg: String
|
887
|
+
# @param Status: 处置状态码:
|
888
|
+
# 0 处置成功
|
889
|
+
# -1 通用错误,不用处理
|
890
|
+
# -3 表示重复,需重新刷新列表
|
891
|
+
# 其他
|
892
|
+
# @type Status: Integer
|
893
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
894
|
+
# @type RequestId: String
|
895
|
+
|
896
|
+
attr_accessor :ReturnCode, :ReturnMsg, :Status, :RequestId
|
897
|
+
|
898
|
+
def initialize(returncode=nil, returnmsg=nil, status=nil, requestid=nil)
|
899
|
+
@ReturnCode = returncode
|
900
|
+
@ReturnMsg = returnmsg
|
901
|
+
@Status = status
|
902
|
+
@RequestId = requestid
|
903
|
+
end
|
904
|
+
|
905
|
+
def deserialize(params)
|
906
|
+
@ReturnCode = params['ReturnCode']
|
907
|
+
@ReturnMsg = params['ReturnMsg']
|
908
|
+
@Status = params['Status']
|
909
|
+
@RequestId = params['RequestId']
|
910
|
+
end
|
911
|
+
end
|
912
|
+
|
913
|
+
# CreateAlertCenterOmit请求参数结构体
|
914
|
+
class CreateAlertCenterOmitRequest < TencentCloud::Common::AbstractModel
|
915
|
+
# @param HandleIdList: 处置对象,ID列表, IdLists和IpList二选一
|
916
|
+
# @type HandleIdList: Array
|
917
|
+
# @param TableType: 忽略数据来源:
|
918
|
+
# AlertTable 告警中心 InterceptionTable拦截列表
|
919
|
+
# @type TableType: String
|
920
|
+
|
921
|
+
attr_accessor :HandleIdList, :TableType
|
922
|
+
|
923
|
+
def initialize(handleidlist=nil, tabletype=nil)
|
924
|
+
@HandleIdList = handleidlist
|
925
|
+
@TableType = tabletype
|
926
|
+
end
|
927
|
+
|
928
|
+
def deserialize(params)
|
929
|
+
@HandleIdList = params['HandleIdList']
|
930
|
+
@TableType = params['TableType']
|
931
|
+
end
|
932
|
+
end
|
933
|
+
|
934
|
+
# CreateAlertCenterOmit返回参数结构体
|
935
|
+
class CreateAlertCenterOmitResponse < TencentCloud::Common::AbstractModel
|
936
|
+
# @param ReturnCode: 返回状态码:
|
937
|
+
# 0 成功
|
938
|
+
# 非0 失败
|
939
|
+
# @type ReturnCode: Integer
|
940
|
+
# @param ReturnMsg: 返回信息:
|
941
|
+
# success 成功
|
942
|
+
# 其他
|
943
|
+
# @type ReturnMsg: String
|
944
|
+
# @param Status: 处置状态码:
|
945
|
+
# 0 处置成功
|
946
|
+
# -1 通用错误,不用处理
|
947
|
+
# -3 表示重复,需重新刷新列表
|
948
|
+
# 其他
|
949
|
+
# @type Status: Integer
|
950
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
951
|
+
# @type RequestId: String
|
952
|
+
|
953
|
+
attr_accessor :ReturnCode, :ReturnMsg, :Status, :RequestId
|
954
|
+
|
955
|
+
def initialize(returncode=nil, returnmsg=nil, status=nil, requestid=nil)
|
956
|
+
@ReturnCode = returncode
|
957
|
+
@ReturnMsg = returnmsg
|
958
|
+
@Status = status
|
959
|
+
@RequestId = requestid
|
960
|
+
end
|
961
|
+
|
962
|
+
def deserialize(params)
|
963
|
+
@ReturnCode = params['ReturnCode']
|
964
|
+
@ReturnMsg = params['ReturnMsg']
|
965
|
+
@Status = params['Status']
|
966
|
+
@RequestId = params['RequestId']
|
967
|
+
end
|
968
|
+
end
|
969
|
+
|
970
|
+
# CreateAlertCenterRule请求参数结构体
|
971
|
+
class CreateAlertCenterRuleRequest < TencentCloud::Common::AbstractModel
|
972
|
+
# @param HandleTime: 处置时间
|
973
|
+
# 1 1天
|
974
|
+
# 7 7天
|
975
|
+
# -2 永久
|
976
|
+
# @type HandleTime: Integer
|
977
|
+
# @param HandleType: 处置类型
|
978
|
+
# 当HandleIdList 不为空时:1封禁 2放通
|
979
|
+
# 当HandleIpList 不为空时:3放通 4封禁
|
980
|
+
# @type HandleType: Integer
|
981
|
+
# @param AlertDirection: 当前日志方向: 0 出向 1 入向
|
982
|
+
# @type AlertDirection: Integer
|
983
|
+
# @param HandleDirection: 处置方向: 0出向 1入向 0,1出入向 3内网
|
984
|
+
# @type HandleDirection: String
|
985
|
+
# @param HandleIdList: 处置对象,ID列表, IdLists和IpList二选一
|
986
|
+
# @type HandleIdList: Array
|
987
|
+
# @param HandleIpList: 处置对象,IP列表, IdLists和IpList二选一
|
988
|
+
# @type HandleIpList: Array
|
989
|
+
# @param HandleComment: 处置描述
|
990
|
+
# @type HandleComment: String
|
991
|
+
# @param IgnoreReason: 放通原因:
|
992
|
+
# 0默认 1重复 2误报 3紧急放通
|
993
|
+
# @type IgnoreReason: Integer
|
994
|
+
# @param BlockDomain: 封禁域名-保留字段
|
995
|
+
# @type BlockDomain: String
|
996
|
+
|
997
|
+
attr_accessor :HandleTime, :HandleType, :AlertDirection, :HandleDirection, :HandleIdList, :HandleIpList, :HandleComment, :IgnoreReason, :BlockDomain
|
998
|
+
|
999
|
+
def initialize(handletime=nil, handletype=nil, alertdirection=nil, handledirection=nil, handleidlist=nil, handleiplist=nil, handlecomment=nil, ignorereason=nil, blockdomain=nil)
|
1000
|
+
@HandleTime = handletime
|
1001
|
+
@HandleType = handletype
|
1002
|
+
@AlertDirection = alertdirection
|
1003
|
+
@HandleDirection = handledirection
|
1004
|
+
@HandleIdList = handleidlist
|
1005
|
+
@HandleIpList = handleiplist
|
1006
|
+
@HandleComment = handlecomment
|
1007
|
+
@IgnoreReason = ignorereason
|
1008
|
+
@BlockDomain = blockdomain
|
1009
|
+
end
|
1010
|
+
|
1011
|
+
def deserialize(params)
|
1012
|
+
@HandleTime = params['HandleTime']
|
1013
|
+
@HandleType = params['HandleType']
|
1014
|
+
@AlertDirection = params['AlertDirection']
|
1015
|
+
@HandleDirection = params['HandleDirection']
|
1016
|
+
@HandleIdList = params['HandleIdList']
|
1017
|
+
@HandleIpList = params['HandleIpList']
|
1018
|
+
@HandleComment = params['HandleComment']
|
1019
|
+
@IgnoreReason = params['IgnoreReason']
|
1020
|
+
@BlockDomain = params['BlockDomain']
|
1021
|
+
end
|
1022
|
+
end
|
1023
|
+
|
1024
|
+
# CreateAlertCenterRule返回参数结构体
|
1025
|
+
class CreateAlertCenterRuleResponse < TencentCloud::Common::AbstractModel
|
1026
|
+
# @param ReturnCode: 返回状态码:
|
1027
|
+
# 0 成功
|
1028
|
+
# 非0 失败
|
1029
|
+
# @type ReturnCode: Integer
|
1030
|
+
# @param ReturnMsg: 返回信息:
|
1031
|
+
# success 成功
|
1032
|
+
# 其他
|
1033
|
+
# @type ReturnMsg: String
|
1034
|
+
# @param Status: 处置状态码:
|
1035
|
+
# 0 处置成功
|
1036
|
+
# -1 通用错误,不用处理
|
1037
|
+
# -3 表示重复,需重新刷新列表
|
1038
|
+
# 其他
|
1039
|
+
# @type Status: Integer
|
1040
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1041
|
+
# @type RequestId: String
|
1042
|
+
|
1043
|
+
attr_accessor :ReturnCode, :ReturnMsg, :Status, :RequestId
|
1044
|
+
|
1045
|
+
def initialize(returncode=nil, returnmsg=nil, status=nil, requestid=nil)
|
1046
|
+
@ReturnCode = returncode
|
1047
|
+
@ReturnMsg = returnmsg
|
1048
|
+
@Status = status
|
1049
|
+
@RequestId = requestid
|
1050
|
+
end
|
1051
|
+
|
1052
|
+
def deserialize(params)
|
1053
|
+
@ReturnCode = params['ReturnCode']
|
1054
|
+
@ReturnMsg = params['ReturnMsg']
|
1055
|
+
@Status = params['Status']
|
1056
|
+
@RequestId = params['RequestId']
|
1057
|
+
end
|
1058
|
+
end
|
1059
|
+
|
839
1060
|
# CreateBlockIgnoreRuleList请求参数结构体
|
840
1061
|
class CreateBlockIgnoreRuleListRequest < TencentCloud::Common::AbstractModel
|
841
1062
|
# @param Rules: 规则列表
|
@@ -4775,7 +4996,7 @@ module TencentCloud
|
|
4775
4996
|
# @param FwInsRegion: 网络经过VPC防火墙CVM所在地域
|
4776
4997
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
4777
4998
|
# @type FwInsRegion: Array
|
4778
|
-
# @param IpsAction: 0 观察 1 拦截 2 严格 3 关闭
|
4999
|
+
# @param IpsAction: 0 观察 1 拦截 2 严格 3 关闭 4 不支持ips 前端展示tag
|
4779
5000
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
4780
5001
|
# @type IpsAction: Integer
|
4781
5002
|
# @param FwInsLst: 开关关联的防火墙实例列表
|
@@ -6867,10 +7088,19 @@ module TencentCloud
|
|
6867
7088
|
# @param NeedProbeEngineUpdate: 是的需要升级引擎 支持 nat拨测 1需要 0不需要
|
6868
7089
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
6869
7090
|
# @type NeedProbeEngineUpdate: Integer
|
7091
|
+
# @param TrafficMode: 引擎运行模式,Normal:正常, OnlyRoute:透明模式
|
7092
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7093
|
+
# @type TrafficMode: String
|
7094
|
+
# @param Zone: 实例主所在可用区
|
7095
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7096
|
+
# @type Zone: String
|
7097
|
+
# @param ZoneBak: 实例备所在可用区
|
7098
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7099
|
+
# @type ZoneBak: String
|
6870
7100
|
|
6871
|
-
attr_accessor :NatinsId, :NatinsName, :Region, :FwMode, :BandWidth, :InFlowMax, :OutFlowMax, :RegionZh, :EipAddress, :VpcIp, :Subnets, :Status, :RegionDetail, :ZoneZh, :ZoneZhBak, :RuleUsed, :RuleMax, :EngineVersion, :UpdateEnable, :NeedProbeEngineUpdate
|
7101
|
+
attr_accessor :NatinsId, :NatinsName, :Region, :FwMode, :BandWidth, :InFlowMax, :OutFlowMax, :RegionZh, :EipAddress, :VpcIp, :Subnets, :Status, :RegionDetail, :ZoneZh, :ZoneZhBak, :RuleUsed, :RuleMax, :EngineVersion, :UpdateEnable, :NeedProbeEngineUpdate, :TrafficMode, :Zone, :ZoneBak
|
6872
7102
|
|
6873
|
-
def initialize(natinsid=nil, natinsname=nil, region=nil, fwmode=nil, bandwidth=nil, inflowmax=nil, outflowmax=nil, regionzh=nil, eipaddress=nil, vpcip=nil, subnets=nil, status=nil, regiondetail=nil, zonezh=nil, zonezhbak=nil, ruleused=nil, rulemax=nil, engineversion=nil, updateenable=nil, needprobeengineupdate=nil)
|
7103
|
+
def initialize(natinsid=nil, natinsname=nil, region=nil, fwmode=nil, bandwidth=nil, inflowmax=nil, outflowmax=nil, regionzh=nil, eipaddress=nil, vpcip=nil, subnets=nil, status=nil, regiondetail=nil, zonezh=nil, zonezhbak=nil, ruleused=nil, rulemax=nil, engineversion=nil, updateenable=nil, needprobeengineupdate=nil, trafficmode=nil, zone=nil, zonebak=nil)
|
6874
7104
|
@NatinsId = natinsid
|
6875
7105
|
@NatinsName = natinsname
|
6876
7106
|
@Region = region
|
@@ -6891,6 +7121,9 @@ module TencentCloud
|
|
6891
7121
|
@EngineVersion = engineversion
|
6892
7122
|
@UpdateEnable = updateenable
|
6893
7123
|
@NeedProbeEngineUpdate = needprobeengineupdate
|
7124
|
+
@TrafficMode = trafficmode
|
7125
|
+
@Zone = zone
|
7126
|
+
@ZoneBak = zonebak
|
6894
7127
|
end
|
6895
7128
|
|
6896
7129
|
def deserialize(params)
|
@@ -6914,6 +7147,9 @@ module TencentCloud
|
|
6914
7147
|
@EngineVersion = params['EngineVersion']
|
6915
7148
|
@UpdateEnable = params['UpdateEnable']
|
6916
7149
|
@NeedProbeEngineUpdate = params['NeedProbeEngineUpdate']
|
7150
|
+
@TrafficMode = params['TrafficMode']
|
7151
|
+
@Zone = params['Zone']
|
7152
|
+
@ZoneBak = params['ZoneBak']
|
6917
7153
|
end
|
6918
7154
|
end
|
6919
7155
|
|
@@ -8411,10 +8647,16 @@ module TencentCloud
|
|
8411
8647
|
# @param BandWidth: 防火墙CVM带宽值
|
8412
8648
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
8413
8649
|
# @type BandWidth: Integer
|
8650
|
+
# @param Zone: 实例主机所在可用区
|
8651
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8652
|
+
# @type Zone: String
|
8653
|
+
# @param ZoneBak: 实例备机所在可用区
|
8654
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8655
|
+
# @type ZoneBak: String
|
8414
8656
|
|
8415
|
-
attr_accessor :FwInsId, :Region, :RegionZh, :RegionDetail, :ZoneZh, :ZoneZhBack, :BandWidth
|
8657
|
+
attr_accessor :FwInsId, :Region, :RegionZh, :RegionDetail, :ZoneZh, :ZoneZhBack, :BandWidth, :Zone, :ZoneBak
|
8416
8658
|
|
8417
|
-
def initialize(fwinsid=nil, region=nil, regionzh=nil, regiondetail=nil, zonezh=nil, zonezhback=nil, bandwidth=nil)
|
8659
|
+
def initialize(fwinsid=nil, region=nil, regionzh=nil, regiondetail=nil, zonezh=nil, zonezhback=nil, bandwidth=nil, zone=nil, zonebak=nil)
|
8418
8660
|
@FwInsId = fwinsid
|
8419
8661
|
@Region = region
|
8420
8662
|
@RegionZh = regionzh
|
@@ -8422,6 +8664,8 @@ module TencentCloud
|
|
8422
8664
|
@ZoneZh = zonezh
|
8423
8665
|
@ZoneZhBack = zonezhback
|
8424
8666
|
@BandWidth = bandwidth
|
8667
|
+
@Zone = zone
|
8668
|
+
@ZoneBak = zonebak
|
8425
8669
|
end
|
8426
8670
|
|
8427
8671
|
def deserialize(params)
|
@@ -8432,6 +8676,8 @@ module TencentCloud
|
|
8432
8676
|
@ZoneZh = params['ZoneZh']
|
8433
8677
|
@ZoneZhBack = params['ZoneZhBack']
|
8434
8678
|
@BandWidth = params['BandWidth']
|
8679
|
+
@Zone = params['Zone']
|
8680
|
+
@ZoneBak = params['ZoneBak']
|
8435
8681
|
end
|
8436
8682
|
end
|
8437
8683
|
|
@@ -8615,10 +8861,13 @@ module TencentCloud
|
|
8615
8861
|
# @param UpdateEnable: 引擎是否可升级:0,不可升级;1,可升级
|
8616
8862
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
8617
8863
|
# @type UpdateEnable: Integer
|
8864
|
+
# @param TrafficMode: 引擎运行模式,Normal:正常, OnlyRoute:透明模式
|
8865
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8866
|
+
# @type TrafficMode: String
|
8618
8867
|
|
8619
|
-
attr_accessor :FwInsName, :FwInsId, :FwMode, :JoinInsNum, :FwSwitchNum, :Status, :Time, :CcnId, :CcnName, :PeerConnectionId, :PeerConnectionName, :FwCvmLst, :JoinInsLst, :FwGateway, :FwGroupId, :RuleUsed, :RuleMax, :Width, :UserVpcWidth, :JoinInsIdLst, :FlowMax, :EngineVersion, :UpdateEnable
|
8868
|
+
attr_accessor :FwInsName, :FwInsId, :FwMode, :JoinInsNum, :FwSwitchNum, :Status, :Time, :CcnId, :CcnName, :PeerConnectionId, :PeerConnectionName, :FwCvmLst, :JoinInsLst, :FwGateway, :FwGroupId, :RuleUsed, :RuleMax, :Width, :UserVpcWidth, :JoinInsIdLst, :FlowMax, :EngineVersion, :UpdateEnable, :TrafficMode
|
8620
8869
|
|
8621
|
-
def initialize(fwinsname=nil, fwinsid=nil, fwmode=nil, joininsnum=nil, fwswitchnum=nil, status=nil, time=nil, ccnid=nil, ccnname=nil, peerconnectionid=nil, peerconnectionname=nil, fwcvmlst=nil, joininslst=nil, fwgateway=nil, fwgroupid=nil, ruleused=nil, rulemax=nil, width=nil, uservpcwidth=nil, joininsidlst=nil, flowmax=nil, engineversion=nil, updateenable=nil)
|
8870
|
+
def initialize(fwinsname=nil, fwinsid=nil, fwmode=nil, joininsnum=nil, fwswitchnum=nil, status=nil, time=nil, ccnid=nil, ccnname=nil, peerconnectionid=nil, peerconnectionname=nil, fwcvmlst=nil, joininslst=nil, fwgateway=nil, fwgroupid=nil, ruleused=nil, rulemax=nil, width=nil, uservpcwidth=nil, joininsidlst=nil, flowmax=nil, engineversion=nil, updateenable=nil, trafficmode=nil)
|
8622
8871
|
@FwInsName = fwinsname
|
8623
8872
|
@FwInsId = fwinsid
|
8624
8873
|
@FwMode = fwmode
|
@@ -8642,6 +8891,7 @@ module TencentCloud
|
|
8642
8891
|
@FlowMax = flowmax
|
8643
8892
|
@EngineVersion = engineversion
|
8644
8893
|
@UpdateEnable = updateenable
|
8894
|
+
@TrafficMode = trafficmode
|
8645
8895
|
end
|
8646
8896
|
|
8647
8897
|
def deserialize(params)
|
@@ -8689,6 +8939,7 @@ module TencentCloud
|
|
8689
8939
|
@FlowMax = params['FlowMax']
|
8690
8940
|
@EngineVersion = params['EngineVersion']
|
8691
8941
|
@UpdateEnable = params['UpdateEnable']
|
8942
|
+
@TrafficMode = params['TrafficMode']
|
8692
8943
|
end
|
8693
8944
|
end
|
8694
8945
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-cfw
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.686
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-10-
|
11
|
+
date: 2023-10-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|