tencentcloud-sdk-cfw 3.0.569 → 3.0.571

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: 8cd4900b928a1ca196c5f5bdfecc5354a02c85cb
4
- data.tar.gz: 755c51ef3068847f29a131c4d487ee670a4ec6bd
3
+ metadata.gz: 4669ef2f2cb199d00d61278e915c7a5d534586d6
4
+ data.tar.gz: 84fc98eb565d72d14771d050ed3f4fe3a48b60bc
5
5
  SHA512:
6
- metadata.gz: 41039b443583ef69c236f58c2f149bbeed0e51ca288b4148e2a591690f0a185bf395d96b8e0a809b284e6d340473f59a3b248dfaf7b1a26a65ae01efc8cd5fa2
7
- data.tar.gz: 57ae999b9160827a7ea2bd933bc97972828b8c0a863b5b29906641d3fa558474bba16076f24a0de99cfcc294c823512296378b470eea42cac9f04b290da7696d
6
+ metadata.gz: 01e9dedaa67884f786029649cdb34532eb082012583a09c2be0db6166bc93742812d636922083504e1a8949c4a4b0c2454104872f972556a68fe82f8be16a2a7
7
+ data.tar.gz: 81b3f0a42c799bff9f949053c7f5871151f753a8e6aeba8cfecb6d372e89bd414c14d2b994a2382c005aa8c011372c51d8a60e69073581f9e8395f15b25c1990
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.569
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
 
@@ -5154,10 +5160,25 @@ module TencentCloud
5154
5160
  # @type Direction: Integer
5155
5161
  # @param ProtocolPortType: 是否使用端口协议模板,0:否,1:是
5156
5162
  # @type ProtocolPortType: Integer
5163
+ # @param Uuid: Uuid
5164
+ # 注意:此字段可能返回 null,表示取不到有效值。
5165
+ # @type Uuid: String
5166
+ # @param Region: 地域
5167
+ # 注意:此字段可能返回 null,表示取不到有效值。
5168
+ # @type Region: String
5169
+ # @param AssetGroupNameIn: 资产分组名称
5170
+ # 注意:此字段可能返回 null,表示取不到有效值。
5171
+ # @type AssetGroupNameIn: String
5172
+ # @param AssetGroupNameOut: 资产分组名称
5173
+ # 注意:此字段可能返回 null,表示取不到有效值。
5174
+ # @type AssetGroupNameOut: String
5175
+ # @param ParameterName: 模板名称
5176
+ # 注意:此字段可能返回 null,表示取不到有效值。
5177
+ # @type ParameterName: String
5157
5178
 
5158
- attr_accessor :OrderIndex, :SourceId, :SourceType, :TargetId, :TargetType, :Protocol, :Port, :Strategy, :Detail, :BothWay, :Id, :Status, :IsNew, :VpcId, :SubnetId, :InstanceName, :PublicIp, :PrivateIp, :Cidr, :ServiceTemplateId, :BothWayInfo, :Direction, :ProtocolPortType
5179
+ attr_accessor :OrderIndex, :SourceId, :SourceType, :TargetId, :TargetType, :Protocol, :Port, :Strategy, :Detail, :BothWay, :Id, :Status, :IsNew, :VpcId, :SubnetId, :InstanceName, :PublicIp, :PrivateIp, :Cidr, :ServiceTemplateId, :BothWayInfo, :Direction, :ProtocolPortType, :Uuid, :Region, :AssetGroupNameIn, :AssetGroupNameOut, :ParameterName
5159
5180
 
5160
- def initialize(orderindex=nil, sourceid=nil, sourcetype=nil, targetid=nil, targettype=nil, protocol=nil, port=nil, strategy=nil, detail=nil, bothway=nil, id=nil, status=nil, isnew=nil, vpcid=nil, subnetid=nil, instancename=nil, publicip=nil, privateip=nil, cidr=nil, servicetemplateid=nil, bothwayinfo=nil, direction=nil, protocolporttype=nil)
5181
+ def initialize(orderindex=nil, sourceid=nil, sourcetype=nil, targetid=nil, targettype=nil, protocol=nil, port=nil, strategy=nil, detail=nil, bothway=nil, id=nil, status=nil, isnew=nil, vpcid=nil, subnetid=nil, instancename=nil, publicip=nil, privateip=nil, cidr=nil, servicetemplateid=nil, bothwayinfo=nil, direction=nil, protocolporttype=nil, uuid=nil, region=nil, assetgroupnamein=nil, assetgroupnameout=nil, parametername=nil)
5161
5182
  @OrderIndex = orderindex
5162
5183
  @SourceId = sourceid
5163
5184
  @SourceType = sourcetype
@@ -5181,6 +5202,11 @@ module TencentCloud
5181
5202
  @BothWayInfo = bothwayinfo
5182
5203
  @Direction = direction
5183
5204
  @ProtocolPortType = protocolporttype
5205
+ @Uuid = uuid
5206
+ @Region = region
5207
+ @AssetGroupNameIn = assetgroupnamein
5208
+ @AssetGroupNameOut = assetgroupnameout
5209
+ @ParameterName = parametername
5184
5210
  end
5185
5211
 
5186
5212
  def deserialize(params)
@@ -5214,6 +5240,11 @@ module TencentCloud
5214
5240
  end
5215
5241
  @Direction = params['Direction']
5216
5242
  @ProtocolPortType = params['ProtocolPortType']
5243
+ @Uuid = params['Uuid']
5244
+ @Region = params['Region']
5245
+ @AssetGroupNameIn = params['AssetGroupNameIn']
5246
+ @AssetGroupNameOut = params['AssetGroupNameOut']
5247
+ @ParameterName = params['ParameterName']
5217
5248
  end
5218
5249
  end
5219
5250
 
@@ -5316,6 +5347,60 @@ module TencentCloud
5316
5347
  end
5317
5348
  end
5318
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
+
5319
5404
  # 执行顺序对象
5320
5405
  class SequenceData < TencentCloud::Common::AbstractModel
5321
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.569
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-15 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