tencentcloud-sdk-cfw 3.0.409 → 3.0.410
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/v20190904/client.rb +0 -144
- data/lib/v20190904/models.rb +0 -403
- 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: e5c0a123dd787bbc29e5aa3c0e8fbb60951e9171
|
4
|
+
data.tar.gz: 4e3d320e460cd9a99af77958a5e6a417008935f0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3c6e2603dbc1f20b4df4043567bdb35b7b516103684eb5caf0473be91741529766fdae36199d1d9c72aa8e644adc741b2dd8b039e315eb8ef9863b5e403a06d2
|
7
|
+
data.tar.gz: f46df08cd70255931d726c72fe301f3d1d9ccab113a3d05c8f97b4b3d1a60538b18eecad67e45df11b86cf99bfee479b5b577a9cd03cc2107100fed2c1f4e716
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.410
|
data/lib/v20190904/client.rb
CHANGED
@@ -197,30 +197,6 @@ module TencentCloud
|
|
197
197
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
198
198
|
end
|
199
199
|
|
200
|
-
# 创建安全组API规则
|
201
|
-
|
202
|
-
# @param request: Request instance for CreateSecurityGroupApiRules.
|
203
|
-
# @type request: :class:`Tencentcloud::cfw::V20190904::CreateSecurityGroupApiRulesRequest`
|
204
|
-
# @rtype: :class:`Tencentcloud::cfw::V20190904::CreateSecurityGroupApiRulesResponse`
|
205
|
-
def CreateSecurityGroupApiRules(request)
|
206
|
-
body = send_request('CreateSecurityGroupApiRules', request.serialize)
|
207
|
-
response = JSON.parse(body)
|
208
|
-
if response['Response'].key?('Error') == false
|
209
|
-
model = CreateSecurityGroupApiRulesResponse.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
200
|
# 创建企业安全组规则
|
225
201
|
|
226
202
|
# @param request: Request instance for CreateSecurityGroupRules.
|
@@ -413,30 +389,6 @@ module TencentCloud
|
|
413
389
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
414
390
|
end
|
415
391
|
|
416
|
-
# 获取地址模板列表
|
417
|
-
|
418
|
-
# @param request: Request instance for DescribeAddrTemplateList.
|
419
|
-
# @type request: :class:`Tencentcloud::cfw::V20190904::DescribeAddrTemplateListRequest`
|
420
|
-
# @rtype: :class:`Tencentcloud::cfw::V20190904::DescribeAddrTemplateListResponse`
|
421
|
-
def DescribeAddrTemplateList(request)
|
422
|
-
body = send_request('DescribeAddrTemplateList', request.serialize)
|
423
|
-
response = JSON.parse(body)
|
424
|
-
if response['Response'].key?('Error') == false
|
425
|
-
model = DescribeAddrTemplateListResponse.new
|
426
|
-
model.deserialize(response['Response'])
|
427
|
-
model
|
428
|
-
else
|
429
|
-
code = response['Response']['Error']['Code']
|
430
|
-
message = response['Response']['Error']['Message']
|
431
|
-
reqid = response['Response']['RequestId']
|
432
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
433
|
-
end
|
434
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
435
|
-
raise e
|
436
|
-
rescue StandardError => e
|
437
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
438
|
-
end
|
439
|
-
|
440
392
|
# 获取安全组关联实例列表
|
441
393
|
|
442
394
|
# @param request: Request instance for DescribeAssociatedInstanceList.
|
@@ -893,30 +845,6 @@ module TencentCloud
|
|
893
845
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
894
846
|
end
|
895
847
|
|
896
|
-
# 同步资产状态查询-互联网&VPC
|
897
|
-
|
898
|
-
# @param request: Request instance for DescribeSyncAssetStatus.
|
899
|
-
# @type request: :class:`Tencentcloud::cfw::V20190904::DescribeSyncAssetStatusRequest`
|
900
|
-
# @rtype: :class:`Tencentcloud::cfw::V20190904::DescribeSyncAssetStatusResponse`
|
901
|
-
def DescribeSyncAssetStatus(request)
|
902
|
-
body = send_request('DescribeSyncAssetStatus', request.serialize)
|
903
|
-
response = JSON.parse(body)
|
904
|
-
if response['Response'].key?('Error') == false
|
905
|
-
model = DescribeSyncAssetStatusResponse.new
|
906
|
-
model.deserialize(response['Response'])
|
907
|
-
model
|
908
|
-
else
|
909
|
-
code = response['Response']['Error']['Code']
|
910
|
-
message = response['Response']['Error']['Message']
|
911
|
-
reqid = response['Response']['RequestId']
|
912
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
913
|
-
end
|
914
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
915
|
-
raise e
|
916
|
-
rescue StandardError => e
|
917
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
918
|
-
end
|
919
|
-
|
920
848
|
# DescribeTLogInfo告警中心概况
|
921
849
|
|
922
850
|
# @param request: Request instance for DescribeTLogInfo.
|
@@ -1133,30 +1061,6 @@ module TencentCloud
|
|
1133
1061
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1134
1062
|
end
|
1135
1063
|
|
1136
|
-
# 一键开启和关闭
|
1137
|
-
|
1138
|
-
# @param request: Request instance for ModifyAllSwitchStatus.
|
1139
|
-
# @type request: :class:`Tencentcloud::cfw::V20190904::ModifyAllSwitchStatusRequest`
|
1140
|
-
# @rtype: :class:`Tencentcloud::cfw::V20190904::ModifyAllSwitchStatusResponse`
|
1141
|
-
def ModifyAllSwitchStatus(request)
|
1142
|
-
body = send_request('ModifyAllSwitchStatus', request.serialize)
|
1143
|
-
response = JSON.parse(body)
|
1144
|
-
if response['Response'].key?('Error') == false
|
1145
|
-
model = ModifyAllSwitchStatusResponse.new
|
1146
|
-
model.deserialize(response['Response'])
|
1147
|
-
model
|
1148
|
-
else
|
1149
|
-
code = response['Response']['Error']['Code']
|
1150
|
-
message = response['Response']['Error']['Message']
|
1151
|
-
reqid = response['Response']['RequestId']
|
1152
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1153
|
-
end
|
1154
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1155
|
-
raise e
|
1156
|
-
rescue StandardError => e
|
1157
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1158
|
-
end
|
1159
|
-
|
1160
1064
|
# VPC防火墙一键开关
|
1161
1065
|
|
1162
1066
|
# @param request: Request instance for ModifyAllVPCSwitchStatus.
|
@@ -1256,30 +1160,6 @@ module TencentCloud
|
|
1256
1160
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1257
1161
|
end
|
1258
1162
|
|
1259
|
-
# 修改单个防火墙开关
|
1260
|
-
|
1261
|
-
# @param request: Request instance for ModifyItemSwitchStatus.
|
1262
|
-
# @type request: :class:`Tencentcloud::cfw::V20190904::ModifyItemSwitchStatusRequest`
|
1263
|
-
# @rtype: :class:`Tencentcloud::cfw::V20190904::ModifyItemSwitchStatusResponse`
|
1264
|
-
def ModifyItemSwitchStatus(request)
|
1265
|
-
body = send_request('ModifyItemSwitchStatus', request.serialize)
|
1266
|
-
response = JSON.parse(body)
|
1267
|
-
if response['Response'].key?('Error') == false
|
1268
|
-
model = ModifyItemSwitchStatusResponse.new
|
1269
|
-
model.deserialize(response['Response'])
|
1270
|
-
model
|
1271
|
-
else
|
1272
|
-
code = response['Response']['Error']['Code']
|
1273
|
-
message = response['Response']['Error']['Message']
|
1274
|
-
reqid = response['Response']['RequestId']
|
1275
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1276
|
-
end
|
1277
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1278
|
-
raise e
|
1279
|
-
rescue StandardError => e
|
1280
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1281
|
-
end
|
1282
|
-
|
1283
1163
|
# 防火墙实例重新选择vpc或nat
|
1284
1164
|
|
1285
1165
|
# @param request: Request instance for ModifyNatFwReSelect.
|
@@ -1425,30 +1305,6 @@ module TencentCloud
|
|
1425
1305
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1426
1306
|
end
|
1427
1307
|
|
1428
|
-
# 启用停用全部规则
|
1429
|
-
|
1430
|
-
# @param request: Request instance for ModifySecurityGroupAllRuleStatus.
|
1431
|
-
# @type request: :class:`Tencentcloud::cfw::V20190904::ModifySecurityGroupAllRuleStatusRequest`
|
1432
|
-
# @rtype: :class:`Tencentcloud::cfw::V20190904::ModifySecurityGroupAllRuleStatusResponse`
|
1433
|
-
def ModifySecurityGroupAllRuleStatus(request)
|
1434
|
-
body = send_request('ModifySecurityGroupAllRuleStatus', request.serialize)
|
1435
|
-
response = JSON.parse(body)
|
1436
|
-
if response['Response'].key?('Error') == false
|
1437
|
-
model = ModifySecurityGroupAllRuleStatusResponse.new
|
1438
|
-
model.deserialize(response['Response'])
|
1439
|
-
model
|
1440
|
-
else
|
1441
|
-
code = response['Response']['Error']['Code']
|
1442
|
-
message = response['Response']['Error']['Message']
|
1443
|
-
reqid = response['Response']['RequestId']
|
1444
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1445
|
-
end
|
1446
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1447
|
-
raise e
|
1448
|
-
rescue StandardError => e
|
1449
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1450
|
-
end
|
1451
|
-
|
1452
1308
|
# 启用停用单条企业安全组规则
|
1453
1309
|
|
1454
1310
|
# @param request: Request instance for ModifySecurityGroupItemRuleStatus.
|
data/lib/v20190904/models.rb
CHANGED
@@ -682,61 +682,6 @@ module TencentCloud
|
|
682
682
|
end
|
683
683
|
end
|
684
684
|
|
685
|
-
# CreateSecurityGroupApiRules请求参数结构体
|
686
|
-
class CreateSecurityGroupApiRulesRequest < TencentCloud::Common::AbstractModel
|
687
|
-
# @param Data: 创建规则数据
|
688
|
-
# @type Data: Array
|
689
|
-
# @param Direction: 方向,0:出站,1:入站
|
690
|
-
# @type Direction: Integer
|
691
|
-
# @param Type: 插入类型,0:后插,1:前插,2:中插
|
692
|
-
# @type Type: Integer
|
693
|
-
# @param Area: 腾讯云地域的英文简写
|
694
|
-
# @type Area: String
|
695
|
-
|
696
|
-
attr_accessor :Data, :Direction, :Type, :Area
|
697
|
-
|
698
|
-
def initialize(data=nil, direction=nil, type=nil, area=nil)
|
699
|
-
@Data = data
|
700
|
-
@Direction = direction
|
701
|
-
@Type = type
|
702
|
-
@Area = area
|
703
|
-
end
|
704
|
-
|
705
|
-
def deserialize(params)
|
706
|
-
unless params['Data'].nil?
|
707
|
-
@Data = []
|
708
|
-
params['Data'].each do |i|
|
709
|
-
securitygroupapiruledata_tmp = SecurityGroupApiRuleData.new
|
710
|
-
securitygroupapiruledata_tmp.deserialize(i)
|
711
|
-
@Data << securitygroupapiruledata_tmp
|
712
|
-
end
|
713
|
-
end
|
714
|
-
@Direction = params['Direction']
|
715
|
-
@Type = params['Type']
|
716
|
-
@Area = params['Area']
|
717
|
-
end
|
718
|
-
end
|
719
|
-
|
720
|
-
# CreateSecurityGroupApiRules返回参数结构体
|
721
|
-
class CreateSecurityGroupApiRulesResponse < TencentCloud::Common::AbstractModel
|
722
|
-
# @param Status: 状态值,0:添加成功,非0:添加失败
|
723
|
-
# @type Status: Integer
|
724
|
-
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
725
|
-
# @type RequestId: String
|
726
|
-
|
727
|
-
attr_accessor :Status, :RequestId
|
728
|
-
|
729
|
-
def initialize(status=nil, requestid=nil)
|
730
|
-
@Status = status
|
731
|
-
@RequestId = requestid
|
732
|
-
end
|
733
|
-
|
734
|
-
def deserialize(params)
|
735
|
-
@Status = params['Status']
|
736
|
-
@RequestId = params['RequestId']
|
737
|
-
end
|
738
|
-
end
|
739
|
-
|
740
685
|
# CreateSecurityGroupRules请求参数结构体
|
741
686
|
class CreateSecurityGroupRulesRequest < TencentCloud::Common::AbstractModel
|
742
687
|
# @param Data: 添加的企业安全组规则数据
|
@@ -1194,73 +1139,6 @@ module TencentCloud
|
|
1194
1139
|
end
|
1195
1140
|
end
|
1196
1141
|
|
1197
|
-
# DescribeAddrTemplateList请求参数结构体
|
1198
|
-
class DescribeAddrTemplateListRequest < TencentCloud::Common::AbstractModel
|
1199
|
-
# @param Offset: 偏移量,分页用
|
1200
|
-
# @type Offset: Integer
|
1201
|
-
# @param Limit: 条数,分页用
|
1202
|
-
# @type Limit: Integer
|
1203
|
-
# @param By: 排序字段,取值 'UpdateTime' | 'RulesNum'
|
1204
|
-
# @type By: String
|
1205
|
-
# @param Order: 排序,取值 'asc'|'desc'
|
1206
|
-
# @type Order: String
|
1207
|
-
# @param SearchValue: 搜索值
|
1208
|
-
# @type SearchValue: String
|
1209
|
-
|
1210
|
-
attr_accessor :Offset, :Limit, :By, :Order, :SearchValue
|
1211
|
-
|
1212
|
-
def initialize(offset=nil, limit=nil, by=nil, order=nil, searchvalue=nil)
|
1213
|
-
@Offset = offset
|
1214
|
-
@Limit = limit
|
1215
|
-
@By = by
|
1216
|
-
@Order = order
|
1217
|
-
@SearchValue = searchvalue
|
1218
|
-
end
|
1219
|
-
|
1220
|
-
def deserialize(params)
|
1221
|
-
@Offset = params['Offset']
|
1222
|
-
@Limit = params['Limit']
|
1223
|
-
@By = params['By']
|
1224
|
-
@Order = params['Order']
|
1225
|
-
@SearchValue = params['SearchValue']
|
1226
|
-
end
|
1227
|
-
end
|
1228
|
-
|
1229
|
-
# DescribeAddrTemplateList返回参数结构体
|
1230
|
-
class DescribeAddrTemplateListResponse < TencentCloud::Common::AbstractModel
|
1231
|
-
# @param Total: 模板总数
|
1232
|
-
# @type Total: Integer
|
1233
|
-
# @param Data: 模板列表数据
|
1234
|
-
# @type Data: Array
|
1235
|
-
# @param NameList: 模板名称列表
|
1236
|
-
# @type NameList: Array
|
1237
|
-
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1238
|
-
# @type RequestId: String
|
1239
|
-
|
1240
|
-
attr_accessor :Total, :Data, :NameList, :RequestId
|
1241
|
-
|
1242
|
-
def initialize(total=nil, data=nil, namelist=nil, requestid=nil)
|
1243
|
-
@Total = total
|
1244
|
-
@Data = data
|
1245
|
-
@NameList = namelist
|
1246
|
-
@RequestId = requestid
|
1247
|
-
end
|
1248
|
-
|
1249
|
-
def deserialize(params)
|
1250
|
-
@Total = params['Total']
|
1251
|
-
unless params['Data'].nil?
|
1252
|
-
@Data = []
|
1253
|
-
params['Data'].each do |i|
|
1254
|
-
templatelistinfo_tmp = TemplateListInfo.new
|
1255
|
-
templatelistinfo_tmp.deserialize(i)
|
1256
|
-
@Data << templatelistinfo_tmp
|
1257
|
-
end
|
1258
|
-
end
|
1259
|
-
@NameList = params['NameList']
|
1260
|
-
@RequestId = params['RequestId']
|
1261
|
-
end
|
1262
|
-
end
|
1263
|
-
|
1264
1142
|
# DescribeAssociatedInstanceList请求参数结构体
|
1265
1143
|
class DescribeAssociatedInstanceListRequest < TencentCloud::Common::AbstractModel
|
1266
1144
|
# @param Offset: 列表偏移量
|
@@ -2427,42 +2305,6 @@ module TencentCloud
|
|
2427
2305
|
end
|
2428
2306
|
end
|
2429
2307
|
|
2430
|
-
# DescribeSyncAssetStatus请求参数结构体
|
2431
|
-
class DescribeSyncAssetStatusRequest < TencentCloud::Common::AbstractModel
|
2432
|
-
# @param Type: 0: 互联网防火墙开关,1:vpc 防火墙开关
|
2433
|
-
# @type Type: Integer
|
2434
|
-
|
2435
|
-
attr_accessor :Type
|
2436
|
-
|
2437
|
-
def initialize(type=nil)
|
2438
|
-
@Type = type
|
2439
|
-
end
|
2440
|
-
|
2441
|
-
def deserialize(params)
|
2442
|
-
@Type = params['Type']
|
2443
|
-
end
|
2444
|
-
end
|
2445
|
-
|
2446
|
-
# DescribeSyncAssetStatus返回参数结构体
|
2447
|
-
class DescribeSyncAssetStatusResponse < TencentCloud::Common::AbstractModel
|
2448
|
-
# @param Status: 1-更新中 2-更新完成 3、4-更新失败
|
2449
|
-
# @type Status: Integer
|
2450
|
-
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2451
|
-
# @type RequestId: String
|
2452
|
-
|
2453
|
-
attr_accessor :Status, :RequestId
|
2454
|
-
|
2455
|
-
def initialize(status=nil, requestid=nil)
|
2456
|
-
@Status = status
|
2457
|
-
@RequestId = requestid
|
2458
|
-
end
|
2459
|
-
|
2460
|
-
def deserialize(params)
|
2461
|
-
@Status = params['Status']
|
2462
|
-
@RequestId = params['RequestId']
|
2463
|
-
end
|
2464
|
-
end
|
2465
|
-
|
2466
2308
|
# DescribeTLogInfo请求参数结构体
|
2467
2309
|
class DescribeTLogInfoRequest < TencentCloud::Common::AbstractModel
|
2468
2310
|
# @param StartTime: 开始时间
|
@@ -3092,58 +2934,6 @@ module TencentCloud
|
|
3092
2934
|
end
|
3093
2935
|
end
|
3094
2936
|
|
3095
|
-
# ModifyAllSwitchStatus请求参数结构体
|
3096
|
-
class ModifyAllSwitchStatusRequest < TencentCloud::Common::AbstractModel
|
3097
|
-
# @param Status: 状态,0:关闭,1:开启
|
3098
|
-
# @type Status: Integer
|
3099
|
-
# @param Type: 0: 互联网边界防火墙开关,1:vpc防火墙开关
|
3100
|
-
# @type Type: Integer
|
3101
|
-
# @param Ids: 选中的防火墙开关Id
|
3102
|
-
# @type Ids: Array
|
3103
|
-
# @param ChangeType: NAT开关切换类型,1,单个子网,2,同开同关,3,全部
|
3104
|
-
# @type ChangeType: Integer
|
3105
|
-
# @param Area: NAT实例所在地域
|
3106
|
-
# @type Area: String
|
3107
|
-
|
3108
|
-
attr_accessor :Status, :Type, :Ids, :ChangeType, :Area
|
3109
|
-
|
3110
|
-
def initialize(status=nil, type=nil, ids=nil, changetype=nil, area=nil)
|
3111
|
-
@Status = status
|
3112
|
-
@Type = type
|
3113
|
-
@Ids = ids
|
3114
|
-
@ChangeType = changetype
|
3115
|
-
@Area = area
|
3116
|
-
end
|
3117
|
-
|
3118
|
-
def deserialize(params)
|
3119
|
-
@Status = params['Status']
|
3120
|
-
@Type = params['Type']
|
3121
|
-
@Ids = params['Ids']
|
3122
|
-
@ChangeType = params['ChangeType']
|
3123
|
-
@Area = params['Area']
|
3124
|
-
end
|
3125
|
-
end
|
3126
|
-
|
3127
|
-
# ModifyAllSwitchStatus返回参数结构体
|
3128
|
-
class ModifyAllSwitchStatusResponse < TencentCloud::Common::AbstractModel
|
3129
|
-
# @param Status: 修改成功与否的状态值 0:修改成功,非 0:修改失败
|
3130
|
-
# @type Status: Integer
|
3131
|
-
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3132
|
-
# @type RequestId: String
|
3133
|
-
|
3134
|
-
attr_accessor :Status, :RequestId
|
3135
|
-
|
3136
|
-
def initialize(status=nil, requestid=nil)
|
3137
|
-
@Status = status
|
3138
|
-
@RequestId = requestid
|
3139
|
-
end
|
3140
|
-
|
3141
|
-
def deserialize(params)
|
3142
|
-
@Status = params['Status']
|
3143
|
-
@RequestId = params['RequestId']
|
3144
|
-
end
|
3145
|
-
end
|
3146
|
-
|
3147
2937
|
# ModifyAllVPCSwitchStatus请求参数结构体
|
3148
2938
|
class ModifyAllVPCSwitchStatusRequest < TencentCloud::Common::AbstractModel
|
3149
2939
|
# @param Status: 状态,0:关闭,1:开启
|
@@ -3345,50 +3135,6 @@ module TencentCloud
|
|
3345
3135
|
end
|
3346
3136
|
end
|
3347
3137
|
|
3348
|
-
# ModifyItemSwitchStatus请求参数结构体
|
3349
|
-
class ModifyItemSwitchStatusRequest < TencentCloud::Common::AbstractModel
|
3350
|
-
# @param Id: id值
|
3351
|
-
# @type Id: Integer
|
3352
|
-
# @param Status: 状态值,0: 关闭 ,1:开启
|
3353
|
-
# @type Status: Integer
|
3354
|
-
# @param Type: 0: 互联网边界边界防火墙开关,1:vpc防火墙开关
|
3355
|
-
# @type Type: Integer
|
3356
|
-
|
3357
|
-
attr_accessor :Id, :Status, :Type
|
3358
|
-
|
3359
|
-
def initialize(id=nil, status=nil, type=nil)
|
3360
|
-
@Id = id
|
3361
|
-
@Status = status
|
3362
|
-
@Type = type
|
3363
|
-
end
|
3364
|
-
|
3365
|
-
def deserialize(params)
|
3366
|
-
@Id = params['Id']
|
3367
|
-
@Status = params['Status']
|
3368
|
-
@Type = params['Type']
|
3369
|
-
end
|
3370
|
-
end
|
3371
|
-
|
3372
|
-
# ModifyItemSwitchStatus返回参数结构体
|
3373
|
-
class ModifyItemSwitchStatusResponse < TencentCloud::Common::AbstractModel
|
3374
|
-
# @param Status: 修改成功与否状态值 0:修改成功,非 0:修改失败
|
3375
|
-
# @type Status: Integer
|
3376
|
-
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3377
|
-
# @type RequestId: String
|
3378
|
-
|
3379
|
-
attr_accessor :Status, :RequestId
|
3380
|
-
|
3381
|
-
def initialize(status=nil, requestid=nil)
|
3382
|
-
@Status = status
|
3383
|
-
@RequestId = requestid
|
3384
|
-
end
|
3385
|
-
|
3386
|
-
def deserialize(params)
|
3387
|
-
@Status = params['Status']
|
3388
|
-
@RequestId = params['RequestId']
|
3389
|
-
end
|
3390
|
-
end
|
3391
|
-
|
3392
3138
|
# ModifyNatFwReSelect请求参数结构体
|
3393
3139
|
class ModifyNatFwReSelectRequest < TencentCloud::Common::AbstractModel
|
3394
3140
|
# @param Mode: 模式 1:接入模式;0:新增模式
|
@@ -3646,55 +3392,6 @@ module TencentCloud
|
|
3646
3392
|
end
|
3647
3393
|
end
|
3648
3394
|
|
3649
|
-
# ModifySecurityGroupAllRuleStatus请求参数结构体
|
3650
|
-
class ModifySecurityGroupAllRuleStatusRequest < TencentCloud::Common::AbstractModel
|
3651
|
-
# @param Status: 列表规则状态,0:全部停用,1:全部启用
|
3652
|
-
# @type Status: Integer
|
3653
|
-
# @param Direction: 方向,0:出站,1:入站
|
3654
|
-
# @type Direction: Integer
|
3655
|
-
# @param EdgeId: Edge ID值
|
3656
|
-
# @type EdgeId: String
|
3657
|
-
# @param Area: NAT地域, 腾讯云地域的英文简写
|
3658
|
-
# @type Area: String
|
3659
|
-
|
3660
|
-
attr_accessor :Status, :Direction, :EdgeId, :Area
|
3661
|
-
|
3662
|
-
def initialize(status=nil, direction=nil, edgeid=nil, area=nil)
|
3663
|
-
@Status = status
|
3664
|
-
@Direction = direction
|
3665
|
-
@EdgeId = edgeid
|
3666
|
-
@Area = area
|
3667
|
-
end
|
3668
|
-
|
3669
|
-
def deserialize(params)
|
3670
|
-
@Status = params['Status']
|
3671
|
-
@Direction = params['Direction']
|
3672
|
-
@EdgeId = params['EdgeId']
|
3673
|
-
@Area = params['Area']
|
3674
|
-
end
|
3675
|
-
end
|
3676
|
-
|
3677
|
-
# ModifySecurityGroupAllRuleStatus返回参数结构体
|
3678
|
-
class ModifySecurityGroupAllRuleStatusResponse < TencentCloud::Common::AbstractModel
|
3679
|
-
# @param Status: 0: 修改成功, 其他: 修改失败
|
3680
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
3681
|
-
# @type Status: Integer
|
3682
|
-
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3683
|
-
# @type RequestId: String
|
3684
|
-
|
3685
|
-
attr_accessor :Status, :RequestId
|
3686
|
-
|
3687
|
-
def initialize(status=nil, requestid=nil)
|
3688
|
-
@Status = status
|
3689
|
-
@RequestId = requestid
|
3690
|
-
end
|
3691
|
-
|
3692
|
-
def deserialize(params)
|
3693
|
-
@Status = params['Status']
|
3694
|
-
@RequestId = params['RequestId']
|
3695
|
-
end
|
3696
|
-
end
|
3697
|
-
|
3698
3395
|
# ModifySecurityGroupItemRuleStatus请求参数结构体
|
3699
3396
|
class ModifySecurityGroupItemRuleStatusRequest < TencentCloud::Common::AbstractModel
|
3700
3397
|
# @param Direction: 方向,0:出站,1:入站,默认1
|
@@ -4386,54 +4083,6 @@ module TencentCloud
|
|
4386
4083
|
end
|
4387
4084
|
end
|
4388
4085
|
|
4389
|
-
# 添加安全组Api规则对象
|
4390
|
-
class SecurityGroupApiRuleData < TencentCloud::Common::AbstractModel
|
4391
|
-
# @param SourceId: 访问源,入站时为Ip/Cidr,默认为0.0.0.0/0; 出站时当RuleType为1时,支持内网Ip/Cidr, 当RuleType为2时,填实例ID
|
4392
|
-
# @type SourceId: String
|
4393
|
-
# @param TargetId: 访问目的,出站时为Ip/Cidr,默认为0.0.0.0/0;入站时当RuleType为1时,支持内网Ip/Cidr, 当RuleType为2时,填实例ID
|
4394
|
-
# @type TargetId: String
|
4395
|
-
# @param Protocol: 协议,支持ANY/TCP/UDP/ICMP
|
4396
|
-
# @type Protocol: String
|
4397
|
-
# @param Port: 端口, 当Protocol为ANY或ICMP时,Port为-1/-1
|
4398
|
-
# @type Port: String
|
4399
|
-
# @param Strategy: 策略, 1:阻断,2:放行
|
4400
|
-
# @type Strategy: String
|
4401
|
-
# @param Detail: 描述
|
4402
|
-
# @type Detail: String
|
4403
|
-
# @param RuleType: 规则类型,1:VpcId+Ip/Cidr, 2: 实例ID,入站时为访问目的类型,出站时为访问源类型
|
4404
|
-
# @type RuleType: Integer
|
4405
|
-
# @param OrderIndex: 执行顺序,中间插入必传,前插、后插非必传
|
4406
|
-
# @type OrderIndex: Integer
|
4407
|
-
# @param VpcId: 私有网络ID,当RuleType为1时必传
|
4408
|
-
# @type VpcId: String
|
4409
|
-
|
4410
|
-
attr_accessor :SourceId, :TargetId, :Protocol, :Port, :Strategy, :Detail, :RuleType, :OrderIndex, :VpcId
|
4411
|
-
|
4412
|
-
def initialize(sourceid=nil, targetid=nil, protocol=nil, port=nil, strategy=nil, detail=nil, ruletype=nil, orderindex=nil, vpcid=nil)
|
4413
|
-
@SourceId = sourceid
|
4414
|
-
@TargetId = targetid
|
4415
|
-
@Protocol = protocol
|
4416
|
-
@Port = port
|
4417
|
-
@Strategy = strategy
|
4418
|
-
@Detail = detail
|
4419
|
-
@RuleType = ruletype
|
4420
|
-
@OrderIndex = orderindex
|
4421
|
-
@VpcId = vpcid
|
4422
|
-
end
|
4423
|
-
|
4424
|
-
def deserialize(params)
|
4425
|
-
@SourceId = params['SourceId']
|
4426
|
-
@TargetId = params['TargetId']
|
4427
|
-
@Protocol = params['Protocol']
|
4428
|
-
@Port = params['Port']
|
4429
|
-
@Strategy = params['Strategy']
|
4430
|
-
@Detail = params['Detail']
|
4431
|
-
@RuleType = params['RuleType']
|
4432
|
-
@OrderIndex = params['OrderIndex']
|
4433
|
-
@VpcId = params['VpcId']
|
4434
|
-
end
|
4435
|
-
end
|
4436
|
-
|
4437
4086
|
# 双向下发的企业安全组规则
|
4438
4087
|
class SecurityGroupBothWayInfo < TencentCloud::Common::AbstractModel
|
4439
4088
|
# @param OrderIndex: 执行顺序
|
@@ -5085,58 +4734,6 @@ module TencentCloud
|
|
5085
4734
|
end
|
5086
4735
|
end
|
5087
4736
|
|
5088
|
-
# 地址模版列表数据
|
5089
|
-
class TemplateListInfo < TencentCloud::Common::AbstractModel
|
5090
|
-
# @param Uuid: 模版ID
|
5091
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
5092
|
-
# @type Uuid: String
|
5093
|
-
# @param Name: 模版名称
|
5094
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
5095
|
-
# @type Name: String
|
5096
|
-
# @param Detail: 描述
|
5097
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
5098
|
-
# @type Detail: String
|
5099
|
-
# @param IpString: IP模版
|
5100
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
5101
|
-
# @type IpString: String
|
5102
|
-
# @param InsertTime: 插入时间
|
5103
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
5104
|
-
# @type InsertTime: String
|
5105
|
-
# @param UpdateTime: 修改时间
|
5106
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
5107
|
-
# @type UpdateTime: String
|
5108
|
-
# @param Type: 模版类型
|
5109
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
5110
|
-
# @type Type: Integer
|
5111
|
-
# @param RulesNum: 关联规则条数
|
5112
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
5113
|
-
# @type RulesNum: Integer
|
5114
|
-
|
5115
|
-
attr_accessor :Uuid, :Name, :Detail, :IpString, :InsertTime, :UpdateTime, :Type, :RulesNum
|
5116
|
-
|
5117
|
-
def initialize(uuid=nil, name=nil, detail=nil, ipstring=nil, inserttime=nil, updatetime=nil, type=nil, rulesnum=nil)
|
5118
|
-
@Uuid = uuid
|
5119
|
-
@Name = name
|
5120
|
-
@Detail = detail
|
5121
|
-
@IpString = ipstring
|
5122
|
-
@InsertTime = inserttime
|
5123
|
-
@UpdateTime = updatetime
|
5124
|
-
@Type = type
|
5125
|
-
@RulesNum = rulesnum
|
5126
|
-
end
|
5127
|
-
|
5128
|
-
def deserialize(params)
|
5129
|
-
@Uuid = params['Uuid']
|
5130
|
-
@Name = params['Name']
|
5131
|
-
@Detail = params['Detail']
|
5132
|
-
@IpString = params['IpString']
|
5133
|
-
@InsertTime = params['InsertTime']
|
5134
|
-
@UpdateTime = params['UpdateTime']
|
5135
|
-
@Type = params['Type']
|
5136
|
-
@RulesNum = params['RulesNum']
|
5137
|
-
end
|
5138
|
-
end
|
5139
|
-
|
5140
4737
|
# 未处置事件详情
|
5141
4738
|
class UnHandleEvent < TencentCloud::Common::AbstractModel
|
5142
4739
|
# @param EventTableListStruct: 伪攻击链类型
|
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.410
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-09-
|
11
|
+
date: 2022-09-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|