tencentcloud-sdk-vpc 1.0.223 → 1.0.224
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/v20170312/models.rb +22 -2
- 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: 10ff372a059216d7ecb147aa5901cc8416504071
|
4
|
+
data.tar.gz: 2c1ed59f503b93e3aaec3f2c929c0bf6d9dfa5be
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: df7647f00379e5c4772d15c61c0c2006a8610e239880ed1e2c752cb53c1199da566f756df6256c60c88b749e10d5860c852e4b7ee3313f47165a31857a5c3244
|
7
|
+
data.tar.gz: df02bda213595acf5fb79249455e8654d8ef26bf44e276e3ee102a19367648edd6313701e9a5b60652f90be4940d3a88f5e613f6df6dde232f4776a76f0f5fd0
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.224
|
data/lib/v20170312/models.rb
CHANGED
@@ -8565,15 +8565,35 @@ module TencentCloud
|
|
8565
8565
|
class DescribeSecurityGroupPoliciesRequest < TencentCloud::Common::AbstractModel
|
8566
8566
|
# @param SecurityGroupId: 安全组实例ID,例如:sg-33ocnj9n,可通过DescribeSecurityGroups获取。
|
8567
8567
|
# @type SecurityGroupId: String
|
8568
|
+
# @param Filters: 过滤条件,不支持同时指定SecurityGroupId和Filters参数。
|
8569
|
+
# <li>security-group-id - String - 安全组ID。</li>
|
8570
|
+
# <li>ip - String - IP,支持IPV4和IPV6模糊匹配。</li>
|
8571
|
+
# <li>address-module - String - IP地址模板或IP地址组模板ID。</li>
|
8572
|
+
# <li>service-module - String - 协议端口模板或协议端口组模板ID。</li>
|
8573
|
+
# <li>protocol-type - String - 安全组策略支持的协议,可选值:`TCP`, `UDP`, `ICMP`, `ICMPV6`, `GRE`, `ALL`。</li>
|
8574
|
+
# <li>port - String - 是否必填:否 -协议端口,支持模糊匹配,值为`ALL`时,查询所有的端口。</li>
|
8575
|
+
# <li>poly - String - 协议策略,可选值:`ALL`,所有策略;`ACCEPT`,允许;`DROP`,拒绝。</li>
|
8576
|
+
# <li>direction - String - 协议规则,可选值:`ALL`,所有策略;`INBOUND`,入站规则;`OUTBOUND`,出站规则。</li>
|
8577
|
+
# <li>description - String - 协议描述,该过滤条件支持模糊匹配。</li>
|
8578
|
+
# @type Filters: Array
|
8568
8579
|
|
8569
|
-
attr_accessor :SecurityGroupId
|
8580
|
+
attr_accessor :SecurityGroupId, :Filters
|
8570
8581
|
|
8571
|
-
def initialize(securitygroupid=nil)
|
8582
|
+
def initialize(securitygroupid=nil, filters=nil)
|
8572
8583
|
@SecurityGroupId = securitygroupid
|
8584
|
+
@Filters = filters
|
8573
8585
|
end
|
8574
8586
|
|
8575
8587
|
def deserialize(params)
|
8576
8588
|
@SecurityGroupId = params['SecurityGroupId']
|
8589
|
+
unless params['Filters'].nil?
|
8590
|
+
@Filters = []
|
8591
|
+
params['Filters'].each do |i|
|
8592
|
+
filter_tmp = Filter.new
|
8593
|
+
filter_tmp.deserialize(i)
|
8594
|
+
@Filters << filter_tmp
|
8595
|
+
end
|
8596
|
+
end
|
8577
8597
|
end
|
8578
8598
|
end
|
8579
8599
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-vpc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.224
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-12-
|
11
|
+
date: 2021-12-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|