tencentcloud-sdk-vpc 1.0.359 → 1.0.360
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 +116 -4
- 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: d948ca66444e085adc4ec836c8a7441bb4b7b262
|
4
|
+
data.tar.gz: dc50b88b38cf8acb3b7ecc580a7b86f0754a133f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8d094a095aefe9d022869198e6e135bd9a9ff4657ac643b7dcbbdff9c8a65f3e413cd64c42d122d6b076a7388481394b4353ab88339f331adb72b10aa96d3118
|
7
|
+
data.tar.gz: 749073764bfd80126fe7165fad6feca00d765a6c1aac213748e4a0a1d7d4a281c0c401b8d9b3d6268636067d4ef4cb9f6b6b9cd8babcce4857f6b562f84ec9e8
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.360
|
data/lib/v20170312/models.rb
CHANGED
@@ -3305,17 +3305,32 @@ module TencentCloud
|
|
3305
3305
|
# @type VpcId: String
|
3306
3306
|
# @param NetworkAclName: 网络ACL名称,最大长度不能超过60个字节。
|
3307
3307
|
# @type NetworkAclName: String
|
3308
|
+
# @param NetworkAclType: 网络ACL类型,三元组(TRIPLE)或五元组(QUINTUPLE)
|
3309
|
+
# @type NetworkAclType: String
|
3310
|
+
# @param Tags: 指定绑定的标签列表,例如:[{"Key": "city", "Value": "shanghai"}]。
|
3311
|
+
# @type Tags: Array
|
3308
3312
|
|
3309
|
-
attr_accessor :VpcId, :NetworkAclName
|
3313
|
+
attr_accessor :VpcId, :NetworkAclName, :NetworkAclType, :Tags
|
3310
3314
|
|
3311
|
-
def initialize(vpcid=nil, networkaclname=nil)
|
3315
|
+
def initialize(vpcid=nil, networkaclname=nil, networkacltype=nil, tags=nil)
|
3312
3316
|
@VpcId = vpcid
|
3313
3317
|
@NetworkAclName = networkaclname
|
3318
|
+
@NetworkAclType = networkacltype
|
3319
|
+
@Tags = tags
|
3314
3320
|
end
|
3315
3321
|
|
3316
3322
|
def deserialize(params)
|
3317
3323
|
@VpcId = params['VpcId']
|
3318
3324
|
@NetworkAclName = params['NetworkAclName']
|
3325
|
+
@NetworkAclType = params['NetworkAclType']
|
3326
|
+
unless params['Tags'].nil?
|
3327
|
+
@Tags = []
|
3328
|
+
params['Tags'].each do |i|
|
3329
|
+
tag_tmp = Tag.new
|
3330
|
+
tag_tmp.deserialize(i)
|
3331
|
+
@Tags << tag_tmp
|
3332
|
+
end
|
3333
|
+
end
|
3319
3334
|
end
|
3320
3335
|
end
|
3321
3336
|
|
@@ -14066,12 +14081,15 @@ module TencentCloud
|
|
14066
14081
|
# @type NetworkAclId: String
|
14067
14082
|
# @param NetworkAclEntrySet: 网络ACL规则集。NetworkAclEntrySet和NetworkAclQuintupleSet只能输入一个。
|
14068
14083
|
# @type NetworkAclEntrySet: :class:`Tencentcloud::Vpc.v20170312.models.NetworkAclEntrySet`
|
14084
|
+
# @param NetworkAclQuintupleSet: 网络ACL五元组规则集。NetworkAclEntrySet和NetworkAclQuintupleSet只能输入一个。
|
14085
|
+
# @type NetworkAclQuintupleSet: :class:`Tencentcloud::Vpc.v20170312.models.NetworkAclQuintupleEntries`
|
14069
14086
|
|
14070
|
-
attr_accessor :NetworkAclId, :NetworkAclEntrySet
|
14087
|
+
attr_accessor :NetworkAclId, :NetworkAclEntrySet, :NetworkAclQuintupleSet
|
14071
14088
|
|
14072
|
-
def initialize(networkaclid=nil, networkaclentryset=nil)
|
14089
|
+
def initialize(networkaclid=nil, networkaclentryset=nil, networkaclquintupleset=nil)
|
14073
14090
|
@NetworkAclId = networkaclid
|
14074
14091
|
@NetworkAclEntrySet = networkaclentryset
|
14092
|
+
@NetworkAclQuintupleSet = networkaclquintupleset
|
14075
14093
|
end
|
14076
14094
|
|
14077
14095
|
def deserialize(params)
|
@@ -14080,6 +14098,10 @@ module TencentCloud
|
|
14080
14098
|
@NetworkAclEntrySet = NetworkAclEntrySet.new
|
14081
14099
|
@NetworkAclEntrySet.deserialize(params['NetworkAclEntrySet'])
|
14082
14100
|
end
|
14101
|
+
unless params['NetworkAclQuintupleSet'].nil?
|
14102
|
+
@NetworkAclQuintupleSet = NetworkAclQuintupleEntries.new
|
14103
|
+
@NetworkAclQuintupleSet.deserialize(params['NetworkAclQuintupleSet'])
|
14104
|
+
end
|
14083
14105
|
end
|
14084
14106
|
end
|
14085
14107
|
|
@@ -15454,6 +15476,96 @@ module TencentCloud
|
|
15454
15476
|
end
|
15455
15477
|
end
|
15456
15478
|
|
15479
|
+
# 网络ACL五元组
|
15480
|
+
class NetworkAclQuintupleEntries < TencentCloud::Common::AbstractModel
|
15481
|
+
# @param Ingress: 网络ACL五元组入站规则。
|
15482
|
+
# @type Ingress: Array
|
15483
|
+
# @param Egress: 网络ACL五元组出站规则
|
15484
|
+
# @type Egress: Array
|
15485
|
+
|
15486
|
+
attr_accessor :Ingress, :Egress
|
15487
|
+
|
15488
|
+
def initialize(ingress=nil, egress=nil)
|
15489
|
+
@Ingress = ingress
|
15490
|
+
@Egress = egress
|
15491
|
+
end
|
15492
|
+
|
15493
|
+
def deserialize(params)
|
15494
|
+
unless params['Ingress'].nil?
|
15495
|
+
@Ingress = []
|
15496
|
+
params['Ingress'].each do |i|
|
15497
|
+
networkaclquintupleentry_tmp = NetworkAclQuintupleEntry.new
|
15498
|
+
networkaclquintupleentry_tmp.deserialize(i)
|
15499
|
+
@Ingress << networkaclquintupleentry_tmp
|
15500
|
+
end
|
15501
|
+
end
|
15502
|
+
unless params['Egress'].nil?
|
15503
|
+
@Egress = []
|
15504
|
+
params['Egress'].each do |i|
|
15505
|
+
networkaclquintupleentry_tmp = NetworkAclQuintupleEntry.new
|
15506
|
+
networkaclquintupleentry_tmp.deserialize(i)
|
15507
|
+
@Egress << networkaclquintupleentry_tmp
|
15508
|
+
end
|
15509
|
+
end
|
15510
|
+
end
|
15511
|
+
end
|
15512
|
+
|
15513
|
+
# 网络ACL五元组Entry
|
15514
|
+
class NetworkAclQuintupleEntry < TencentCloud::Common::AbstractModel
|
15515
|
+
# @param Protocol: 协议, 取值: TCP,UDP, ICMP, ALL。
|
15516
|
+
# @type Protocol: String
|
15517
|
+
# @param Description: 描述。
|
15518
|
+
# @type Description: String
|
15519
|
+
# @param SourcePort: 源端口(all, 单个port, range)。当Protocol为ALL或ICMP时,不能指定Port。
|
15520
|
+
# @type SourcePort: String
|
15521
|
+
# @param SourceCidr: 源CIDR。
|
15522
|
+
# @type SourceCidr: String
|
15523
|
+
# @param DestinationPort: 目的端口(all, 单个port, range)。当Protocol为ALL或ICMP时,不能指定Port。
|
15524
|
+
# @type DestinationPort: String
|
15525
|
+
# @param DestinationCidr: 目的CIDR。
|
15526
|
+
# @type DestinationCidr: String
|
15527
|
+
# @param Action: 动作,ACCEPT 或 DROP。
|
15528
|
+
# @type Action: String
|
15529
|
+
# @param NetworkAclQuintupleEntryId: 网络ACL条目唯一ID。
|
15530
|
+
# @type NetworkAclQuintupleEntryId: String
|
15531
|
+
# @param Priority: 优先级,从1开始。
|
15532
|
+
# @type Priority: Integer
|
15533
|
+
# @param CreateTime: 创建时间,用于DescribeNetworkAclQuintupleEntries的出参。
|
15534
|
+
# @type CreateTime: String
|
15535
|
+
# @param NetworkAclDirection: 方向,INGRESS或EGRESS,用于DescribeNetworkAclQuintupleEntries的出参。
|
15536
|
+
# @type NetworkAclDirection: String
|
15537
|
+
|
15538
|
+
attr_accessor :Protocol, :Description, :SourcePort, :SourceCidr, :DestinationPort, :DestinationCidr, :Action, :NetworkAclQuintupleEntryId, :Priority, :CreateTime, :NetworkAclDirection
|
15539
|
+
|
15540
|
+
def initialize(protocol=nil, description=nil, sourceport=nil, sourcecidr=nil, destinationport=nil, destinationcidr=nil, action=nil, networkaclquintupleentryid=nil, priority=nil, createtime=nil, networkacldirection=nil)
|
15541
|
+
@Protocol = protocol
|
15542
|
+
@Description = description
|
15543
|
+
@SourcePort = sourceport
|
15544
|
+
@SourceCidr = sourcecidr
|
15545
|
+
@DestinationPort = destinationport
|
15546
|
+
@DestinationCidr = destinationcidr
|
15547
|
+
@Action = action
|
15548
|
+
@NetworkAclQuintupleEntryId = networkaclquintupleentryid
|
15549
|
+
@Priority = priority
|
15550
|
+
@CreateTime = createtime
|
15551
|
+
@NetworkAclDirection = networkacldirection
|
15552
|
+
end
|
15553
|
+
|
15554
|
+
def deserialize(params)
|
15555
|
+
@Protocol = params['Protocol']
|
15556
|
+
@Description = params['Description']
|
15557
|
+
@SourcePort = params['SourcePort']
|
15558
|
+
@SourceCidr = params['SourceCidr']
|
15559
|
+
@DestinationPort = params['DestinationPort']
|
15560
|
+
@DestinationCidr = params['DestinationCidr']
|
15561
|
+
@Action = params['Action']
|
15562
|
+
@NetworkAclQuintupleEntryId = params['NetworkAclQuintupleEntryId']
|
15563
|
+
@Priority = params['Priority']
|
15564
|
+
@CreateTime = params['CreateTime']
|
15565
|
+
@NetworkAclDirection = params['NetworkAclDirection']
|
15566
|
+
end
|
15567
|
+
end
|
15568
|
+
|
15457
15569
|
# 弹性网卡
|
15458
15570
|
class NetworkInterface < TencentCloud::Common::AbstractModel
|
15459
15571
|
# @param NetworkInterfaceId: 弹性网卡实例ID,例如:eni-f1xjkw1b。
|
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.360
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-07-
|
11
|
+
date: 2022-07-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|