tencentcloud-sdk-vpc 3.0.1166 → 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: d249b45f8faf54530557b3dcdbfdfc5b1d23d90c
4
- data.tar.gz: 48db067fc49596e3efb36e527c2032141d03633a
3
+ metadata.gz: c644a13e3d1642cc1a966e937496347ac7600864
4
+ data.tar.gz: 4d278847e882cc0b2a400ff80e2ca44a060970e2
5
5
  SHA512:
6
- metadata.gz: b41c814971b30e9970853ee88085fbec2e0734e6759d922a4516794f790fdd2d953be0be170ea417ed131835345d746a363a9b1b940af4eef0b28b0f9c3dc348
7
- data.tar.gz: bea46388384922a7016dc1b6699eb2d44135f36680e8ffafaf90074d69a8d64051918e3096b596c1bbc3de92cf1ea9c646eb0937f09bb6df94e300e13238680a
6
+ metadata.gz: 7c0988c378a577e322d1896f18f24e0cccdf1a9f0050790de0d9d4b49fdec3548aa1084ae40627b488ee12fbdbed38e3d8211da80a6a4b998b9ef0efff8ec4a7
7
+ data.tar.gz: 8418ec5229ba4e1f03ba43679efb6c051716487cdb36d9d3787b9a9059c882a381965e770c0e408ea677e80fc421f2fdd59948f48a63f6c17f9762ed7efcbf01
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1166
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.
@@ -1601,6 +1601,7 @@ module TencentCloud
1601
1601
  # @param PublicIpAddresses: 绑定NAT网关的弹性IP数组,其中AddressCount和PublicAddresses至少传递一个。
1602
1602
  # @type PublicIpAddresses: Array
1603
1603
  # @param Zone: 弹性IP可用区,自动分配弹性IP时传递。
1604
+ # 其中产品可用区查询接口为[查询产品可用区列表](https://cloud.tencent.com/document/product/1596/77929)
1604
1605
  # @type Zone: String
1605
1606
  # @param StockPublicIpAddressesBandwidthOut: 绑定NAT网关的弹性IP带宽大小(单位Mbps),默认为当前用户类型所能使用的最大值。
1606
1607
  # @type StockPublicIpAddressesBandwidthOut: Integer
@@ -1608,10 +1609,12 @@ module TencentCloud
1608
1609
  # @type PublicIpAddressesBandwidthOut: Integer
1609
1610
  # @param PublicIpFromSameZone: 公网IP是否强制与NAT网关来自同可用区,true表示需要与NAT网关同可用区;false表示可与NAT网关不是同一个可用区。此参数只有当参数Zone存在时才能生效。
1610
1611
  # @type PublicIpFromSameZone: Boolean
1612
+ # @param IpAddressEnableMode: 启用或者禁用NAT网关绑定的EIP
1613
+ # @type IpAddressEnableMode: Boolean
1611
1614
 
1612
- attr_accessor :NatGatewayId, :AddressCount, :PublicIpAddresses, :Zone, :StockPublicIpAddressesBandwidthOut, :PublicIpAddressesBandwidthOut, :PublicIpFromSameZone
1615
+ attr_accessor :NatGatewayId, :AddressCount, :PublicIpAddresses, :Zone, :StockPublicIpAddressesBandwidthOut, :PublicIpAddressesBandwidthOut, :PublicIpFromSameZone, :IpAddressEnableMode
1613
1616
 
1614
- 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)
1615
1618
  @NatGatewayId = natgatewayid
1616
1619
  @AddressCount = addresscount
1617
1620
  @PublicIpAddresses = publicipaddresses
@@ -1619,6 +1622,7 @@ module TencentCloud
1619
1622
  @StockPublicIpAddressesBandwidthOut = stockpublicipaddressesbandwidthout
1620
1623
  @PublicIpAddressesBandwidthOut = publicipaddressesbandwidthout
1621
1624
  @PublicIpFromSameZone = publicipfromsamezone
1625
+ @IpAddressEnableMode = ipaddressenablemode
1622
1626
  end
1623
1627
 
1624
1628
  def deserialize(params)
@@ -1629,6 +1633,7 @@ module TencentCloud
1629
1633
  @StockPublicIpAddressesBandwidthOut = params['StockPublicIpAddressesBandwidthOut']
1630
1634
  @PublicIpAddressesBandwidthOut = params['PublicIpAddressesBandwidthOut']
1631
1635
  @PublicIpFromSameZone = params['PublicIpFromSameZone']
1636
+ @IpAddressEnableMode = params['IpAddressEnableMode']
1632
1637
  end
1633
1638
  end
1634
1639
 
@@ -4813,7 +4818,7 @@ module TencentCloud
4813
4818
 
4814
4819
  # CreateNatGateway请求参数结构体
4815
4820
  class CreateNatGatewayRequest < TencentCloud::Common::AbstractModel
4816
- # @param NatGatewayName: NAT网关名称
4821
+ # @param NatGatewayName: NAT网关名称,限制60字符
4817
4822
  # @type NatGatewayName: String
4818
4823
  # @param VpcId: VPC实例ID。可通过DescribeVpcs接口返回值中的VpcId获取。
4819
4824
  # @type VpcId: String
@@ -5330,7 +5335,7 @@ module TencentCloud
5330
5335
 
5331
5336
  # CreatePrivateNatGateway请求参数结构体
5332
5337
  class CreatePrivateNatGatewayRequest < TencentCloud::Common::AbstractModel
5333
- # @param NatGatewayName: 私网网关名称
5338
+ # @param NatGatewayName: 私网网关名称,限制60个字符
5334
5339
  # @type NatGatewayName: String
5335
5340
  # @param VpcId: 私有网络实例ID。当创建VPC类型私网NAT网关或者专线网关类型私网NAT网关时,此参数必填。
5336
5341
  # @type VpcId: String
@@ -5410,15 +5415,15 @@ module TencentCloud
5410
5415
  class CreatePrivateNatGatewayTranslationAclRuleRequest < TencentCloud::Common::AbstractModel
5411
5416
  # @param NatGatewayId: 私网网关唯一`ID`,形如:`intranat-xxxxxxxx`。
5412
5417
  # @type NatGatewayId: String
5413
- # @param TranslationDirection: 转换规则目标,可选值"LOCAL"
5418
+ # @param TranslationDirection: 转换规则目标,可选值LOCAL。
5414
5419
  # @type TranslationDirection: String
5415
- # @param TranslationType: 转换规则类型,可选值"NETWORK_LAYER","TRANSPORT_LAYER"。
5420
+ # @param TranslationType: 转换规则类型,可选值NETWORK_LAYERTRANSPORT_LAYER。分别对应三层、四层。
5416
5421
  # @type TranslationType: String
5417
- # @param TranslationIp: 转换`IP`,当转换规则类型为四层时为`IP`池。
5422
+ # @param TranslationIp: 映射后`IP`,当转换规则类型为四层时为`IP`池。
5418
5423
  # @type TranslationIp: String
5419
5424
  # @param TranslationAclRules: 访问控制列表。
5420
5425
  # @type TranslationAclRules: Array
5421
- # @param OriginalIp: 源`IP`,当转换规则类型为三层时有效。
5426
+ # @param OriginalIp: 映射前`IP`,当转换规则类型为三层时有效。
5422
5427
  # @type OriginalIp: String
5423
5428
 
5424
5429
  attr_accessor :NatGatewayId, :TranslationDirection, :TranslationType, :TranslationIp, :TranslationAclRules, :OriginalIp
@@ -8249,15 +8254,19 @@ module TencentCloud
8249
8254
  class DeleteNatGatewayRequest < TencentCloud::Common::AbstractModel
8250
8255
  # @param NatGatewayId: NAT网关的ID,形如:`nat-df45454`。
8251
8256
  # @type NatGatewayId: String
8257
+ # @param IgnoreOperationRisk: 忽略操作风险
8258
+ # @type IgnoreOperationRisk: Boolean
8252
8259
 
8253
- attr_accessor :NatGatewayId
8260
+ attr_accessor :NatGatewayId, :IgnoreOperationRisk
8254
8261
 
8255
- def initialize(natgatewayid=nil)
8262
+ def initialize(natgatewayid=nil, ignoreoperationrisk=nil)
8256
8263
  @NatGatewayId = natgatewayid
8264
+ @IgnoreOperationRisk = ignoreoperationrisk
8257
8265
  end
8258
8266
 
8259
8267
  def deserialize(params)
8260
8268
  @NatGatewayId = params['NatGatewayId']
8269
+ @IgnoreOperationRisk = params['IgnoreOperationRisk']
8261
8270
  end
8262
8271
  end
8263
8272
 
@@ -8566,15 +8575,15 @@ module TencentCloud
8566
8575
  class DeletePrivateNatGatewayTranslationAclRuleRequest < TencentCloud::Common::AbstractModel
8567
8576
  # @param NatGatewayId: 私网网关唯一`ID`,形如:`intranat-xxxxxxxx`。
8568
8577
  # @type NatGatewayId: String
8569
- # @param TranslationDirection: 转换规则目标,可选值"LOCAL"
8578
+ # @param TranslationDirection: 转换规则目标,可选值LOCAL。
8570
8579
  # @type TranslationDirection: String
8571
- # @param TranslationType: 转换规则类型,可选值"NETWORK_LAYER","TRANSPORT_LAYER"。
8580
+ # @param TranslationType: 转换规则类型,可选值NETWORK_LAYERTRANSPORT_LAYER。分别对应三层、四层。
8572
8581
  # @type TranslationType: String
8573
- # @param TranslationIp: 转换`IP`,当转换规则类型为四层时为`IP`池
8582
+ # @param TranslationIp: 映射后`IP`,当转换规则类型为四层时为`IP`池
8574
8583
  # @type TranslationIp: String
8575
8584
  # @param AclRuleIds: 访问控制规则对应`ID`
8576
8585
  # @type AclRuleIds: Array
8577
- # @param OriginalIp: 源`IP`,当转换规则类型为三层时有效
8586
+ # @param OriginalIp: 映射前`IP`,当转换规则类型为三层时有效
8578
8587
  # @type OriginalIp: String
8579
8588
 
8580
8589
  attr_accessor :NatGatewayId, :TranslationDirection, :TranslationType, :TranslationIp, :AclRuleIds, :OriginalIp
@@ -12848,11 +12857,49 @@ module TencentCloud
12848
12857
  end
12849
12858
  end
12850
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
+
12851
12898
  # DescribeNatGateways请求参数结构体
12852
12899
  class DescribeNatGatewaysRequest < TencentCloud::Common::AbstractModel
12853
12900
  # @param NatGatewayIds: NAT网关统一 ID,形如:`nat-123xx454`。每次请求的实例上限为100。参数不支持同时指定NatGatewayIds和Filters。
12854
12901
  # @type NatGatewayIds: Array
12855
- # @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>
12856
12903
  # @type Filters: Array
12857
12904
  # @param Offset: 偏移量,默认为0。
12858
12905
  # @type Offset: Integer
@@ -13384,7 +13431,7 @@ module TencentCloud
13384
13431
  class DescribePrivateNatGatewayDestinationIpPortTranslationNatRulesRequest < TencentCloud::Common::AbstractModel
13385
13432
  # @param NatGatewayId: 私网网关唯一`ID`,形如"intranat-xxxxxxxx)
13386
13433
  # @type NatGatewayId: String
13387
- # @param Filters: 过滤条件,Name可选值"OriginalIp", "TranslationIp", "OriginalPort","TranslationPort", "Protocol", "Description"
13434
+ # @param Filters: 过滤条件,Name可选值:OriginalIpTranslationIpOriginalPortTranslationPortProtocolDescription,分别表示映射前IP、映射后IP、映射前端口、映射后端口、协议类型、描述
13388
13435
  # @type Filters: Array
13389
13436
  # @param Offset: 偏移量,默认值为0。
13390
13437
  # @type Offset: Integer
@@ -13555,13 +13602,13 @@ module TencentCloud
13555
13602
  class DescribePrivateNatGatewayTranslationAclRulesRequest < TencentCloud::Common::AbstractModel
13556
13603
  # @param NatGatewayId: 私网网关唯一`ID`,形如:`intranat-xxxxxxxx`。
13557
13604
  # @type NatGatewayId: String
13558
- # @param TranslationDirection: 转换规则目标,可选值"LOCAL"
13605
+ # @param TranslationDirection: 转换规则目标,可选值LOCAL。
13559
13606
  # @type TranslationDirection: String
13560
- # @param TranslationType: 转换规则类型,可选值"NETWORK_LAYER","TRANSPORT_LAYER"。
13607
+ # @param TranslationType: 转换规则类型,可选值NETWORK_LAYERTRANSPORT_LAYER。分别对应三层、四层。
13561
13608
  # @type TranslationType: String
13562
- # @param TranslationIp: 转换`IP`,当转换规则类型为四层时为`IP`池。
13609
+ # @param TranslationIp: 映射后`IP`,当转换规则类型为四层时为`IP`池。
13563
13610
  # @type TranslationIp: String
13564
- # @param OriginalIp: 源`IP`,当转换规则类型为三层时有效。
13611
+ # @param OriginalIp: 映射前`IP`,当转换规则类型为三层时有效。
13565
13612
  # @type OriginalIp: String
13566
13613
  # @param Offset: 偏移量。默认值为0。
13567
13614
  # @type Offset: Integer
@@ -13699,6 +13746,7 @@ module TencentCloud
13699
13746
  # DescribePrivateNatGateways请求参数结构体
13700
13747
  class DescribePrivateNatGatewaysRequest < TencentCloud::Common::AbstractModel
13701
13748
  # @param NatGatewayIds: 私网网关唯一`ID`,形如:`intranat-0g3blj80`。
13749
+ # 注意:NatGatewayIds和Filters参数互斥,不能同时传入。
13702
13750
  # @type NatGatewayIds: Array
13703
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>
13704
13752
  # @type Filters: Array
@@ -13706,9 +13754,9 @@ module TencentCloud
13706
13754
  # @type Offset: Integer
13707
13755
  # @param Limit: 返回数量,默认为20。
13708
13756
  # @type Limit: Integer
13709
- # @param OrderField: 排序字段。可选值:"NatGatewayId""NatGatewayName""CreatedTime"
13757
+ # @param OrderField: 排序字段。可选值:NatGatewayId、NatGatewayName、CreatedTime
13710
13758
  # @type OrderField: String
13711
- # @param OrderDirection: 排序方式。可选值:"ASC""DESC"。
13759
+ # @param OrderDirection: 排序方式。可选值:ASC、DESC。分别表示升序、降序。
13712
13760
  # @type OrderDirection: String
13713
13761
 
13714
13762
  attr_accessor :NatGatewayIds, :Filters, :Offset, :Limit, :OrderField, :OrderDirection
@@ -15870,17 +15918,23 @@ module TencentCloud
15870
15918
  # @param EndPointId: 终端节点ID列表。可通过[DescribeVpcEndPoint](https://cloud.tencent.com/document/product/215/54679)
15871
15919
  # 获取。
15872
15920
  # @type EndPointId: Array
15873
- # @param IpAddressType: 协议类型,支持 Ipv4,Ipv6,默认 Ipv4
15921
+ # @param IpAddressType: 协议类型,支持 Ipv4,Ipv6, DualStack,默认 Ipv4。使用DualStack查询双栈的时候,必须要使用MaxResult配合NextToken查询。第1次查询的时候只需要携带MaxResult,如果返回NextToken非空,表示有更多可用数据。第2次查询的时候就需要携带NextToken进行分页查询。
15874
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
15875
15927
 
15876
- attr_accessor :Filters, :Offset, :Limit, :EndPointId, :IpAddressType
15928
+ attr_accessor :Filters, :Offset, :Limit, :EndPointId, :IpAddressType, :MaxResults, :NextToken
15877
15929
 
15878
- 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)
15879
15931
  @Filters = filters
15880
15932
  @Offset = offset
15881
15933
  @Limit = limit
15882
15934
  @EndPointId = endpointid
15883
15935
  @IpAddressType = ipaddresstype
15936
+ @MaxResults = maxresults
15937
+ @NextToken = nexttoken
15884
15938
  end
15885
15939
 
15886
15940
  def deserialize(params)
@@ -15896,6 +15950,8 @@ module TencentCloud
15896
15950
  @Limit = params['Limit']
15897
15951
  @EndPointId = params['EndPointId']
15898
15952
  @IpAddressType = params['IpAddressType']
15953
+ @MaxResults = params['MaxResults']
15954
+ @NextToken = params['NextToken']
15899
15955
  end
15900
15956
  end
15901
15957
 
@@ -15905,14 +15961,17 @@ module TencentCloud
15905
15961
  # @type EndPointSet: Array
15906
15962
  # @param TotalCount: 符合查询条件的终端节点个数。
15907
15963
  # @type TotalCount: Integer
15964
+ # @param NextToken: 如果NextToken返回非空字符串 ,表示还有更多可用结果。 NextToken是每个页面唯一的分页令牌。使用返回的令牌再次调用以检索下一页。需要保持所有其他参数不变。每个分页令牌在 24 小时后过期。
15965
+ # @type NextToken: String
15908
15966
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
15909
15967
  # @type RequestId: String
15910
15968
 
15911
- attr_accessor :EndPointSet, :TotalCount, :RequestId
15969
+ attr_accessor :EndPointSet, :TotalCount, :NextToken, :RequestId
15912
15970
 
15913
- def initialize(endpointset=nil, totalcount=nil, requestid=nil)
15971
+ def initialize(endpointset=nil, totalcount=nil, nexttoken=nil, requestid=nil)
15914
15972
  @EndPointSet = endpointset
15915
15973
  @TotalCount = totalcount
15974
+ @NextToken = nexttoken
15916
15975
  @RequestId = requestid
15917
15976
  end
15918
15977
 
@@ -15926,6 +15985,7 @@ module TencentCloud
15926
15985
  end
15927
15986
  end
15928
15987
  @TotalCount = params['TotalCount']
15988
+ @NextToken = params['NextToken']
15929
15989
  @RequestId = params['RequestId']
15930
15990
  end
15931
15991
  end
@@ -15951,18 +16011,24 @@ module TencentCloud
15951
16011
  # @type EndPointServiceIds: Array
15952
16012
  # @param IsListAuthorizedEndPointService: <li>不支持同时传入参数 Filters 。</li> <li>列出授权给当前账号的终端节点服务信息。可以配合EndPointServiceIds参数进行过滤,哪些终端节点服务授权了该账户。</li>
15953
16013
  # @type IsListAuthorizedEndPointService: Boolean
15954
- # @param IpAddressType: 协议类型,支持 Ipv4,Ipv6,默认 Ipv4
16014
+ # @param IpAddressType: 协议类型,支持 Ipv4,Ipv6, DualStack,默认 Ipv4。使用DualStack查询双栈的时候,必须要使用MaxResult配合NextToken查询。第1次查询的时候只需要携带MaxResult,如果返回NextToken非空,表示有更多可用数据。第2次查询的时候就需要携带NextToken进行分页查询。
15955
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
15956
16020
 
15957
- attr_accessor :Filters, :Offset, :Limit, :EndPointServiceIds, :IsListAuthorizedEndPointService, :IpAddressType
16021
+ attr_accessor :Filters, :Offset, :Limit, :EndPointServiceIds, :IsListAuthorizedEndPointService, :IpAddressType, :MaxResults, :NextToken
15958
16022
 
15959
- 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)
15960
16024
  @Filters = filters
15961
16025
  @Offset = offset
15962
16026
  @Limit = limit
15963
16027
  @EndPointServiceIds = endpointserviceids
15964
16028
  @IsListAuthorizedEndPointService = islistauthorizedendpointservice
15965
16029
  @IpAddressType = ipaddresstype
16030
+ @MaxResults = maxresults
16031
+ @NextToken = nexttoken
15966
16032
  end
15967
16033
 
15968
16034
  def deserialize(params)
@@ -15979,6 +16045,8 @@ module TencentCloud
15979
16045
  @EndPointServiceIds = params['EndPointServiceIds']
15980
16046
  @IsListAuthorizedEndPointService = params['IsListAuthorizedEndPointService']
15981
16047
  @IpAddressType = params['IpAddressType']
16048
+ @MaxResults = params['MaxResults']
16049
+ @NextToken = params['NextToken']
15982
16050
  end
15983
16051
  end
15984
16052
 
@@ -15988,14 +16056,17 @@ module TencentCloud
15988
16056
  # @type EndPointServiceSet: Array
15989
16057
  # @param TotalCount: 符合查询条件的个数。
15990
16058
  # @type TotalCount: Integer
16059
+ # @param NextToken: 如果NextToken返回非空字符串 ,表示还有更多可用结果。 NextToken是每个页面唯一的分页令牌。使用返回的令牌再次调用以检索下一页。需要保持所有其他参数不变。每个分页令牌在 24 小时后过期。
16060
+ # @type NextToken: String
15991
16061
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
15992
16062
  # @type RequestId: String
15993
16063
 
15994
- attr_accessor :EndPointServiceSet, :TotalCount, :RequestId
16064
+ attr_accessor :EndPointServiceSet, :TotalCount, :NextToken, :RequestId
15995
16065
 
15996
- def initialize(endpointserviceset=nil, totalcount=nil, requestid=nil)
16066
+ def initialize(endpointserviceset=nil, totalcount=nil, nexttoken=nil, requestid=nil)
15997
16067
  @EndPointServiceSet = endpointserviceset
15998
16068
  @TotalCount = totalcount
16069
+ @NextToken = nexttoken
15999
16070
  @RequestId = requestid
16000
16071
  end
16001
16072
 
@@ -16009,6 +16080,7 @@ module TencentCloud
16009
16080
  end
16010
16081
  end
16011
16082
  @TotalCount = params['TotalCount']
16083
+ @NextToken = params['NextToken']
16012
16084
  @RequestId = params['RequestId']
16013
16085
  end
16014
16086
  end
@@ -22016,7 +22088,7 @@ module TencentCloud
22016
22088
  class ModifyNatGatewaySourceIpTranslationNatRuleRequest < TencentCloud::Common::AbstractModel
22017
22089
  # @param NatGatewayId: NAT网关的ID,形如:`nat-df453454`。
22018
22090
  # @type NatGatewayId: String
22019
- # @param SourceIpTranslationNatRule: NAT网关的SNAT转换规则。
22091
+ # @param SourceIpTranslationNatRule: NAT网关的SNAT转换规则。仅支持根据指定的NatGatewaySnatId修改PublicIpAddresses或Description。
22020
22092
  # @type SourceIpTranslationNatRule: :class:`Tencentcloud::Vpc.v20170312.models.SourceIpTranslationNatRule`
22021
22093
 
22022
22094
  attr_accessor :NatGatewayId, :SourceIpTranslationNatRule
@@ -23997,6 +24069,26 @@ module TencentCloud
23997
24069
  end
23998
24070
  end
23999
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
+
24000
24092
  # 网络探测对象。
24001
24093
  class NetDetect < TencentCloud::Common::AbstractModel
24002
24094
  # @param VpcId: `VPC`实例`ID`。形如:`vpc-12345678`
@@ -25065,7 +25157,7 @@ module TencentCloud
25065
25157
  # @type VpcId: String
25066
25158
  # @param NatGatewayId: NAT网关ID
25067
25159
  # @type NatGatewayId: String
25068
- # @param DryRun: 是否是预刷新;True:是, False:否
25160
+ # @param DryRun: 是否是预刷新;true:是, false:否
25069
25161
  # @type DryRun: Boolean
25070
25162
 
25071
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.1166
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-11 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