tencentcloud-sdk-cfw 3.0.932 → 3.0.933

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: d5085d1852405a54db22658426b6d0b642931a3b
4
- data.tar.gz: ee1197edd5b80cfbf0ac991d5be6988b13350508
3
+ metadata.gz: 89a449745feb624d993a58364626133538eb165f
4
+ data.tar.gz: 6d90b74733a3d2ccc15438135c6bc86d65f40fad
5
5
  SHA512:
6
- metadata.gz: e31322c018ced785b12f28d70e0f53a9749b6a77fdd1384d361f47a14017c5805cb393af76b4a23708e39db6be6b3a338126febab5eb25e9cd2fd01358b406d6
7
- data.tar.gz: cddd20b7ae43186a8603332005d8e920aa648966f183f2749ea7de6ac92471e615b485a5d41a57f5d99e8d5dc8a35809aec07f5c5cb788b2868569cc36fd1d54
6
+ metadata.gz: 9e97035ff8a6b50a3c8c284432a85302a64595ff580acea018e9d8536a023f3471a072708c42eee85333a1aca18c8c68f072f9b083f53999648955d0497126a1
7
+ data.tar.gz: fc81891880a1ad3fe9b5304c8f1fa2f389f4050ef18ab334e33d533a0e5f67395cd2f791f4a6eeb4382ec8e0cb0afd350aca5acda6d314d77639113692af7a46
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.932
1
+ 3.0.933
@@ -1397,32 +1397,6 @@ module TencentCloud
1397
1397
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1398
1398
  end
1399
1399
 
1400
- # 旧接口,不再维护
1401
-
1402
- # 查询NAT边界防火墙开关列表
1403
-
1404
- # @param request: Request instance for DescribeNatSwitchList.
1405
- # @type request: :class:`Tencentcloud::cfw::V20190904::DescribeNatSwitchListRequest`
1406
- # @rtype: :class:`Tencentcloud::cfw::V20190904::DescribeNatSwitchListResponse`
1407
- def DescribeNatSwitchList(request)
1408
- body = send_request('DescribeNatSwitchList', request.serialize)
1409
- response = JSON.parse(body)
1410
- if response['Response'].key?('Error') == false
1411
- model = DescribeNatSwitchListResponse.new
1412
- model.deserialize(response['Response'])
1413
- model
1414
- else
1415
- code = response['Response']['Error']['Code']
1416
- message = response['Response']['Error']['Message']
1417
- reqid = response['Response']['RequestId']
1418
- raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1419
- end
1420
- rescue TencentCloud::Common::TencentCloudSDKException => e
1421
- raise e
1422
- rescue StandardError => e
1423
- raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1424
- end
1425
-
1426
1400
  # DescribeResourceGroup资产中心资产树信息
1427
1401
 
1428
1402
  # @param request: Request instance for DescribeResourceGroup.
@@ -46,10 +46,54 @@ module TencentCloud
46
46
  # @param LogId: 告警规则id
47
47
  # 注意:此字段可能返回 null,表示取不到有效值。
48
48
  # @type LogId: String
49
+ # @param Status: 规则开关状态 1打开 0关闭
50
+ # 注意:此字段可能返回 null,表示取不到有效值。
51
+ # @type Status: Integer
52
+ # @param SrcType: 规则源类型
53
+ # 注意:此字段可能返回 null,表示取不到有效值。
54
+ # @type SrcType: Integer
55
+ # @param DstType: 规则目的类型
56
+ # 注意:此字段可能返回 null,表示取不到有效值。
57
+ # @type DstType: Integer
58
+ # @param Uuid: 规则唯一ID
59
+ # 注意:此字段可能返回 null,表示取不到有效值。
60
+ # @type Uuid: String
61
+ # @param Invalid: 规则有效性
62
+ # 1 有效
63
+ # 0 无效
64
+ # 注意:此字段可能返回 null,表示取不到有效值。
65
+ # @type Invalid: Integer
66
+ # @param IsRegion: 是否地域规则
67
+ # 注意:此字段可能返回 null,表示取不到有效值。
68
+ # @type IsRegion: Integer
69
+ # @param CloudCode: 云厂商代码
70
+ # 注意:此字段可能返回 null,表示取不到有效值。
71
+ # @type CloudCode: String
72
+ # @param AutoTask: 自动化助手信息
73
+ # 注意:此字段可能返回 null,表示取不到有效值。
74
+ # @type AutoTask: String
75
+ # @param InstanceName: 实例名称
76
+ # 注意:此字段可能返回 null,表示取不到有效值。
77
+ # @type InstanceName: String
78
+ # @param RegionCode: 地域码信息
79
+ # 注意:此字段可能返回 null,表示取不到有效值。
80
+ # @type RegionCode: String
81
+ # @param Country: 国家代码
82
+ # 注意:此字段可能返回 null,表示取不到有效值。
83
+ # @type Country: Integer
84
+ # @param City: 城市代码
85
+ # 注意:此字段可能返回 null,表示取不到有效值。
86
+ # @type City: Integer
87
+ # @param RegName1: 国家名称
88
+ # 注意:此字段可能返回 null,表示取不到有效值。
89
+ # @type RegName1: String
90
+ # @param RegName2: 城市名称
91
+ # 注意:此字段可能返回 null,表示取不到有效值。
92
+ # @type RegName2: String
49
93
 
50
- attr_accessor :Id, :SourceIp, :TargetIp, :Protocol, :Port, :Strategy, :Detail, :Count, :OrderIndex, :LogId
94
+ attr_accessor :Id, :SourceIp, :TargetIp, :Protocol, :Port, :Strategy, :Detail, :Count, :OrderIndex, :LogId, :Status, :SrcType, :DstType, :Uuid, :Invalid, :IsRegion, :CloudCode, :AutoTask, :InstanceName, :RegionCode, :Country, :City, :RegName1, :RegName2
51
95
 
52
- def initialize(id=nil, sourceip=nil, targetip=nil, protocol=nil, port=nil, strategy=nil, detail=nil, count=nil, orderindex=nil, logid=nil)
96
+ def initialize(id=nil, sourceip=nil, targetip=nil, protocol=nil, port=nil, strategy=nil, detail=nil, count=nil, orderindex=nil, logid=nil, status=nil, srctype=nil, dsttype=nil, uuid=nil, invalid=nil, isregion=nil, cloudcode=nil, autotask=nil, instancename=nil, regioncode=nil, country=nil, city=nil, regname1=nil, regname2=nil)
53
97
  @Id = id
54
98
  @SourceIp = sourceip
55
99
  @TargetIp = targetip
@@ -60,6 +104,20 @@ module TencentCloud
60
104
  @Count = count
61
105
  @OrderIndex = orderindex
62
106
  @LogId = logid
107
+ @Status = status
108
+ @SrcType = srctype
109
+ @DstType = dsttype
110
+ @Uuid = uuid
111
+ @Invalid = invalid
112
+ @IsRegion = isregion
113
+ @CloudCode = cloudcode
114
+ @AutoTask = autotask
115
+ @InstanceName = instancename
116
+ @RegionCode = regioncode
117
+ @Country = country
118
+ @City = city
119
+ @RegName1 = regname1
120
+ @RegName2 = regname2
63
121
  end
64
122
 
65
123
  def deserialize(params)
@@ -73,6 +131,20 @@ module TencentCloud
73
131
  @Count = params['Count']
74
132
  @OrderIndex = params['OrderIndex']
75
133
  @LogId = params['LogId']
134
+ @Status = params['Status']
135
+ @SrcType = params['SrcType']
136
+ @DstType = params['DstType']
137
+ @Uuid = params['Uuid']
138
+ @Invalid = params['Invalid']
139
+ @IsRegion = params['IsRegion']
140
+ @CloudCode = params['CloudCode']
141
+ @AutoTask = params['AutoTask']
142
+ @InstanceName = params['InstanceName']
143
+ @RegionCode = params['RegionCode']
144
+ @Country = params['Country']
145
+ @City = params['City']
146
+ @RegName1 = params['RegName1']
147
+ @RegName2 = params['RegName2']
76
148
  end
77
149
  end
78
150
 
@@ -4561,81 +4633,6 @@ module TencentCloud
4561
4633
  end
4562
4634
  end
4563
4635
 
4564
- # DescribeNatSwitchList请求参数结构体
4565
- class DescribeNatSwitchListRequest < TencentCloud::Common::AbstractModel
4566
- # @param Offset: 偏移量,分页用
4567
- # @type Offset: Integer
4568
- # @param Limit: 条数,分页用
4569
- # @type Limit: Integer
4570
- # @param SearchValue: 搜索值
4571
- # @type SearchValue: String
4572
- # @param Status: 开关,1打开,0关闭
4573
- # @type Status: Integer
4574
- # @param VpcId: 筛选NAT防火墙子网开关所属VPC
4575
- # @type VpcId: String
4576
- # @param NatId: 筛选NAT防火墙子网开关所属NAT网关
4577
- # @type NatId: String
4578
- # @param NatInsId: 筛选NAT防火墙子网开关所属NAT防火墙实例
4579
- # @type NatInsId: String
4580
- # @param Area: 筛选NAT防火墙子网开关所属地域
4581
- # @type Area: String
4582
-
4583
- attr_accessor :Offset, :Limit, :SearchValue, :Status, :VpcId, :NatId, :NatInsId, :Area
4584
-
4585
- def initialize(offset=nil, limit=nil, searchvalue=nil, status=nil, vpcid=nil, natid=nil, natinsid=nil, area=nil)
4586
- @Offset = offset
4587
- @Limit = limit
4588
- @SearchValue = searchvalue
4589
- @Status = status
4590
- @VpcId = vpcid
4591
- @NatId = natid
4592
- @NatInsId = natinsid
4593
- @Area = area
4594
- end
4595
-
4596
- def deserialize(params)
4597
- @Offset = params['Offset']
4598
- @Limit = params['Limit']
4599
- @SearchValue = params['SearchValue']
4600
- @Status = params['Status']
4601
- @VpcId = params['VpcId']
4602
- @NatId = params['NatId']
4603
- @NatInsId = params['NatInsId']
4604
- @Area = params['Area']
4605
- end
4606
- end
4607
-
4608
- # DescribeNatSwitchList返回参数结构体
4609
- class DescribeNatSwitchListResponse < TencentCloud::Common::AbstractModel
4610
- # @param Total: 总数
4611
- # @type Total: Integer
4612
- # @param Data: NAT边界防火墙开关列表数据
4613
- # @type Data: Array
4614
- # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4615
- # @type RequestId: String
4616
-
4617
- attr_accessor :Total, :Data, :RequestId
4618
-
4619
- def initialize(total=nil, data=nil, requestid=nil)
4620
- @Total = total
4621
- @Data = data
4622
- @RequestId = requestid
4623
- end
4624
-
4625
- def deserialize(params)
4626
- @Total = params['Total']
4627
- unless params['Data'].nil?
4628
- @Data = []
4629
- params['Data'].each do |i|
4630
- natswitchlistdata_tmp = NatSwitchListData.new
4631
- natswitchlistdata_tmp.deserialize(i)
4632
- @Data << natswitchlistdata_tmp
4633
- end
4634
- end
4635
- @RequestId = params['RequestId']
4636
- end
4637
- end
4638
-
4639
4636
  # DescribeResourceGroupNew请求参数结构体
4640
4637
  class DescribeResourceGroupNewRequest < TencentCloud::Common::AbstractModel
4641
4638
  # @param QueryType: 查询类型 网络结构-vpc,业务识别-resource ,资源标签-tag
@@ -8296,117 +8293,6 @@ module TencentCloud
8296
8293
  end
8297
8294
  end
8298
8295
 
8299
- # NAT防火墙开关列表数据
8300
- class NatSwitchListData < TencentCloud::Common::AbstractModel
8301
- # @param Id: 列表ID
8302
- # @type Id: Integer
8303
- # @param SubnetId: 子网ID
8304
- # 注意:此字段可能返回 null,表示取不到有效值。
8305
- # @type SubnetId: String
8306
- # @param SubnetName: 子网名称
8307
- # 注意:此字段可能返回 null,表示取不到有效值。
8308
- # @type SubnetName: String
8309
- # @param SubnetCidr: IPv4 CIDR
8310
- # 注意:此字段可能返回 null,表示取不到有效值。
8311
- # @type SubnetCidr: String
8312
- # @param RouteId: 关联路由ID
8313
- # 注意:此字段可能返回 null,表示取不到有效值。
8314
- # @type RouteId: String
8315
- # @param RouteName: 关联路由名称
8316
- # 注意:此字段可能返回 null,表示取不到有效值。
8317
- # @type RouteName: String
8318
- # @param CvmNum: 云服务器个数
8319
- # 注意:此字段可能返回 null,表示取不到有效值。
8320
- # @type CvmNum: Integer
8321
- # @param VpcId: 所属VPC ID
8322
- # 注意:此字段可能返回 null,表示取不到有效值。
8323
- # @type VpcId: String
8324
- # @param VpcName: 所属VPC名称
8325
- # 注意:此字段可能返回 null,表示取不到有效值。
8326
- # @type VpcName: String
8327
- # @param Enable: 是否生效
8328
- # 注意:此字段可能返回 null,表示取不到有效值。
8329
- # @type Enable: Integer
8330
- # @param Status: 开关状态
8331
- # 注意:此字段可能返回 null,表示取不到有效值。
8332
- # @type Status: Integer
8333
- # @param NatId: NAT网关ID
8334
- # 注意:此字段可能返回 null,表示取不到有效值。
8335
- # @type NatId: String
8336
- # @param NatName: NAT网关名称
8337
- # 注意:此字段可能返回 null,表示取不到有效值。
8338
- # @type NatName: String
8339
- # @param NatInsId: NAT防火墙实例ID
8340
- # 注意:此字段可能返回 null,表示取不到有效值。
8341
- # @type NatInsId: String
8342
- # @param NatInsName: NAT防火墙实例名称
8343
- # 注意:此字段可能返回 null,表示取不到有效值。
8344
- # @type NatInsName: String
8345
- # @param Region: 地域
8346
- # 注意:此字段可能返回 null,表示取不到有效值。
8347
- # @type Region: String
8348
- # @param Abnormal: 开关是否异常,0:正常,1:异常
8349
- # 注意:此字段可能返回 null,表示取不到有效值。
8350
- # @type Abnormal: Integer
8351
- # @param ORTableId: nat防火墙出口路由表id
8352
- # 注意:此字段可能返回 null,表示取不到有效值。
8353
- # @type ORTableId: String
8354
- # @param ORTableName: nat防火墙出口路由表名称
8355
- # 注意:此字段可能返回 null,表示取不到有效值。
8356
- # @type ORTableName: String
8357
- # @param Ohavips: 出口Snat Ip列表
8358
- # 注意:此字段可能返回 null,表示取不到有效值。
8359
- # @type Ohavips: Array
8360
-
8361
- attr_accessor :Id, :SubnetId, :SubnetName, :SubnetCidr, :RouteId, :RouteName, :CvmNum, :VpcId, :VpcName, :Enable, :Status, :NatId, :NatName, :NatInsId, :NatInsName, :Region, :Abnormal, :ORTableId, :ORTableName, :Ohavips
8362
-
8363
- 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, ortableid=nil, ortablename=nil, ohavips=nil)
8364
- @Id = id
8365
- @SubnetId = subnetid
8366
- @SubnetName = subnetname
8367
- @SubnetCidr = subnetcidr
8368
- @RouteId = routeid
8369
- @RouteName = routename
8370
- @CvmNum = cvmnum
8371
- @VpcId = vpcid
8372
- @VpcName = vpcname
8373
- @Enable = enable
8374
- @Status = status
8375
- @NatId = natid
8376
- @NatName = natname
8377
- @NatInsId = natinsid
8378
- @NatInsName = natinsname
8379
- @Region = region
8380
- @Abnormal = abnormal
8381
- @ORTableId = ortableid
8382
- @ORTableName = ortablename
8383
- @Ohavips = ohavips
8384
- end
8385
-
8386
- def deserialize(params)
8387
- @Id = params['Id']
8388
- @SubnetId = params['SubnetId']
8389
- @SubnetName = params['SubnetName']
8390
- @SubnetCidr = params['SubnetCidr']
8391
- @RouteId = params['RouteId']
8392
- @RouteName = params['RouteName']
8393
- @CvmNum = params['CvmNum']
8394
- @VpcId = params['VpcId']
8395
- @VpcName = params['VpcName']
8396
- @Enable = params['Enable']
8397
- @Status = params['Status']
8398
- @NatId = params['NatId']
8399
- @NatName = params['NatName']
8400
- @NatInsId = params['NatInsId']
8401
- @NatInsName = params['NatInsName']
8402
- @Region = params['Region']
8403
- @Abnormal = params['Abnormal']
8404
- @ORTableId = params['ORTableId']
8405
- @ORTableName = params['ORTableName']
8406
- @Ohavips = params['Ohavips']
8407
- end
8408
- end
8409
-
8410
8296
  # 网络实例信息
8411
8297
  class NetInstancesInfo < TencentCloud::Common::AbstractModel
8412
8298
  # @param InstanceId: 网络实例ID
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.932
4
+ version: 3.0.933
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-10-29 00:00:00.000000000 Z
11
+ date: 2024-10-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common