tencentcloud-sdk-vpc 3.0.1170 → 3.0.1177
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/client.rb +1 -1
- data/lib/v20170312/models.rb +101 -48
- 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: 1b900247cf35c6c4c8422c746f595e6892b0b4cb
|
|
4
|
+
data.tar.gz: bb8032b2c383c707855a54963b45cea821986eba
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 53be4b9140c350b73c8e705abc4386b387ef8121d9cd3014c583ccf9764b18a30981d14404624120b59e804f86ea73b6f777140d867983623022478df871a531
|
|
7
|
+
data.tar.gz: 10517fbdacf0597799ef99058fa30f1103c101ac98258f75ac70d93b4ba1671e636bf3aca084848ad9dd7dbde2c0f50d20904cbbe82201cf9457ad49def29b32
|
data/lib/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.0.
|
|
1
|
+
3.0.1177
|
data/lib/v20170312/client.rb
CHANGED
|
@@ -10112,7 +10112,7 @@ module TencentCloud
|
|
|
10112
10112
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
10113
10113
|
end
|
|
10114
10114
|
|
|
10115
|
-
# 本接口(ResetNatGatewayConnection
|
|
10115
|
+
# 本接口(ResetNatGatewayConnection)用于调整传统型NAT网关并发连接数上限。
|
|
10116
10116
|
|
|
10117
10117
|
# @param request: Request instance for ResetNatGatewayConnection.
|
|
10118
10118
|
# @type request: :class:`Tencentcloud::vpc::V20170312::ResetNatGatewayConnectionRequest`
|
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, 12
|
|
629
|
+
deprecate :AddressTemplateName=, :none, 2025, 12
|
|
630
|
+
deprecate :From, :none, 2025, 12
|
|
631
|
+
deprecate :From=, :none, 2025, 12
|
|
632
|
+
deprecate :To, :none, 2025, 12
|
|
633
|
+
deprecate :To=, :none, 2025, 12
|
|
634
634
|
|
|
635
635
|
def initialize(addresstemplateid=nil, addresstemplatename=nil, from=nil, to=nil, description=nil, updatedtime=nil)
|
|
636
636
|
@AddressTemplateId = addresstemplateid
|
|
@@ -752,6 +752,9 @@ module TencentCloud
|
|
|
752
752
|
# <li>TRAFFIC_POSTPAID_BY_HOUR:流量按小时后付费</li></ul>默认值:TRAFFIC_POSTPAID_BY_HOUR。</li>
|
|
753
753
|
# <li>传统账户类型,无需传递此参数,EIP计费方式与其绑定的实例的计费方式一致,无需传递此参数。</li></ul>
|
|
754
754
|
# @type InternetChargeType: String
|
|
755
|
+
# @param IPChargeType: IP 资源计费模式,当前仅支持原生 IP。
|
|
756
|
+
# <ul style="margin:0"><li>账号为标准账户类型的用户,可选值:<ul><li>IP_POSTPAID_BY_HOUR:IP资源按小时后付费</li><li>IP_PREPAID_BY_MONTH:IP资源包月预付费</li></ul></li></ul>
|
|
757
|
+
# @type IPChargeType: String
|
|
755
758
|
# @param InternetMaxBandwidthOut: EIP出带宽上限,单位:Mbps。
|
|
756
759
|
# <ul style="margin:0"><li>标准账户类型EIP出带宽上限,可选值范围取决于EIP计费方式:<ul><li>BANDWIDTH_PACKAGE:1 Mbps 至 2000 Mbps</li>
|
|
757
760
|
# <li>BANDWIDTH_POSTPAID_BY_HOUR:1 Mbps 至 100 Mbps</li>
|
|
@@ -765,7 +768,9 @@ module TencentCloud
|
|
|
765
768
|
# <li>EIP:弹性公网 IP。 </li>
|
|
766
769
|
# <li>AnycastEIP:加速 IP,已开通 [Anycast 公网加速](https://cloud.tencent.com/document/product/644)白名单的用户可选。仅部分地域支持加速IP,详情可见Anycast公网加速[购买指南](https://cloud.tencent.com/document/product/644/12617)。</li>
|
|
767
770
|
# <li>HighQualityEIP:精品 IP。仅新加坡和中国香港支持精品IP。</li>
|
|
768
|
-
# <li>AntiDDoSEIP:高防 IP。仅部分地域支持高防IP
|
|
771
|
+
# <li>AntiDDoSEIP:高防 IP。仅部分地域支持高防IP。</li>
|
|
772
|
+
# <li>ResidentialEIP:原生 IP。仅部分地域支持原生IP。</li>
|
|
773
|
+
# 关于弹性公网 IP 支持的 IP 类型,请见[产品概述](https://cloud.tencent.com/document/product/1199/41646)。
|
|
769
774
|
# @type AddressType: String
|
|
770
775
|
# @param AnycastZone: Anycast发布域。
|
|
771
776
|
# <ul style="margin:0"><li>已开通Anycast公网加速白名单的用户,可选值:<ul><li>ANYCAST_ZONE_GLOBAL:全球发布域(需要额外开通Anycast全球加速白名单)</li><li>ANYCAST_ZONE_OVERSEAS:境外发布域</li></ul>默认值:ANYCAST_ZONE_OVERSEAS。</li></ul>
|
|
@@ -797,23 +802,17 @@ module TencentCloud
|
|
|
797
802
|
# @type AntiDDoSPackageId: String
|
|
798
803
|
# @param ClientToken: 保证请求幂等性。从您的客户端生成一个参数值,确保不同请求间该参数值唯一。ClientToken只支持ASCII字符,且不能超过64个字符。
|
|
799
804
|
# @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
|
|
807
805
|
|
|
808
|
-
attr_accessor :AddressCount, :InternetServiceProvider, :InternetChargeType, :InternetMaxBandwidthOut, :AddressChargePrepaid, :AddressType, :AnycastZone, :VipCluster, :ApplicableForCLB, :Tags, :BandwidthPackageId, :AddressName, :DedicatedClusterId, :IsDedicatedAddressPool, :Egress, :AntiDDoSPackageId, :ClientToken
|
|
806
|
+
attr_accessor :AddressCount, :InternetServiceProvider, :InternetChargeType, :IPChargeType, :InternetMaxBandwidthOut, :AddressChargePrepaid, :AddressType, :AnycastZone, :VipCluster, :ApplicableForCLB, :Tags, :BandwidthPackageId, :AddressName, :DedicatedClusterId, :IsDedicatedAddressPool, :Egress, :AntiDDoSPackageId, :ClientToken
|
|
809
807
|
extend Gem::Deprecate
|
|
810
|
-
deprecate :ApplicableForCLB, :none, 2025,
|
|
811
|
-
deprecate :ApplicableForCLB=, :none, 2025,
|
|
808
|
+
deprecate :ApplicableForCLB, :none, 2025, 12
|
|
809
|
+
deprecate :ApplicableForCLB=, :none, 2025, 12
|
|
812
810
|
|
|
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
|
|
811
|
+
def initialize(addresscount=nil, internetserviceprovider=nil, internetchargetype=nil, ipchargetype=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)
|
|
814
812
|
@AddressCount = addresscount
|
|
815
813
|
@InternetServiceProvider = internetserviceprovider
|
|
816
814
|
@InternetChargeType = internetchargetype
|
|
815
|
+
@IPChargeType = ipchargetype
|
|
817
816
|
@InternetMaxBandwidthOut = internetmaxbandwidthout
|
|
818
817
|
@AddressChargePrepaid = addresschargeprepaid
|
|
819
818
|
@AddressType = addresstype
|
|
@@ -828,13 +827,13 @@ module TencentCloud
|
|
|
828
827
|
@Egress = egress
|
|
829
828
|
@AntiDDoSPackageId = antiddospackageid
|
|
830
829
|
@ClientToken = clienttoken
|
|
831
|
-
@IPChargeType = ipchargetype
|
|
832
830
|
end
|
|
833
831
|
|
|
834
832
|
def deserialize(params)
|
|
835
833
|
@AddressCount = params['AddressCount']
|
|
836
834
|
@InternetServiceProvider = params['InternetServiceProvider']
|
|
837
835
|
@InternetChargeType = params['InternetChargeType']
|
|
836
|
+
@IPChargeType = params['IPChargeType']
|
|
838
837
|
@InternetMaxBandwidthOut = params['InternetMaxBandwidthOut']
|
|
839
838
|
unless params['AddressChargePrepaid'].nil?
|
|
840
839
|
@AddressChargePrepaid = AddressChargePrepaid.new
|
|
@@ -859,7 +858,6 @@ module TencentCloud
|
|
|
859
858
|
@Egress = params['Egress']
|
|
860
859
|
@AntiDDoSPackageId = params['AntiDDoSPackageId']
|
|
861
860
|
@ClientToken = params['ClientToken']
|
|
862
|
-
@IPChargeType = params['IPChargeType']
|
|
863
861
|
end
|
|
864
862
|
end
|
|
865
863
|
|
|
@@ -3419,8 +3417,8 @@ module TencentCloud
|
|
|
3419
3417
|
|
|
3420
3418
|
attr_accessor :ConfilctId, :DestinationItem, :ConflictId
|
|
3421
3419
|
extend Gem::Deprecate
|
|
3422
|
-
deprecate :ConfilctId, :none, 2025,
|
|
3423
|
-
deprecate :ConfilctId=, :none, 2025,
|
|
3420
|
+
deprecate :ConfilctId, :none, 2025, 12
|
|
3421
|
+
deprecate :ConfilctId=, :none, 2025, 12
|
|
3424
3422
|
|
|
3425
3423
|
def initialize(confilctid=nil, destinationitem=nil, conflictid=nil)
|
|
3426
3424
|
@ConfilctId = confilctid
|
|
@@ -3466,6 +3464,30 @@ module TencentCloud
|
|
|
3466
3464
|
end
|
|
3467
3465
|
end
|
|
3468
3466
|
|
|
3467
|
+
# NAT网关超时时间
|
|
3468
|
+
class ConnectionStateTimeouts < TencentCloud::Common::AbstractModel
|
|
3469
|
+
# @param UDPMappingTimeout: UDP映射空闲时间,指多少秒以后UDP流停止向端点发送。取值范围为:3-7200秒,默认为10秒。
|
|
3470
|
+
# @type UDPMappingTimeout: Integer
|
|
3471
|
+
# @param TCPEstablishedConnectionTimeout: TCP已建立的连接空闲超时,指多少秒以后连接变为空闲状态。取值范围为:40-10800秒,默认为10800秒。
|
|
3472
|
+
# @type TCPEstablishedConnectionTimeout: Integer
|
|
3473
|
+
# @param TcpTimeWaitTimeout: TCP TIME_WAIT超时,指完全关闭的TCP连接在到期后保留在NAT映射中的秒数。取值范围为:10-600秒,默认为120秒。
|
|
3474
|
+
# @type TcpTimeWaitTimeout: Integer
|
|
3475
|
+
|
|
3476
|
+
attr_accessor :UDPMappingTimeout, :TCPEstablishedConnectionTimeout, :TcpTimeWaitTimeout
|
|
3477
|
+
|
|
3478
|
+
def initialize(udpmappingtimeout=nil, tcpestablishedconnectiontimeout=nil, tcptimewaittimeout=nil)
|
|
3479
|
+
@UDPMappingTimeout = udpmappingtimeout
|
|
3480
|
+
@TCPEstablishedConnectionTimeout = tcpestablishedconnectiontimeout
|
|
3481
|
+
@TcpTimeWaitTimeout = tcptimewaittimeout
|
|
3482
|
+
end
|
|
3483
|
+
|
|
3484
|
+
def deserialize(params)
|
|
3485
|
+
@UDPMappingTimeout = params['UDPMappingTimeout']
|
|
3486
|
+
@TCPEstablishedConnectionTimeout = params['TCPEstablishedConnectionTimeout']
|
|
3487
|
+
@TcpTimeWaitTimeout = params['TcpTimeWaitTimeout']
|
|
3488
|
+
end
|
|
3489
|
+
end
|
|
3490
|
+
|
|
3469
3491
|
# CreateAddressTemplateGroup请求参数结构体
|
|
3470
3492
|
class CreateAddressTemplateGroupRequest < TencentCloud::Common::AbstractModel
|
|
3471
3493
|
# @param AddressTemplateGroupName: IP地址模板集合名称。
|
|
@@ -4846,13 +4868,15 @@ module TencentCloud
|
|
|
4846
4868
|
# @type NatProductVersion: Integer
|
|
4847
4869
|
# @param DeletionProtectionEnabled: NAT实例是否开启删除保护
|
|
4848
4870
|
# @type DeletionProtectionEnabled: Boolean
|
|
4871
|
+
# @param ExclusiveType: 独享实例规格。取值范围:ExclusiveSmall/ExclusiveMedium1/ExclusiveLarge1
|
|
4872
|
+
# @type ExclusiveType: String
|
|
4849
4873
|
|
|
4850
|
-
attr_accessor :NatGatewayName, :VpcId, :InternetMaxBandwidthOut, :MaxConcurrentConnection, :AddressCount, :PublicIpAddresses, :Zone, :Tags, :SubnetId, :StockPublicIpAddressesBandwidthOut, :PublicIpAddressesBandwidthOut, :PublicIpFromSameZone, :NatProductVersion, :DeletionProtectionEnabled
|
|
4874
|
+
attr_accessor :NatGatewayName, :VpcId, :InternetMaxBandwidthOut, :MaxConcurrentConnection, :AddressCount, :PublicIpAddresses, :Zone, :Tags, :SubnetId, :StockPublicIpAddressesBandwidthOut, :PublicIpAddressesBandwidthOut, :PublicIpFromSameZone, :NatProductVersion, :DeletionProtectionEnabled, :ExclusiveType
|
|
4851
4875
|
extend Gem::Deprecate
|
|
4852
|
-
deprecate :SubnetId, :none, 2025,
|
|
4853
|
-
deprecate :SubnetId=, :none, 2025,
|
|
4876
|
+
deprecate :SubnetId, :none, 2025, 12
|
|
4877
|
+
deprecate :SubnetId=, :none, 2025, 12
|
|
4854
4878
|
|
|
4855
|
-
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)
|
|
4879
|
+
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, exclusivetype=nil)
|
|
4856
4880
|
@NatGatewayName = natgatewayname
|
|
4857
4881
|
@VpcId = vpcid
|
|
4858
4882
|
@InternetMaxBandwidthOut = internetmaxbandwidthout
|
|
@@ -4867,6 +4891,7 @@ module TencentCloud
|
|
|
4867
4891
|
@PublicIpFromSameZone = publicipfromsamezone
|
|
4868
4892
|
@NatProductVersion = natproductversion
|
|
4869
4893
|
@DeletionProtectionEnabled = deletionprotectionenabled
|
|
4894
|
+
@ExclusiveType = exclusivetype
|
|
4870
4895
|
end
|
|
4871
4896
|
|
|
4872
4897
|
def deserialize(params)
|
|
@@ -4891,6 +4916,7 @@ module TencentCloud
|
|
|
4891
4916
|
@PublicIpFromSameZone = params['PublicIpFromSameZone']
|
|
4892
4917
|
@NatProductVersion = params['NatProductVersion']
|
|
4893
4918
|
@DeletionProtectionEnabled = params['DeletionProtectionEnabled']
|
|
4919
|
+
@ExclusiveType = params['ExclusiveType']
|
|
4894
4920
|
end
|
|
4895
4921
|
end
|
|
4896
4922
|
|
|
@@ -6766,10 +6792,12 @@ module TencentCloud
|
|
|
6766
6792
|
# @type Tags: Array
|
|
6767
6793
|
# @param EnableRouteVpcPublish: vpc关联云联网时路由发布策略, true:开启cidr路由发布,false:开启subnet子网路由发布。创建vpc时默认为子网路由发布,当选择cidr路由发布时,请通过工单加入白名单
|
|
6768
6794
|
# @type EnableRouteVpcPublish: Boolean
|
|
6795
|
+
# @param EnableRouteVpcPublishIpv6: vpc关联云联网时IPv6类型路由发布策略, true:开启cidr路由发布,false:开启subnet子网路由发布。创建vpc时默认为子网路由发布,当选择cidr路由发布时,请通过工单加入白名单。
|
|
6796
|
+
# @type EnableRouteVpcPublishIpv6: Boolean
|
|
6769
6797
|
|
|
6770
|
-
attr_accessor :VpcName, :CidrBlock, :EnableMulticast, :DnsServers, :DomainName, :Tags, :EnableRouteVpcPublish
|
|
6798
|
+
attr_accessor :VpcName, :CidrBlock, :EnableMulticast, :DnsServers, :DomainName, :Tags, :EnableRouteVpcPublish, :EnableRouteVpcPublishIpv6
|
|
6771
6799
|
|
|
6772
|
-
def initialize(vpcname=nil, cidrblock=nil, enablemulticast=nil, dnsservers=nil, domainname=nil, tags=nil, enableroutevpcpublish=nil)
|
|
6800
|
+
def initialize(vpcname=nil, cidrblock=nil, enablemulticast=nil, dnsservers=nil, domainname=nil, tags=nil, enableroutevpcpublish=nil, enableroutevpcpublishipv6=nil)
|
|
6773
6801
|
@VpcName = vpcname
|
|
6774
6802
|
@CidrBlock = cidrblock
|
|
6775
6803
|
@EnableMulticast = enablemulticast
|
|
@@ -6777,6 +6805,7 @@ module TencentCloud
|
|
|
6777
6805
|
@DomainName = domainname
|
|
6778
6806
|
@Tags = tags
|
|
6779
6807
|
@EnableRouteVpcPublish = enableroutevpcpublish
|
|
6808
|
+
@EnableRouteVpcPublishIpv6 = enableroutevpcpublishipv6
|
|
6780
6809
|
end
|
|
6781
6810
|
|
|
6782
6811
|
def deserialize(params)
|
|
@@ -6794,6 +6823,7 @@ module TencentCloud
|
|
|
6794
6823
|
end
|
|
6795
6824
|
end
|
|
6796
6825
|
@EnableRouteVpcPublish = params['EnableRouteVpcPublish']
|
|
6826
|
+
@EnableRouteVpcPublishIpv6 = params['EnableRouteVpcPublishIpv6']
|
|
6797
6827
|
end
|
|
6798
6828
|
end
|
|
6799
6829
|
|
|
@@ -19402,8 +19432,8 @@ module TencentCloud
|
|
|
19402
19432
|
|
|
19403
19433
|
attr_accessor :EncryptAlgorithm, :IntegrityAlgorith, :IPSECSaLifetimeSeconds, :PfsDhGroup, :IPSECSaLifetimeTraffic, :IntegrityAlgorithm
|
|
19404
19434
|
extend Gem::Deprecate
|
|
19405
|
-
deprecate :IntegrityAlgorith, :none, 2025,
|
|
19406
|
-
deprecate :IntegrityAlgorith=, :none, 2025,
|
|
19435
|
+
deprecate :IntegrityAlgorith, :none, 2025, 12
|
|
19436
|
+
deprecate :IntegrityAlgorith=, :none, 2025, 12
|
|
19407
19437
|
|
|
19408
19438
|
def initialize(encryptalgorithm=nil, integrityalgorith=nil, ipsecsalifetimeseconds=nil, pfsdhgroup=nil, ipsecsalifetimetraffic=nil, integrityalgorithm=nil)
|
|
19409
19439
|
@EncryptAlgorithm = encryptalgorithm
|
|
@@ -20814,10 +20844,10 @@ module TencentCloud
|
|
|
20814
20844
|
|
|
20815
20845
|
attr_accessor :AddressIds, :InternetMaxBandwidthOut, :StartTime, :EndTime
|
|
20816
20846
|
extend Gem::Deprecate
|
|
20817
|
-
deprecate :StartTime, :none, 2025,
|
|
20818
|
-
deprecate :StartTime=, :none, 2025,
|
|
20819
|
-
deprecate :EndTime, :none, 2025,
|
|
20820
|
-
deprecate :EndTime=, :none, 2025,
|
|
20847
|
+
deprecate :StartTime, :none, 2025, 12
|
|
20848
|
+
deprecate :StartTime=, :none, 2025, 12
|
|
20849
|
+
deprecate :EndTime, :none, 2025, 12
|
|
20850
|
+
deprecate :EndTime=, :none, 2025, 12
|
|
20821
20851
|
|
|
20822
20852
|
def initialize(addressids=nil, internetmaxbandwidthout=nil, starttime=nil, endtime=nil)
|
|
20823
20853
|
@AddressIds = addressids
|
|
@@ -23188,10 +23218,12 @@ module TencentCloud
|
|
|
23188
23218
|
# @type EnableRouteVpcPublish: Boolean
|
|
23189
23219
|
# @param EnableCdcPublish: 发布cdc 子网到云联网的开关。true: 发布, false: 不发布。
|
|
23190
23220
|
# @type EnableCdcPublish: Boolean
|
|
23221
|
+
# @param EnableRouteVpcPublishIpv6: vpc关联云联网时IPv6类型路由发布策略, true:开启cidr路由发布,false:开启subnet子网路由发布。创建vpc时默认为子网路由发布,当选择cidr路由发布时,请通过工单加入白名单。
|
|
23222
|
+
# @type EnableRouteVpcPublishIpv6: Boolean
|
|
23191
23223
|
|
|
23192
|
-
attr_accessor :VpcId, :VpcName, :EnableMulticast, :DnsServers, :DomainName, :EnableRouteVpcPublish, :EnableCdcPublish
|
|
23224
|
+
attr_accessor :VpcId, :VpcName, :EnableMulticast, :DnsServers, :DomainName, :EnableRouteVpcPublish, :EnableCdcPublish, :EnableRouteVpcPublishIpv6
|
|
23193
23225
|
|
|
23194
|
-
def initialize(vpcid=nil, vpcname=nil, enablemulticast=nil, dnsservers=nil, domainname=nil, enableroutevpcpublish=nil, enablecdcpublish=nil)
|
|
23226
|
+
def initialize(vpcid=nil, vpcname=nil, enablemulticast=nil, dnsservers=nil, domainname=nil, enableroutevpcpublish=nil, enablecdcpublish=nil, enableroutevpcpublishipv6=nil)
|
|
23195
23227
|
@VpcId = vpcid
|
|
23196
23228
|
@VpcName = vpcname
|
|
23197
23229
|
@EnableMulticast = enablemulticast
|
|
@@ -23199,6 +23231,7 @@ module TencentCloud
|
|
|
23199
23231
|
@DomainName = domainname
|
|
23200
23232
|
@EnableRouteVpcPublish = enableroutevpcpublish
|
|
23201
23233
|
@EnableCdcPublish = enablecdcpublish
|
|
23234
|
+
@EnableRouteVpcPublishIpv6 = enableroutevpcpublishipv6
|
|
23202
23235
|
end
|
|
23203
23236
|
|
|
23204
23237
|
def deserialize(params)
|
|
@@ -23209,6 +23242,7 @@ module TencentCloud
|
|
|
23209
23242
|
@DomainName = params['DomainName']
|
|
23210
23243
|
@EnableRouteVpcPublish = params['EnableRouteVpcPublish']
|
|
23211
23244
|
@EnableCdcPublish = params['EnableCdcPublish']
|
|
23245
|
+
@EnableRouteVpcPublishIpv6 = params['EnableRouteVpcPublishIpv6']
|
|
23212
23246
|
end
|
|
23213
23247
|
end
|
|
23214
23248
|
|
|
@@ -23862,10 +23896,14 @@ module TencentCloud
|
|
|
23862
23896
|
# @type DedicatedClusterId: String
|
|
23863
23897
|
# @param DeletionProtectionEnabled: NAT实例是否开启删除保护
|
|
23864
23898
|
# @type DeletionProtectionEnabled: Boolean
|
|
23899
|
+
# @param ConnectionStateTimeouts: NAT实例连接超时时间
|
|
23900
|
+
# @type ConnectionStateTimeouts: :class:`Tencentcloud::Vpc.v20170312.models.ConnectionStateTimeouts`
|
|
23901
|
+
# @param ExclusiveType: 独享实例规格。取值范围:ExclusiveSmall/ExclusiveMedium1/ExclusiveLarge1
|
|
23902
|
+
# @type ExclusiveType: String
|
|
23865
23903
|
|
|
23866
|
-
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
|
|
23904
|
+
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
|
|
23867
23905
|
|
|
23868
|
-
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)
|
|
23906
|
+
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)
|
|
23869
23907
|
@NatGatewayId = natgatewayid
|
|
23870
23908
|
@NatGatewayName = natgatewayname
|
|
23871
23909
|
@CreatedTime = createdtime
|
|
@@ -23889,6 +23927,8 @@ module TencentCloud
|
|
|
23889
23927
|
@SmartScheduleMode = smartschedulemode
|
|
23890
23928
|
@DedicatedClusterId = dedicatedclusterid
|
|
23891
23929
|
@DeletionProtectionEnabled = deletionprotectionenabled
|
|
23930
|
+
@ConnectionStateTimeouts = connectionstatetimeouts
|
|
23931
|
+
@ExclusiveType = exclusivetype
|
|
23892
23932
|
end
|
|
23893
23933
|
|
|
23894
23934
|
def deserialize(params)
|
|
@@ -23943,6 +23983,11 @@ module TencentCloud
|
|
|
23943
23983
|
@SmartScheduleMode = params['SmartScheduleMode']
|
|
23944
23984
|
@DedicatedClusterId = params['DedicatedClusterId']
|
|
23945
23985
|
@DeletionProtectionEnabled = params['DeletionProtectionEnabled']
|
|
23986
|
+
unless params['ConnectionStateTimeouts'].nil?
|
|
23987
|
+
@ConnectionStateTimeouts = ConnectionStateTimeouts.new
|
|
23988
|
+
@ConnectionStateTimeouts.deserialize(params['ConnectionStateTimeouts'])
|
|
23989
|
+
end
|
|
23990
|
+
@ExclusiveType = params['ExclusiveType']
|
|
23946
23991
|
end
|
|
23947
23992
|
end
|
|
23948
23993
|
|
|
@@ -26225,17 +26270,21 @@ module TencentCloud
|
|
|
26225
26270
|
# @type NatGatewayId: String
|
|
26226
26271
|
# @param MaxConcurrentConnection: NAT网关并发连接上限,形如:1000000、3000000、10000000。
|
|
26227
26272
|
# @type MaxConcurrentConnection: Integer
|
|
26273
|
+
# @param ExclusiveType: 独享实例规格。如果要变配到独享实例,此参数必选,取值范围:ExclusiveSmall/ExclusiveMedium1/ExclusiveLarge1
|
|
26274
|
+
# @type ExclusiveType: String
|
|
26228
26275
|
|
|
26229
|
-
attr_accessor :NatGatewayId, :MaxConcurrentConnection
|
|
26276
|
+
attr_accessor :NatGatewayId, :MaxConcurrentConnection, :ExclusiveType
|
|
26230
26277
|
|
|
26231
|
-
def initialize(natgatewayid=nil, maxconcurrentconnection=nil)
|
|
26278
|
+
def initialize(natgatewayid=nil, maxconcurrentconnection=nil, exclusivetype=nil)
|
|
26232
26279
|
@NatGatewayId = natgatewayid
|
|
26233
26280
|
@MaxConcurrentConnection = maxconcurrentconnection
|
|
26281
|
+
@ExclusiveType = exclusivetype
|
|
26234
26282
|
end
|
|
26235
26283
|
|
|
26236
26284
|
def deserialize(params)
|
|
26237
26285
|
@NatGatewayId = params['NatGatewayId']
|
|
26238
26286
|
@MaxConcurrentConnection = params['MaxConcurrentConnection']
|
|
26287
|
+
@ExclusiveType = params['ExclusiveType']
|
|
26239
26288
|
end
|
|
26240
26289
|
end
|
|
26241
26290
|
|
|
@@ -28844,12 +28893,12 @@ module TencentCloud
|
|
|
28844
28893
|
# @type Protocol: String
|
|
28845
28894
|
# @param SourcePort: 源端口。
|
|
28846
28895
|
# @type SourcePort: String
|
|
28847
|
-
# @param SourceCidr: 源地址。支持`ip`或`cidr`格式"xxx.xxx.xxx.000/xx"
|
|
28848
|
-
# @type SourceCidr: String
|
|
28849
28896
|
# @param DestinationPort: 目的端口。
|
|
28850
28897
|
# @type DestinationPort: String
|
|
28851
28898
|
# @param DestinationCidr: 目的地址。
|
|
28852
28899
|
# @type DestinationCidr: String
|
|
28900
|
+
# @param SourceCidr: 源地址。支持`ip`或`cidr`格式"xxx.xxx.xxx.000/xx"
|
|
28901
|
+
# @type SourceCidr: String
|
|
28853
28902
|
# @param AclRuleId: ACL规则`ID`。
|
|
28854
28903
|
# @type AclRuleId: Integer
|
|
28855
28904
|
# @param Action: 是否匹配。
|
|
@@ -28857,14 +28906,14 @@ module TencentCloud
|
|
|
28857
28906
|
# @param Description: ACL规则描述
|
|
28858
28907
|
# @type Description: String
|
|
28859
28908
|
|
|
28860
|
-
attr_accessor :Protocol, :SourcePort, :
|
|
28909
|
+
attr_accessor :Protocol, :SourcePort, :DestinationPort, :DestinationCidr, :SourceCidr, :AclRuleId, :Action, :Description
|
|
28861
28910
|
|
|
28862
|
-
def initialize(protocol=nil, sourceport=nil,
|
|
28911
|
+
def initialize(protocol=nil, sourceport=nil, destinationport=nil, destinationcidr=nil, sourcecidr=nil, aclruleid=nil, action=nil, description=nil)
|
|
28863
28912
|
@Protocol = protocol
|
|
28864
28913
|
@SourcePort = sourceport
|
|
28865
|
-
@SourceCidr = sourcecidr
|
|
28866
28914
|
@DestinationPort = destinationport
|
|
28867
28915
|
@DestinationCidr = destinationcidr
|
|
28916
|
+
@SourceCidr = sourcecidr
|
|
28868
28917
|
@AclRuleId = aclruleid
|
|
28869
28918
|
@Action = action
|
|
28870
28919
|
@Description = description
|
|
@@ -28873,9 +28922,9 @@ module TencentCloud
|
|
|
28873
28922
|
def deserialize(params)
|
|
28874
28923
|
@Protocol = params['Protocol']
|
|
28875
28924
|
@SourcePort = params['SourcePort']
|
|
28876
|
-
@SourceCidr = params['SourceCidr']
|
|
28877
28925
|
@DestinationPort = params['DestinationPort']
|
|
28878
28926
|
@DestinationCidr = params['DestinationCidr']
|
|
28927
|
+
@SourceCidr = params['SourceCidr']
|
|
28879
28928
|
@AclRuleId = params['AclRuleId']
|
|
28880
28929
|
@Action = params['Action']
|
|
28881
28930
|
@Description = params['Description']
|
|
@@ -29413,10 +29462,12 @@ module TencentCloud
|
|
|
29413
29462
|
# @type EnableRouteVpcPublish: Boolean
|
|
29414
29463
|
# @param Ipv6CidrBlockSet: 返回多运营商IPv6 Cidr Block
|
|
29415
29464
|
# @type Ipv6CidrBlockSet: Array
|
|
29465
|
+
# @param EnableRouteVpcPublishIpv6: vpc关联云联网时IPv6类型路由发布策略, true:开启cidr路由发布,false:开启subnet子网路由发布。创建vpc时默认为子网路由发布,当选择cidr路由发布时,请通过工单加入白名单。
|
|
29466
|
+
# @type EnableRouteVpcPublishIpv6: Boolean
|
|
29416
29467
|
|
|
29417
|
-
attr_accessor :VpcName, :VpcId, :CidrBlock, :IsDefault, :EnableMulticast, :CreatedTime, :DnsServerSet, :DomainName, :DhcpOptionsId, :EnableDhcp, :Ipv6CidrBlock, :TagSet, :AssistantCidrSet, :EnableRouteVpcPublish, :Ipv6CidrBlockSet
|
|
29468
|
+
attr_accessor :VpcName, :VpcId, :CidrBlock, :IsDefault, :EnableMulticast, :CreatedTime, :DnsServerSet, :DomainName, :DhcpOptionsId, :EnableDhcp, :Ipv6CidrBlock, :TagSet, :AssistantCidrSet, :EnableRouteVpcPublish, :Ipv6CidrBlockSet, :EnableRouteVpcPublishIpv6
|
|
29418
29469
|
|
|
29419
|
-
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)
|
|
29470
|
+
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, enableroutevpcpublishipv6=nil)
|
|
29420
29471
|
@VpcName = vpcname
|
|
29421
29472
|
@VpcId = vpcid
|
|
29422
29473
|
@CidrBlock = cidrblock
|
|
@@ -29432,6 +29483,7 @@ module TencentCloud
|
|
|
29432
29483
|
@AssistantCidrSet = assistantcidrset
|
|
29433
29484
|
@EnableRouteVpcPublish = enableroutevpcpublish
|
|
29434
29485
|
@Ipv6CidrBlockSet = ipv6cidrblockset
|
|
29486
|
+
@EnableRouteVpcPublishIpv6 = enableroutevpcpublishipv6
|
|
29435
29487
|
end
|
|
29436
29488
|
|
|
29437
29489
|
def deserialize(params)
|
|
@@ -29471,6 +29523,7 @@ module TencentCloud
|
|
|
29471
29523
|
@Ipv6CidrBlockSet << ispipv6cidrblock_tmp
|
|
29472
29524
|
end
|
|
29473
29525
|
end
|
|
29526
|
+
@EnableRouteVpcPublishIpv6 = params['EnableRouteVpcPublishIpv6']
|
|
29474
29527
|
end
|
|
29475
29528
|
end
|
|
29476
29529
|
|
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.1177
|
|
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-12-04 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: tencentcloud-sdk-common
|
|
@@ -33,9 +33,9 @@ executables: []
|
|
|
33
33
|
extensions: []
|
|
34
34
|
extra_rdoc_files: []
|
|
35
35
|
files:
|
|
36
|
-
- lib/tencentcloud-sdk-vpc.rb
|
|
37
36
|
- lib/v20170312/client.rb
|
|
38
37
|
- lib/v20170312/models.rb
|
|
38
|
+
- lib/tencentcloud-sdk-vpc.rb
|
|
39
39
|
- lib/VERSION
|
|
40
40
|
homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
|
|
41
41
|
licenses:
|