tencentcloud-sdk-cfw 3.0.570 → 3.0.572
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20190904/client.rb +1 -1
- data/lib/v20190904/models.rb +76 -16
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 58980e190a9926907a3834c8d56630fe096ffe2e
|
4
|
+
data.tar.gz: 4e461c3839503287c83ed812cc2b10bb1c7afb63
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ef4e53e121028c5168bd9e29949f66e16fb45c23e5ccf3becdb7620bdb91a0c09d4b1f7fd6be9484f31181b5ed057f5e2aee0c16aa108a868f53a45ca4faebd1
|
7
|
+
data.tar.gz: 4f97b881882d4492e5ae76af37bdf9f5c15da3669209f50a9441596c21557ea4e98fe81443685079c2601db4b1b35f2275b7e8c75ce7ad8c7e5e56070176a1e9
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.572
|
data/lib/v20190904/client.rb
CHANGED
@@ -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`
|
data/lib/v20190904/models.rb
CHANGED
@@ -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: 枚举类型,代表
|
564
|
+
# @param OperatorType: 枚举类型,代表Name与Values之间的匹配关系
|
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.
|
4
|
+
version: 3.0.572
|
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-
|
11
|
+
date: 2023-05-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|