tencentcloud-sdk-cfw 3.0.570 → 3.0.571

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: d9df9329a236fafdbf0a0434eb7368daed335acf
4
- data.tar.gz: 40e75cc64f542614162adaa62c02c9a576c137a7
3
+ metadata.gz: 4669ef2f2cb199d00d61278e915c7a5d534586d6
4
+ data.tar.gz: 84fc98eb565d72d14771d050ed3f4fe3a48b60bc
5
5
  SHA512:
6
- metadata.gz: 6d0f90a3c0a1e76ee3f7d1049db02d9ec603cbbfddf136b7f57873bd681f186ca93213153c48e57787607a2645f749728c66855f6c468a1e0ff68520c802060e
7
- data.tar.gz: 7c1b018c674110ca472f747ced05ba1c06a2a7c5d8835a3392b9fae67e844286e1596e66ef207d2fe32970b05f6ff2d15a2733292354744fc3e4ed17226ccf16
6
+ metadata.gz: 01e9dedaa67884f786029649cdb34532eb082012583a09c2be0db6166bc93742812d636922083504e1a8949c4a4b0c2454104872f972556a68fe82f8be16a2a7
7
+ data.tar.gz: 81b3f0a42c799bff9f949053c7f5871151f753a8e6aeba8cfecb6d372e89bd414c14d2b994a2382c005aa8c011372c51d8a60e69073581f9e8395f15b25c1990
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.570
1
+ 3.0.571
@@ -77,7 +77,7 @@ module TencentCloud
77
77
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
78
78
  end
79
79
 
80
- # 添加nat访问控制规则
80
+ # 添加nat访问控制规则(地域必填)
81
81
 
82
82
  # @param request: Request instance for AddNatAcRule.
83
83
  # @type request: :class:`Tencentcloud::cfw::V20190904::AddNatAcRuleRequest`
@@ -253,18 +253,30 @@ module TencentCloud
253
253
  class AddEnterpriseSecurityGroupRulesResponse < TencentCloud::Common::AbstractModel
254
254
  # @param Status: 状态值,0:添加成功,非0:添加失败
255
255
  # @type Status: Integer
256
+ # @param Rules: 规则uuid
257
+ # 注意:此字段可能返回 null,表示取不到有效值。
258
+ # @type Rules: Array
256
259
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
257
260
  # @type RequestId: String
258
261
 
259
- attr_accessor :Status, :RequestId
262
+ attr_accessor :Status, :Rules, :RequestId
260
263
 
261
- def initialize(status=nil, requestid=nil)
264
+ def initialize(status=nil, rules=nil, requestid=nil)
262
265
  @Status = status
266
+ @Rules = rules
263
267
  @RequestId = requestid
264
268
  end
265
269
 
266
270
  def deserialize(params)
267
271
  @Status = params['Status']
272
+ unless params['Rules'].nil?
273
+ @Rules = []
274
+ params['Rules'].each do |i|
275
+ securitygroupsimplifyrule_tmp = SecurityGroupSimplifyRule.new
276
+ securitygroupsimplifyrule_tmp.deserialize(i)
277
+ @Rules << securitygroupsimplifyrule_tmp
278
+ end
279
+ end
268
280
  @RequestId = params['RequestId']
269
281
  end
270
282
  end
@@ -547,12 +559,10 @@ module TencentCloud
547
559
  class CommonFilter < TencentCloud::Common::AbstractModel
548
560
  # @param Name: 检索的键值
549
561
  # @type Name: String
550
- # @param Values: 检索的值
562
+ # @param Values: 检索的值,各检索值间为OR关系
551
563
  # @type Values: Array
552
- # @param OperatorType: 枚举类型,代表namevalues之间的匹配关系
564
+ # @param OperatorType: 枚举类型,代表NameValues之间的匹配关系
553
565
  # enum FilterOperatorType {
554
- # //INVALID
555
- # FILTER_OPERATOR_TYPE_INVALID = 0;
556
566
  # //等于
557
567
  # FILTER_OPERATOR_TYPE_EQUAL = 1;
558
568
  # //大于
@@ -565,18 +575,10 @@ module TencentCloud
565
575
  # FILTER_OPERATOR_TYPE_LESS_EQ = 5;
566
576
  # //不等于
567
577
  # FILTER_OPERATOR_TYPE_NO_EQ = 6;
568
- # //in,数组中包含
569
- # FILTER_OPERATOR_TYPE_IN = 7;
570
578
  # //not in
571
579
  # FILTER_OPERATOR_TYPE_NOT_IN = 8;
572
580
  # //模糊匹配
573
581
  # FILTER_OPERATOR_TYPE_FUZZINESS = 9;
574
- # //存在
575
- # FILTER_OPERATOR_TYPE_EXIST = 10;
576
- # //不存在
577
- # FILTER_OPERATOR_TYPE_NOT_EXIST = 11;
578
- # //正则
579
- # FILTER_OPERATOR_TYPE_REGULAR = 12;
580
582
  # }
581
583
  # @type OperatorType: Integer
582
584
 
@@ -2010,10 +2012,12 @@ module TencentCloud
2010
2012
  # @type Protocol: String
2011
2013
  # @param ServiceTemplateId: 端口协议类型参数模板id;协议端口模板id;与Protocol,Port互斥
2012
2014
  # @type ServiceTemplateId: String
2015
+ # @param RuleUuid: 规则的uuid
2016
+ # @type RuleUuid: Integer
2013
2017
 
2014
- attr_accessor :PageNo, :PageSize, :SourceContent, :DestContent, :Description, :RuleAction, :Enable, :Port, :Protocol, :ServiceTemplateId
2018
+ attr_accessor :PageNo, :PageSize, :SourceContent, :DestContent, :Description, :RuleAction, :Enable, :Port, :Protocol, :ServiceTemplateId, :RuleUuid
2015
2019
 
2016
- def initialize(pageno=nil, pagesize=nil, sourcecontent=nil, destcontent=nil, description=nil, ruleaction=nil, enable=nil, port=nil, protocol=nil, servicetemplateid=nil)
2020
+ def initialize(pageno=nil, pagesize=nil, sourcecontent=nil, destcontent=nil, description=nil, ruleaction=nil, enable=nil, port=nil, protocol=nil, servicetemplateid=nil, ruleuuid=nil)
2017
2021
  @PageNo = pageno
2018
2022
  @PageSize = pagesize
2019
2023
  @SourceContent = sourcecontent
@@ -2024,6 +2028,7 @@ module TencentCloud
2024
2028
  @Port = port
2025
2029
  @Protocol = protocol
2026
2030
  @ServiceTemplateId = servicetemplateid
2031
+ @RuleUuid = ruleuuid
2027
2032
  end
2028
2033
 
2029
2034
  def deserialize(params)
@@ -2037,6 +2042,7 @@ module TencentCloud
2037
2042
  @Port = params['Port']
2038
2043
  @Protocol = params['Protocol']
2039
2044
  @ServiceTemplateId = params['ServiceTemplateId']
2045
+ @RuleUuid = params['RuleUuid']
2040
2046
  end
2041
2047
  end
2042
2048
 
@@ -5341,6 +5347,60 @@ module TencentCloud
5341
5347
  end
5342
5348
  end
5343
5349
 
5350
+ # 安全组规则
5351
+ class SecurityGroupSimplifyRule < TencentCloud::Common::AbstractModel
5352
+ # @param SourceContent: 访问源示例:
5353
+ # net:IP/CIDR(192.168.0.2)
5354
+ # template:参数模板(ipm-dyodhpby)
5355
+ # instance:资产实例(ins-123456)
5356
+ # resourcegroup:资产分组(/全部分组/分组1/子分组1)
5357
+ # tag:资源标签({"Key":"标签key值","Value":"标签Value值"})
5358
+ # region:地域(ap-gaungzhou)
5359
+ # 注意:此字段可能返回 null,表示取不到有效值。
5360
+ # @type SourceContent: String
5361
+ # @param DestContent: 访问目的示例:
5362
+ # net:IP/CIDR(192.168.0.2)
5363
+ # template:参数模板(ipm-dyodhpby)
5364
+ # instance:资产实例(ins-123456)
5365
+ # resourcegroup:资产分组(/全部分组/分组1/子分组1)
5366
+ # tag:资源标签({"Key":"标签key值","Value":"标签Value值"})
5367
+ # region:地域(ap-gaungzhou)
5368
+ # 注意:此字段可能返回 null,表示取不到有效值。
5369
+ # @type DestContent: String
5370
+ # @param Protocol: 协议;TCP/UDP/ICMP/ANY
5371
+ # 注意:此字段可能返回 null,表示取不到有效值。
5372
+ # @type Protocol: String
5373
+ # @param Description: 描述
5374
+ # 注意:此字段可能返回 null,表示取不到有效值。
5375
+ # @type Description: String
5376
+ # @param RuleUuid: 规则对应的唯一id
5377
+ # 注意:此字段可能返回 null,表示取不到有效值。
5378
+ # @type RuleUuid: Integer
5379
+ # @param Sequence: 规则序号
5380
+ # 注意:此字段可能返回 null,表示取不到有效值。
5381
+ # @type Sequence: Integer
5382
+
5383
+ attr_accessor :SourceContent, :DestContent, :Protocol, :Description, :RuleUuid, :Sequence
5384
+
5385
+ def initialize(sourcecontent=nil, destcontent=nil, protocol=nil, description=nil, ruleuuid=nil, sequence=nil)
5386
+ @SourceContent = sourcecontent
5387
+ @DestContent = destcontent
5388
+ @Protocol = protocol
5389
+ @Description = description
5390
+ @RuleUuid = ruleuuid
5391
+ @Sequence = sequence
5392
+ end
5393
+
5394
+ def deserialize(params)
5395
+ @SourceContent = params['SourceContent']
5396
+ @DestContent = params['DestContent']
5397
+ @Protocol = params['Protocol']
5398
+ @Description = params['Description']
5399
+ @RuleUuid = params['RuleUuid']
5400
+ @Sequence = params['Sequence']
5401
+ end
5402
+ end
5403
+
5344
5404
  # 执行顺序对象
5345
5405
  class SequenceData < TencentCloud::Common::AbstractModel
5346
5406
  # @param Id: 规则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.570
4
+ version: 3.0.571
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-05-16 00:00:00.000000000 Z
11
+ date: 2023-05-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common