tencentcloud-sdk-cfw 3.0.905 → 3.0.907

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0b998b4dbcc82168848c290b38c41f5d8aaf6a76
4
- data.tar.gz: 0e0501ea06ca6027bbecc8fcc275552863b7cccf
3
+ metadata.gz: eb11ef1d42772b8956b16592573576a26d03c19f
4
+ data.tar.gz: 61bb77a2d4114657769ca30c2bd28168825760ff
5
5
  SHA512:
6
- metadata.gz: 497411d0ee27151fc6fbe01235e6e7a404b131baab671f0c2046a6caf3eb73a03fe4413456088391840c98fd85cde00748d5a3a90ce015068b4d92d66c62114c
7
- data.tar.gz: bb04fd108e9b165d1340f746d4d19c83bdb2bbbcfd6eb6f2cf6051e0e34bcc1392b36c7b69b30c080fbca072a0077d02727a476ee09a9700f0f10331a4ad82fe
6
+ metadata.gz: b89e39aa6c25ba523309a03fd78a095f05778446ee3730ffe90a55f7af34d82513a2cd703e9d26b8da3a6cec029a27438dbc9bfd40aaca65d9c95546dd45e31a
7
+ data.tar.gz: 221581958fd5c097f9e9b5ff5e63152fe1c0886f8f1e49f5204438b36c9c7d2efe14776c4baa40f356590e279fcd25bc4c2b26d13adaa4c69f1965c126d6557e
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.905
1
+ 3.0.907
@@ -1037,6 +1037,30 @@ module TencentCloud
1037
1037
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1038
1038
  end
1039
1039
 
1040
+ # 查询新企业安全组规则 从node接口迁移 原接口DescribeSecurityGroupNewList
1041
+
1042
+ # @param request: Request instance for DescribeEnterpriseSecurityGroupRuleList.
1043
+ # @type request: :class:`Tencentcloud::cfw::V20190904::DescribeEnterpriseSecurityGroupRuleListRequest`
1044
+ # @rtype: :class:`Tencentcloud::cfw::V20190904::DescribeEnterpriseSecurityGroupRuleListResponse`
1045
+ def DescribeEnterpriseSecurityGroupRuleList(request)
1046
+ body = send_request('DescribeEnterpriseSecurityGroupRuleList', request.serialize)
1047
+ response = JSON.parse(body)
1048
+ if response['Response'].key?('Error') == false
1049
+ model = DescribeEnterpriseSecurityGroupRuleListResponse.new
1050
+ model.deserialize(response['Response'])
1051
+ model
1052
+ else
1053
+ code = response['Response']['Error']['Code']
1054
+ message = response['Response']['Error']['Message']
1055
+ reqid = response['Response']['RequestId']
1056
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1057
+ end
1058
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1059
+ raise e
1060
+ rescue StandardError => e
1061
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1062
+ end
1063
+
1040
1064
  # 串行防火墙IP开关列表
1041
1065
 
1042
1066
  # @param request: Request instance for DescribeFwEdgeIps.
@@ -3463,6 +3463,92 @@ module TencentCloud
3463
3463
  end
3464
3464
  end
3465
3465
 
3466
+ # DescribeEnterpriseSecurityGroupRuleList请求参数结构体
3467
+ class DescribeEnterpriseSecurityGroupRuleListRequest < TencentCloud::Common::AbstractModel
3468
+ # @param Limit: 分页每页数量
3469
+ # @type Limit: Integer
3470
+ # @param Offset: 分页当前页
3471
+ # @type Offset: Integer
3472
+ # @param Status: 启用状态 1启用 0 未启用
3473
+ # @type Status: String
3474
+ # @param Area: 地域
3475
+ # @type Area: String
3476
+ # @param Filter: 规则下发方式筛选 1 新规则和延迟下发 2 仅看新规则
3477
+ # @type Filter: Integer
3478
+ # @param SearchValue: 查询条件
3479
+ # @type SearchValue: String
3480
+ # @param SearchFilters: 查询条件新
3481
+ # @type SearchFilters: Array
3482
+
3483
+ attr_accessor :Limit, :Offset, :Status, :Area, :Filter, :SearchValue, :SearchFilters
3484
+
3485
+ def initialize(limit=nil, offset=nil, status=nil, area=nil, filter=nil, searchvalue=nil, searchfilters=nil)
3486
+ @Limit = limit
3487
+ @Offset = offset
3488
+ @Status = status
3489
+ @Area = area
3490
+ @Filter = filter
3491
+ @SearchValue = searchvalue
3492
+ @SearchFilters = searchfilters
3493
+ end
3494
+
3495
+ def deserialize(params)
3496
+ @Limit = params['Limit']
3497
+ @Offset = params['Offset']
3498
+ @Status = params['Status']
3499
+ @Area = params['Area']
3500
+ @Filter = params['Filter']
3501
+ @SearchValue = params['SearchValue']
3502
+ unless params['SearchFilters'].nil?
3503
+ @SearchFilters = []
3504
+ params['SearchFilters'].each do |i|
3505
+ commonfilter_tmp = CommonFilter.new
3506
+ commonfilter_tmp.deserialize(i)
3507
+ @SearchFilters << commonfilter_tmp
3508
+ end
3509
+ end
3510
+ end
3511
+ end
3512
+
3513
+ # DescribeEnterpriseSecurityGroupRuleList返回参数结构体
3514
+ class DescribeEnterpriseSecurityGroupRuleListResponse < TencentCloud::Common::AbstractModel
3515
+ # @param Total: 查询结果总数
3516
+ # @type Total: Integer
3517
+ # @param AllTotal: 规则总数
3518
+ # @type AllTotal: Integer
3519
+ # @param Data: 规则列表
3520
+ # @type Data: Array
3521
+ # @param Enable: 规则整体启用状态
3522
+ # @type Enable: Integer
3523
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3524
+ # @type RequestId: String
3525
+
3526
+ attr_accessor :Total, :AllTotal, :Data, :Enable, :RequestId
3527
+
3528
+ def initialize(total=nil, alltotal=nil, data=nil, enable=nil, requestid=nil)
3529
+ @Total = total
3530
+ @AllTotal = alltotal
3531
+ @Data = data
3532
+ @Enable = enable
3533
+ @RequestId = requestid
3534
+ end
3535
+
3536
+ def deserialize(params)
3537
+ @Total = params['Total']
3538
+ @AllTotal = params['AllTotal']
3539
+ unless params['Data'].nil?
3540
+ @Data = []
3541
+ params['Data'].each do |i|
3542
+ enterprisesecuritygroupruleruleinfo_tmp = EnterpriseSecurityGroupRuleRuleInfo.new
3543
+ enterprisesecuritygroupruleruleinfo_tmp.deserialize(i)
3544
+ @Data << enterprisesecuritygroupruleruleinfo_tmp
3545
+ end
3546
+ end
3547
+ @Enable = params['Enable']
3548
+ @RequestId = params['RequestId']
3549
+ end
3550
+ end
3551
+
3466
3552
  # DescribeEnterpriseSecurityGroupRule请求参数结构体
3467
3553
  class DescribeEnterpriseSecurityGroupRuleRequest < TencentCloud::Common::AbstractModel
3468
3554
  # @param PageNo: 分页查询时,显示的当前页的页码。
@@ -5507,6 +5593,202 @@ module TencentCloud
5507
5593
  end
5508
5594
  end
5509
5595
 
5596
+ # 企业安全组自动化任务信息
5597
+ class EnterpriseSecurityGroupRuleBetaInfo < TencentCloud::Common::AbstractModel
5598
+ # @param TaskId: 任务id
5599
+ # 注意:此字段可能返回 null,表示取不到有效值。
5600
+ # @type TaskId: Integer
5601
+ # @param TaskName: 任务名称
5602
+ # 注意:此字段可能返回 null,表示取不到有效值。
5603
+ # @type TaskName: String
5604
+ # @param LastTime: 时间
5605
+ # 注意:此字段可能返回 null,表示取不到有效值。
5606
+ # @type LastTime: String
5607
+
5608
+ attr_accessor :TaskId, :TaskName, :LastTime
5609
+
5610
+ def initialize(taskid=nil, taskname=nil, lasttime=nil)
5611
+ @TaskId = taskid
5612
+ @TaskName = taskname
5613
+ @LastTime = lasttime
5614
+ end
5615
+
5616
+ def deserialize(params)
5617
+ @TaskId = params['TaskId']
5618
+ @TaskName = params['TaskName']
5619
+ @LastTime = params['LastTime']
5620
+ end
5621
+ end
5622
+
5623
+ # 企业安全组规则列表信息
5624
+ class EnterpriseSecurityGroupRuleRuleInfo < TencentCloud::Common::AbstractModel
5625
+ # @param OrderIndex: 排序
5626
+ # 注意:此字段可能返回 null,表示取不到有效值。
5627
+ # @type OrderIndex: Integer
5628
+ # @param RuleUuid: 主键id
5629
+ # 注意:此字段可能返回 null,表示取不到有效值。
5630
+ # @type RuleUuid: Integer
5631
+ # @param Uuid: 规则uuid
5632
+ # 注意:此字段可能返回 null,表示取不到有效值。
5633
+ # @type Uuid: String
5634
+ # @param SourceId: 源规则内容
5635
+ # 注意:此字段可能返回 null,表示取不到有效值。
5636
+ # @type SourceId: String
5637
+ # @param SourceType: 源规则类型
5638
+ # 注意:此字段可能返回 null,表示取不到有效值。
5639
+ # @type SourceType: Integer
5640
+ # @param TargetId: 目的规则内容
5641
+ # 注意:此字段可能返回 null,表示取不到有效值。
5642
+ # @type TargetId: String
5643
+ # @param TargetType: 目的规则类型
5644
+ # 注意:此字段可能返回 null,表示取不到有效值。
5645
+ # @type TargetType: Integer
5646
+ # @param Protocol: 协议名称
5647
+ # 注意:此字段可能返回 null,表示取不到有效值。
5648
+ # @type Protocol: String
5649
+ # @param Port: 端口
5650
+ # 注意:此字段可能返回 null,表示取不到有效值。
5651
+ # @type Port: String
5652
+ # @param Strategy: 策略,1阻断,2放行
5653
+ # 注意:此字段可能返回 null,表示取不到有效值。
5654
+ # @type Strategy: Integer
5655
+ # @param Status: 启用状态 ,0未开启,1开启
5656
+ # 注意:此字段可能返回 null,表示取不到有效值。
5657
+ # @type Status: Integer
5658
+ # @param Detail: 描述
5659
+ # 注意:此字段可能返回 null,表示取不到有效值。
5660
+ # @type Detail: String
5661
+ # @param AclTags: 标签
5662
+ # 注意:此字段可能返回 null,表示取不到有效值。
5663
+ # @type AclTags: String
5664
+ # @param IsNew: 是否最新一次改动的规则,0否,1是
5665
+ # 注意:此字段可能返回 null,表示取不到有效值。
5666
+ # @type IsNew: Integer
5667
+ # @param Region: 地域
5668
+ # 注意:此字段可能返回 null,表示取不到有效值。
5669
+ # @type Region: String
5670
+ # @param IsDelay: 是否延迟下发
5671
+ # 注意:此字段可能返回 null,表示取不到有效值。
5672
+ # @type IsDelay: Integer
5673
+ # @param ServiceTemplateId: 服务模版id
5674
+ # 注意:此字段可能返回 null,表示取不到有效值。
5675
+ # @type ServiceTemplateId: String
5676
+ # @param SouInstanceName: 源资产名称
5677
+ # 注意:此字段可能返回 null,表示取不到有效值。
5678
+ # @type SouInstanceName: String
5679
+ # @param SouPublicIp: 源资产公网ip
5680
+ # 注意:此字段可能返回 null,表示取不到有效值。
5681
+ # @type SouPublicIp: String
5682
+ # @param SouPrivateIp: 源资产内网ip
5683
+ # 注意:此字段可能返回 null,表示取不到有效值。
5684
+ # @type SouPrivateIp: String
5685
+ # @param SouCidr: 源资产网段信息
5686
+ # 注意:此字段可能返回 null,表示取不到有效值。
5687
+ # @type SouCidr: String
5688
+ # @param SouParameterName: 源模版名称
5689
+ # 注意:此字段可能返回 null,表示取不到有效值。
5690
+ # @type SouParameterName: String
5691
+ # @param InstanceName: 目的资产名称
5692
+ # 注意:此字段可能返回 null,表示取不到有效值。
5693
+ # @type InstanceName: String
5694
+ # @param PublicIp: 目的资产公网ip
5695
+ # 注意:此字段可能返回 null,表示取不到有效值。
5696
+ # @type PublicIp: String
5697
+ # @param PrivateIp: 目的资产内网ip
5698
+ # 注意:此字段可能返回 null,表示取不到有效值。
5699
+ # @type PrivateIp: String
5700
+ # @param Cidr: 目的资产网段信息
5701
+ # 注意:此字段可能返回 null,表示取不到有效值。
5702
+ # @type Cidr: String
5703
+ # @param ParameterName: 目的模版名称
5704
+ # 注意:此字段可能返回 null,表示取不到有效值。
5705
+ # @type ParameterName: String
5706
+ # @param ProtocolPortName: 端口模版名称
5707
+ # 注意:此字段可能返回 null,表示取不到有效值。
5708
+ # @type ProtocolPortName: String
5709
+ # @param BetaList: 自动化任务任务信息
5710
+ # 注意:此字段可能返回 null,表示取不到有效值。
5711
+ # @type BetaList: Array
5712
+ # @param Id: 规则id
5713
+ # 注意:此字段可能返回 null,表示取不到有效值。
5714
+ # @type Id: Integer
5715
+
5716
+ attr_accessor :OrderIndex, :RuleUuid, :Uuid, :SourceId, :SourceType, :TargetId, :TargetType, :Protocol, :Port, :Strategy, :Status, :Detail, :AclTags, :IsNew, :Region, :IsDelay, :ServiceTemplateId, :SouInstanceName, :SouPublicIp, :SouPrivateIp, :SouCidr, :SouParameterName, :InstanceName, :PublicIp, :PrivateIp, :Cidr, :ParameterName, :ProtocolPortName, :BetaList, :Id
5717
+
5718
+ def initialize(orderindex=nil, ruleuuid=nil, uuid=nil, sourceid=nil, sourcetype=nil, targetid=nil, targettype=nil, protocol=nil, port=nil, strategy=nil, status=nil, detail=nil, acltags=nil, isnew=nil, region=nil, isdelay=nil, servicetemplateid=nil, souinstancename=nil, soupublicip=nil, souprivateip=nil, soucidr=nil, souparametername=nil, instancename=nil, publicip=nil, privateip=nil, cidr=nil, parametername=nil, protocolportname=nil, betalist=nil, id=nil)
5719
+ @OrderIndex = orderindex
5720
+ @RuleUuid = ruleuuid
5721
+ @Uuid = uuid
5722
+ @SourceId = sourceid
5723
+ @SourceType = sourcetype
5724
+ @TargetId = targetid
5725
+ @TargetType = targettype
5726
+ @Protocol = protocol
5727
+ @Port = port
5728
+ @Strategy = strategy
5729
+ @Status = status
5730
+ @Detail = detail
5731
+ @AclTags = acltags
5732
+ @IsNew = isnew
5733
+ @Region = region
5734
+ @IsDelay = isdelay
5735
+ @ServiceTemplateId = servicetemplateid
5736
+ @SouInstanceName = souinstancename
5737
+ @SouPublicIp = soupublicip
5738
+ @SouPrivateIp = souprivateip
5739
+ @SouCidr = soucidr
5740
+ @SouParameterName = souparametername
5741
+ @InstanceName = instancename
5742
+ @PublicIp = publicip
5743
+ @PrivateIp = privateip
5744
+ @Cidr = cidr
5745
+ @ParameterName = parametername
5746
+ @ProtocolPortName = protocolportname
5747
+ @BetaList = betalist
5748
+ @Id = id
5749
+ end
5750
+
5751
+ def deserialize(params)
5752
+ @OrderIndex = params['OrderIndex']
5753
+ @RuleUuid = params['RuleUuid']
5754
+ @Uuid = params['Uuid']
5755
+ @SourceId = params['SourceId']
5756
+ @SourceType = params['SourceType']
5757
+ @TargetId = params['TargetId']
5758
+ @TargetType = params['TargetType']
5759
+ @Protocol = params['Protocol']
5760
+ @Port = params['Port']
5761
+ @Strategy = params['Strategy']
5762
+ @Status = params['Status']
5763
+ @Detail = params['Detail']
5764
+ @AclTags = params['AclTags']
5765
+ @IsNew = params['IsNew']
5766
+ @Region = params['Region']
5767
+ @IsDelay = params['IsDelay']
5768
+ @ServiceTemplateId = params['ServiceTemplateId']
5769
+ @SouInstanceName = params['SouInstanceName']
5770
+ @SouPublicIp = params['SouPublicIp']
5771
+ @SouPrivateIp = params['SouPrivateIp']
5772
+ @SouCidr = params['SouCidr']
5773
+ @SouParameterName = params['SouParameterName']
5774
+ @InstanceName = params['InstanceName']
5775
+ @PublicIp = params['PublicIp']
5776
+ @PrivateIp = params['PrivateIp']
5777
+ @Cidr = params['Cidr']
5778
+ @ParameterName = params['ParameterName']
5779
+ @ProtocolPortName = params['ProtocolPortName']
5780
+ unless params['BetaList'].nil?
5781
+ @BetaList = []
5782
+ params['BetaList'].each do |i|
5783
+ enterprisesecuritygrouprulebetainfo_tmp = EnterpriseSecurityGroupRuleBetaInfo.new
5784
+ enterprisesecuritygrouprulebetainfo_tmp.deserialize(i)
5785
+ @BetaList << enterprisesecuritygrouprulebetainfo_tmp
5786
+ end
5787
+ end
5788
+ @Id = params['Id']
5789
+ end
5790
+ end
5791
+
5510
5792
  # ExpandCfwVertical请求参数结构体
5511
5793
  class ExpandCfwVerticalRequest < TencentCloud::Common::AbstractModel
5512
5794
  # @param FwType: nat:nat防火墙,ew:东西向防火墙
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.905
4
+ version: 3.0.907
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-09-12 00:00:00.000000000 Z
11
+ date: 2024-09-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common