tencentcloud-sdk-vpc 3.0.1166 → 3.0.1170

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: e3630951b1c345d94f4df42ed612fa4573a86ef7
4
+ data.tar.gz: ec43142cd95898f0089a61b4ea35224ac9e5fc21
5
5
  SHA512:
6
- metadata.gz: b41c814971b30e9970853ee88085fbec2e0734e6759d922a4516794f790fdd2d953be0be170ea417ed131835345d746a363a9b1b940af4eef0b28b0f9c3dc348
7
- data.tar.gz: bea46388384922a7016dc1b6699eb2d44135f36680e8ffafaf90074d69a8d64051918e3096b596c1bbc3de92cf1ea9c646eb0937f09bb6df94e300e13238680a
6
+ metadata.gz: 9aa0a41b8419ae96d69683a3ac3e1d1363636d140a024b4361f41c331bb546270f5f1847b8262e1ced840358e1c4693c781a288ab9ff843d48aed742339180a1
7
+ data.tar.gz: 47aa73d409916398624c9432de8e193ffa972fd8d7eb2fb713758cef9d3bcb0465e1d43469ee7e06b745c49fafcbb41b23a0bfe575811162753cce46fa78c9da
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1166
1
+ 3.0.1170
@@ -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
 
@@ -8534,15 +8543,19 @@ module TencentCloud
8534
8543
  class DeletePrivateNatGatewayRequest < TencentCloud::Common::AbstractModel
8535
8544
  # @param NatGatewayId: 私网网关唯一`ID`,形如"intranat-xxxxxxxx"。
8536
8545
  # @type NatGatewayId: String
8546
+ # @param IgnoreOperationRisk: 忽略操作风险
8547
+ # @type IgnoreOperationRisk: Boolean
8537
8548
 
8538
- attr_accessor :NatGatewayId
8549
+ attr_accessor :NatGatewayId, :IgnoreOperationRisk
8539
8550
 
8540
- def initialize(natgatewayid=nil)
8551
+ def initialize(natgatewayid=nil, ignoreoperationrisk=nil)
8541
8552
  @NatGatewayId = natgatewayid
8553
+ @IgnoreOperationRisk = ignoreoperationrisk
8542
8554
  end
8543
8555
 
8544
8556
  def deserialize(params)
8545
8557
  @NatGatewayId = params['NatGatewayId']
8558
+ @IgnoreOperationRisk = params['IgnoreOperationRisk']
8546
8559
  end
8547
8560
  end
8548
8561
 
@@ -8566,15 +8579,15 @@ module TencentCloud
8566
8579
  class DeletePrivateNatGatewayTranslationAclRuleRequest < TencentCloud::Common::AbstractModel
8567
8580
  # @param NatGatewayId: 私网网关唯一`ID`,形如:`intranat-xxxxxxxx`。
8568
8581
  # @type NatGatewayId: String
8569
- # @param TranslationDirection: 转换规则目标,可选值"LOCAL"
8582
+ # @param TranslationDirection: 转换规则目标,可选值LOCAL。
8570
8583
  # @type TranslationDirection: String
8571
- # @param TranslationType: 转换规则类型,可选值"NETWORK_LAYER","TRANSPORT_LAYER"。
8584
+ # @param TranslationType: 转换规则类型,可选值NETWORK_LAYERTRANSPORT_LAYER。分别对应三层、四层。
8572
8585
  # @type TranslationType: String
8573
- # @param TranslationIp: 转换`IP`,当转换规则类型为四层时为`IP`池
8586
+ # @param TranslationIp: 映射后`IP`,当转换规则类型为四层时为`IP`池
8574
8587
  # @type TranslationIp: String
8575
8588
  # @param AclRuleIds: 访问控制规则对应`ID`
8576
8589
  # @type AclRuleIds: Array
8577
- # @param OriginalIp: 源`IP`,当转换规则类型为三层时有效
8590
+ # @param OriginalIp: 映射前`IP`,当转换规则类型为三层时有效
8578
8591
  # @type OriginalIp: String
8579
8592
 
8580
8593
  attr_accessor :NatGatewayId, :TranslationDirection, :TranslationType, :TranslationIp, :AclRuleIds, :OriginalIp
@@ -12848,11 +12861,49 @@ module TencentCloud
12848
12861
  end
12849
12862
  end
12850
12863
 
12864
+ # DescribeNatGatewayZones请求参数结构体
12865
+ class DescribeNatGatewayZonesRequest < TencentCloud::Common::AbstractModel
12866
+
12867
+
12868
+ def initialize()
12869
+ end
12870
+
12871
+ def deserialize(params)
12872
+ end
12873
+ end
12874
+
12875
+ # DescribeNatGatewayZones返回参数结构体
12876
+ class DescribeNatGatewayZonesResponse < TencentCloud::Common::AbstractModel
12877
+ # @param ZoneSet: 可售卖可用区信息列表
12878
+ # @type ZoneSet: Array
12879
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
12880
+ # @type RequestId: String
12881
+
12882
+ attr_accessor :ZoneSet, :RequestId
12883
+
12884
+ def initialize(zoneset=nil, requestid=nil)
12885
+ @ZoneSet = zoneset
12886
+ @RequestId = requestid
12887
+ end
12888
+
12889
+ def deserialize(params)
12890
+ unless params['ZoneSet'].nil?
12891
+ @ZoneSet = []
12892
+ params['ZoneSet'].each do |i|
12893
+ natzoneinfo_tmp = NatZoneInfo.new
12894
+ natzoneinfo_tmp.deserialize(i)
12895
+ @ZoneSet << natzoneinfo_tmp
12896
+ end
12897
+ end
12898
+ @RequestId = params['RequestId']
12899
+ end
12900
+ end
12901
+
12851
12902
  # DescribeNatGateways请求参数结构体
12852
12903
  class DescribeNatGatewaysRequest < TencentCloud::Common::AbstractModel
12853
12904
  # @param NatGatewayIds: NAT网关统一 ID,形如:`nat-123xx454`。每次请求的实例上限为100。参数不支持同时指定NatGatewayIds和Filters。
12854
12905
  # @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>
12906
+ # @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
12907
  # @type Filters: Array
12857
12908
  # @param Offset: 偏移量,默认为0。
12858
12909
  # @type Offset: Integer
@@ -13384,7 +13435,7 @@ module TencentCloud
13384
13435
  class DescribePrivateNatGatewayDestinationIpPortTranslationNatRulesRequest < TencentCloud::Common::AbstractModel
13385
13436
  # @param NatGatewayId: 私网网关唯一`ID`,形如"intranat-xxxxxxxx)
13386
13437
  # @type NatGatewayId: String
13387
- # @param Filters: 过滤条件,Name可选值"OriginalIp", "TranslationIp", "OriginalPort","TranslationPort", "Protocol", "Description"
13438
+ # @param Filters: 过滤条件,Name可选值:OriginalIpTranslationIpOriginalPortTranslationPortProtocolDescription,分别表示映射前IP、映射后IP、映射前端口、映射后端口、协议类型、描述
13388
13439
  # @type Filters: Array
13389
13440
  # @param Offset: 偏移量,默认值为0。
13390
13441
  # @type Offset: Integer
@@ -13555,13 +13606,13 @@ module TencentCloud
13555
13606
  class DescribePrivateNatGatewayTranslationAclRulesRequest < TencentCloud::Common::AbstractModel
13556
13607
  # @param NatGatewayId: 私网网关唯一`ID`,形如:`intranat-xxxxxxxx`。
13557
13608
  # @type NatGatewayId: String
13558
- # @param TranslationDirection: 转换规则目标,可选值"LOCAL"
13609
+ # @param TranslationDirection: 转换规则目标,可选值LOCAL。
13559
13610
  # @type TranslationDirection: String
13560
- # @param TranslationType: 转换规则类型,可选值"NETWORK_LAYER","TRANSPORT_LAYER"。
13611
+ # @param TranslationType: 转换规则类型,可选值NETWORK_LAYERTRANSPORT_LAYER。分别对应三层、四层。
13561
13612
  # @type TranslationType: String
13562
- # @param TranslationIp: 转换`IP`,当转换规则类型为四层时为`IP`池。
13613
+ # @param TranslationIp: 映射后`IP`,当转换规则类型为四层时为`IP`池。
13563
13614
  # @type TranslationIp: String
13564
- # @param OriginalIp: 源`IP`,当转换规则类型为三层时有效。
13615
+ # @param OriginalIp: 映射前`IP`,当转换规则类型为三层时有效。
13565
13616
  # @type OriginalIp: String
13566
13617
  # @param Offset: 偏移量。默认值为0。
13567
13618
  # @type Offset: Integer
@@ -13699,6 +13750,7 @@ module TencentCloud
13699
13750
  # DescribePrivateNatGateways请求参数结构体
13700
13751
  class DescribePrivateNatGatewaysRequest < TencentCloud::Common::AbstractModel
13701
13752
  # @param NatGatewayIds: 私网网关唯一`ID`,形如:`intranat-0g3blj80`。
13753
+ # 注意:NatGatewayIds和Filters参数互斥,不能同时传入。
13702
13754
  # @type NatGatewayIds: Array
13703
13755
  # @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
13756
  # @type Filters: Array
@@ -13706,9 +13758,9 @@ module TencentCloud
13706
13758
  # @type Offset: Integer
13707
13759
  # @param Limit: 返回数量,默认为20。
13708
13760
  # @type Limit: Integer
13709
- # @param OrderField: 排序字段。可选值:"NatGatewayId""NatGatewayName""CreatedTime"
13761
+ # @param OrderField: 排序字段。可选值:NatGatewayId、NatGatewayName、CreatedTime
13710
13762
  # @type OrderField: String
13711
- # @param OrderDirection: 排序方式。可选值:"ASC""DESC"。
13763
+ # @param OrderDirection: 排序方式。可选值:ASC、DESC。分别表示升序、降序。
13712
13764
  # @type OrderDirection: String
13713
13765
 
13714
13766
  attr_accessor :NatGatewayIds, :Filters, :Offset, :Limit, :OrderField, :OrderDirection
@@ -15870,17 +15922,23 @@ module TencentCloud
15870
15922
  # @param EndPointId: 终端节点ID列表。可通过[DescribeVpcEndPoint](https://cloud.tencent.com/document/product/215/54679)
15871
15923
  # 获取。
15872
15924
  # @type EndPointId: Array
15873
- # @param IpAddressType: 协议类型,支持 Ipv4,Ipv6,默认 Ipv4
15925
+ # @param IpAddressType: 协议类型,支持 Ipv4,Ipv6, DualStack,默认 Ipv4。使用DualStack查询双栈的时候,必须要使用MaxResult配合NextToken查询。第1次查询的时候只需要携带MaxResult,如果返回NextToken非空,表示有更多可用数据。第2次查询的时候就需要携带NextToken进行分页查询。
15874
15926
  # @type IpAddressType: String
15927
+ # @param MaxResults: 每次调用返回的最大结果数。如果查询返回的时候有NextToken返回,您可以使用NextToken值获取更多页结果, 当NextToke返回空或者返回的结果数量小于MaxResults时,表示没有更多数据了。允许的最大页面大小为 100。
15928
+ # @type MaxResults: Integer
15929
+ # @param NextToken: 如果NextToken返回非空字符串 ,表示还有更多可用结果。 NextToken是每个页面唯一的分页令牌。使用返回的令牌再次调用以检索下一页。需要保持所有其他参数不变。每个分页令牌在 24 小时后过期。
15930
+ # @type NextToken: String
15875
15931
 
15876
- attr_accessor :Filters, :Offset, :Limit, :EndPointId, :IpAddressType
15932
+ attr_accessor :Filters, :Offset, :Limit, :EndPointId, :IpAddressType, :MaxResults, :NextToken
15877
15933
 
15878
- def initialize(filters=nil, offset=nil, limit=nil, endpointid=nil, ipaddresstype=nil)
15934
+ def initialize(filters=nil, offset=nil, limit=nil, endpointid=nil, ipaddresstype=nil, maxresults=nil, nexttoken=nil)
15879
15935
  @Filters = filters
15880
15936
  @Offset = offset
15881
15937
  @Limit = limit
15882
15938
  @EndPointId = endpointid
15883
15939
  @IpAddressType = ipaddresstype
15940
+ @MaxResults = maxresults
15941
+ @NextToken = nexttoken
15884
15942
  end
15885
15943
 
15886
15944
  def deserialize(params)
@@ -15896,6 +15954,8 @@ module TencentCloud
15896
15954
  @Limit = params['Limit']
15897
15955
  @EndPointId = params['EndPointId']
15898
15956
  @IpAddressType = params['IpAddressType']
15957
+ @MaxResults = params['MaxResults']
15958
+ @NextToken = params['NextToken']
15899
15959
  end
15900
15960
  end
15901
15961
 
@@ -15905,14 +15965,17 @@ module TencentCloud
15905
15965
  # @type EndPointSet: Array
15906
15966
  # @param TotalCount: 符合查询条件的终端节点个数。
15907
15967
  # @type TotalCount: Integer
15968
+ # @param NextToken: 如果NextToken返回非空字符串 ,表示还有更多可用结果。 NextToken是每个页面唯一的分页令牌。使用返回的令牌再次调用以检索下一页。需要保持所有其他参数不变。每个分页令牌在 24 小时后过期。
15969
+ # @type NextToken: String
15908
15970
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
15909
15971
  # @type RequestId: String
15910
15972
 
15911
- attr_accessor :EndPointSet, :TotalCount, :RequestId
15973
+ attr_accessor :EndPointSet, :TotalCount, :NextToken, :RequestId
15912
15974
 
15913
- def initialize(endpointset=nil, totalcount=nil, requestid=nil)
15975
+ def initialize(endpointset=nil, totalcount=nil, nexttoken=nil, requestid=nil)
15914
15976
  @EndPointSet = endpointset
15915
15977
  @TotalCount = totalcount
15978
+ @NextToken = nexttoken
15916
15979
  @RequestId = requestid
15917
15980
  end
15918
15981
 
@@ -15926,6 +15989,7 @@ module TencentCloud
15926
15989
  end
15927
15990
  end
15928
15991
  @TotalCount = params['TotalCount']
15992
+ @NextToken = params['NextToken']
15929
15993
  @RequestId = params['RequestId']
15930
15994
  end
15931
15995
  end
@@ -15951,18 +16015,24 @@ module TencentCloud
15951
16015
  # @type EndPointServiceIds: Array
15952
16016
  # @param IsListAuthorizedEndPointService: <li>不支持同时传入参数 Filters 。</li> <li>列出授权给当前账号的终端节点服务信息。可以配合EndPointServiceIds参数进行过滤,哪些终端节点服务授权了该账户。</li>
15953
16017
  # @type IsListAuthorizedEndPointService: Boolean
15954
- # @param IpAddressType: 协议类型,支持 Ipv4,Ipv6,默认 Ipv4
16018
+ # @param IpAddressType: 协议类型,支持 Ipv4,Ipv6, DualStack,默认 Ipv4。使用DualStack查询双栈的时候,必须要使用MaxResult配合NextToken查询。第1次查询的时候只需要携带MaxResult,如果返回NextToken非空,表示有更多可用数据。第2次查询的时候就需要携带NextToken进行分页查询。
15955
16019
  # @type IpAddressType: String
16020
+ # @param MaxResults: 每次调用返回的最大结果数。如果查询返回的时候有NextToken返回,您可以使用NextToken值获取更多页结果, 当NextToke返回空或者返回的结果数量小于MaxResults时,表示没有更多数据了。允许的最大页面大小为 100。
16021
+ # @type MaxResults: Integer
16022
+ # @param NextToken: 如果NextToken返回 ,表示还有更多可用结果。 NextToken是每个页面唯一的分页令牌。使用返回的令牌再次调用以检索下一页。需要保持所有其他参数不变。每个分页令牌在 24 小时后过期。
16023
+ # @type NextToken: String
15956
16024
 
15957
- attr_accessor :Filters, :Offset, :Limit, :EndPointServiceIds, :IsListAuthorizedEndPointService, :IpAddressType
16025
+ attr_accessor :Filters, :Offset, :Limit, :EndPointServiceIds, :IsListAuthorizedEndPointService, :IpAddressType, :MaxResults, :NextToken
15958
16026
 
15959
- def initialize(filters=nil, offset=nil, limit=nil, endpointserviceids=nil, islistauthorizedendpointservice=nil, ipaddresstype=nil)
16027
+ def initialize(filters=nil, offset=nil, limit=nil, endpointserviceids=nil, islistauthorizedendpointservice=nil, ipaddresstype=nil, maxresults=nil, nexttoken=nil)
15960
16028
  @Filters = filters
15961
16029
  @Offset = offset
15962
16030
  @Limit = limit
15963
16031
  @EndPointServiceIds = endpointserviceids
15964
16032
  @IsListAuthorizedEndPointService = islistauthorizedendpointservice
15965
16033
  @IpAddressType = ipaddresstype
16034
+ @MaxResults = maxresults
16035
+ @NextToken = nexttoken
15966
16036
  end
15967
16037
 
15968
16038
  def deserialize(params)
@@ -15979,6 +16049,8 @@ module TencentCloud
15979
16049
  @EndPointServiceIds = params['EndPointServiceIds']
15980
16050
  @IsListAuthorizedEndPointService = params['IsListAuthorizedEndPointService']
15981
16051
  @IpAddressType = params['IpAddressType']
16052
+ @MaxResults = params['MaxResults']
16053
+ @NextToken = params['NextToken']
15982
16054
  end
15983
16055
  end
15984
16056
 
@@ -15988,14 +16060,17 @@ module TencentCloud
15988
16060
  # @type EndPointServiceSet: Array
15989
16061
  # @param TotalCount: 符合查询条件的个数。
15990
16062
  # @type TotalCount: Integer
16063
+ # @param NextToken: 如果NextToken返回非空字符串 ,表示还有更多可用结果。 NextToken是每个页面唯一的分页令牌。使用返回的令牌再次调用以检索下一页。需要保持所有其他参数不变。每个分页令牌在 24 小时后过期。
16064
+ # @type NextToken: String
15991
16065
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
15992
16066
  # @type RequestId: String
15993
16067
 
15994
- attr_accessor :EndPointServiceSet, :TotalCount, :RequestId
16068
+ attr_accessor :EndPointServiceSet, :TotalCount, :NextToken, :RequestId
15995
16069
 
15996
- def initialize(endpointserviceset=nil, totalcount=nil, requestid=nil)
16070
+ def initialize(endpointserviceset=nil, totalcount=nil, nexttoken=nil, requestid=nil)
15997
16071
  @EndPointServiceSet = endpointserviceset
15998
16072
  @TotalCount = totalcount
16073
+ @NextToken = nexttoken
15999
16074
  @RequestId = requestid
16000
16075
  end
16001
16076
 
@@ -16009,6 +16084,7 @@ module TencentCloud
16009
16084
  end
16010
16085
  end
16011
16086
  @TotalCount = params['TotalCount']
16087
+ @NextToken = params['NextToken']
16012
16088
  @RequestId = params['RequestId']
16013
16089
  end
16014
16090
  end
@@ -22016,7 +22092,7 @@ module TencentCloud
22016
22092
  class ModifyNatGatewaySourceIpTranslationNatRuleRequest < TencentCloud::Common::AbstractModel
22017
22093
  # @param NatGatewayId: NAT网关的ID,形如:`nat-df453454`。
22018
22094
  # @type NatGatewayId: String
22019
- # @param SourceIpTranslationNatRule: NAT网关的SNAT转换规则。
22095
+ # @param SourceIpTranslationNatRule: NAT网关的SNAT转换规则。仅支持根据指定的NatGatewaySnatId修改PublicIpAddresses或Description。
22020
22096
  # @type SourceIpTranslationNatRule: :class:`Tencentcloud::Vpc.v20170312.models.SourceIpTranslationNatRule`
22021
22097
 
22022
22098
  attr_accessor :NatGatewayId, :SourceIpTranslationNatRule
@@ -23997,6 +24073,26 @@ module TencentCloud
23997
24073
  end
23998
24074
  end
23999
24075
 
24076
+ # NAT网关可用区集合
24077
+ class NatZoneInfo < TencentCloud::Common::AbstractModel
24078
+ # @param Zone: 可用区名称
24079
+ # @type Zone: String
24080
+ # @param ZoneId: 可用区id
24081
+ # @type ZoneId: Integer
24082
+
24083
+ attr_accessor :Zone, :ZoneId
24084
+
24085
+ def initialize(zone=nil, zoneid=nil)
24086
+ @Zone = zone
24087
+ @ZoneId = zoneid
24088
+ end
24089
+
24090
+ def deserialize(params)
24091
+ @Zone = params['Zone']
24092
+ @ZoneId = params['ZoneId']
24093
+ end
24094
+ end
24095
+
24000
24096
  # 网络探测对象。
24001
24097
  class NetDetect < TencentCloud::Common::AbstractModel
24002
24098
  # @param VpcId: `VPC`实例`ID`。形如:`vpc-12345678`
@@ -25065,7 +25161,7 @@ module TencentCloud
25065
25161
  # @type VpcId: String
25066
25162
  # @param NatGatewayId: NAT网关ID
25067
25163
  # @type NatGatewayId: String
25068
- # @param DryRun: 是否是预刷新;True:是, False:否
25164
+ # @param DryRun: 是否是预刷新;true:是, false:否
25069
25165
  # @type DryRun: Boolean
25070
25166
 
25071
25167
  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.1170
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