tencentcloud-sdk-cfw 3.0.655 → 3.0.656

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 97c96da2f9059ffb2c04e7dc7cc30914c656af2e
4
- data.tar.gz: 892fa80ac3e25374a723811f0c759bba5f53f275
3
+ metadata.gz: 46754981ec0f978a227c0f833b7a194d52cc58da
4
+ data.tar.gz: 399fbc2826ee159352cbfe380e3c47260bfac919
5
5
  SHA512:
6
- metadata.gz: 236e1c712231ecb3c9401ec498c109f524ea96abdad8e1d0e2e85089c01784135da146d7c72e402b12bc02af4310065ce3b8ab10fbf1cc7d7a06248e36d0a901
7
- data.tar.gz: 32df4e2bee75ed11936eb406c56b225c9c64608a60795641c885474f1c76d0f5940aad39e0c4c310519c8f4278d5b4b2a13225d92370f53898ea8a69ec0e6339
6
+ metadata.gz: a01986f268c54438d26395375377584508953f765a3ecef00f1d0d144b343690ebd8d29ce3c053f1da267114ec89b32adaf50e9886334826da6106daf692f4d4
7
+ data.tar.gz: 03da5ca5479ab874487a6d463ba37a8a820e3299acdfebac0523ff0d3167869ea1fbf474b18b69fcf2ad51a91775add2cffa3efc440599e52db091342fc10f9d
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.655
1
+ 3.0.656
@@ -629,6 +629,54 @@ module TencentCloud
629
629
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
630
630
  end
631
631
 
632
+ # 查询地址模板列表
633
+
634
+ # @param request: Request instance for DescribeAddressTemplateList.
635
+ # @type request: :class:`Tencentcloud::cfw::V20190904::DescribeAddressTemplateListRequest`
636
+ # @rtype: :class:`Tencentcloud::cfw::V20190904::DescribeAddressTemplateListResponse`
637
+ def DescribeAddressTemplateList(request)
638
+ body = send_request('DescribeAddressTemplateList', request.serialize)
639
+ response = JSON.parse(body)
640
+ if response['Response'].key?('Error') == false
641
+ model = DescribeAddressTemplateListResponse.new
642
+ model.deserialize(response['Response'])
643
+ model
644
+ else
645
+ code = response['Response']['Error']['Code']
646
+ message = response['Response']['Error']['Message']
647
+ reqid = response['Response']['RequestId']
648
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
649
+ end
650
+ rescue TencentCloud::Common::TencentCloudSDKException => e
651
+ raise e
652
+ rescue StandardError => e
653
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
654
+ end
655
+
656
+ # 资产同步状态查询
657
+
658
+ # @param request: Request instance for DescribeAssetSync.
659
+ # @type request: :class:`Tencentcloud::cfw::V20190904::DescribeAssetSyncRequest`
660
+ # @rtype: :class:`Tencentcloud::cfw::V20190904::DescribeAssetSyncResponse`
661
+ def DescribeAssetSync(request)
662
+ body = send_request('DescribeAssetSync', request.serialize)
663
+ response = JSON.parse(body)
664
+ if response['Response'].key?('Error') == false
665
+ model = DescribeAssetSyncResponse.new
666
+ model.deserialize(response['Response'])
667
+ model
668
+ else
669
+ code = response['Response']['Error']['Code']
670
+ message = response['Response']['Error']['Message']
671
+ reqid = response['Response']['RequestId']
672
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
673
+ end
674
+ rescue TencentCloud::Common::TencentCloudSDKException => e
675
+ raise e
676
+ rescue StandardError => e
677
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
678
+ end
679
+
632
680
  # 获取安全组关联实例列表
633
681
 
634
682
  # @param request: Request instance for DescribeAssociatedInstanceList.
@@ -869,6 +917,30 @@ module TencentCloud
869
917
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
870
918
  end
871
919
 
920
+ # 获取防火墙同步状态,一般在执行同步操作后查询
921
+
922
+ # @param request: Request instance for DescribeFwSyncStatus.
923
+ # @type request: :class:`Tencentcloud::cfw::V20190904::DescribeFwSyncStatusRequest`
924
+ # @rtype: :class:`Tencentcloud::cfw::V20190904::DescribeFwSyncStatusResponse`
925
+ def DescribeFwSyncStatus(request)
926
+ body = send_request('DescribeFwSyncStatus', request.serialize)
927
+ response = JSON.parse(body)
928
+ if response['Response'].key?('Error') == false
929
+ model = DescribeFwSyncStatusResponse.new
930
+ model.deserialize(response['Response'])
931
+ model
932
+ else
933
+ code = response['Response']['Error']['Code']
934
+ message = response['Response']['Error']['Message']
935
+ reqid = response['Response']['RequestId']
936
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
937
+ end
938
+ rescue TencentCloud::Common::TencentCloudSDKException => e
939
+ raise e
940
+ rescue StandardError => e
941
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
942
+ end
943
+
872
944
  # DescribeGuideScanInfo新手引导扫描接口信息
873
945
 
874
946
  # @param request: Request instance for DescribeGuideScanInfo.
@@ -1085,6 +1157,30 @@ module TencentCloud
1085
1157
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1086
1158
  end
1087
1159
 
1160
+ # 查询NAT边界防火墙开关列表
1161
+
1162
+ # @param request: Request instance for DescribeNatSwitchList.
1163
+ # @type request: :class:`Tencentcloud::cfw::V20190904::DescribeNatSwitchListRequest`
1164
+ # @rtype: :class:`Tencentcloud::cfw::V20190904::DescribeNatSwitchListResponse`
1165
+ def DescribeNatSwitchList(request)
1166
+ body = send_request('DescribeNatSwitchList', request.serialize)
1167
+ response = JSON.parse(body)
1168
+ if response['Response'].key?('Error') == false
1169
+ model = DescribeNatSwitchListResponse.new
1170
+ model.deserialize(response['Response'])
1171
+ model
1172
+ else
1173
+ code = response['Response']['Error']['Code']
1174
+ message = response['Response']['Error']['Message']
1175
+ reqid = response['Response']['RequestId']
1176
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1177
+ end
1178
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1179
+ raise e
1180
+ rescue StandardError => e
1181
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1182
+ end
1183
+
1088
1184
  # DescribeResourceGroup资产中心资产树信息
1089
1185
 
1090
1186
  # @param request: Request instance for DescribeResourceGroup.
@@ -1445,6 +1541,30 @@ module TencentCloud
1445
1541
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1446
1542
  end
1447
1543
 
1544
+ # 修改地址模板
1545
+
1546
+ # @param request: Request instance for ModifyAddressTemplate.
1547
+ # @type request: :class:`Tencentcloud::cfw::V20190904::ModifyAddressTemplateRequest`
1548
+ # @rtype: :class:`Tencentcloud::cfw::V20190904::ModifyAddressTemplateResponse`
1549
+ def ModifyAddressTemplate(request)
1550
+ body = send_request('ModifyAddressTemplate', request.serialize)
1551
+ response = JSON.parse(body)
1552
+ if response['Response'].key?('Error') == false
1553
+ model = ModifyAddressTemplateResponse.new
1554
+ model.deserialize(response['Response'])
1555
+ model
1556
+ else
1557
+ code = response['Response']['Error']['Code']
1558
+ message = response['Response']['Error']['Message']
1559
+ reqid = response['Response']['RequestId']
1560
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1561
+ end
1562
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1563
+ raise e
1564
+ rescue StandardError => e
1565
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1566
+ end
1567
+
1448
1568
  # 互联网边界防火墙一键开关
1449
1569
 
1450
1570
  # @param request: Request instance for ModifyAllPublicIPSwitchStatus.
@@ -1541,6 +1661,30 @@ module TencentCloud
1541
1661
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1542
1662
  end
1543
1663
 
1664
+ # 资产同步
1665
+
1666
+ # @param request: Request instance for ModifyAssetSync.
1667
+ # @type request: :class:`Tencentcloud::cfw::V20190904::ModifyAssetSyncRequest`
1668
+ # @rtype: :class:`Tencentcloud::cfw::V20190904::ModifyAssetSyncResponse`
1669
+ def ModifyAssetSync(request)
1670
+ body = send_request('ModifyAssetSync', request.serialize)
1671
+ response = JSON.parse(body)
1672
+ if response['Response'].key?('Error') == false
1673
+ model = ModifyAssetSyncResponse.new
1674
+ model.deserialize(response['Response'])
1675
+ model
1676
+ else
1677
+ code = response['Response']['Error']['Code']
1678
+ message = response['Response']['Error']['Message']
1679
+ reqid = response['Response']['RequestId']
1680
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1681
+ end
1682
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1683
+ raise e
1684
+ rescue StandardError => e
1685
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1686
+ end
1687
+
1544
1688
  # 支持对封禁列表、放通列表如下操作:
1545
1689
  # 批量增加封禁IP、放通IP/域名
1546
1690
  # 批量删除封禁IP、放通IP/域名
@@ -1833,6 +1977,30 @@ module TencentCloud
1833
1977
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1834
1978
  end
1835
1979
 
1980
+ # 编辑NAT防火墙
1981
+
1982
+ # @param request: Request instance for ModifyNatInstance.
1983
+ # @type request: :class:`Tencentcloud::cfw::V20190904::ModifyNatInstanceRequest`
1984
+ # @rtype: :class:`Tencentcloud::cfw::V20190904::ModifyNatInstanceResponse`
1985
+ def ModifyNatInstance(request)
1986
+ body = send_request('ModifyNatInstance', request.serialize)
1987
+ response = JSON.parse(body)
1988
+ if response['Response'].key?('Error') == false
1989
+ model = ModifyNatInstanceResponse.new
1990
+ model.deserialize(response['Response'])
1991
+ model
1992
+ else
1993
+ code = response['Response']['Error']['Code']
1994
+ message = response['Response']['Error']['Message']
1995
+ reqid = response['Response']['RequestId']
1996
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1997
+ end
1998
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1999
+ raise e
2000
+ rescue StandardError => e
2001
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2002
+ end
2003
+
1836
2004
  # NAT防火墙规则快速排序
1837
2005
 
1838
2006
  # @param request: Request instance for ModifyNatSequenceRules.
@@ -2362,6 +2530,30 @@ module TencentCloud
2362
2530
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2363
2531
  end
2364
2532
 
2533
+ # 同步防火墙操作,包括同步防火墙路由(若vpc,专线网关等增加了Cidr,需要手动同步一下路由使之在防火墙上生效)等。
2534
+
2535
+ # @param request: Request instance for SyncFwOperate.
2536
+ # @type request: :class:`Tencentcloud::cfw::V20190904::SyncFwOperateRequest`
2537
+ # @rtype: :class:`Tencentcloud::cfw::V20190904::SyncFwOperateResponse`
2538
+ def SyncFwOperate(request)
2539
+ body = send_request('SyncFwOperate', request.serialize)
2540
+ response = JSON.parse(body)
2541
+ if response['Response'].key?('Error') == false
2542
+ model = SyncFwOperateResponse.new
2543
+ model.deserialize(response['Response'])
2544
+ model
2545
+ else
2546
+ code = response['Response']['Error']['Code']
2547
+ message = response['Response']['Error']['Message']
2548
+ reqid = response['Response']['RequestId']
2549
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2550
+ end
2551
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2552
+ raise e
2553
+ rescue StandardError => e
2554
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2555
+ end
2556
+
2365
2557
 
2366
2558
  end
2367
2559
  end
@@ -2157,6 +2157,122 @@ module TencentCloud
2157
2157
  end
2158
2158
  end
2159
2159
 
2160
+ # DescribeAddressTemplateList请求参数结构体
2161
+ class DescribeAddressTemplateListRequest < TencentCloud::Common::AbstractModel
2162
+ # @param Offset: 偏移量,分页用
2163
+ # @type Offset: Integer
2164
+ # @param Limit: 条数,分页用
2165
+ # @type Limit: Integer
2166
+ # @param By: 排序字段,取值 'UpdateTime' | 'RulesNum'
2167
+ # @type By: String
2168
+ # @param Order: 排序,取值 'asc'|'desc'
2169
+ # @type Order: String
2170
+ # @param SearchValue: 搜索值
2171
+ # @type SearchValue: String
2172
+ # @param Uuid: 检索地址模板唯一id
2173
+ # @type Uuid: String
2174
+
2175
+ attr_accessor :Offset, :Limit, :By, :Order, :SearchValue, :Uuid
2176
+
2177
+ def initialize(offset=nil, limit=nil, by=nil, order=nil, searchvalue=nil, uuid=nil)
2178
+ @Offset = offset
2179
+ @Limit = limit
2180
+ @By = by
2181
+ @Order = order
2182
+ @SearchValue = searchvalue
2183
+ @Uuid = uuid
2184
+ end
2185
+
2186
+ def deserialize(params)
2187
+ @Offset = params['Offset']
2188
+ @Limit = params['Limit']
2189
+ @By = params['By']
2190
+ @Order = params['Order']
2191
+ @SearchValue = params['SearchValue']
2192
+ @Uuid = params['Uuid']
2193
+ end
2194
+ end
2195
+
2196
+ # DescribeAddressTemplateList返回参数结构体
2197
+ class DescribeAddressTemplateListResponse < TencentCloud::Common::AbstractModel
2198
+ # @param Total: 模板总数
2199
+ # @type Total: Integer
2200
+ # @param Data: 模板列表数据
2201
+ # @type Data: Array
2202
+ # @param NameList: 模板名称列表
2203
+ # @type NameList: Array
2204
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2205
+ # @type RequestId: String
2206
+
2207
+ attr_accessor :Total, :Data, :NameList, :RequestId
2208
+
2209
+ def initialize(total=nil, data=nil, namelist=nil, requestid=nil)
2210
+ @Total = total
2211
+ @Data = data
2212
+ @NameList = namelist
2213
+ @RequestId = requestid
2214
+ end
2215
+
2216
+ def deserialize(params)
2217
+ @Total = params['Total']
2218
+ unless params['Data'].nil?
2219
+ @Data = []
2220
+ params['Data'].each do |i|
2221
+ templatelistinfo_tmp = TemplateListInfo.new
2222
+ templatelistinfo_tmp.deserialize(i)
2223
+ @Data << templatelistinfo_tmp
2224
+ end
2225
+ end
2226
+ @NameList = params['NameList']
2227
+ @RequestId = params['RequestId']
2228
+ end
2229
+ end
2230
+
2231
+ # DescribeAssetSync请求参数结构体
2232
+ class DescribeAssetSyncRequest < TencentCloud::Common::AbstractModel
2233
+
2234
+
2235
+ def initialize()
2236
+ end
2237
+
2238
+ def deserialize(params)
2239
+ end
2240
+ end
2241
+
2242
+ # DescribeAssetSync返回参数结构体
2243
+ class DescribeAssetSyncResponse < TencentCloud::Common::AbstractModel
2244
+ # @param Status: 返回状态
2245
+ # 1 更新中
2246
+ # 2 更新完成
2247
+ # 3 更新失败
2248
+ # 4 更新失败
2249
+ # @type Status: Integer
2250
+ # @param ReturnMsg: success 成功
2251
+ # 其他失败
2252
+ # @type ReturnMsg: String
2253
+ # @param ReturnCode: 0 成功
2254
+ # 非0 失败
2255
+ # @type ReturnCode: Integer
2256
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2257
+ # @type RequestId: String
2258
+
2259
+ attr_accessor :Status, :ReturnMsg, :ReturnCode, :RequestId
2260
+
2261
+ def initialize(status=nil, returnmsg=nil, returncode=nil, requestid=nil)
2262
+ @Status = status
2263
+ @ReturnMsg = returnmsg
2264
+ @ReturnCode = returncode
2265
+ @RequestId = requestid
2266
+ end
2267
+
2268
+ def deserialize(params)
2269
+ @Status = params['Status']
2270
+ @ReturnMsg = params['ReturnMsg']
2271
+ @ReturnCode = params['ReturnCode']
2272
+ @RequestId = params['RequestId']
2273
+ end
2274
+ end
2275
+
2160
2276
  # DescribeAssociatedInstanceList请求参数结构体
2161
2277
  class DescribeAssociatedInstanceListRequest < TencentCloud::Common::AbstractModel
2162
2278
  # @param Offset: 列表偏移量
@@ -2872,6 +2988,42 @@ module TencentCloud
2872
2988
  end
2873
2989
  end
2874
2990
 
2991
+ # DescribeFwSyncStatus请求参数结构体
2992
+ class DescribeFwSyncStatusRequest < TencentCloud::Common::AbstractModel
2993
+ # @param SyncType: 查询的同步状态类型:Route,同步路由状态
2994
+ # @type SyncType: String
2995
+
2996
+ attr_accessor :SyncType
2997
+
2998
+ def initialize(synctype=nil)
2999
+ @SyncType = synctype
3000
+ end
3001
+
3002
+ def deserialize(params)
3003
+ @SyncType = params['SyncType']
3004
+ end
3005
+ end
3006
+
3007
+ # DescribeFwSyncStatus返回参数结构体
3008
+ class DescribeFwSyncStatusResponse < TencentCloud::Common::AbstractModel
3009
+ # @param SyncStatus: 同步状态:1,同步中;0,同步完成
3010
+ # @type SyncStatus: Integer
3011
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3012
+ # @type RequestId: String
3013
+
3014
+ attr_accessor :SyncStatus, :RequestId
3015
+
3016
+ def initialize(syncstatus=nil, requestid=nil)
3017
+ @SyncStatus = syncstatus
3018
+ @RequestId = requestid
3019
+ end
3020
+
3021
+ def deserialize(params)
3022
+ @SyncStatus = params['SyncStatus']
3023
+ @RequestId = params['RequestId']
3024
+ end
3025
+ end
3026
+
2875
3027
  # DescribeGuideScanInfo请求参数结构体
2876
3028
  class DescribeGuideScanInfoRequest < TencentCloud::Common::AbstractModel
2877
3029
 
@@ -3377,6 +3529,81 @@ module TencentCloud
3377
3529
  end
3378
3530
  end
3379
3531
 
3532
+ # DescribeNatSwitchList请求参数结构体
3533
+ class DescribeNatSwitchListRequest < TencentCloud::Common::AbstractModel
3534
+ # @param Offset: 偏移量,分页用
3535
+ # @type Offset: Integer
3536
+ # @param Limit: 条数,分页用
3537
+ # @type Limit: Integer
3538
+ # @param SearchValue: 搜索值
3539
+ # @type SearchValue: String
3540
+ # @param Status: 开关,1打开,0关闭
3541
+ # @type Status: Integer
3542
+ # @param VpcId: 筛选NAT防火墙子网开关所属VPC
3543
+ # @type VpcId: String
3544
+ # @param NatId: 筛选NAT防火墙子网开关所属NAT网关
3545
+ # @type NatId: String
3546
+ # @param NatInsId: 筛选NAT防火墙子网开关所属NAT防火墙实例
3547
+ # @type NatInsId: String
3548
+ # @param Area: 筛选NAT防火墙子网开关所属地域
3549
+ # @type Area: String
3550
+
3551
+ attr_accessor :Offset, :Limit, :SearchValue, :Status, :VpcId, :NatId, :NatInsId, :Area
3552
+
3553
+ def initialize(offset=nil, limit=nil, searchvalue=nil, status=nil, vpcid=nil, natid=nil, natinsid=nil, area=nil)
3554
+ @Offset = offset
3555
+ @Limit = limit
3556
+ @SearchValue = searchvalue
3557
+ @Status = status
3558
+ @VpcId = vpcid
3559
+ @NatId = natid
3560
+ @NatInsId = natinsid
3561
+ @Area = area
3562
+ end
3563
+
3564
+ def deserialize(params)
3565
+ @Offset = params['Offset']
3566
+ @Limit = params['Limit']
3567
+ @SearchValue = params['SearchValue']
3568
+ @Status = params['Status']
3569
+ @VpcId = params['VpcId']
3570
+ @NatId = params['NatId']
3571
+ @NatInsId = params['NatInsId']
3572
+ @Area = params['Area']
3573
+ end
3574
+ end
3575
+
3576
+ # DescribeNatSwitchList返回参数结构体
3577
+ class DescribeNatSwitchListResponse < TencentCloud::Common::AbstractModel
3578
+ # @param Total: 总数
3579
+ # @type Total: Integer
3580
+ # @param Data: NAT边界防火墙开关列表数据
3581
+ # @type Data: Array
3582
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3583
+ # @type RequestId: String
3584
+
3585
+ attr_accessor :Total, :Data, :RequestId
3586
+
3587
+ def initialize(total=nil, data=nil, requestid=nil)
3588
+ @Total = total
3589
+ @Data = data
3590
+ @RequestId = requestid
3591
+ end
3592
+
3593
+ def deserialize(params)
3594
+ @Total = params['Total']
3595
+ unless params['Data'].nil?
3596
+ @Data = []
3597
+ params['Data'].each do |i|
3598
+ natswitchlistdata_tmp = NatSwitchListData.new
3599
+ natswitchlistdata_tmp.deserialize(i)
3600
+ @Data << natswitchlistdata_tmp
3601
+ end
3602
+ end
3603
+ @RequestId = params['RequestId']
3604
+ end
3605
+ end
3606
+
3380
3607
  # DescribeResourceGroupNew请求参数结构体
3381
3608
  class DescribeResourceGroupNewRequest < TencentCloud::Common::AbstractModel
3382
3609
  # @param QueryType: 查询类型 网络结构-vpc,业务识别-resource ,资源标签-tag
@@ -4936,6 +5163,64 @@ module TencentCloud
4936
5163
  end
4937
5164
  end
4938
5165
 
5166
+ # ModifyAddressTemplate请求参数结构体
5167
+ class ModifyAddressTemplateRequest < TencentCloud::Common::AbstractModel
5168
+ # @param Uuid: 地址模板唯一Id
5169
+ # @type Uuid: String
5170
+ # @param Name: 模板名称
5171
+ # @type Name: String
5172
+ # @param Detail: 模板描述
5173
+ # @type Detail: String
5174
+ # @param IpString: Type为1,ip模板eg:1.1.1.1,2.2.2.2;
5175
+ # Type为5,域名模板eg:www.qq.com,www.tencent.com
5176
+ # @type IpString: String
5177
+ # @param Type: 1 ip模板
5178
+ # 5 域名模板
5179
+ # @type Type: Integer
5180
+
5181
+ attr_accessor :Uuid, :Name, :Detail, :IpString, :Type
5182
+
5183
+ def initialize(uuid=nil, name=nil, detail=nil, ipstring=nil, type=nil)
5184
+ @Uuid = uuid
5185
+ @Name = name
5186
+ @Detail = detail
5187
+ @IpString = ipstring
5188
+ @Type = type
5189
+ end
5190
+
5191
+ def deserialize(params)
5192
+ @Uuid = params['Uuid']
5193
+ @Name = params['Name']
5194
+ @Detail = params['Detail']
5195
+ @IpString = params['IpString']
5196
+ @Type = params['Type']
5197
+ end
5198
+ end
5199
+
5200
+ # ModifyAddressTemplate返回参数结构体
5201
+ class ModifyAddressTemplateResponse < TencentCloud::Common::AbstractModel
5202
+ # @param Status: 创建结果,0成功
5203
+ # @type Status: Integer
5204
+ # @param Uuid: 唯一Id
5205
+ # @type Uuid: String
5206
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5207
+ # @type RequestId: String
5208
+
5209
+ attr_accessor :Status, :Uuid, :RequestId
5210
+
5211
+ def initialize(status=nil, uuid=nil, requestid=nil)
5212
+ @Status = status
5213
+ @Uuid = uuid
5214
+ @RequestId = requestid
5215
+ end
5216
+
5217
+ def deserialize(params)
5218
+ @Status = params['Status']
5219
+ @Uuid = params['Uuid']
5220
+ @RequestId = params['RequestId']
5221
+ end
5222
+ end
5223
+
4939
5224
  # ModifyAllPublicIPSwitchStatus请求参数结构体
4940
5225
  class ModifyAllPublicIPSwitchStatusRequest < TencentCloud::Common::AbstractModel
4941
5226
  # @param Status: 状态,0:关闭,1:开启
@@ -5133,6 +5418,50 @@ module TencentCloud
5133
5418
  end
5134
5419
  end
5135
5420
 
5421
+ # ModifyAssetSync请求参数结构体
5422
+ class ModifyAssetSyncRequest < TencentCloud::Common::AbstractModel
5423
+
5424
+
5425
+ def initialize()
5426
+ end
5427
+
5428
+ def deserialize(params)
5429
+ end
5430
+ end
5431
+
5432
+ # ModifyAssetSync返回参数结构体
5433
+ class ModifyAssetSyncResponse < TencentCloud::Common::AbstractModel
5434
+ # @param Status: 返回状态
5435
+ # 0 请求成功
5436
+ # 2 请求失败
5437
+ # 3 请求失败-频率限制
5438
+ # @type Status: Integer
5439
+ # @param ReturnMsg: success 成功
5440
+ # 其他失败
5441
+ # @type ReturnMsg: String
5442
+ # @param ReturnCode: 0 成功
5443
+ # 非0 失败
5444
+ # @type ReturnCode: Integer
5445
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5446
+ # @type RequestId: String
5447
+
5448
+ attr_accessor :Status, :ReturnMsg, :ReturnCode, :RequestId
5449
+
5450
+ def initialize(status=nil, returnmsg=nil, returncode=nil, requestid=nil)
5451
+ @Status = status
5452
+ @ReturnMsg = returnmsg
5453
+ @ReturnCode = returncode
5454
+ @RequestId = requestid
5455
+ end
5456
+
5457
+ def deserialize(params)
5458
+ @Status = params['Status']
5459
+ @ReturnMsg = params['ReturnMsg']
5460
+ @ReturnCode = params['ReturnCode']
5461
+ @RequestId = params['RequestId']
5462
+ end
5463
+ end
5464
+
5136
5465
  # ModifyBlockIgnoreList请求参数结构体
5137
5466
  class ModifyBlockIgnoreListRequest < TencentCloud::Common::AbstractModel
5138
5467
  # @param RuleType: 1封禁列表 2 放通列表
@@ -5702,6 +6031,51 @@ module TencentCloud
5702
6031
  end
5703
6032
  end
5704
6033
 
6034
+ # ModifyNatInstance请求参数结构体
6035
+ class ModifyNatInstanceRequest < TencentCloud::Common::AbstractModel
6036
+ # @param InstanceName: NAT防火墙实例名称
6037
+ # @type InstanceName: String
6038
+ # @param NatInstanceId: NAT防火墙实例ID
6039
+ # @type NatInstanceId: String
6040
+
6041
+ attr_accessor :InstanceName, :NatInstanceId
6042
+
6043
+ def initialize(instancename=nil, natinstanceid=nil)
6044
+ @InstanceName = instancename
6045
+ @NatInstanceId = natinstanceid
6046
+ end
6047
+
6048
+ def deserialize(params)
6049
+ @InstanceName = params['InstanceName']
6050
+ @NatInstanceId = params['NatInstanceId']
6051
+ end
6052
+ end
6053
+
6054
+ # ModifyNatInstance返回参数结构体
6055
+ class ModifyNatInstanceResponse < TencentCloud::Common::AbstractModel
6056
+ # @param Status: 0 正常
6057
+ # -1 异常
6058
+ # @type Status: Integer
6059
+ # @param NatInstanceId: nat实例唯一ID
6060
+ # @type NatInstanceId: String
6061
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6062
+ # @type RequestId: String
6063
+
6064
+ attr_accessor :Status, :NatInstanceId, :RequestId
6065
+
6066
+ def initialize(status=nil, natinstanceid=nil, requestid=nil)
6067
+ @Status = status
6068
+ @NatInstanceId = natinstanceid
6069
+ @RequestId = requestid
6070
+ end
6071
+
6072
+ def deserialize(params)
6073
+ @Status = params['Status']
6074
+ @NatInstanceId = params['NatInstanceId']
6075
+ @RequestId = params['RequestId']
6076
+ end
6077
+ end
6078
+
5705
6079
  # ModifyNatSequenceRules请求参数结构体
5706
6080
  class ModifyNatSequenceRulesRequest < TencentCloud::Common::AbstractModel
5707
6081
  # @param RuleChangeItems: 规则快速排序:OrderIndex,原始序号;NewOrderIndex:新序号
@@ -6512,6 +6886,102 @@ module TencentCloud
6512
6886
  end
6513
6887
  end
6514
6888
 
6889
+ # NAT防火墙开关列表数据
6890
+ class NatSwitchListData < TencentCloud::Common::AbstractModel
6891
+ # @param Id: 列表ID
6892
+ # @type Id: Integer
6893
+ # @param SubnetId: 子网ID
6894
+ # 注意:此字段可能返回 null,表示取不到有效值。
6895
+ # @type SubnetId: String
6896
+ # @param SubnetName: 子网名称
6897
+ # 注意:此字段可能返回 null,表示取不到有效值。
6898
+ # @type SubnetName: String
6899
+ # @param SubnetCidr: IPv4 CIDR
6900
+ # 注意:此字段可能返回 null,表示取不到有效值。
6901
+ # @type SubnetCidr: String
6902
+ # @param RouteId: 关联路由ID
6903
+ # 注意:此字段可能返回 null,表示取不到有效值。
6904
+ # @type RouteId: String
6905
+ # @param RouteName: 关联路由名称
6906
+ # 注意:此字段可能返回 null,表示取不到有效值。
6907
+ # @type RouteName: String
6908
+ # @param CvmNum: 云服务器个数
6909
+ # 注意:此字段可能返回 null,表示取不到有效值。
6910
+ # @type CvmNum: Integer
6911
+ # @param VpcId: 所属VPC ID
6912
+ # 注意:此字段可能返回 null,表示取不到有效值。
6913
+ # @type VpcId: String
6914
+ # @param VpcName: 所属VPC名称
6915
+ # 注意:此字段可能返回 null,表示取不到有效值。
6916
+ # @type VpcName: String
6917
+ # @param Enable: 是否生效
6918
+ # 注意:此字段可能返回 null,表示取不到有效值。
6919
+ # @type Enable: Integer
6920
+ # @param Status: 开关状态
6921
+ # 注意:此字段可能返回 null,表示取不到有效值。
6922
+ # @type Status: Integer
6923
+ # @param NatId: NAT网关ID
6924
+ # 注意:此字段可能返回 null,表示取不到有效值。
6925
+ # @type NatId: String
6926
+ # @param NatName: NAT网关名称
6927
+ # 注意:此字段可能返回 null,表示取不到有效值。
6928
+ # @type NatName: String
6929
+ # @param NatInsId: NAT防火墙实例ID
6930
+ # 注意:此字段可能返回 null,表示取不到有效值。
6931
+ # @type NatInsId: String
6932
+ # @param NatInsName: NAT防火墙实例名称
6933
+ # 注意:此字段可能返回 null,表示取不到有效值。
6934
+ # @type NatInsName: String
6935
+ # @param Region: 地域
6936
+ # 注意:此字段可能返回 null,表示取不到有效值。
6937
+ # @type Region: String
6938
+ # @param Abnormal: 开关是否异常,0:正常,1:异常
6939
+ # 注意:此字段可能返回 null,表示取不到有效值。
6940
+ # @type Abnormal: Integer
6941
+
6942
+ attr_accessor :Id, :SubnetId, :SubnetName, :SubnetCidr, :RouteId, :RouteName, :CvmNum, :VpcId, :VpcName, :Enable, :Status, :NatId, :NatName, :NatInsId, :NatInsName, :Region, :Abnormal
6943
+
6944
+ def initialize(id=nil, subnetid=nil, subnetname=nil, subnetcidr=nil, routeid=nil, routename=nil, cvmnum=nil, vpcid=nil, vpcname=nil, enable=nil, status=nil, natid=nil, natname=nil, natinsid=nil, natinsname=nil, region=nil, abnormal=nil)
6945
+ @Id = id
6946
+ @SubnetId = subnetid
6947
+ @SubnetName = subnetname
6948
+ @SubnetCidr = subnetcidr
6949
+ @RouteId = routeid
6950
+ @RouteName = routename
6951
+ @CvmNum = cvmnum
6952
+ @VpcId = vpcid
6953
+ @VpcName = vpcname
6954
+ @Enable = enable
6955
+ @Status = status
6956
+ @NatId = natid
6957
+ @NatName = natname
6958
+ @NatInsId = natinsid
6959
+ @NatInsName = natinsname
6960
+ @Region = region
6961
+ @Abnormal = abnormal
6962
+ end
6963
+
6964
+ def deserialize(params)
6965
+ @Id = params['Id']
6966
+ @SubnetId = params['SubnetId']
6967
+ @SubnetName = params['SubnetName']
6968
+ @SubnetCidr = params['SubnetCidr']
6969
+ @RouteId = params['RouteId']
6970
+ @RouteName = params['RouteName']
6971
+ @CvmNum = params['CvmNum']
6972
+ @VpcId = params['VpcId']
6973
+ @VpcName = params['VpcName']
6974
+ @Enable = params['Enable']
6975
+ @Status = params['Status']
6976
+ @NatId = params['NatId']
6977
+ @NatName = params['NatName']
6978
+ @NatInsId = params['NatInsId']
6979
+ @NatInsName = params['NatInsName']
6980
+ @Region = params['Region']
6981
+ @Abnormal = params['Abnormal']
6982
+ end
6983
+ end
6984
+
6515
6985
  # 网络实例信息
6516
6986
  class NetInstancesInfo < TencentCloud::Common::AbstractModel
6517
6987
  # @param InstanceId: 网络实例ID
@@ -7647,6 +8117,42 @@ module TencentCloud
7647
8117
  end
7648
8118
  end
7649
8119
 
8120
+ # SyncFwOperate请求参数结构体
8121
+ class SyncFwOperateRequest < TencentCloud::Common::AbstractModel
8122
+ # @param SyncType: 同步操作类型:Route,同步防火墙路由
8123
+ # @type SyncType: String
8124
+ # @param FwType: 防火墙类型;nat,nat防火墙;ew,vpc间防火墙
8125
+ # @type FwType: String
8126
+
8127
+ attr_accessor :SyncType, :FwType
8128
+
8129
+ def initialize(synctype=nil, fwtype=nil)
8130
+ @SyncType = synctype
8131
+ @FwType = fwtype
8132
+ end
8133
+
8134
+ def deserialize(params)
8135
+ @SyncType = params['SyncType']
8136
+ @FwType = params['FwType']
8137
+ end
8138
+ end
8139
+
8140
+ # SyncFwOperate返回参数结构体
8141
+ class SyncFwOperateResponse < TencentCloud::Common::AbstractModel
8142
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
8143
+ # @type RequestId: String
8144
+
8145
+ attr_accessor :RequestId
8146
+
8147
+ def initialize(requestid=nil)
8148
+ @RequestId = requestid
8149
+ end
8150
+
8151
+ def deserialize(params)
8152
+ @RequestId = params['RequestId']
8153
+ end
8154
+ end
8155
+
7650
8156
  # 告警中心概览数据
7651
8157
  class TLogInfo < TencentCloud::Common::AbstractModel
7652
8158
  # @param OutNum: 失陷主机
@@ -7683,6 +8189,58 @@ module TencentCloud
7683
8189
  end
7684
8190
  end
7685
8191
 
8192
+ # 地址模版列表数据
8193
+ class TemplateListInfo < TencentCloud::Common::AbstractModel
8194
+ # @param Uuid: 模版ID
8195
+ # 注意:此字段可能返回 null,表示取不到有效值。
8196
+ # @type Uuid: String
8197
+ # @param Name: 模版名称
8198
+ # 注意:此字段可能返回 null,表示取不到有效值。
8199
+ # @type Name: String
8200
+ # @param Detail: 描述
8201
+ # 注意:此字段可能返回 null,表示取不到有效值。
8202
+ # @type Detail: String
8203
+ # @param IpString: IP模版
8204
+ # 注意:此字段可能返回 null,表示取不到有效值。
8205
+ # @type IpString: String
8206
+ # @param InsertTime: 插入时间
8207
+ # 注意:此字段可能返回 null,表示取不到有效值。
8208
+ # @type InsertTime: String
8209
+ # @param UpdateTime: 修改时间
8210
+ # 注意:此字段可能返回 null,表示取不到有效值。
8211
+ # @type UpdateTime: String
8212
+ # @param Type: 模版类型
8213
+ # 注意:此字段可能返回 null,表示取不到有效值。
8214
+ # @type Type: Integer
8215
+ # @param RulesNum: 关联规则条数
8216
+ # 注意:此字段可能返回 null,表示取不到有效值。
8217
+ # @type RulesNum: Integer
8218
+
8219
+ attr_accessor :Uuid, :Name, :Detail, :IpString, :InsertTime, :UpdateTime, :Type, :RulesNum
8220
+
8221
+ def initialize(uuid=nil, name=nil, detail=nil, ipstring=nil, inserttime=nil, updatetime=nil, type=nil, rulesnum=nil)
8222
+ @Uuid = uuid
8223
+ @Name = name
8224
+ @Detail = detail
8225
+ @IpString = ipstring
8226
+ @InsertTime = inserttime
8227
+ @UpdateTime = updatetime
8228
+ @Type = type
8229
+ @RulesNum = rulesnum
8230
+ end
8231
+
8232
+ def deserialize(params)
8233
+ @Uuid = params['Uuid']
8234
+ @Name = params['Name']
8235
+ @Detail = params['Detail']
8236
+ @IpString = params['IpString']
8237
+ @InsertTime = params['InsertTime']
8238
+ @UpdateTime = params['UpdateTime']
8239
+ @Type = params['Type']
8240
+ @RulesNum = params['RulesNum']
8241
+ end
8242
+ end
8243
+
7686
8244
  # 未处置事件详情
7687
8245
  class UnHandleEvent < TencentCloud::Common::AbstractModel
7688
8246
  # @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.655
4
+ version: 3.0.656
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-09-08 00:00:00.000000000 Z
11
+ date: 2023-09-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common