tencentcloud-sdk-vpc 3.0.1183 → 3.0.1192
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 +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20170312/models.rb +44 -6
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8bef663af30ef80183366ab5ae646fd9e3f426e0
|
|
4
|
+
data.tar.gz: 3ba27efb26df1b72243d146d11b13f3949967ffc
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f0e5e10eba12fdfa1986f007463fa6ff0c69210dd862b7c50875f78d3e674431d9a625e34d73fceba8717a2ad7bd2f9b7addfd93c126a2d62dcf155ccc74f1f9
|
|
7
|
+
data.tar.gz: 6b555329f136018c8f5ca595eecf438e1cdaac2eacd8f9446435173e9be46287b33b14868478f95d85385a285411c3b778f7177a156c9ab485ba109fb3ceac2c
|
data/lib/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.0.
|
|
1
|
+
3.0.1192
|
data/lib/v20170312/models.rb
CHANGED
|
@@ -5494,16 +5494,27 @@ module TencentCloud
|
|
|
5494
5494
|
|
|
5495
5495
|
# CreatePrivateNatGatewayTranslationAclRule返回参数结构体
|
|
5496
5496
|
class CreatePrivateNatGatewayTranslationAclRuleResponse < TencentCloud::Common::AbstractModel
|
|
5497
|
+
# @param TranslationAclRuleSet: 创建成功的访问控制列表。
|
|
5498
|
+
# @type TranslationAclRuleSet: Array
|
|
5497
5499
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
5498
5500
|
# @type RequestId: String
|
|
5499
5501
|
|
|
5500
|
-
attr_accessor :RequestId
|
|
5502
|
+
attr_accessor :TranslationAclRuleSet, :RequestId
|
|
5501
5503
|
|
|
5502
|
-
def initialize(requestid=nil)
|
|
5504
|
+
def initialize(translationaclruleset=nil, requestid=nil)
|
|
5505
|
+
@TranslationAclRuleSet = translationaclruleset
|
|
5503
5506
|
@RequestId = requestid
|
|
5504
5507
|
end
|
|
5505
5508
|
|
|
5506
5509
|
def deserialize(params)
|
|
5510
|
+
unless params['TranslationAclRuleSet'].nil?
|
|
5511
|
+
@TranslationAclRuleSet = []
|
|
5512
|
+
params['TranslationAclRuleSet'].each do |i|
|
|
5513
|
+
translationaclrule_tmp = TranslationAclRule.new
|
|
5514
|
+
translationaclrule_tmp.deserialize(i)
|
|
5515
|
+
@TranslationAclRuleSet << translationaclrule_tmp
|
|
5516
|
+
end
|
|
5517
|
+
end
|
|
5507
5518
|
@RequestId = params['RequestId']
|
|
5508
5519
|
end
|
|
5509
5520
|
end
|
|
@@ -13668,10 +13679,12 @@ module TencentCloud
|
|
|
13668
13679
|
# @type Limit: Integer
|
|
13669
13680
|
# @param Description: ACL规则描述
|
|
13670
13681
|
# @type Description: String
|
|
13682
|
+
# @param Filters: 过滤条件。<li>AclRuleId - Integer - ACL规则ID。</li>
|
|
13683
|
+
# @type Filters: Array
|
|
13671
13684
|
|
|
13672
|
-
attr_accessor :NatGatewayId, :TranslationDirection, :TranslationType, :TranslationIp, :OriginalIp, :Offset, :Limit, :Description
|
|
13685
|
+
attr_accessor :NatGatewayId, :TranslationDirection, :TranslationType, :TranslationIp, :OriginalIp, :Offset, :Limit, :Description, :Filters
|
|
13673
13686
|
|
|
13674
|
-
def initialize(natgatewayid=nil, translationdirection=nil, translationtype=nil, translationip=nil, originalip=nil, offset=nil, limit=nil, description=nil)
|
|
13687
|
+
def initialize(natgatewayid=nil, translationdirection=nil, translationtype=nil, translationip=nil, originalip=nil, offset=nil, limit=nil, description=nil, filters=nil)
|
|
13675
13688
|
@NatGatewayId = natgatewayid
|
|
13676
13689
|
@TranslationDirection = translationdirection
|
|
13677
13690
|
@TranslationType = translationtype
|
|
@@ -13680,6 +13693,7 @@ module TencentCloud
|
|
|
13680
13693
|
@Offset = offset
|
|
13681
13694
|
@Limit = limit
|
|
13682
13695
|
@Description = description
|
|
13696
|
+
@Filters = filters
|
|
13683
13697
|
end
|
|
13684
13698
|
|
|
13685
13699
|
def deserialize(params)
|
|
@@ -13691,6 +13705,14 @@ module TencentCloud
|
|
|
13691
13705
|
@Offset = params['Offset']
|
|
13692
13706
|
@Limit = params['Limit']
|
|
13693
13707
|
@Description = params['Description']
|
|
13708
|
+
unless params['Filters'].nil?
|
|
13709
|
+
@Filters = []
|
|
13710
|
+
params['Filters'].each do |i|
|
|
13711
|
+
filter_tmp = Filter.new
|
|
13712
|
+
filter_tmp.deserialize(i)
|
|
13713
|
+
@Filters << filter_tmp
|
|
13714
|
+
end
|
|
13715
|
+
end
|
|
13694
13716
|
end
|
|
13695
13717
|
end
|
|
13696
13718
|
|
|
@@ -23980,6 +24002,8 @@ module TencentCloud
|
|
|
23980
24002
|
# @type RestrictState: String
|
|
23981
24003
|
# @param NatProductVersion: NAT网关类型,1表示传统型NAT网关,2表示标准型NAT网关
|
|
23982
24004
|
# @type NatProductVersion: Integer
|
|
24005
|
+
# @param StrictSnatMode: true代表仅允许匹配SNAT规则的内网IP的流量进行转发,false代表所有内网IP发起的流量都进行转发。默认为false。
|
|
24006
|
+
# @type StrictSnatMode: Boolean
|
|
23983
24007
|
# @param SmartScheduleMode: 是否启用根据目的网段选择SNAT使用的EIP功能
|
|
23984
24008
|
# @type SmartScheduleMode: Boolean
|
|
23985
24009
|
# @param DedicatedClusterId: NAT实例归属的专属集群id
|
|
@@ -23990,10 +24014,16 @@ module TencentCloud
|
|
|
23990
24014
|
# @type ConnectionStateTimeouts: :class:`Tencentcloud::Vpc.v20170312.models.ConnectionStateTimeouts`
|
|
23991
24015
|
# @param ExclusiveType: 独享实例规格。取值范围:ExclusiveSmall/ExclusiveMedium1/ExclusiveLarge1
|
|
23992
24016
|
# @type ExclusiveType: String
|
|
24017
|
+
# @param AutoScaling: 标准型NAT网关自动扩容
|
|
24018
|
+
# @type AutoScaling: Boolean
|
|
24019
|
+
# @param ICMPProxy: 是否代答公网发给NAT网关上弹性公网IP的ICMP echo请求报文,当前适用于标准型NAT网关
|
|
24020
|
+
# @type ICMPProxy: Boolean
|
|
24021
|
+
# @param PublicAddressAffinity: true代表同一个私网IP访问同一个公网目的IP时,固定使用同一个NAT网关上的弹性公网IP;false代表这种情况下使用的弹性公网IP不固定。默认为true。
|
|
24022
|
+
# @type PublicAddressAffinity: Boolean
|
|
23993
24023
|
|
|
23994
|
-
attr_accessor :NatGatewayId, :NatGatewayName, :CreatedTime, :State, :InternetMaxBandwidthOut, :MaxConcurrentConnection, :PublicIpAddressSet, :NetworkState, :DestinationIpPortTranslationNatRuleSet, :VpcId, :Zone, :DirectConnectGatewayIds, :SubnetId, :TagSet, :SecurityGroupSet, :SourceIpTranslationNatRuleSet, :IsExclusive, :ExclusiveGatewayBandwidth, :RestrictState, :NatProductVersion, :SmartScheduleMode, :DedicatedClusterId, :DeletionProtectionEnabled, :ConnectionStateTimeouts, :ExclusiveType
|
|
24024
|
+
attr_accessor :NatGatewayId, :NatGatewayName, :CreatedTime, :State, :InternetMaxBandwidthOut, :MaxConcurrentConnection, :PublicIpAddressSet, :NetworkState, :DestinationIpPortTranslationNatRuleSet, :VpcId, :Zone, :DirectConnectGatewayIds, :SubnetId, :TagSet, :SecurityGroupSet, :SourceIpTranslationNatRuleSet, :IsExclusive, :ExclusiveGatewayBandwidth, :RestrictState, :NatProductVersion, :StrictSnatMode, :SmartScheduleMode, :DedicatedClusterId, :DeletionProtectionEnabled, :ConnectionStateTimeouts, :ExclusiveType, :AutoScaling, :ICMPProxy, :PublicAddressAffinity
|
|
23995
24025
|
|
|
23996
|
-
def initialize(natgatewayid=nil, natgatewayname=nil, createdtime=nil, state=nil, internetmaxbandwidthout=nil, maxconcurrentconnection=nil, publicipaddressset=nil, networkstate=nil, destinationipporttranslationnatruleset=nil, vpcid=nil, zone=nil, directconnectgatewayids=nil, subnetid=nil, tagset=nil, securitygroupset=nil, sourceiptranslationnatruleset=nil, isexclusive=nil, exclusivegatewaybandwidth=nil, restrictstate=nil, natproductversion=nil, smartschedulemode=nil, dedicatedclusterid=nil, deletionprotectionenabled=nil, connectionstatetimeouts=nil, exclusivetype=nil)
|
|
24026
|
+
def initialize(natgatewayid=nil, natgatewayname=nil, createdtime=nil, state=nil, internetmaxbandwidthout=nil, maxconcurrentconnection=nil, publicipaddressset=nil, networkstate=nil, destinationipporttranslationnatruleset=nil, vpcid=nil, zone=nil, directconnectgatewayids=nil, subnetid=nil, tagset=nil, securitygroupset=nil, sourceiptranslationnatruleset=nil, isexclusive=nil, exclusivegatewaybandwidth=nil, restrictstate=nil, natproductversion=nil, strictsnatmode=nil, smartschedulemode=nil, dedicatedclusterid=nil, deletionprotectionenabled=nil, connectionstatetimeouts=nil, exclusivetype=nil, autoscaling=nil, icmpproxy=nil, publicaddressaffinity=nil)
|
|
23997
24027
|
@NatGatewayId = natgatewayid
|
|
23998
24028
|
@NatGatewayName = natgatewayname
|
|
23999
24029
|
@CreatedTime = createdtime
|
|
@@ -24014,11 +24044,15 @@ module TencentCloud
|
|
|
24014
24044
|
@ExclusiveGatewayBandwidth = exclusivegatewaybandwidth
|
|
24015
24045
|
@RestrictState = restrictstate
|
|
24016
24046
|
@NatProductVersion = natproductversion
|
|
24047
|
+
@StrictSnatMode = strictsnatmode
|
|
24017
24048
|
@SmartScheduleMode = smartschedulemode
|
|
24018
24049
|
@DedicatedClusterId = dedicatedclusterid
|
|
24019
24050
|
@DeletionProtectionEnabled = deletionprotectionenabled
|
|
24020
24051
|
@ConnectionStateTimeouts = connectionstatetimeouts
|
|
24021
24052
|
@ExclusiveType = exclusivetype
|
|
24053
|
+
@AutoScaling = autoscaling
|
|
24054
|
+
@ICMPProxy = icmpproxy
|
|
24055
|
+
@PublicAddressAffinity = publicaddressaffinity
|
|
24022
24056
|
end
|
|
24023
24057
|
|
|
24024
24058
|
def deserialize(params)
|
|
@@ -24070,6 +24104,7 @@ module TencentCloud
|
|
|
24070
24104
|
@ExclusiveGatewayBandwidth = params['ExclusiveGatewayBandwidth']
|
|
24071
24105
|
@RestrictState = params['RestrictState']
|
|
24072
24106
|
@NatProductVersion = params['NatProductVersion']
|
|
24107
|
+
@StrictSnatMode = params['StrictSnatMode']
|
|
24073
24108
|
@SmartScheduleMode = params['SmartScheduleMode']
|
|
24074
24109
|
@DedicatedClusterId = params['DedicatedClusterId']
|
|
24075
24110
|
@DeletionProtectionEnabled = params['DeletionProtectionEnabled']
|
|
@@ -24078,6 +24113,9 @@ module TencentCloud
|
|
|
24078
24113
|
@ConnectionStateTimeouts.deserialize(params['ConnectionStateTimeouts'])
|
|
24079
24114
|
end
|
|
24080
24115
|
@ExclusiveType = params['ExclusiveType']
|
|
24116
|
+
@AutoScaling = params['AutoScaling']
|
|
24117
|
+
@ICMPProxy = params['ICMPProxy']
|
|
24118
|
+
@PublicAddressAffinity = params['PublicAddressAffinity']
|
|
24081
24119
|
end
|
|
24082
24120
|
end
|
|
24083
24121
|
|
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: 3.0.
|
|
4
|
+
version: 3.0.1192
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Tencent Cloud
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2025-12-
|
|
11
|
+
date: 2025-12-29 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: tencentcloud-sdk-common
|
|
@@ -33,8 +33,8 @@ executables: []
|
|
|
33
33
|
extensions: []
|
|
34
34
|
extra_rdoc_files: []
|
|
35
35
|
files:
|
|
36
|
-
- lib/v20170312/models.rb
|
|
37
36
|
- lib/v20170312/client.rb
|
|
37
|
+
- lib/v20170312/models.rb
|
|
38
38
|
- lib/tencentcloud-sdk-vpc.rb
|
|
39
39
|
- lib/VERSION
|
|
40
40
|
homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
|