tencentcloud-sdk-vpc 3.0.1160 → 3.0.1166
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 +111 -66
- 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: d249b45f8faf54530557b3dcdbfdfc5b1d23d90c
|
|
4
|
+
data.tar.gz: 48db067fc49596e3efb36e527c2032141d03633a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b41c814971b30e9970853ee88085fbec2e0734e6759d922a4516794f790fdd2d953be0be170ea417ed131835345d746a363a9b1b940af4eef0b28b0f9c3dc348
|
|
7
|
+
data.tar.gz: bea46388384922a7016dc1b6699eb2d44135f36680e8ffafaf90074d69a8d64051918e3096b596c1bbc3de92cf1ea9c646eb0937f09bb6df94e300e13238680a
|
data/lib/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.0.
|
|
1
|
+
3.0.1166
|
data/lib/v20170312/models.rb
CHANGED
|
@@ -625,12 +625,12 @@ module TencentCloud
|
|
|
625
625
|
|
|
626
626
|
attr_accessor :AddressTemplateId, :AddressTemplateName, :From, :To, :Description, :UpdatedTime
|
|
627
627
|
extend Gem::Deprecate
|
|
628
|
-
deprecate :AddressTemplateName, :none, 2025,
|
|
629
|
-
deprecate :AddressTemplateName=, :none, 2025,
|
|
630
|
-
deprecate :From, :none, 2025,
|
|
631
|
-
deprecate :From=, :none, 2025,
|
|
632
|
-
deprecate :To, :none, 2025,
|
|
633
|
-
deprecate :To=, :none, 2025,
|
|
628
|
+
deprecate :AddressTemplateName, :none, 2025, 11
|
|
629
|
+
deprecate :AddressTemplateName=, :none, 2025, 11
|
|
630
|
+
deprecate :From, :none, 2025, 11
|
|
631
|
+
deprecate :From=, :none, 2025, 11
|
|
632
|
+
deprecate :To, :none, 2025, 11
|
|
633
|
+
deprecate :To=, :none, 2025, 11
|
|
634
634
|
|
|
635
635
|
def initialize(addresstemplateid=nil, addresstemplatename=nil, from=nil, to=nil, description=nil, updatedtime=nil)
|
|
636
636
|
@AddressTemplateId = addresstemplateid
|
|
@@ -797,13 +797,20 @@ module TencentCloud
|
|
|
797
797
|
# @type AntiDDoSPackageId: String
|
|
798
798
|
# @param ClientToken: 保证请求幂等性。从您的客户端生成一个参数值,确保不同请求间该参数值唯一。ClientToken只支持ASCII字符,且不能超过64个字符。
|
|
799
799
|
# @type ClientToken: String
|
|
800
|
+
# @param IPChargeType: 原生EIP IP资源的计费方式。
|
|
801
|
+
# <ul style="margin:0"><li>账号为标准账户类型的用户,可选值:<ul>
|
|
802
|
+
# <li>IP_POSTPAID_BY_HOUR:IP资源按小时后付费</li>
|
|
803
|
+
# <li>IP_PREPAID_BY_MONTH:IP资源包月预付费</li>
|
|
804
|
+
# </ul></li>
|
|
805
|
+
# </ul>
|
|
806
|
+
# @type IPChargeType: String
|
|
800
807
|
|
|
801
|
-
attr_accessor :AddressCount, :InternetServiceProvider, :InternetChargeType, :InternetMaxBandwidthOut, :AddressChargePrepaid, :AddressType, :AnycastZone, :VipCluster, :ApplicableForCLB, :Tags, :BandwidthPackageId, :AddressName, :DedicatedClusterId, :IsDedicatedAddressPool, :Egress, :AntiDDoSPackageId, :ClientToken
|
|
808
|
+
attr_accessor :AddressCount, :InternetServiceProvider, :InternetChargeType, :InternetMaxBandwidthOut, :AddressChargePrepaid, :AddressType, :AnycastZone, :VipCluster, :ApplicableForCLB, :Tags, :BandwidthPackageId, :AddressName, :DedicatedClusterId, :IsDedicatedAddressPool, :Egress, :AntiDDoSPackageId, :ClientToken, :IPChargeType
|
|
802
809
|
extend Gem::Deprecate
|
|
803
|
-
deprecate :ApplicableForCLB, :none, 2025,
|
|
804
|
-
deprecate :ApplicableForCLB=, :none, 2025,
|
|
810
|
+
deprecate :ApplicableForCLB, :none, 2025, 11
|
|
811
|
+
deprecate :ApplicableForCLB=, :none, 2025, 11
|
|
805
812
|
|
|
806
|
-
def initialize(addresscount=nil, internetserviceprovider=nil, internetchargetype=nil, internetmaxbandwidthout=nil, addresschargeprepaid=nil, addresstype=nil, anycastzone=nil, vipcluster=nil, applicableforclb=nil, tags=nil, bandwidthpackageid=nil, addressname=nil, dedicatedclusterid=nil, isdedicatedaddresspool=nil, egress=nil, antiddospackageid=nil, clienttoken=nil)
|
|
813
|
+
def initialize(addresscount=nil, internetserviceprovider=nil, internetchargetype=nil, internetmaxbandwidthout=nil, addresschargeprepaid=nil, addresstype=nil, anycastzone=nil, vipcluster=nil, applicableforclb=nil, tags=nil, bandwidthpackageid=nil, addressname=nil, dedicatedclusterid=nil, isdedicatedaddresspool=nil, egress=nil, antiddospackageid=nil, clienttoken=nil, ipchargetype=nil)
|
|
807
814
|
@AddressCount = addresscount
|
|
808
815
|
@InternetServiceProvider = internetserviceprovider
|
|
809
816
|
@InternetChargeType = internetchargetype
|
|
@@ -821,6 +828,7 @@ module TencentCloud
|
|
|
821
828
|
@Egress = egress
|
|
822
829
|
@AntiDDoSPackageId = antiddospackageid
|
|
823
830
|
@ClientToken = clienttoken
|
|
831
|
+
@IPChargeType = ipchargetype
|
|
824
832
|
end
|
|
825
833
|
|
|
826
834
|
def deserialize(params)
|
|
@@ -851,6 +859,7 @@ module TencentCloud
|
|
|
851
859
|
@Egress = params['Egress']
|
|
852
860
|
@AntiDDoSPackageId = params['AntiDDoSPackageId']
|
|
853
861
|
@ClientToken = params['ClientToken']
|
|
862
|
+
@IPChargeType = params['IPChargeType']
|
|
854
863
|
end
|
|
855
864
|
end
|
|
856
865
|
|
|
@@ -3405,8 +3414,8 @@ module TencentCloud
|
|
|
3405
3414
|
|
|
3406
3415
|
attr_accessor :ConfilctId, :DestinationItem, :ConflictId
|
|
3407
3416
|
extend Gem::Deprecate
|
|
3408
|
-
deprecate :ConfilctId, :none, 2025,
|
|
3409
|
-
deprecate :ConfilctId=, :none, 2025,
|
|
3417
|
+
deprecate :ConfilctId, :none, 2025, 11
|
|
3418
|
+
deprecate :ConfilctId=, :none, 2025, 11
|
|
3410
3419
|
|
|
3411
3420
|
def initialize(confilctid=nil, destinationitem=nil, conflictid=nil)
|
|
3412
3421
|
@ConfilctId = confilctid
|
|
@@ -4835,8 +4844,8 @@ module TencentCloud
|
|
|
4835
4844
|
|
|
4836
4845
|
attr_accessor :NatGatewayName, :VpcId, :InternetMaxBandwidthOut, :MaxConcurrentConnection, :AddressCount, :PublicIpAddresses, :Zone, :Tags, :SubnetId, :StockPublicIpAddressesBandwidthOut, :PublicIpAddressesBandwidthOut, :PublicIpFromSameZone, :NatProductVersion, :DeletionProtectionEnabled
|
|
4837
4846
|
extend Gem::Deprecate
|
|
4838
|
-
deprecate :SubnetId, :none, 2025,
|
|
4839
|
-
deprecate :SubnetId=, :none, 2025,
|
|
4847
|
+
deprecate :SubnetId, :none, 2025, 11
|
|
4848
|
+
deprecate :SubnetId=, :none, 2025, 11
|
|
4840
4849
|
|
|
4841
4850
|
def initialize(natgatewayname=nil, vpcid=nil, internetmaxbandwidthout=nil, maxconcurrentconnection=nil, addresscount=nil, publicipaddresses=nil, zone=nil, tags=nil, subnetid=nil, stockpublicipaddressesbandwidthout=nil, publicipaddressesbandwidthout=nil, publicipfromsamezone=nil, natproductversion=nil, deletionprotectionenabled=nil)
|
|
4842
4851
|
@NatGatewayName = natgatewayname
|
|
@@ -6750,16 +6759,19 @@ module TencentCloud
|
|
|
6750
6759
|
# @type DomainName: String
|
|
6751
6760
|
# @param Tags: 指定绑定的标签列表,例如:[{"Key": "city", "Value": "shanghai"}]。
|
|
6752
6761
|
# @type Tags: Array
|
|
6762
|
+
# @param EnableRouteVpcPublish: vpc关联云联网时路由发布策略, true:开启cidr路由发布,false:开启subnet子网路由发布。创建vpc时默认为子网路由发布,当选择cidr路由发布时,请通过工单加入白名单
|
|
6763
|
+
# @type EnableRouteVpcPublish: Boolean
|
|
6753
6764
|
|
|
6754
|
-
attr_accessor :VpcName, :CidrBlock, :EnableMulticast, :DnsServers, :DomainName, :Tags
|
|
6765
|
+
attr_accessor :VpcName, :CidrBlock, :EnableMulticast, :DnsServers, :DomainName, :Tags, :EnableRouteVpcPublish
|
|
6755
6766
|
|
|
6756
|
-
def initialize(vpcname=nil, cidrblock=nil, enablemulticast=nil, dnsservers=nil, domainname=nil, tags=nil)
|
|
6767
|
+
def initialize(vpcname=nil, cidrblock=nil, enablemulticast=nil, dnsservers=nil, domainname=nil, tags=nil, enableroutevpcpublish=nil)
|
|
6757
6768
|
@VpcName = vpcname
|
|
6758
6769
|
@CidrBlock = cidrblock
|
|
6759
6770
|
@EnableMulticast = enablemulticast
|
|
6760
6771
|
@DnsServers = dnsservers
|
|
6761
6772
|
@DomainName = domainname
|
|
6762
6773
|
@Tags = tags
|
|
6774
|
+
@EnableRouteVpcPublish = enableroutevpcpublish
|
|
6763
6775
|
end
|
|
6764
6776
|
|
|
6765
6777
|
def deserialize(params)
|
|
@@ -6776,6 +6788,7 @@ module TencentCloud
|
|
|
6776
6788
|
@Tags << tag_tmp
|
|
6777
6789
|
end
|
|
6778
6790
|
end
|
|
6791
|
+
@EnableRouteVpcPublish = params['EnableRouteVpcPublish']
|
|
6779
6792
|
end
|
|
6780
6793
|
end
|
|
6781
6794
|
|
|
@@ -16992,23 +17005,23 @@ module TencentCloud
|
|
|
16992
17005
|
class DestinationIpPortTranslationNatRuleDiff < TencentCloud::Common::AbstractModel
|
|
16993
17006
|
# @param Protocol: 协议
|
|
16994
17007
|
# @type Protocol: String
|
|
16995
|
-
# @param OriginalPort:
|
|
17008
|
+
# @param OriginalPort: 映射前端口
|
|
16996
17009
|
# @type OriginalPort: Integer
|
|
16997
|
-
# @param OriginalIp:
|
|
17010
|
+
# @param OriginalIp: 映射前IP
|
|
16998
17011
|
# @type OriginalIp: String
|
|
16999
|
-
# @param TranslationPort:
|
|
17012
|
+
# @param TranslationPort: 映射后端口
|
|
17000
17013
|
# @type TranslationPort: Integer
|
|
17001
|
-
# @param TranslationIp:
|
|
17014
|
+
# @param TranslationIp: 映射后IP
|
|
17002
17015
|
# @type TranslationIp: String
|
|
17003
17016
|
# @param OldProtocol: 旧协议。
|
|
17004
17017
|
# @type OldProtocol: String
|
|
17005
|
-
# @param OldOriginalPort:
|
|
17018
|
+
# @param OldOriginalPort: 旧映射前端口
|
|
17006
17019
|
# @type OldOriginalPort: Integer
|
|
17007
|
-
# @param OldOriginalIp:
|
|
17020
|
+
# @param OldOriginalIp: 旧映射前IP
|
|
17008
17021
|
# @type OldOriginalIp: String
|
|
17009
|
-
# @param OldTranslationPort:
|
|
17022
|
+
# @param OldTranslationPort: 旧映射后端口
|
|
17010
17023
|
# @type OldTranslationPort: Integer
|
|
17011
|
-
# @param OldTranslationIp:
|
|
17024
|
+
# @param OldTranslationIp: 旧映射后IP
|
|
17012
17025
|
# @type OldTranslationIp: String
|
|
17013
17026
|
# @param Description: 描述
|
|
17014
17027
|
# @type Description: String
|
|
@@ -19313,8 +19326,8 @@ module TencentCloud
|
|
|
19313
19326
|
|
|
19314
19327
|
attr_accessor :EncryptAlgorithm, :IntegrityAlgorith, :IPSECSaLifetimeSeconds, :PfsDhGroup, :IPSECSaLifetimeTraffic, :IntegrityAlgorithm
|
|
19315
19328
|
extend Gem::Deprecate
|
|
19316
|
-
deprecate :IntegrityAlgorith, :none, 2025,
|
|
19317
|
-
deprecate :IntegrityAlgorith=, :none, 2025,
|
|
19329
|
+
deprecate :IntegrityAlgorith, :none, 2025, 11
|
|
19330
|
+
deprecate :IntegrityAlgorith=, :none, 2025, 11
|
|
19318
19331
|
|
|
19319
19332
|
def initialize(encryptalgorithm=nil, integrityalgorith=nil, ipsecsalifetimeseconds=nil, pfsdhgroup=nil, ipsecsalifetimetraffic=nil, integrityalgorithm=nil)
|
|
19320
19333
|
@EncryptAlgorithm = encryptalgorithm
|
|
@@ -19418,14 +19431,22 @@ module TencentCloud
|
|
|
19418
19431
|
# <ul style="margin:0"><li>精品IP,可选值:<ul><li>HighQualityEIP:精品IP</li></ul>注意:仅新加坡和中国香港支持精品IP。</li></ul>
|
|
19419
19432
|
# <ul style="margin:0"><li>高防IP,可选值:<ul><li>AntiDDoSEIP:高防IP</li></ul>注意:仅部分地域支持高防IP,详情可见弹性公网IP[产品概述](https://cloud.tencent.com/document/product/1199/41646)。</li></ul>
|
|
19420
19433
|
# @type AddressType: String
|
|
19434
|
+
# @param IPChargeType: 原生EIP IP资源的计费方式。
|
|
19435
|
+
# <ul style="margin:0"><li>账号为标准账户类型的用户,可选值:<ul>
|
|
19436
|
+
# <li>IP_POSTPAID_BY_HOUR:IP资源按小时后付费</li>
|
|
19437
|
+
# <li>IP_PREPAID_BY_MONTH:IP资源包月预付费</li>
|
|
19438
|
+
# </ul></li>
|
|
19439
|
+
# </ul>
|
|
19440
|
+
# @type IPChargeType: String
|
|
19421
19441
|
|
|
19422
|
-
attr_accessor :InternetChargeType, :InternetMaxBandwidthOut, :AddressChargePrepaid, :AddressType
|
|
19442
|
+
attr_accessor :InternetChargeType, :InternetMaxBandwidthOut, :AddressChargePrepaid, :AddressType, :IPChargeType
|
|
19423
19443
|
|
|
19424
|
-
def initialize(internetchargetype=nil, internetmaxbandwidthout=nil, addresschargeprepaid=nil, addresstype=nil)
|
|
19444
|
+
def initialize(internetchargetype=nil, internetmaxbandwidthout=nil, addresschargeprepaid=nil, addresstype=nil, ipchargetype=nil)
|
|
19425
19445
|
@InternetChargeType = internetchargetype
|
|
19426
19446
|
@InternetMaxBandwidthOut = internetmaxbandwidthout
|
|
19427
19447
|
@AddressChargePrepaid = addresschargeprepaid
|
|
19428
19448
|
@AddressType = addresstype
|
|
19449
|
+
@IPChargeType = ipchargetype
|
|
19429
19450
|
end
|
|
19430
19451
|
|
|
19431
19452
|
def deserialize(params)
|
|
@@ -19436,6 +19457,7 @@ module TencentCloud
|
|
|
19436
19457
|
@AddressChargePrepaid.deserialize(params['AddressChargePrepaid'])
|
|
19437
19458
|
end
|
|
19438
19459
|
@AddressType = params['AddressType']
|
|
19460
|
+
@IPChargeType = params['IPChargeType']
|
|
19439
19461
|
end
|
|
19440
19462
|
end
|
|
19441
19463
|
|
|
@@ -19817,13 +19839,22 @@ module TencentCloud
|
|
|
19817
19839
|
|
|
19818
19840
|
# 公网询价出参
|
|
19819
19841
|
class InternetPrice < TencentCloud::Common::AbstractModel
|
|
19820
|
-
# @param AddressPrice: 公网IP
|
|
19842
|
+
# @param AddressPrice: 公网IP网络费询价详细参数。
|
|
19821
19843
|
# @type AddressPrice: :class:`Tencentcloud::Vpc.v20170312.models.InternetPriceDetail`
|
|
19844
|
+
# @param IPPrice: 公网IP资源费询价详细参数。仅原生IP价格查询返回。
|
|
19845
|
+
# @type IPPrice: :class:`Tencentcloud::Vpc.v20170312.models.InternetPriceDetail`
|
|
19846
|
+
# @param OriginalPrice: 总原价,单位:元,仅预付费价格查询返回。
|
|
19847
|
+
# @type OriginalPrice: Float
|
|
19848
|
+
# @param DiscountPrice: 折扣后的总价格,单位:元。仅预付费价格查询返回。
|
|
19849
|
+
# @type DiscountPrice: Float
|
|
19822
19850
|
|
|
19823
|
-
attr_accessor :AddressPrice
|
|
19851
|
+
attr_accessor :AddressPrice, :IPPrice, :OriginalPrice, :DiscountPrice
|
|
19824
19852
|
|
|
19825
|
-
def initialize(addressprice=nil)
|
|
19853
|
+
def initialize(addressprice=nil, ipprice=nil, originalprice=nil, discountprice=nil)
|
|
19826
19854
|
@AddressPrice = addressprice
|
|
19855
|
+
@IPPrice = ipprice
|
|
19856
|
+
@OriginalPrice = originalprice
|
|
19857
|
+
@DiscountPrice = discountprice
|
|
19827
19858
|
end
|
|
19828
19859
|
|
|
19829
19860
|
def deserialize(params)
|
|
@@ -19831,6 +19862,12 @@ module TencentCloud
|
|
|
19831
19862
|
@AddressPrice = InternetPriceDetail.new
|
|
19832
19863
|
@AddressPrice.deserialize(params['AddressPrice'])
|
|
19833
19864
|
end
|
|
19865
|
+
unless params['IPPrice'].nil?
|
|
19866
|
+
@IPPrice = InternetPriceDetail.new
|
|
19867
|
+
@IPPrice.deserialize(params['IPPrice'])
|
|
19868
|
+
end
|
|
19869
|
+
@OriginalPrice = params['OriginalPrice']
|
|
19870
|
+
@DiscountPrice = params['DiscountPrice']
|
|
19834
19871
|
end
|
|
19835
19872
|
end
|
|
19836
19873
|
|
|
@@ -20211,15 +20248,15 @@ module TencentCloud
|
|
|
20211
20248
|
|
|
20212
20249
|
# 本端目的IP端口转换复杂结构
|
|
20213
20250
|
class LocalDestinationIpPortTranslationNatRule < TencentCloud::Common::AbstractModel
|
|
20214
|
-
# @param Protocol:
|
|
20251
|
+
# @param Protocol: 协议,包含TCP和UDP
|
|
20215
20252
|
# @type Protocol: String
|
|
20216
|
-
# @param OriginalPort:
|
|
20253
|
+
# @param OriginalPort: 映射前端口
|
|
20217
20254
|
# @type OriginalPort: Integer
|
|
20218
|
-
# @param OriginalIp:
|
|
20255
|
+
# @param OriginalIp: 映射前IP
|
|
20219
20256
|
# @type OriginalIp: String
|
|
20220
|
-
# @param TranslationPort:
|
|
20257
|
+
# @param TranslationPort: 映射后端口
|
|
20221
20258
|
# @type TranslationPort: Integer
|
|
20222
|
-
# @param TranslationIp:
|
|
20259
|
+
# @param TranslationIp: 映射后IP
|
|
20223
20260
|
# @type TranslationIp: String
|
|
20224
20261
|
# @param Description: 描述
|
|
20225
20262
|
# @type Description: String
|
|
@@ -20701,10 +20738,10 @@ module TencentCloud
|
|
|
20701
20738
|
|
|
20702
20739
|
attr_accessor :AddressIds, :InternetMaxBandwidthOut, :StartTime, :EndTime
|
|
20703
20740
|
extend Gem::Deprecate
|
|
20704
|
-
deprecate :StartTime, :none, 2025,
|
|
20705
|
-
deprecate :StartTime=, :none, 2025,
|
|
20706
|
-
deprecate :EndTime, :none, 2025,
|
|
20707
|
-
deprecate :EndTime=, :none, 2025,
|
|
20741
|
+
deprecate :StartTime, :none, 2025, 11
|
|
20742
|
+
deprecate :StartTime=, :none, 2025, 11
|
|
20743
|
+
deprecate :EndTime, :none, 2025, 11
|
|
20744
|
+
deprecate :EndTime=, :none, 2025, 11
|
|
20708
20745
|
|
|
20709
20746
|
def initialize(addressids=nil, internetmaxbandwidthout=nil, starttime=nil, endtime=nil)
|
|
20710
20747
|
@AddressIds = addressids
|
|
@@ -23071,17 +23108,20 @@ module TencentCloud
|
|
|
23071
23108
|
# @type DnsServers: Array
|
|
23072
23109
|
# @param DomainName: 域名。
|
|
23073
23110
|
# @type DomainName: String
|
|
23111
|
+
# @param EnableRouteVpcPublish: vpc关联云联网时路由发布策略, true:开启cidr路由发布,false:开启subnet子网路由发布。创建vpc时默认为子网路由发布,当选择cidr路由发布时,请通过工单加入白名单
|
|
23112
|
+
# @type EnableRouteVpcPublish: Boolean
|
|
23074
23113
|
# @param EnableCdcPublish: 发布cdc 子网到云联网的开关。true: 发布, false: 不发布。
|
|
23075
23114
|
# @type EnableCdcPublish: Boolean
|
|
23076
23115
|
|
|
23077
|
-
attr_accessor :VpcId, :VpcName, :EnableMulticast, :DnsServers, :DomainName, :EnableCdcPublish
|
|
23116
|
+
attr_accessor :VpcId, :VpcName, :EnableMulticast, :DnsServers, :DomainName, :EnableRouteVpcPublish, :EnableCdcPublish
|
|
23078
23117
|
|
|
23079
|
-
def initialize(vpcid=nil, vpcname=nil, enablemulticast=nil, dnsservers=nil, domainname=nil, enablecdcpublish=nil)
|
|
23118
|
+
def initialize(vpcid=nil, vpcname=nil, enablemulticast=nil, dnsservers=nil, domainname=nil, enableroutevpcpublish=nil, enablecdcpublish=nil)
|
|
23080
23119
|
@VpcId = vpcid
|
|
23081
23120
|
@VpcName = vpcname
|
|
23082
23121
|
@EnableMulticast = enablemulticast
|
|
23083
23122
|
@DnsServers = dnsservers
|
|
23084
23123
|
@DomainName = domainname
|
|
23124
|
+
@EnableRouteVpcPublish = enableroutevpcpublish
|
|
23085
23125
|
@EnableCdcPublish = enablecdcpublish
|
|
23086
23126
|
end
|
|
23087
23127
|
|
|
@@ -23091,6 +23131,7 @@ module TencentCloud
|
|
|
23091
23131
|
@EnableMulticast = params['EnableMulticast']
|
|
23092
23132
|
@DnsServers = params['DnsServers']
|
|
23093
23133
|
@DomainName = params['DomainName']
|
|
23134
|
+
@EnableRouteVpcPublish = params['EnableRouteVpcPublish']
|
|
23094
23135
|
@EnableCdcPublish = params['EnableCdcPublish']
|
|
23095
23136
|
end
|
|
23096
23137
|
end
|
|
@@ -24785,13 +24826,13 @@ module TencentCloud
|
|
|
24785
24826
|
class PrivateNatDestinationIpPortTranslationNatRule < TencentCloud::Common::AbstractModel
|
|
24786
24827
|
# @param Protocol: 协议
|
|
24787
24828
|
# @type Protocol: String
|
|
24788
|
-
# @param OriginalPort:
|
|
24829
|
+
# @param OriginalPort: 映射前端口
|
|
24789
24830
|
# @type OriginalPort: Integer
|
|
24790
|
-
# @param OriginalIp:
|
|
24831
|
+
# @param OriginalIp: 映射前IP
|
|
24791
24832
|
# @type OriginalIp: String
|
|
24792
|
-
# @param TranslationPort:
|
|
24833
|
+
# @param TranslationPort: 映射后端口
|
|
24793
24834
|
# @type TranslationPort: Integer
|
|
24794
|
-
# @param TranslationIp:
|
|
24835
|
+
# @param TranslationIp: 映射后IP
|
|
24795
24836
|
# @type TranslationIp: String
|
|
24796
24837
|
# @param Description: 描述
|
|
24797
24838
|
# @type Description: String
|
|
@@ -24843,7 +24884,7 @@ module TencentCloud
|
|
|
24843
24884
|
# @type TagSet: Array
|
|
24844
24885
|
# @param DirectConnectGatewayIds: 专线网关唯一`ID`
|
|
24845
24886
|
# @type DirectConnectGatewayIds: Array
|
|
24846
|
-
# @param NatType:
|
|
24887
|
+
# @param NatType: 私网网关类型。可选类型:"DCG","VPC","CCN",分别对应专线网关、私有网络、云联网。
|
|
24847
24888
|
# @type NatType: String
|
|
24848
24889
|
# @param CrossDomainInfo: 私网NAT跨域信息
|
|
24849
24890
|
# @type CrossDomainInfo: :class:`Tencentcloud::Vpc.v20170312.models.PrivateNatCrossDomainInfo`
|
|
@@ -27890,7 +27931,7 @@ module TencentCloud
|
|
|
27890
27931
|
class SourceIpTranslationNatRule < TencentCloud::Common::AbstractModel
|
|
27891
27932
|
# @param ResourceId: 资源ID,如果ResourceType为USERDEFINED,可以为空字符串
|
|
27892
27933
|
# @type ResourceId: String
|
|
27893
|
-
# @param ResourceType: 资源类型,目前包含SUBNET、NETWORKINTERFACE、USERDEFINED
|
|
27934
|
+
# @param ResourceType: 资源类型,目前包含SUBNET、NETWORKINTERFACE、USERDEFINED,分别表示子网、网卡、自定义网段
|
|
27894
27935
|
# @type ResourceType: String
|
|
27895
27936
|
# @param PrivateIpAddress: 源IP/网段
|
|
27896
27937
|
# @type PrivateIpAddress: String
|
|
@@ -28749,13 +28790,13 @@ module TencentCloud
|
|
|
28749
28790
|
class TranslationNatRule < TencentCloud::Common::AbstractModel
|
|
28750
28791
|
# @param TranslationDirection: 转换规则目标,可选值"LOCAL","PEER"。
|
|
28751
28792
|
# @type TranslationDirection: String
|
|
28752
|
-
# @param TranslationType: 转换规则类型,可选值"NETWORK_LAYER","TRANSPORT_LAYER"
|
|
28793
|
+
# @param TranslationType: 转换规则类型,可选值"NETWORK_LAYER","TRANSPORT_LAYER"。分别对应三层和四层。
|
|
28753
28794
|
# @type TranslationType: String
|
|
28754
|
-
# @param TranslationIp:
|
|
28795
|
+
# @param TranslationIp: 映射后IP,当转换规则类型为四层时为`IP`池。
|
|
28755
28796
|
# @type TranslationIp: String
|
|
28756
28797
|
# @param Description: 转换规则描述。
|
|
28757
28798
|
# @type Description: String
|
|
28758
|
-
# @param OriginalIp:
|
|
28799
|
+
# @param OriginalIp: 映射前IP,当转换规则类型为三层时有效。
|
|
28759
28800
|
# @type OriginalIp: String
|
|
28760
28801
|
# @param CreateTime: 创建时间。
|
|
28761
28802
|
# @type CreateTime: String
|
|
@@ -28789,27 +28830,27 @@ module TencentCloud
|
|
|
28789
28830
|
class TranslationNatRuleDiff < TencentCloud::Common::AbstractModel
|
|
28790
28831
|
# @param TranslationDirection: 转发规则目标,可选值"LOCAL","PEER"。
|
|
28791
28832
|
# @type TranslationDirection: String
|
|
28792
|
-
# @param TranslationType:
|
|
28833
|
+
# @param TranslationType: 转换规则类型,可选值"NETWORK_LAYER","TRANSPORT_LAYER"。分别对应三层、四层。
|
|
28793
28834
|
# @type TranslationType: String
|
|
28794
|
-
# @param TranslationIp:
|
|
28835
|
+
# @param TranslationIp: 转发规则映射后`IP`,当转发规则类型为四层时为`IP`池
|
|
28795
28836
|
# @type TranslationIp: String
|
|
28837
|
+
# @param OldTranslationIp: 旧转发规则映射后`IP`,当转发规则类型为四层时为`IP`池
|
|
28838
|
+
# @type OldTranslationIp: String
|
|
28796
28839
|
# @param Description: 转发规则描述。
|
|
28797
28840
|
# @type Description: String
|
|
28798
|
-
# @param
|
|
28799
|
-
# @type OldTranslationIp: String
|
|
28800
|
-
# @param OriginalIp: 新转发规则源`IP`,当转发规则类型为三层时有效
|
|
28841
|
+
# @param OriginalIp: 新转发规则映射前`IP`,当转发规则类型为三层时有效
|
|
28801
28842
|
# @type OriginalIp: String
|
|
28802
|
-
# @param OldOriginalIp:
|
|
28843
|
+
# @param OldOriginalIp: 旧转发规则映射前`IP`,当转发规则类型为三层时有效
|
|
28803
28844
|
# @type OldOriginalIp: String
|
|
28804
28845
|
|
|
28805
|
-
attr_accessor :TranslationDirection, :TranslationType, :TranslationIp, :
|
|
28846
|
+
attr_accessor :TranslationDirection, :TranslationType, :TranslationIp, :OldTranslationIp, :Description, :OriginalIp, :OldOriginalIp
|
|
28806
28847
|
|
|
28807
|
-
def initialize(translationdirection=nil, translationtype=nil, translationip=nil,
|
|
28848
|
+
def initialize(translationdirection=nil, translationtype=nil, translationip=nil, oldtranslationip=nil, description=nil, originalip=nil, oldoriginalip=nil)
|
|
28808
28849
|
@TranslationDirection = translationdirection
|
|
28809
28850
|
@TranslationType = translationtype
|
|
28810
28851
|
@TranslationIp = translationip
|
|
28811
|
-
@Description = description
|
|
28812
28852
|
@OldTranslationIp = oldtranslationip
|
|
28853
|
+
@Description = description
|
|
28813
28854
|
@OriginalIp = originalip
|
|
28814
28855
|
@OldOriginalIp = oldoriginalip
|
|
28815
28856
|
end
|
|
@@ -28818,8 +28859,8 @@ module TencentCloud
|
|
|
28818
28859
|
@TranslationDirection = params['TranslationDirection']
|
|
28819
28860
|
@TranslationType = params['TranslationType']
|
|
28820
28861
|
@TranslationIp = params['TranslationIp']
|
|
28821
|
-
@Description = params['Description']
|
|
28822
28862
|
@OldTranslationIp = params['OldTranslationIp']
|
|
28863
|
+
@Description = params['Description']
|
|
28823
28864
|
@OriginalIp = params['OriginalIp']
|
|
28824
28865
|
@OldOriginalIp = params['OldOriginalIp']
|
|
28825
28866
|
end
|
|
@@ -28829,13 +28870,13 @@ module TencentCloud
|
|
|
28829
28870
|
class TranslationNatRuleInput < TencentCloud::Common::AbstractModel
|
|
28830
28871
|
# @param TranslationDirection: 转换规则目标,可选值"LOCAL","PEER"。
|
|
28831
28872
|
# @type TranslationDirection: String
|
|
28832
|
-
# @param TranslationType: 转换规则类型,可选值"NETWORK_LAYER","TRANSPORT_LAYER"
|
|
28873
|
+
# @param TranslationType: 转换规则类型,可选值"NETWORK_LAYER","TRANSPORT_LAYER"。分别对应三层、四层。
|
|
28833
28874
|
# @type TranslationType: String
|
|
28834
|
-
# @param TranslationIp:
|
|
28875
|
+
# @param TranslationIp: 映射后`IP`,当转换规则类型为四层时为`IP`池。
|
|
28835
28876
|
# @type TranslationIp: String
|
|
28836
28877
|
# @param Description: 转换规则描述。
|
|
28837
28878
|
# @type Description: String
|
|
28838
|
-
# @param OriginalIp:
|
|
28879
|
+
# @param OriginalIp: 映射前`IP`,当转换规则类型为三层时有效。
|
|
28839
28880
|
# @type OriginalIp: String
|
|
28840
28881
|
|
|
28841
28882
|
attr_accessor :TranslationDirection, :TranslationType, :TranslationIp, :Description, :OriginalIp
|
|
@@ -29272,12 +29313,14 @@ module TencentCloud
|
|
|
29272
29313
|
# @type TagSet: Array
|
|
29273
29314
|
# @param AssistantCidrSet: 辅助CIDR
|
|
29274
29315
|
# @type AssistantCidrSet: Array
|
|
29316
|
+
# @param EnableRouteVpcPublish: vpc关联云联网时路由发布策略, true:开启cidr路由发布,false:开启subnet子网路由发布。创建vpc时默认为子网路由发布,当选择cidr路由发布时,请通过工单加入白名单
|
|
29317
|
+
# @type EnableRouteVpcPublish: Boolean
|
|
29275
29318
|
# @param Ipv6CidrBlockSet: 返回多运营商IPv6 Cidr Block
|
|
29276
29319
|
# @type Ipv6CidrBlockSet: Array
|
|
29277
29320
|
|
|
29278
|
-
attr_accessor :VpcName, :VpcId, :CidrBlock, :IsDefault, :EnableMulticast, :CreatedTime, :DnsServerSet, :DomainName, :DhcpOptionsId, :EnableDhcp, :Ipv6CidrBlock, :TagSet, :AssistantCidrSet, :Ipv6CidrBlockSet
|
|
29321
|
+
attr_accessor :VpcName, :VpcId, :CidrBlock, :IsDefault, :EnableMulticast, :CreatedTime, :DnsServerSet, :DomainName, :DhcpOptionsId, :EnableDhcp, :Ipv6CidrBlock, :TagSet, :AssistantCidrSet, :EnableRouteVpcPublish, :Ipv6CidrBlockSet
|
|
29279
29322
|
|
|
29280
|
-
def initialize(vpcname=nil, vpcid=nil, cidrblock=nil, isdefault=nil, enablemulticast=nil, createdtime=nil, dnsserverset=nil, domainname=nil, dhcpoptionsid=nil, enabledhcp=nil, ipv6cidrblock=nil, tagset=nil, assistantcidrset=nil, ipv6cidrblockset=nil)
|
|
29323
|
+
def initialize(vpcname=nil, vpcid=nil, cidrblock=nil, isdefault=nil, enablemulticast=nil, createdtime=nil, dnsserverset=nil, domainname=nil, dhcpoptionsid=nil, enabledhcp=nil, ipv6cidrblock=nil, tagset=nil, assistantcidrset=nil, enableroutevpcpublish=nil, ipv6cidrblockset=nil)
|
|
29281
29324
|
@VpcName = vpcname
|
|
29282
29325
|
@VpcId = vpcid
|
|
29283
29326
|
@CidrBlock = cidrblock
|
|
@@ -29291,6 +29334,7 @@ module TencentCloud
|
|
|
29291
29334
|
@Ipv6CidrBlock = ipv6cidrblock
|
|
29292
29335
|
@TagSet = tagset
|
|
29293
29336
|
@AssistantCidrSet = assistantcidrset
|
|
29337
|
+
@EnableRouteVpcPublish = enableroutevpcpublish
|
|
29294
29338
|
@Ipv6CidrBlockSet = ipv6cidrblockset
|
|
29295
29339
|
end
|
|
29296
29340
|
|
|
@@ -29322,6 +29366,7 @@ module TencentCloud
|
|
|
29322
29366
|
@AssistantCidrSet << assistantcidr_tmp
|
|
29323
29367
|
end
|
|
29324
29368
|
end
|
|
29369
|
+
@EnableRouteVpcPublish = params['EnableRouteVpcPublish']
|
|
29325
29370
|
unless params['Ipv6CidrBlockSet'].nil?
|
|
29326
29371
|
@Ipv6CidrBlockSet = []
|
|
29327
29372
|
params['Ipv6CidrBlockSet'].each do |i|
|
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.1166
|
|
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-
|
|
11
|
+
date: 2025-11-11 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: tencentcloud-sdk-common
|
|
@@ -34,8 +34,8 @@ extensions: []
|
|
|
34
34
|
extra_rdoc_files: []
|
|
35
35
|
files:
|
|
36
36
|
- lib/tencentcloud-sdk-vpc.rb
|
|
37
|
-
- lib/v20170312/models.rb
|
|
38
37
|
- lib/v20170312/client.rb
|
|
38
|
+
- lib/v20170312/models.rb
|
|
39
39
|
- lib/VERSION
|
|
40
40
|
homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
|
|
41
41
|
licenses:
|