tencentcloud-sdk-vpc 3.0.1161 → 3.0.1169

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e2cae363a64d96570d85ded0a513438cb8a07474
4
- data.tar.gz: be1294c4c0655afcad0e4d9a0f62cbd0ecad1b48
3
+ metadata.gz: c644a13e3d1642cc1a966e937496347ac7600864
4
+ data.tar.gz: 4d278847e882cc0b2a400ff80e2ca44a060970e2
5
5
  SHA512:
6
- metadata.gz: b2cf00635ce678cf183e641607b1ed5bf60f5fcf6d9d44cf76f51a8520a3536c8befe444bf5935fa3409b00b08807a79ddf0a5680d4bd6b9664eee4ffee4f12c
7
- data.tar.gz: f2e778c847f51526f6d454d4803a0f1e32291d260b2c812b0a0ccefb19415cd10922bc775c2bc97ed1aa7fd42ba7dd6a8222291e41ccbe6b753bc50393a507b9
6
+ metadata.gz: 7c0988c378a577e322d1896f18f24e0cccdf1a9f0050790de0d9d4b49fdec3548aa1084ae40627b488ee12fbdbed38e3d8211da80a6a4b998b9ef0efff8ec4a7
7
+ data.tar.gz: 8418ec5229ba4e1f03ba43679efb6c051716487cdb36d9d3787b9a9059c882a381965e770c0e408ea677e80fc421f2fdd59948f48a63f6c17f9762ed7efcbf01
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1161
1
+ 3.0.1169
@@ -5090,6 +5090,30 @@ module TencentCloud
5090
5090
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
5091
5091
  end
5092
5092
 
5093
+ # 本接口(DescribeNatGatewayZones)用于查询NAT网关可售卖的可用区信息
5094
+
5095
+ # @param request: Request instance for DescribeNatGatewayZones.
5096
+ # @type request: :class:`Tencentcloud::vpc::V20170312::DescribeNatGatewayZonesRequest`
5097
+ # @rtype: :class:`Tencentcloud::vpc::V20170312::DescribeNatGatewayZonesResponse`
5098
+ def DescribeNatGatewayZones(request)
5099
+ body = send_request('DescribeNatGatewayZones', request.serialize)
5100
+ response = JSON.parse(body)
5101
+ if response['Response'].key?('Error') == false
5102
+ model = DescribeNatGatewayZonesResponse.new
5103
+ model.deserialize(response['Response'])
5104
+ model
5105
+ else
5106
+ code = response['Response']['Error']['Code']
5107
+ message = response['Response']['Error']['Message']
5108
+ reqid = response['Response']['RequestId']
5109
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
5110
+ end
5111
+ rescue TencentCloud::Common::TencentCloudSDKException => e
5112
+ raise e
5113
+ rescue StandardError => e
5114
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
5115
+ end
5116
+
5093
5117
  # 本接口(DescribeNatGateways)用于查询 NAT 网关。
5094
5118
 
5095
5119
  # @param request: Request instance for DescribeNatGateways.
@@ -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
810
  deprecate :ApplicableForCLB, :none, 2025, 11
804
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
 
@@ -1592,6 +1601,7 @@ module TencentCloud
1592
1601
  # @param PublicIpAddresses: 绑定NAT网关的弹性IP数组,其中AddressCount和PublicAddresses至少传递一个。
1593
1602
  # @type PublicIpAddresses: Array
1594
1603
  # @param Zone: 弹性IP可用区,自动分配弹性IP时传递。
1604
+ # 其中产品可用区查询接口为[查询产品可用区列表](https://cloud.tencent.com/document/product/1596/77929)
1595
1605
  # @type Zone: String
1596
1606
  # @param StockPublicIpAddressesBandwidthOut: 绑定NAT网关的弹性IP带宽大小(单位Mbps),默认为当前用户类型所能使用的最大值。
1597
1607
  # @type StockPublicIpAddressesBandwidthOut: Integer
@@ -1599,10 +1609,12 @@ module TencentCloud
1599
1609
  # @type PublicIpAddressesBandwidthOut: Integer
1600
1610
  # @param PublicIpFromSameZone: 公网IP是否强制与NAT网关来自同可用区,true表示需要与NAT网关同可用区;false表示可与NAT网关不是同一个可用区。此参数只有当参数Zone存在时才能生效。
1601
1611
  # @type PublicIpFromSameZone: Boolean
1612
+ # @param IpAddressEnableMode: 启用或者禁用NAT网关绑定的EIP
1613
+ # @type IpAddressEnableMode: Boolean
1602
1614
 
1603
- attr_accessor :NatGatewayId, :AddressCount, :PublicIpAddresses, :Zone, :StockPublicIpAddressesBandwidthOut, :PublicIpAddressesBandwidthOut, :PublicIpFromSameZone
1615
+ attr_accessor :NatGatewayId, :AddressCount, :PublicIpAddresses, :Zone, :StockPublicIpAddressesBandwidthOut, :PublicIpAddressesBandwidthOut, :PublicIpFromSameZone, :IpAddressEnableMode
1604
1616
 
1605
- def initialize(natgatewayid=nil, addresscount=nil, publicipaddresses=nil, zone=nil, stockpublicipaddressesbandwidthout=nil, publicipaddressesbandwidthout=nil, publicipfromsamezone=nil)
1617
+ def initialize(natgatewayid=nil, addresscount=nil, publicipaddresses=nil, zone=nil, stockpublicipaddressesbandwidthout=nil, publicipaddressesbandwidthout=nil, publicipfromsamezone=nil, ipaddressenablemode=nil)
1606
1618
  @NatGatewayId = natgatewayid
1607
1619
  @AddressCount = addresscount
1608
1620
  @PublicIpAddresses = publicipaddresses
@@ -1610,6 +1622,7 @@ module TencentCloud
1610
1622
  @StockPublicIpAddressesBandwidthOut = stockpublicipaddressesbandwidthout
1611
1623
  @PublicIpAddressesBandwidthOut = publicipaddressesbandwidthout
1612
1624
  @PublicIpFromSameZone = publicipfromsamezone
1625
+ @IpAddressEnableMode = ipaddressenablemode
1613
1626
  end
1614
1627
 
1615
1628
  def deserialize(params)
@@ -1620,6 +1633,7 @@ module TencentCloud
1620
1633
  @StockPublicIpAddressesBandwidthOut = params['StockPublicIpAddressesBandwidthOut']
1621
1634
  @PublicIpAddressesBandwidthOut = params['PublicIpAddressesBandwidthOut']
1622
1635
  @PublicIpFromSameZone = params['PublicIpFromSameZone']
1636
+ @IpAddressEnableMode = params['IpAddressEnableMode']
1623
1637
  end
1624
1638
  end
1625
1639
 
@@ -4804,7 +4818,7 @@ module TencentCloud
4804
4818
 
4805
4819
  # CreateNatGateway请求参数结构体
4806
4820
  class CreateNatGatewayRequest < TencentCloud::Common::AbstractModel
4807
- # @param NatGatewayName: NAT网关名称
4821
+ # @param NatGatewayName: NAT网关名称,限制60字符
4808
4822
  # @type NatGatewayName: String
4809
4823
  # @param VpcId: VPC实例ID。可通过DescribeVpcs接口返回值中的VpcId获取。
4810
4824
  # @type VpcId: String
@@ -5321,7 +5335,7 @@ module TencentCloud
5321
5335
 
5322
5336
  # CreatePrivateNatGateway请求参数结构体
5323
5337
  class CreatePrivateNatGatewayRequest < TencentCloud::Common::AbstractModel
5324
- # @param NatGatewayName: 私网网关名称
5338
+ # @param NatGatewayName: 私网网关名称,限制60个字符
5325
5339
  # @type NatGatewayName: String
5326
5340
  # @param VpcId: 私有网络实例ID。当创建VPC类型私网NAT网关或者专线网关类型私网NAT网关时,此参数必填。
5327
5341
  # @type VpcId: String
@@ -5401,15 +5415,15 @@ module TencentCloud
5401
5415
  class CreatePrivateNatGatewayTranslationAclRuleRequest < TencentCloud::Common::AbstractModel
5402
5416
  # @param NatGatewayId: 私网网关唯一`ID`,形如:`intranat-xxxxxxxx`。
5403
5417
  # @type NatGatewayId: String
5404
- # @param TranslationDirection: 转换规则目标,可选值"LOCAL"
5418
+ # @param TranslationDirection: 转换规则目标,可选值LOCAL。
5405
5419
  # @type TranslationDirection: String
5406
- # @param TranslationType: 转换规则类型,可选值"NETWORK_LAYER","TRANSPORT_LAYER"。
5420
+ # @param TranslationType: 转换规则类型,可选值NETWORK_LAYERTRANSPORT_LAYER。分别对应三层、四层。
5407
5421
  # @type TranslationType: String
5408
- # @param TranslationIp: 转换`IP`,当转换规则类型为四层时为`IP`池。
5422
+ # @param TranslationIp: 映射后`IP`,当转换规则类型为四层时为`IP`池。
5409
5423
  # @type TranslationIp: String
5410
5424
  # @param TranslationAclRules: 访问控制列表。
5411
5425
  # @type TranslationAclRules: Array
5412
- # @param OriginalIp: 源`IP`,当转换规则类型为三层时有效。
5426
+ # @param OriginalIp: 映射前`IP`,当转换规则类型为三层时有效。
5413
5427
  # @type OriginalIp: String
5414
5428
 
5415
5429
  attr_accessor :NatGatewayId, :TranslationDirection, :TranslationType, :TranslationIp, :TranslationAclRules, :OriginalIp
@@ -8240,15 +8254,19 @@ module TencentCloud
8240
8254
  class DeleteNatGatewayRequest < TencentCloud::Common::AbstractModel
8241
8255
  # @param NatGatewayId: NAT网关的ID,形如:`nat-df45454`。
8242
8256
  # @type NatGatewayId: String
8257
+ # @param IgnoreOperationRisk: 忽略操作风险
8258
+ # @type IgnoreOperationRisk: Boolean
8243
8259
 
8244
- attr_accessor :NatGatewayId
8260
+ attr_accessor :NatGatewayId, :IgnoreOperationRisk
8245
8261
 
8246
- def initialize(natgatewayid=nil)
8262
+ def initialize(natgatewayid=nil, ignoreoperationrisk=nil)
8247
8263
  @NatGatewayId = natgatewayid
8264
+ @IgnoreOperationRisk = ignoreoperationrisk
8248
8265
  end
8249
8266
 
8250
8267
  def deserialize(params)
8251
8268
  @NatGatewayId = params['NatGatewayId']
8269
+ @IgnoreOperationRisk = params['IgnoreOperationRisk']
8252
8270
  end
8253
8271
  end
8254
8272
 
@@ -8557,15 +8575,15 @@ module TencentCloud
8557
8575
  class DeletePrivateNatGatewayTranslationAclRuleRequest < TencentCloud::Common::AbstractModel
8558
8576
  # @param NatGatewayId: 私网网关唯一`ID`,形如:`intranat-xxxxxxxx`。
8559
8577
  # @type NatGatewayId: String
8560
- # @param TranslationDirection: 转换规则目标,可选值"LOCAL"
8578
+ # @param TranslationDirection: 转换规则目标,可选值LOCAL。
8561
8579
  # @type TranslationDirection: String
8562
- # @param TranslationType: 转换规则类型,可选值"NETWORK_LAYER","TRANSPORT_LAYER"。
8580
+ # @param TranslationType: 转换规则类型,可选值NETWORK_LAYERTRANSPORT_LAYER。分别对应三层、四层。
8563
8581
  # @type TranslationType: String
8564
- # @param TranslationIp: 转换`IP`,当转换规则类型为四层时为`IP`池
8582
+ # @param TranslationIp: 映射后`IP`,当转换规则类型为四层时为`IP`池
8565
8583
  # @type TranslationIp: String
8566
8584
  # @param AclRuleIds: 访问控制规则对应`ID`
8567
8585
  # @type AclRuleIds: Array
8568
- # @param OriginalIp: 源`IP`,当转换规则类型为三层时有效
8586
+ # @param OriginalIp: 映射前`IP`,当转换规则类型为三层时有效
8569
8587
  # @type OriginalIp: String
8570
8588
 
8571
8589
  attr_accessor :NatGatewayId, :TranslationDirection, :TranslationType, :TranslationIp, :AclRuleIds, :OriginalIp
@@ -12839,11 +12857,49 @@ module TencentCloud
12839
12857
  end
12840
12858
  end
12841
12859
 
12860
+ # DescribeNatGatewayZones请求参数结构体
12861
+ class DescribeNatGatewayZonesRequest < TencentCloud::Common::AbstractModel
12862
+
12863
+
12864
+ def initialize()
12865
+ end
12866
+
12867
+ def deserialize(params)
12868
+ end
12869
+ end
12870
+
12871
+ # DescribeNatGatewayZones返回参数结构体
12872
+ class DescribeNatGatewayZonesResponse < TencentCloud::Common::AbstractModel
12873
+ # @param ZoneSet: 可售卖可用区信息列表
12874
+ # @type ZoneSet: Array
12875
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
12876
+ # @type RequestId: String
12877
+
12878
+ attr_accessor :ZoneSet, :RequestId
12879
+
12880
+ def initialize(zoneset=nil, requestid=nil)
12881
+ @ZoneSet = zoneset
12882
+ @RequestId = requestid
12883
+ end
12884
+
12885
+ def deserialize(params)
12886
+ unless params['ZoneSet'].nil?
12887
+ @ZoneSet = []
12888
+ params['ZoneSet'].each do |i|
12889
+ natzoneinfo_tmp = NatZoneInfo.new
12890
+ natzoneinfo_tmp.deserialize(i)
12891
+ @ZoneSet << natzoneinfo_tmp
12892
+ end
12893
+ end
12894
+ @RequestId = params['RequestId']
12895
+ end
12896
+ end
12897
+
12842
12898
  # DescribeNatGateways请求参数结构体
12843
12899
  class DescribeNatGatewaysRequest < TencentCloud::Common::AbstractModel
12844
12900
  # @param NatGatewayIds: NAT网关统一 ID,形如:`nat-123xx454`。每次请求的实例上限为100。参数不支持同时指定NatGatewayIds和Filters。
12845
12901
  # @type NatGatewayIds: Array
12846
- # @param Filters: 过滤条件,参数不支持同时指定NatGatewayIds和Filters。每次请求的Filters的上限为10,Filter.Values的上限为5。<li>nat-gateway-id - String - (过滤条件)NAT实例ID,形如:`nat-123xx454`。</li><li>vpc-id - String - (过滤条件)私有网络 唯一ID,形如:`vpc-123xx454`。</li><li>nat-gateway-name - String - (过滤条件)协议端口模板实例名称,形如:`test_nat`。</li><li>tag-key - String - (过滤条件)标签键,形如:`test-key`。</li><li>nat-status - String - (过滤条件)NAT实例当前状态,形如:`AVAILABLE`。</li>
12902
+ # @param Filters: 过滤条件,参数不支持同时指定NatGatewayIds和Filters。每次请求的Filters的上限为10,Filter.Values的上限为5。<li>nat-gateway-id - String - (过滤条件)NAT实例ID,形如:`nat-123xx454`。</li><li>vpc-id - String - (过滤条件)私有网络 唯一ID,形如:`vpc-123xx454`。</li><li>nat-gateway-name - String - (过滤条件)协议端口模板实例名称,形如:`test_nat`。</li><li>tag-key - String - (过滤条件)标签键,形如:`test-key`。</li><li>nat-state - String - (过滤条件)NAT实例当前状态,形如:`AVAILABLE`。</li>
12847
12903
  # @type Filters: Array
12848
12904
  # @param Offset: 偏移量,默认为0。
12849
12905
  # @type Offset: Integer
@@ -13375,7 +13431,7 @@ module TencentCloud
13375
13431
  class DescribePrivateNatGatewayDestinationIpPortTranslationNatRulesRequest < TencentCloud::Common::AbstractModel
13376
13432
  # @param NatGatewayId: 私网网关唯一`ID`,形如"intranat-xxxxxxxx)
13377
13433
  # @type NatGatewayId: String
13378
- # @param Filters: 过滤条件,Name可选值"OriginalIp", "TranslationIp", "OriginalPort","TranslationPort", "Protocol", "Description"
13434
+ # @param Filters: 过滤条件,Name可选值:OriginalIpTranslationIpOriginalPortTranslationPortProtocolDescription,分别表示映射前IP、映射后IP、映射前端口、映射后端口、协议类型、描述
13379
13435
  # @type Filters: Array
13380
13436
  # @param Offset: 偏移量,默认值为0。
13381
13437
  # @type Offset: Integer
@@ -13546,13 +13602,13 @@ module TencentCloud
13546
13602
  class DescribePrivateNatGatewayTranslationAclRulesRequest < TencentCloud::Common::AbstractModel
13547
13603
  # @param NatGatewayId: 私网网关唯一`ID`,形如:`intranat-xxxxxxxx`。
13548
13604
  # @type NatGatewayId: String
13549
- # @param TranslationDirection: 转换规则目标,可选值"LOCAL"
13605
+ # @param TranslationDirection: 转换规则目标,可选值LOCAL。
13550
13606
  # @type TranslationDirection: String
13551
- # @param TranslationType: 转换规则类型,可选值"NETWORK_LAYER","TRANSPORT_LAYER"。
13607
+ # @param TranslationType: 转换规则类型,可选值NETWORK_LAYERTRANSPORT_LAYER。分别对应三层、四层。
13552
13608
  # @type TranslationType: String
13553
- # @param TranslationIp: 转换`IP`,当转换规则类型为四层时为`IP`池。
13609
+ # @param TranslationIp: 映射后`IP`,当转换规则类型为四层时为`IP`池。
13554
13610
  # @type TranslationIp: String
13555
- # @param OriginalIp: 源`IP`,当转换规则类型为三层时有效。
13611
+ # @param OriginalIp: 映射前`IP`,当转换规则类型为三层时有效。
13556
13612
  # @type OriginalIp: String
13557
13613
  # @param Offset: 偏移量。默认值为0。
13558
13614
  # @type Offset: Integer
@@ -13690,6 +13746,7 @@ module TencentCloud
13690
13746
  # DescribePrivateNatGateways请求参数结构体
13691
13747
  class DescribePrivateNatGatewaysRequest < TencentCloud::Common::AbstractModel
13692
13748
  # @param NatGatewayIds: 私网网关唯一`ID`,形如:`intranat-0g3blj80`。
13749
+ # 注意:NatGatewayIds和Filters参数互斥,不能同时传入。
13693
13750
  # @type NatGatewayIds: Array
13694
13751
  # @param Filters: 过滤条件。<li>NatGatewayId - String - 私网网关唯一`ID`,形如:`intranat-0g3blj80`。</li><li>NatGatewayName - String - 专线网关名称,默认模糊查询。</li><li>VpcId - String - 私网网关所在`VpcId`。</li><li>TagKey - Tag数组 - 私网网关标签键值对数组</li><li>intranat-status - String - (过滤条件)NAT实例当前状态,形如:`AVAILABLE`。</li>
13695
13752
  # @type Filters: Array
@@ -13697,9 +13754,9 @@ module TencentCloud
13697
13754
  # @type Offset: Integer
13698
13755
  # @param Limit: 返回数量,默认为20。
13699
13756
  # @type Limit: Integer
13700
- # @param OrderField: 排序字段。可选值:"NatGatewayId""NatGatewayName""CreatedTime"
13757
+ # @param OrderField: 排序字段。可选值:NatGatewayId、NatGatewayName、CreatedTime
13701
13758
  # @type OrderField: String
13702
- # @param OrderDirection: 排序方式。可选值:"ASC""DESC"。
13759
+ # @param OrderDirection: 排序方式。可选值:ASC、DESC。分别表示升序、降序。
13703
13760
  # @type OrderDirection: String
13704
13761
 
13705
13762
  attr_accessor :NatGatewayIds, :Filters, :Offset, :Limit, :OrderField, :OrderDirection
@@ -15861,17 +15918,23 @@ module TencentCloud
15861
15918
  # @param EndPointId: 终端节点ID列表。可通过[DescribeVpcEndPoint](https://cloud.tencent.com/document/product/215/54679)
15862
15919
  # 获取。
15863
15920
  # @type EndPointId: Array
15864
- # @param IpAddressType: 协议类型,支持 Ipv4,Ipv6,默认 Ipv4
15921
+ # @param IpAddressType: 协议类型,支持 Ipv4,Ipv6, DualStack,默认 Ipv4。使用DualStack查询双栈的时候,必须要使用MaxResult配合NextToken查询。第1次查询的时候只需要携带MaxResult,如果返回NextToken非空,表示有更多可用数据。第2次查询的时候就需要携带NextToken进行分页查询。
15865
15922
  # @type IpAddressType: String
15923
+ # @param MaxResults: 每次调用返回的最大结果数。如果查询返回的时候有NextToken返回,您可以使用NextToken值获取更多页结果, 当NextToke返回空或者返回的结果数量小于MaxResults时,表示没有更多数据了。允许的最大页面大小为 100。
15924
+ # @type MaxResults: Integer
15925
+ # @param NextToken: 如果NextToken返回非空字符串 ,表示还有更多可用结果。 NextToken是每个页面唯一的分页令牌。使用返回的令牌再次调用以检索下一页。需要保持所有其他参数不变。每个分页令牌在 24 小时后过期。
15926
+ # @type NextToken: String
15866
15927
 
15867
- attr_accessor :Filters, :Offset, :Limit, :EndPointId, :IpAddressType
15928
+ attr_accessor :Filters, :Offset, :Limit, :EndPointId, :IpAddressType, :MaxResults, :NextToken
15868
15929
 
15869
- def initialize(filters=nil, offset=nil, limit=nil, endpointid=nil, ipaddresstype=nil)
15930
+ def initialize(filters=nil, offset=nil, limit=nil, endpointid=nil, ipaddresstype=nil, maxresults=nil, nexttoken=nil)
15870
15931
  @Filters = filters
15871
15932
  @Offset = offset
15872
15933
  @Limit = limit
15873
15934
  @EndPointId = endpointid
15874
15935
  @IpAddressType = ipaddresstype
15936
+ @MaxResults = maxresults
15937
+ @NextToken = nexttoken
15875
15938
  end
15876
15939
 
15877
15940
  def deserialize(params)
@@ -15887,6 +15950,8 @@ module TencentCloud
15887
15950
  @Limit = params['Limit']
15888
15951
  @EndPointId = params['EndPointId']
15889
15952
  @IpAddressType = params['IpAddressType']
15953
+ @MaxResults = params['MaxResults']
15954
+ @NextToken = params['NextToken']
15890
15955
  end
15891
15956
  end
15892
15957
 
@@ -15896,14 +15961,17 @@ module TencentCloud
15896
15961
  # @type EndPointSet: Array
15897
15962
  # @param TotalCount: 符合查询条件的终端节点个数。
15898
15963
  # @type TotalCount: Integer
15964
+ # @param NextToken: 如果NextToken返回非空字符串 ,表示还有更多可用结果。 NextToken是每个页面唯一的分页令牌。使用返回的令牌再次调用以检索下一页。需要保持所有其他参数不变。每个分页令牌在 24 小时后过期。
15965
+ # @type NextToken: String
15899
15966
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
15900
15967
  # @type RequestId: String
15901
15968
 
15902
- attr_accessor :EndPointSet, :TotalCount, :RequestId
15969
+ attr_accessor :EndPointSet, :TotalCount, :NextToken, :RequestId
15903
15970
 
15904
- def initialize(endpointset=nil, totalcount=nil, requestid=nil)
15971
+ def initialize(endpointset=nil, totalcount=nil, nexttoken=nil, requestid=nil)
15905
15972
  @EndPointSet = endpointset
15906
15973
  @TotalCount = totalcount
15974
+ @NextToken = nexttoken
15907
15975
  @RequestId = requestid
15908
15976
  end
15909
15977
 
@@ -15917,6 +15985,7 @@ module TencentCloud
15917
15985
  end
15918
15986
  end
15919
15987
  @TotalCount = params['TotalCount']
15988
+ @NextToken = params['NextToken']
15920
15989
  @RequestId = params['RequestId']
15921
15990
  end
15922
15991
  end
@@ -15942,18 +16011,24 @@ module TencentCloud
15942
16011
  # @type EndPointServiceIds: Array
15943
16012
  # @param IsListAuthorizedEndPointService: <li>不支持同时传入参数 Filters 。</li> <li>列出授权给当前账号的终端节点服务信息。可以配合EndPointServiceIds参数进行过滤,哪些终端节点服务授权了该账户。</li>
15944
16013
  # @type IsListAuthorizedEndPointService: Boolean
15945
- # @param IpAddressType: 协议类型,支持 Ipv4,Ipv6,默认 Ipv4
16014
+ # @param IpAddressType: 协议类型,支持 Ipv4,Ipv6, DualStack,默认 Ipv4。使用DualStack查询双栈的时候,必须要使用MaxResult配合NextToken查询。第1次查询的时候只需要携带MaxResult,如果返回NextToken非空,表示有更多可用数据。第2次查询的时候就需要携带NextToken进行分页查询。
15946
16015
  # @type IpAddressType: String
16016
+ # @param MaxResults: 每次调用返回的最大结果数。如果查询返回的时候有NextToken返回,您可以使用NextToken值获取更多页结果, 当NextToke返回空或者返回的结果数量小于MaxResults时,表示没有更多数据了。允许的最大页面大小为 100。
16017
+ # @type MaxResults: Integer
16018
+ # @param NextToken: 如果NextToken返回 ,表示还有更多可用结果。 NextToken是每个页面唯一的分页令牌。使用返回的令牌再次调用以检索下一页。需要保持所有其他参数不变。每个分页令牌在 24 小时后过期。
16019
+ # @type NextToken: String
15947
16020
 
15948
- attr_accessor :Filters, :Offset, :Limit, :EndPointServiceIds, :IsListAuthorizedEndPointService, :IpAddressType
16021
+ attr_accessor :Filters, :Offset, :Limit, :EndPointServiceIds, :IsListAuthorizedEndPointService, :IpAddressType, :MaxResults, :NextToken
15949
16022
 
15950
- def initialize(filters=nil, offset=nil, limit=nil, endpointserviceids=nil, islistauthorizedendpointservice=nil, ipaddresstype=nil)
16023
+ def initialize(filters=nil, offset=nil, limit=nil, endpointserviceids=nil, islistauthorizedendpointservice=nil, ipaddresstype=nil, maxresults=nil, nexttoken=nil)
15951
16024
  @Filters = filters
15952
16025
  @Offset = offset
15953
16026
  @Limit = limit
15954
16027
  @EndPointServiceIds = endpointserviceids
15955
16028
  @IsListAuthorizedEndPointService = islistauthorizedendpointservice
15956
16029
  @IpAddressType = ipaddresstype
16030
+ @MaxResults = maxresults
16031
+ @NextToken = nexttoken
15957
16032
  end
15958
16033
 
15959
16034
  def deserialize(params)
@@ -15970,6 +16045,8 @@ module TencentCloud
15970
16045
  @EndPointServiceIds = params['EndPointServiceIds']
15971
16046
  @IsListAuthorizedEndPointService = params['IsListAuthorizedEndPointService']
15972
16047
  @IpAddressType = params['IpAddressType']
16048
+ @MaxResults = params['MaxResults']
16049
+ @NextToken = params['NextToken']
15973
16050
  end
15974
16051
  end
15975
16052
 
@@ -15979,14 +16056,17 @@ module TencentCloud
15979
16056
  # @type EndPointServiceSet: Array
15980
16057
  # @param TotalCount: 符合查询条件的个数。
15981
16058
  # @type TotalCount: Integer
16059
+ # @param NextToken: 如果NextToken返回非空字符串 ,表示还有更多可用结果。 NextToken是每个页面唯一的分页令牌。使用返回的令牌再次调用以检索下一页。需要保持所有其他参数不变。每个分页令牌在 24 小时后过期。
16060
+ # @type NextToken: String
15982
16061
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
15983
16062
  # @type RequestId: String
15984
16063
 
15985
- attr_accessor :EndPointServiceSet, :TotalCount, :RequestId
16064
+ attr_accessor :EndPointServiceSet, :TotalCount, :NextToken, :RequestId
15986
16065
 
15987
- def initialize(endpointserviceset=nil, totalcount=nil, requestid=nil)
16066
+ def initialize(endpointserviceset=nil, totalcount=nil, nexttoken=nil, requestid=nil)
15988
16067
  @EndPointServiceSet = endpointserviceset
15989
16068
  @TotalCount = totalcount
16069
+ @NextToken = nexttoken
15990
16070
  @RequestId = requestid
15991
16071
  end
15992
16072
 
@@ -16000,6 +16080,7 @@ module TencentCloud
16000
16080
  end
16001
16081
  end
16002
16082
  @TotalCount = params['TotalCount']
16083
+ @NextToken = params['NextToken']
16003
16084
  @RequestId = params['RequestId']
16004
16085
  end
16005
16086
  end
@@ -19422,14 +19503,22 @@ module TencentCloud
19422
19503
  # <ul style="margin:0"><li>精品IP,可选值:<ul><li>HighQualityEIP:精品IP</li></ul>注意:仅新加坡和中国香港支持精品IP。</li></ul>
19423
19504
  # <ul style="margin:0"><li>高防IP,可选值:<ul><li>AntiDDoSEIP:高防IP</li></ul>注意:仅部分地域支持高防IP,详情可见弹性公网IP[产品概述](https://cloud.tencent.com/document/product/1199/41646)。</li></ul>
19424
19505
  # @type AddressType: String
19506
+ # @param IPChargeType: 原生EIP IP资源的计费方式。
19507
+ # <ul style="margin:0"><li>账号为标准账户类型的用户,可选值:<ul>
19508
+ # <li>IP_POSTPAID_BY_HOUR:IP资源按小时后付费</li>
19509
+ # <li>IP_PREPAID_BY_MONTH:IP资源包月预付费</li>
19510
+ # </ul></li>
19511
+ # </ul>
19512
+ # @type IPChargeType: String
19425
19513
 
19426
- attr_accessor :InternetChargeType, :InternetMaxBandwidthOut, :AddressChargePrepaid, :AddressType
19514
+ attr_accessor :InternetChargeType, :InternetMaxBandwidthOut, :AddressChargePrepaid, :AddressType, :IPChargeType
19427
19515
 
19428
- def initialize(internetchargetype=nil, internetmaxbandwidthout=nil, addresschargeprepaid=nil, addresstype=nil)
19516
+ def initialize(internetchargetype=nil, internetmaxbandwidthout=nil, addresschargeprepaid=nil, addresstype=nil, ipchargetype=nil)
19429
19517
  @InternetChargeType = internetchargetype
19430
19518
  @InternetMaxBandwidthOut = internetmaxbandwidthout
19431
19519
  @AddressChargePrepaid = addresschargeprepaid
19432
19520
  @AddressType = addresstype
19521
+ @IPChargeType = ipchargetype
19433
19522
  end
19434
19523
 
19435
19524
  def deserialize(params)
@@ -19440,6 +19529,7 @@ module TencentCloud
19440
19529
  @AddressChargePrepaid.deserialize(params['AddressChargePrepaid'])
19441
19530
  end
19442
19531
  @AddressType = params['AddressType']
19532
+ @IPChargeType = params['IPChargeType']
19443
19533
  end
19444
19534
  end
19445
19535
 
@@ -19821,13 +19911,22 @@ module TencentCloud
19821
19911
 
19822
19912
  # 公网询价出参
19823
19913
  class InternetPrice < TencentCloud::Common::AbstractModel
19824
- # @param AddressPrice: 公网IP询价详细参数。
19914
+ # @param AddressPrice: 公网IP网络费询价详细参数。
19825
19915
  # @type AddressPrice: :class:`Tencentcloud::Vpc.v20170312.models.InternetPriceDetail`
19916
+ # @param IPPrice: 公网IP资源费询价详细参数。仅原生IP价格查询返回。
19917
+ # @type IPPrice: :class:`Tencentcloud::Vpc.v20170312.models.InternetPriceDetail`
19918
+ # @param OriginalPrice: 总原价,单位:元,仅预付费价格查询返回。
19919
+ # @type OriginalPrice: Float
19920
+ # @param DiscountPrice: 折扣后的总价格,单位:元。仅预付费价格查询返回。
19921
+ # @type DiscountPrice: Float
19826
19922
 
19827
- attr_accessor :AddressPrice
19923
+ attr_accessor :AddressPrice, :IPPrice, :OriginalPrice, :DiscountPrice
19828
19924
 
19829
- def initialize(addressprice=nil)
19925
+ def initialize(addressprice=nil, ipprice=nil, originalprice=nil, discountprice=nil)
19830
19926
  @AddressPrice = addressprice
19927
+ @IPPrice = ipprice
19928
+ @OriginalPrice = originalprice
19929
+ @DiscountPrice = discountprice
19831
19930
  end
19832
19931
 
19833
19932
  def deserialize(params)
@@ -19835,6 +19934,12 @@ module TencentCloud
19835
19934
  @AddressPrice = InternetPriceDetail.new
19836
19935
  @AddressPrice.deserialize(params['AddressPrice'])
19837
19936
  end
19937
+ unless params['IPPrice'].nil?
19938
+ @IPPrice = InternetPriceDetail.new
19939
+ @IPPrice.deserialize(params['IPPrice'])
19940
+ end
19941
+ @OriginalPrice = params['OriginalPrice']
19942
+ @DiscountPrice = params['DiscountPrice']
19838
19943
  end
19839
19944
  end
19840
19945
 
@@ -21983,7 +22088,7 @@ module TencentCloud
21983
22088
  class ModifyNatGatewaySourceIpTranslationNatRuleRequest < TencentCloud::Common::AbstractModel
21984
22089
  # @param NatGatewayId: NAT网关的ID,形如:`nat-df453454`。
21985
22090
  # @type NatGatewayId: String
21986
- # @param SourceIpTranslationNatRule: NAT网关的SNAT转换规则。
22091
+ # @param SourceIpTranslationNatRule: NAT网关的SNAT转换规则。仅支持根据指定的NatGatewaySnatId修改PublicIpAddresses或Description。
21987
22092
  # @type SourceIpTranslationNatRule: :class:`Tencentcloud::Vpc.v20170312.models.SourceIpTranslationNatRule`
21988
22093
 
21989
22094
  attr_accessor :NatGatewayId, :SourceIpTranslationNatRule
@@ -23964,6 +24069,26 @@ module TencentCloud
23964
24069
  end
23965
24070
  end
23966
24071
 
24072
+ # NAT网关可用区集合
24073
+ class NatZoneInfo < TencentCloud::Common::AbstractModel
24074
+ # @param Zone: 可用区名称
24075
+ # @type Zone: String
24076
+ # @param ZoneId: 可用区id
24077
+ # @type ZoneId: Integer
24078
+
24079
+ attr_accessor :Zone, :ZoneId
24080
+
24081
+ def initialize(zone=nil, zoneid=nil)
24082
+ @Zone = zone
24083
+ @ZoneId = zoneid
24084
+ end
24085
+
24086
+ def deserialize(params)
24087
+ @Zone = params['Zone']
24088
+ @ZoneId = params['ZoneId']
24089
+ end
24090
+ end
24091
+
23967
24092
  # 网络探测对象。
23968
24093
  class NetDetect < TencentCloud::Common::AbstractModel
23969
24094
  # @param VpcId: `VPC`实例`ID`。形如:`vpc-12345678`
@@ -25032,7 +25157,7 @@ module TencentCloud
25032
25157
  # @type VpcId: String
25033
25158
  # @param NatGatewayId: NAT网关ID
25034
25159
  # @type NatGatewayId: String
25035
- # @param DryRun: 是否是预刷新;True:是, False:否
25160
+ # @param DryRun: 是否是预刷新;true:是, false:否
25036
25161
  # @type DryRun: Boolean
25037
25162
 
25038
25163
  attr_accessor :VpcId, :NatGatewayId, :DryRun
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.1161
4
+ version: 3.0.1169
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-04 00:00:00.000000000 Z
11
+ date: 2025-11-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common