tencentcloud-sdk-vpc 3.0.956 → 3.0.957

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0026cfcb78ad321be0bf2967f946e6a7526ab81a
4
- data.tar.gz: 622b1b4cbd5ed9b6bf75df2b9ad95d3a2207f358
3
+ metadata.gz: c367f7a7a06126d6a0bfdaa8c105cb32e44c453e
4
+ data.tar.gz: 87a95aed154bb0ed89c5a7852a2c3503cd112a9a
5
5
  SHA512:
6
- metadata.gz: db867dcb71ceb04189f89eaaa83669265fed7d45fb6c8654c5dd06b3564252cacdb58185b6d732c34231692714c4256a87e7b28e3f2fdf967a0592a973d24ecf
7
- data.tar.gz: b4e91873a5299bb60f2e9b7dd225b574a65b83e6c0d696cf30f4cf426417baec2d4bfdc01b5c5f5b9aaa8cca7d7ada7ea3f2c2092eec6ca3a5f25d80381af3e9
6
+ metadata.gz: 74eab0c74aaf6609dab256d392bc9a46047c56157e2b97fe35ed352c0ee30de9abbc11355d8dc4a2e3582ae9e4b4dece7308341be5ab1ecacb79a5406671402d
7
+ data.tar.gz: b1474c89fa735629e935843255121b948bfb2db9d8e310ddbcfe6e1904d70afc663ff91114ae4c3c725aaf20e6858321cce04779a803a48615a86bb0ecdc3d23
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.956
1
+ 3.0.957
@@ -202,6 +202,34 @@ module TencentCloud
202
202
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
203
203
  end
204
204
 
205
+ # 本接口(AllocateIPv6Addresses)用于申请一个或多个弹性公网IPv6(简称EIPv6)实例。
206
+
207
+ # - EIPv6 是您在腾讯云某个地域可以独立申请和持有的,固定不变的公网 IPv6 地址,提供与弹性公网 IPv4 一致的产品体验。
208
+ # - 通过弹性公网 IPv6,您可以快速将 EIPv6 实例绑定到云资源的内网 IPv6 地址上,实现为云资源快速开通 IPv6 公网带宽。
209
+ # - 您还可以按需将 EIPv6 实例绑定到其他云资源上,从而屏蔽实例故障。
210
+
211
+ # @param request: Request instance for AllocateIPv6Addresses.
212
+ # @type request: :class:`Tencentcloud::vpc::V20170312::AllocateIPv6AddressesRequest`
213
+ # @rtype: :class:`Tencentcloud::vpc::V20170312::AllocateIPv6AddressesResponse`
214
+ def AllocateIPv6Addresses(request)
215
+ body = send_request('AllocateIPv6Addresses', request.serialize)
216
+ response = JSON.parse(body)
217
+ if response['Response'].key?('Error') == false
218
+ model = AllocateIPv6AddressesResponse.new
219
+ model.deserialize(response['Response'])
220
+ model
221
+ else
222
+ code = response['Response']['Error']['Code']
223
+ message = response['Response']['Error']['Message']
224
+ reqid = response['Response']['RequestId']
225
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
226
+ end
227
+ rescue TencentCloud::Common::TencentCloudSDKException => e
228
+ raise e
229
+ rescue StandardError => e
230
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
231
+ end
232
+
205
233
  # 本接口(AllocateIp6AddressesBandwidth)用于为传统弹性公网 IPv6 实例开通 IPv6 公网带宽。
206
234
 
207
235
  # - 传统弹性公网 IPv6 实例默认仅具备 IPv6 内网通信能力,需为 IPv6 地址分配公网带宽后,才具备 IPv6 公网通信能力。
@@ -420,6 +448,33 @@ module TencentCloud
420
448
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
421
449
  end
422
450
 
451
+ # 本接口(AssociateIPv6Address)用于将弹性公网IPv6(简称EIPv6)实例绑定到 CVM 或弹性网卡配置的内网 IPv6 地址上。
452
+
453
+ # - 将 EIPv6 绑定到 CVM 上,其本质是将 EIPv6 绑定到 CVM 弹性网卡所配置的内网 IPv6 地址上。
454
+ # - 将 EIPv6 绑定到指定网卡的内网 IPv6 时,需确保该内网 IPv6 地址为未绑定状态,才能执行绑定操作。
455
+
456
+ # @param request: Request instance for AssociateIPv6Address.
457
+ # @type request: :class:`Tencentcloud::vpc::V20170312::AssociateIPv6AddressRequest`
458
+ # @rtype: :class:`Tencentcloud::vpc::V20170312::AssociateIPv6AddressResponse`
459
+ def AssociateIPv6Address(request)
460
+ body = send_request('AssociateIPv6Address', request.serialize)
461
+ response = JSON.parse(body)
462
+ if response['Response'].key?('Error') == false
463
+ model = AssociateIPv6AddressResponse.new
464
+ model.deserialize(response['Response'])
465
+ model
466
+ else
467
+ code = response['Response']['Error']['Code']
468
+ message = response['Response']['Error']['Message']
469
+ reqid = response['Response']['RequestId']
470
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
471
+ end
472
+ rescue TencentCloud::Common::TencentCloudSDKException => e
473
+ raise e
474
+ rescue StandardError => e
475
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
476
+ end
477
+
423
478
  # 本接口(AssociateInstancesToCcnRouteTable)用于将指定的云联网实例关联到指定的云联网路由表。
424
479
 
425
480
  # @param request: Request instance for AssociateInstancesToCcnRouteTable.
@@ -4301,6 +4356,33 @@ module TencentCloud
4301
4356
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
4302
4357
  end
4303
4358
 
4359
+ # 本接口(DescribeIPv6Addresses)用于查询一个或多个弹性公网 IPv6(简称 EIPv6)实例的详细信息。
4360
+
4361
+ # - 支持查询您在指定地域的弹性公网 IPv6 和传统弹性公网 IPv6 实例信息
4362
+ # - 如果参数为空,返回当前用户一定数量(Limit所指定的数量,默认为20)的 EIPv6。
4363
+
4364
+ # @param request: Request instance for DescribeIPv6Addresses.
4365
+ # @type request: :class:`Tencentcloud::vpc::V20170312::DescribeIPv6AddressesRequest`
4366
+ # @rtype: :class:`Tencentcloud::vpc::V20170312::DescribeIPv6AddressesResponse`
4367
+ def DescribeIPv6Addresses(request)
4368
+ body = send_request('DescribeIPv6Addresses', request.serialize)
4369
+ response = JSON.parse(body)
4370
+ if response['Response'].key?('Error') == false
4371
+ model = DescribeIPv6AddressesResponse.new
4372
+ model.deserialize(response['Response'])
4373
+ model
4374
+ else
4375
+ code = response['Response']['Error']['Code']
4376
+ message = response['Response']['Error']['Message']
4377
+ reqid = response['Response']['RequestId']
4378
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
4379
+ end
4380
+ rescue TencentCloud::Common::TencentCloudSDKException => e
4381
+ raise e
4382
+ rescue StandardError => e
4383
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
4384
+ end
4385
+
4304
4386
  # 本接口(DescribeIp6Addresses)用于查询一个或多个传统弹性公网 IPv6 实例的详细信息。
4305
4387
 
4306
4388
  # @param request: Request instance for DescribeIp6Addresses.
@@ -6275,6 +6357,33 @@ module TencentCloud
6275
6357
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
6276
6358
  end
6277
6359
 
6360
+ # 本接口(DisassociateIPv6Address)用于解绑弹性公网 IPv6(简称EIPv6)实例。
6361
+
6362
+ # - 支持对 CVM、弹性网卡绑定的 EIPv6 实例进行解绑操作。
6363
+ # - 只有状态为 BIND 和 BIND_ENI 的 EIPv6 实例才能进行解绑操作。
6364
+
6365
+ # @param request: Request instance for DisassociateIPv6Address.
6366
+ # @type request: :class:`Tencentcloud::vpc::V20170312::DisassociateIPv6AddressRequest`
6367
+ # @rtype: :class:`Tencentcloud::vpc::V20170312::DisassociateIPv6AddressResponse`
6368
+ def DisassociateIPv6Address(request)
6369
+ body = send_request('DisassociateIPv6Address', request.serialize)
6370
+ response = JSON.parse(body)
6371
+ if response['Response'].key?('Error') == false
6372
+ model = DisassociateIPv6AddressResponse.new
6373
+ model.deserialize(response['Response'])
6374
+ model
6375
+ else
6376
+ code = response['Response']['Error']['Code']
6377
+ message = response['Response']['Error']['Message']
6378
+ reqid = response['Response']['RequestId']
6379
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
6380
+ end
6381
+ rescue TencentCloud::Common::TencentCloudSDKException => e
6382
+ raise e
6383
+ rescue StandardError => e
6384
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
6385
+ end
6386
+
6278
6387
  # 本接口(DisassociateNatGatewayAddress)用于NAT网关解绑弹性IP。
6279
6388
 
6280
6389
  # @param request: Request instance for DisassociateNatGatewayAddress.
@@ -7472,7 +7581,57 @@ module TencentCloud
7472
7581
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
7473
7582
  end
7474
7583
 
7475
- # 本接口(ModifyIp6AddressesBandwidt)用于调整传统弹性公网 IPv6 实例的带宽上限。
7584
+ # 本接口(ModifyIPv6AddressesAttributes)用于修改弹性公网 IPv6(简称EIPv6)实例名称。
7585
+
7586
+ # - 支持对弹性公网 IPv6 和传统弹性公网 IPv6 实例名称进行修改。
7587
+
7588
+ # @param request: Request instance for ModifyIPv6AddressesAttributes.
7589
+ # @type request: :class:`Tencentcloud::vpc::V20170312::ModifyIPv6AddressesAttributesRequest`
7590
+ # @rtype: :class:`Tencentcloud::vpc::V20170312::ModifyIPv6AddressesAttributesResponse`
7591
+ def ModifyIPv6AddressesAttributes(request)
7592
+ body = send_request('ModifyIPv6AddressesAttributes', request.serialize)
7593
+ response = JSON.parse(body)
7594
+ if response['Response'].key?('Error') == false
7595
+ model = ModifyIPv6AddressesAttributesResponse.new
7596
+ model.deserialize(response['Response'])
7597
+ model
7598
+ else
7599
+ code = response['Response']['Error']['Code']
7600
+ message = response['Response']['Error']['Message']
7601
+ reqid = response['Response']['RequestId']
7602
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
7603
+ end
7604
+ rescue TencentCloud::Common::TencentCloudSDKException => e
7605
+ raise e
7606
+ rescue StandardError => e
7607
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
7608
+ end
7609
+
7610
+ # 本接口(ModifyIPv6AddressesBandwidth)用于调整弹性公网 IPv6(简称EIPv6)实例的带宽上限。
7611
+
7612
+ # @param request: Request instance for ModifyIPv6AddressesBandwidth.
7613
+ # @type request: :class:`Tencentcloud::vpc::V20170312::ModifyIPv6AddressesBandwidthRequest`
7614
+ # @rtype: :class:`Tencentcloud::vpc::V20170312::ModifyIPv6AddressesBandwidthResponse`
7615
+ def ModifyIPv6AddressesBandwidth(request)
7616
+ body = send_request('ModifyIPv6AddressesBandwidth', request.serialize)
7617
+ response = JSON.parse(body)
7618
+ if response['Response'].key?('Error') == false
7619
+ model = ModifyIPv6AddressesBandwidthResponse.new
7620
+ model.deserialize(response['Response'])
7621
+ model
7622
+ else
7623
+ code = response['Response']['Error']['Code']
7624
+ message = response['Response']['Error']['Message']
7625
+ reqid = response['Response']['RequestId']
7626
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
7627
+ end
7628
+ rescue TencentCloud::Common::TencentCloudSDKException => e
7629
+ raise e
7630
+ rescue StandardError => e
7631
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
7632
+ end
7633
+
7634
+ # 本接口(ModifyIp6AddressesBandwidth)用于调整传统弹性公网 IPv6 实例的带宽上限。
7476
7635
 
7477
7636
  # - 仅支持对传统弹性公网 IPv6 实例的带宽上限进行调整。
7478
7637
  # - 如需调整弹性公网 IPv6 实例的带宽上限,请使用 ModifyIPv6AddressesBandwidth 接口。
@@ -8578,6 +8737,33 @@ module TencentCloud
8578
8737
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
8579
8738
  end
8580
8739
 
8740
+ # 本接口(ReleaseIPv6Addresses)用于释放一个或多个弹性公网IPv6(简称EIPv6)实例。
8741
+
8742
+ # - 支持对已申请到的弹性公网 IPv6 实例进行释放操作,如需再次使用,请重新申请。
8743
+ # - 只有状态为 UNBIND 的 EIPv6 实例才能进行释放操作。
8744
+
8745
+ # @param request: Request instance for ReleaseIPv6Addresses.
8746
+ # @type request: :class:`Tencentcloud::vpc::V20170312::ReleaseIPv6AddressesRequest`
8747
+ # @rtype: :class:`Tencentcloud::vpc::V20170312::ReleaseIPv6AddressesResponse`
8748
+ def ReleaseIPv6Addresses(request)
8749
+ body = send_request('ReleaseIPv6Addresses', request.serialize)
8750
+ response = JSON.parse(body)
8751
+ if response['Response'].key?('Error') == false
8752
+ model = ReleaseIPv6AddressesResponse.new
8753
+ model.deserialize(response['Response'])
8754
+ model
8755
+ else
8756
+ code = response['Response']['Error']['Code']
8757
+ message = response['Response']['Error']['Message']
8758
+ reqid = response['Response']['RequestId']
8759
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
8760
+ end
8761
+ rescue TencentCloud::Common::TencentCloudSDKException => e
8762
+ raise e
8763
+ rescue StandardError => e
8764
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
8765
+ end
8766
+
8581
8767
  # 本接口(ReleaseIp6AddressesBandwidth)用于为传统弹性公网 IPv6 实例关闭 IPv6 公网带宽。
8582
8768
 
8583
8769
  # - 传统弹性公网 IPv6 实例关闭公网带宽后,仍具备 IPv6 内网通信能力。
@@ -9028,8 +9214,7 @@ module TencentCloud
9028
9214
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
9029
9215
  end
9030
9216
 
9031
- # 本接口(ResetRoutes)用于对某个路由表名称和所有路由策略(Route)进行重新设置。<br />
9032
- # 注意: 调用本接口是先删除当前路由表中所有路由策略, 再保存新提交的路由策略内容, 会引起网络中断。
9217
+ # 本接口(ResetRoutes)用于对某个路由表名称和所有路由策略(Route)进行重新设置。<br /> 注意: 调用本接口时先删除当前路由表中所有路由策略, 再保存新提交的路由策略内容, 会引起网络中断。
9033
9218
 
9034
9219
  # @param request: Request instance for ResetRoutes.
9035
9220
  # @type request: :class:`Tencentcloud::vpc::V20170312::ResetRoutesRequest`
@@ -822,6 +822,117 @@ module TencentCloud
822
822
  end
823
823
  end
824
824
 
825
+ # AllocateIPv6Addresses请求参数结构体
826
+ class AllocateIPv6AddressesRequest < TencentCloud::Common::AbstractModel
827
+ # @param AddressName: EIP名称,用于申请EIP时用户自定义该EIP的个性化名称,默认值:未命名。
828
+ # @type AddressName: String
829
+ # @param AddressType: 弹性公网IPv6类型,可选值:
830
+
831
+ # - EIPv6:普通IPv6
832
+ # - HighQualityEIPv6:精品IPv6
833
+ # 注意:需联系产品开通精品IPv6白名单,且仅部分地域支持精品IPv6
834
+
835
+ # 默认值:EIPv6。
836
+ # @type AddressType: String
837
+ # @param AddressCount: 申请的弹性公网IPv6数量,默认值:1。
838
+ # @type AddressCount: Integer
839
+ # @param InternetChargeType: 弹性公网IPv6计费方式,可选值:
840
+
841
+ # - BANDWIDTH_PACKAGE:[共享带宽包](https://cloud.tencent.com/document/product/684/15255)付费
842
+ # - TRAFFIC_POSTPAID_BY_HOUR:流量按小时后付费
843
+
844
+ # 默认值:TRAFFIC_POSTPAID_BY_HOUR。
845
+ # @type InternetChargeType: String
846
+ # @param InternetServiceProvider: 弹性公网IPv6线路类型,默认值:BGP。
847
+
848
+ # 已开通静态单线IP白名单的用户,可选值:
849
+ # - CMCC:中国移动
850
+ # - CTCC:中国电信
851
+ # - CUCC:中国联通
852
+ # 注意:仅部分地域支持静态单线IP。
853
+ # @type InternetServiceProvider: String
854
+ # @param InternetMaxBandwidthOut: 弹性公网IPv6带宽上限,单位:Mbps。
855
+
856
+ # 可选值范围取决于EIP计费方式:
857
+
858
+ # - BANDWIDTH_PACKAGE:1 Mbps 至 2000 Mbps
859
+ # - TRAFFIC_POSTPAID_BY_HOUR:1 Mbps 至 100 Mbps
860
+
861
+ # 默认值:1 Mbps。
862
+ # @type InternetMaxBandwidthOut: Integer
863
+ # @param BandwidthPackageId: 带宽包唯一ID参数。
864
+ # 设定该参数且InternetChargeType为BANDWIDTH_PACKAGE,则表示创建的EIP加入该BGP带宽包并采用带宽包计费。
865
+ # @type BandwidthPackageId: String
866
+ # @param Tags: 需要关联的标签列表。
867
+ # @type Tags: Array
868
+ # @param Egress: 弹性公网IPv6网络出口,可选值:
869
+
870
+ # - CENTER_EGRESS_1:中心出口一
871
+ # - CENTER_EGRESS_2:中心出口二
872
+ # - CENTER_EGRESS_3:中心出口三
873
+ # 注意:不同运营商或资源类型对应的网络出口需要联系产品开白
874
+
875
+ # 默认值:CENTER_EGRESS_1。
876
+ # @type Egress: String
877
+
878
+ attr_accessor :AddressName, :AddressType, :AddressCount, :InternetChargeType, :InternetServiceProvider, :InternetMaxBandwidthOut, :BandwidthPackageId, :Tags, :Egress
879
+
880
+ def initialize(addressname=nil, addresstype=nil, addresscount=nil, internetchargetype=nil, internetserviceprovider=nil, internetmaxbandwidthout=nil, bandwidthpackageid=nil, tags=nil, egress=nil)
881
+ @AddressName = addressname
882
+ @AddressType = addresstype
883
+ @AddressCount = addresscount
884
+ @InternetChargeType = internetchargetype
885
+ @InternetServiceProvider = internetserviceprovider
886
+ @InternetMaxBandwidthOut = internetmaxbandwidthout
887
+ @BandwidthPackageId = bandwidthpackageid
888
+ @Tags = tags
889
+ @Egress = egress
890
+ end
891
+
892
+ def deserialize(params)
893
+ @AddressName = params['AddressName']
894
+ @AddressType = params['AddressType']
895
+ @AddressCount = params['AddressCount']
896
+ @InternetChargeType = params['InternetChargeType']
897
+ @InternetServiceProvider = params['InternetServiceProvider']
898
+ @InternetMaxBandwidthOut = params['InternetMaxBandwidthOut']
899
+ @BandwidthPackageId = params['BandwidthPackageId']
900
+ unless params['Tags'].nil?
901
+ @Tags = []
902
+ params['Tags'].each do |i|
903
+ tag_tmp = Tag.new
904
+ tag_tmp.deserialize(i)
905
+ @Tags << tag_tmp
906
+ end
907
+ end
908
+ @Egress = params['Egress']
909
+ end
910
+ end
911
+
912
+ # AllocateIPv6Addresses返回参数结构体
913
+ class AllocateIPv6AddressesResponse < TencentCloud::Common::AbstractModel
914
+ # @param AddressSet: 申请到的弹性公网 IPv6 地址的唯一 ID 列表。
915
+ # @type AddressSet: Array
916
+ # @param TaskId: 异步任务TaskId,可以使用[DescribeTaskResult](https://cloud.tencent.com/document/api/215/36271)接口查询任务状态。
917
+ # @type TaskId: String
918
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
919
+ # @type RequestId: String
920
+
921
+ attr_accessor :AddressSet, :TaskId, :RequestId
922
+
923
+ def initialize(addressset=nil, taskid=nil, requestid=nil)
924
+ @AddressSet = addressset
925
+ @TaskId = taskid
926
+ @RequestId = requestid
927
+ end
928
+
929
+ def deserialize(params)
930
+ @AddressSet = params['AddressSet']
931
+ @TaskId = params['TaskId']
932
+ @RequestId = params['RequestId']
933
+ end
934
+ end
935
+
825
936
  # AllocateIp6AddressesBandwidth请求参数结构体
826
937
  class AllocateIp6AddressesBandwidthRequest < TencentCloud::Common::AbstractModel
827
938
  # @param Ip6Addresses: 需要开通公网访问能力的IPV6地址
@@ -1275,6 +1386,46 @@ module TencentCloud
1275
1386
  end
1276
1387
  end
1277
1388
 
1389
+ # AssociateIPv6Address请求参数结构体
1390
+ class AssociateIPv6AddressRequest < TencentCloud::Common::AbstractModel
1391
+ # @param IPv6AddressId: 弹性公网IPv6唯一ID,EIPv6 唯一 ID 形如:eipv6-11112222。
1392
+ # @type IPv6AddressId: String
1393
+ # @param NetworkInterfaceId: 要绑定的弹性网卡 ID。 弹性网卡 ID 形如:eni-11112222。NetworkInterfaceId 与 InstanceId 不可同时指定。弹性网卡 ID 可通过登录控制台查询,也可通过DescribeNetworkInterfaces接口返回值中的networkInterfaceId获取。
1394
+ # @type NetworkInterfaceId: String
1395
+ # @param PrivateIPv6Address: 要绑定的内网 IPv6。如果指定了 NetworkInterfaceId 则也必须指定 PrivateIPv6Address ,表示将 EIP 绑定到指定弹性网卡的指定内网 IP 上。同时要确保指定的 PrivateIPv6Address 是指定的 NetworkInterfaceId 上的一个内网 IPv6。指定弹性网卡的内网 IPv6 可通过登录控制台查询,也可通过DescribeNetworkInterfaces接口返回值中的Ipv6AddressSet.Address获取。
1396
+ # @type PrivateIPv6Address: String
1397
+
1398
+ attr_accessor :IPv6AddressId, :NetworkInterfaceId, :PrivateIPv6Address
1399
+
1400
+ def initialize(ipv6addressid=nil, networkinterfaceid=nil, privateipv6address=nil)
1401
+ @IPv6AddressId = ipv6addressid
1402
+ @NetworkInterfaceId = networkinterfaceid
1403
+ @PrivateIPv6Address = privateipv6address
1404
+ end
1405
+
1406
+ def deserialize(params)
1407
+ @IPv6AddressId = params['IPv6AddressId']
1408
+ @NetworkInterfaceId = params['NetworkInterfaceId']
1409
+ @PrivateIPv6Address = params['PrivateIPv6Address']
1410
+ end
1411
+ end
1412
+
1413
+ # AssociateIPv6Address返回参数结构体
1414
+ class AssociateIPv6AddressResponse < TencentCloud::Common::AbstractModel
1415
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1416
+ # @type RequestId: String
1417
+
1418
+ attr_accessor :RequestId
1419
+
1420
+ def initialize(requestid=nil)
1421
+ @RequestId = requestid
1422
+ end
1423
+
1424
+ def deserialize(params)
1425
+ @RequestId = params['RequestId']
1426
+ end
1427
+ end
1428
+
1278
1429
  # AssociateInstancesToCcnRouteTable请求参数结构体
1279
1430
  class AssociateInstancesToCcnRouteTableRequest < TencentCloud::Common::AbstractModel
1280
1431
  # @param CcnId: 云联网ID。
@@ -3089,17 +3240,28 @@ module TencentCloud
3089
3240
  # @type AddressTemplateGroupName: String
3090
3241
  # @param AddressTemplateIds: IP地址模板实例ID,例如:ipm-mdunqeb6。
3091
3242
  # @type AddressTemplateIds: Array
3243
+ # @param Tags: 指定绑定的标签列表,例如:[{"Key": "city", "Value": "shanghai"}]。
3244
+ # @type Tags: Array
3092
3245
 
3093
- attr_accessor :AddressTemplateGroupName, :AddressTemplateIds
3246
+ attr_accessor :AddressTemplateGroupName, :AddressTemplateIds, :Tags
3094
3247
 
3095
- def initialize(addresstemplategroupname=nil, addresstemplateids=nil)
3248
+ def initialize(addresstemplategroupname=nil, addresstemplateids=nil, tags=nil)
3096
3249
  @AddressTemplateGroupName = addresstemplategroupname
3097
3250
  @AddressTemplateIds = addresstemplateids
3251
+ @Tags = tags
3098
3252
  end
3099
3253
 
3100
3254
  def deserialize(params)
3101
3255
  @AddressTemplateGroupName = params['AddressTemplateGroupName']
3102
3256
  @AddressTemplateIds = params['AddressTemplateIds']
3257
+ unless params['Tags'].nil?
3258
+ @Tags = []
3259
+ params['Tags'].each do |i|
3260
+ tag_tmp = Tag.new
3261
+ tag_tmp.deserialize(i)
3262
+ @Tags << tag_tmp
3263
+ end
3264
+ end
3103
3265
  end
3104
3266
  end
3105
3267
 
@@ -3134,13 +3296,16 @@ module TencentCloud
3134
3296
  # @type Addresses: Array
3135
3297
  # @param AddressesExtra: 地址信息,支持携带备注,支持 IP、CIDR、IP 范围。Addresses与AddressesExtra必填其一。
3136
3298
  # @type AddressesExtra: Array
3299
+ # @param Tags: 指定绑定的标签列表,例如:[{"Key": "city", "Value": "shanghai"}]。
3300
+ # @type Tags: Array
3137
3301
 
3138
- attr_accessor :AddressTemplateName, :Addresses, :AddressesExtra
3302
+ attr_accessor :AddressTemplateName, :Addresses, :AddressesExtra, :Tags
3139
3303
 
3140
- def initialize(addresstemplatename=nil, addresses=nil, addressesextra=nil)
3304
+ def initialize(addresstemplatename=nil, addresses=nil, addressesextra=nil, tags=nil)
3141
3305
  @AddressTemplateName = addresstemplatename
3142
3306
  @Addresses = addresses
3143
3307
  @AddressesExtra = addressesextra
3308
+ @Tags = tags
3144
3309
  end
3145
3310
 
3146
3311
  def deserialize(params)
@@ -3154,6 +3319,14 @@ module TencentCloud
3154
3319
  @AddressesExtra << addressinfo_tmp
3155
3320
  end
3156
3321
  end
3322
+ unless params['Tags'].nil?
3323
+ @Tags = []
3324
+ params['Tags'].each do |i|
3325
+ tag_tmp = Tag.new
3326
+ tag_tmp.deserialize(i)
3327
+ @Tags << tag_tmp
3328
+ end
3329
+ end
3157
3330
  end
3158
3331
  end
3159
3332
 
@@ -5439,13 +5612,16 @@ module TencentCloud
5439
5612
  # @type Services: Array
5440
5613
  # @param ServicesExtra: 支持添加备注,单个端口、多个端口、连续端口及所有端口,协议支持:TCP、UDP、ICMP、GRE 协议。Services与ServicesExtra必填其一。
5441
5614
  # @type ServicesExtra: Array
5615
+ # @param Tags: 指定绑定的标签列表,例如:[{"Key": "city", "Value": "shanghai"}]。
5616
+ # @type Tags: Array
5442
5617
 
5443
- attr_accessor :ServiceTemplateName, :Services, :ServicesExtra
5618
+ attr_accessor :ServiceTemplateName, :Services, :ServicesExtra, :Tags
5444
5619
 
5445
- def initialize(servicetemplatename=nil, services=nil, servicesextra=nil)
5620
+ def initialize(servicetemplatename=nil, services=nil, servicesextra=nil, tags=nil)
5446
5621
  @ServiceTemplateName = servicetemplatename
5447
5622
  @Services = services
5448
5623
  @ServicesExtra = servicesextra
5624
+ @Tags = tags
5449
5625
  end
5450
5626
 
5451
5627
  def deserialize(params)
@@ -5459,6 +5635,14 @@ module TencentCloud
5459
5635
  @ServicesExtra << servicesinfo_tmp
5460
5636
  end
5461
5637
  end
5638
+ unless params['Tags'].nil?
5639
+ @Tags = []
5640
+ params['Tags'].each do |i|
5641
+ tag_tmp = Tag.new
5642
+ tag_tmp.deserialize(i)
5643
+ @Tags << tag_tmp
5644
+ end
5645
+ end
5462
5646
  end
5463
5647
  end
5464
5648
 
@@ -10852,6 +11036,96 @@ module TencentCloud
10852
11036
  end
10853
11037
  end
10854
11038
 
11039
+ # DescribeIPv6Addresses请求参数结构体
11040
+ class DescribeIPv6AddressesRequest < TencentCloud::Common::AbstractModel
11041
+ # @param IPv6AddressIds: 标识 IPv6 的唯一 ID 列。
11042
+
11043
+ # - 传统弹性公网 IPv6 唯一 ID 形如:`eip-11112222`
11044
+ # - 弹性公网 IPv6 唯一 ID 形如:`eipv6-11112222`
11045
+
11046
+ # 注意:参数不支持同时指定`IPv6AddressIds`和`Filters`。
11047
+ # @type IPv6AddressIds: Array
11048
+ # @param Filters: 每次请求的`Filters`的上限为10,`Filter.Values`的上限为100。参数不支持同时指定`IPv6AddressIds`和`Filters`。详细的过滤条件如下:
11049
+
11050
+ # - address-id - String - 是否必填:否 - (过滤条件)按照弹性公网IPv6的唯一ID过滤。
11051
+ # - public-ipv6-address - String - 是否必填:否 - (过滤条件)按照公网 IPv6 的 IP 地址过滤。
11052
+ # - network-interface-id - String - 是否必填:否 - (过滤条件)按照弹性网卡的唯一ID过滤。
11053
+ # - instance-id - String - 是否必填:否 - (过滤条件)按照绑定实例的唯一ID过滤。
11054
+ # - charge-type - String - 是否必填:否 - (过滤条件)按照计费类型过滤。
11055
+ # - private-ipv6-address - String - 是否必填:否 - (过滤条件)按照绑定的内网 IPv6 地址过滤。
11056
+ # - egress - String - 是否必填:否 - (过滤条件)按照出口过滤。
11057
+ # - address-type - String - 是否必填:否 - (过滤条件)按照IPv6类型 进行过滤。可选值:'EIP6','EIPv6','WanIPv6','HighQualityEIPv6'。默认值是'EIPv6'。
11058
+ # - address-isp - String - 是否必填:否 - (过滤条件)按照 运营商类型 进行过滤。可选值:'BGP','CMCC','CUCC', 'CTCC'。
11059
+ # - address-status - String - 是否必填:否 - (过滤条件)按照 EIP 的状态过滤。状态包含:'CREATING','BINDING','BIND','UNBINDING','UNBIND','OFFLINING','BIND_ENI','PRIVATE'。
11060
+ # - address-name - String - 是否必填:否 - (过滤条件)按照 EIP 名称过滤。不支持模糊过滤。
11061
+ # - tag-key - String - 是否必填:否 - (过滤条件)按照标签键进行过滤。
11062
+ # - tag-value - String - 是否必填:否 - (过滤条件)按照标签值进行过滤。
11063
+ # - tag:tag-key - String - 是否必填:否 - (过滤条件)按照标签键值对进行过滤。tag-key使用具体的标签键进行替换。
11064
+ # @type Filters: Array
11065
+ # @param Traditional: 是否查询传统型IPv6地址信息。
11066
+ # @type Traditional: Boolean
11067
+ # @param Offset: 偏移量,默认为0。关于Offset的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/11646)中的相关小节。
11068
+ # @type Offset: Integer
11069
+ # @param Limit: 返回数量,默认为20,最大值为100。关于Limit的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/11646)中的相关小节。
11070
+ # @type Limit: Integer
11071
+
11072
+ attr_accessor :IPv6AddressIds, :Filters, :Traditional, :Offset, :Limit
11073
+
11074
+ def initialize(ipv6addressids=nil, filters=nil, traditional=nil, offset=nil, limit=nil)
11075
+ @IPv6AddressIds = ipv6addressids
11076
+ @Filters = filters
11077
+ @Traditional = traditional
11078
+ @Offset = offset
11079
+ @Limit = limit
11080
+ end
11081
+
11082
+ def deserialize(params)
11083
+ @IPv6AddressIds = params['IPv6AddressIds']
11084
+ unless params['Filters'].nil?
11085
+ @Filters = []
11086
+ params['Filters'].each do |i|
11087
+ filter_tmp = Filter.new
11088
+ filter_tmp.deserialize(i)
11089
+ @Filters << filter_tmp
11090
+ end
11091
+ end
11092
+ @Traditional = params['Traditional']
11093
+ @Offset = params['Offset']
11094
+ @Limit = params['Limit']
11095
+ end
11096
+ end
11097
+
11098
+ # DescribeIPv6Addresses返回参数结构体
11099
+ class DescribeIPv6AddressesResponse < TencentCloud::Common::AbstractModel
11100
+ # @param TotalCount: 符合条件的 IPv6 数量。
11101
+ # @type TotalCount: Integer
11102
+ # @param AddressSet: IPv6 详细信息列表。
11103
+ # @type AddressSet: Array
11104
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
11105
+ # @type RequestId: String
11106
+
11107
+ attr_accessor :TotalCount, :AddressSet, :RequestId
11108
+
11109
+ def initialize(totalcount=nil, addressset=nil, requestid=nil)
11110
+ @TotalCount = totalcount
11111
+ @AddressSet = addressset
11112
+ @RequestId = requestid
11113
+ end
11114
+
11115
+ def deserialize(params)
11116
+ @TotalCount = params['TotalCount']
11117
+ unless params['AddressSet'].nil?
11118
+ @AddressSet = []
11119
+ params['AddressSet'].each do |i|
11120
+ address_tmp = Address.new
11121
+ address_tmp.deserialize(i)
11122
+ @AddressSet << address_tmp
11123
+ end
11124
+ end
11125
+ @RequestId = params['RequestId']
11126
+ end
11127
+ end
11128
+
10855
11129
  # DescribeIp6Addresses请求参数结构体
10856
11130
  class DescribeIp6AddressesRequest < TencentCloud::Common::AbstractModel
10857
11131
  # @param Ip6AddressIds: 标识 IPV6 的唯一 ID 列表。IPV6 唯一 ID 形如:`eip-11112222`。参数不支持同时指定`Ip6AddressIds`和`Filters`。
@@ -15932,6 +16206,42 @@ module TencentCloud
15932
16206
  end
15933
16207
  end
15934
16208
 
16209
+ # DisassociateIPv6Address请求参数结构体
16210
+ class DisassociateIPv6AddressRequest < TencentCloud::Common::AbstractModel
16211
+ # @param IPv6AddressId: 弹性公网IPv6唯一ID,EIPv6 唯一 ID 形如:eipv6-11112222。
16212
+ # @type IPv6AddressId: String
16213
+ # @param KeepBindWithEni: 解绑时是否保持绑定弹性网卡。
16214
+ # @type KeepBindWithEni: Boolean
16215
+
16216
+ attr_accessor :IPv6AddressId, :KeepBindWithEni
16217
+
16218
+ def initialize(ipv6addressid=nil, keepbindwitheni=nil)
16219
+ @IPv6AddressId = ipv6addressid
16220
+ @KeepBindWithEni = keepbindwitheni
16221
+ end
16222
+
16223
+ def deserialize(params)
16224
+ @IPv6AddressId = params['IPv6AddressId']
16225
+ @KeepBindWithEni = params['KeepBindWithEni']
16226
+ end
16227
+ end
16228
+
16229
+ # DisassociateIPv6Address返回参数结构体
16230
+ class DisassociateIPv6AddressResponse < TencentCloud::Common::AbstractModel
16231
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
16232
+ # @type RequestId: String
16233
+
16234
+ attr_accessor :RequestId
16235
+
16236
+ def initialize(requestid=nil)
16237
+ @RequestId = requestid
16238
+ end
16239
+
16240
+ def deserialize(params)
16241
+ @RequestId = params['RequestId']
16242
+ end
16243
+ end
16244
+
15935
16245
  # DisassociateNatGatewayAddress请求参数结构体
15936
16246
  class DisassociateNatGatewayAddressRequest < TencentCloud::Common::AbstractModel
15937
16247
  # @param NatGatewayId: NAT网关的ID,形如:`nat-df45454`。
@@ -19283,6 +19593,78 @@ module TencentCloud
19283
19593
  end
19284
19594
  end
19285
19595
 
19596
+ # ModifyIPv6AddressesAttributes请求参数结构体
19597
+ class ModifyIPv6AddressesAttributesRequest < TencentCloud::Common::AbstractModel
19598
+ # @param IPv6AddressIds: 弹性公网IPv6唯一ID列表。
19599
+ # @type IPv6AddressIds: Array
19600
+ # @param IPv6AddressName: 弹性公网IPv6地址名称
19601
+ # @type IPv6AddressName: String
19602
+
19603
+ attr_accessor :IPv6AddressIds, :IPv6AddressName
19604
+
19605
+ def initialize(ipv6addressids=nil, ipv6addressname=nil)
19606
+ @IPv6AddressIds = ipv6addressids
19607
+ @IPv6AddressName = ipv6addressname
19608
+ end
19609
+
19610
+ def deserialize(params)
19611
+ @IPv6AddressIds = params['IPv6AddressIds']
19612
+ @IPv6AddressName = params['IPv6AddressName']
19613
+ end
19614
+ end
19615
+
19616
+ # ModifyIPv6AddressesAttributes返回参数结构体
19617
+ class ModifyIPv6AddressesAttributesResponse < TencentCloud::Common::AbstractModel
19618
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
19619
+ # @type RequestId: String
19620
+
19621
+ attr_accessor :RequestId
19622
+
19623
+ def initialize(requestid=nil)
19624
+ @RequestId = requestid
19625
+ end
19626
+
19627
+ def deserialize(params)
19628
+ @RequestId = params['RequestId']
19629
+ end
19630
+ end
19631
+
19632
+ # ModifyIPv6AddressesBandwidth请求参数结构体
19633
+ class ModifyIPv6AddressesBandwidthRequest < TencentCloud::Common::AbstractModel
19634
+ # @param IPv6AddressIds: 弹性公网IPv6地址唯一ID
19635
+ # @type IPv6AddressIds: Array
19636
+ # @param InternetMaxBandwidthOut: 弹性公网IPv6地址网络带宽
19637
+ # @type InternetMaxBandwidthOut: Integer
19638
+
19639
+ attr_accessor :IPv6AddressIds, :InternetMaxBandwidthOut
19640
+
19641
+ def initialize(ipv6addressids=nil, internetmaxbandwidthout=nil)
19642
+ @IPv6AddressIds = ipv6addressids
19643
+ @InternetMaxBandwidthOut = internetmaxbandwidthout
19644
+ end
19645
+
19646
+ def deserialize(params)
19647
+ @IPv6AddressIds = params['IPv6AddressIds']
19648
+ @InternetMaxBandwidthOut = params['InternetMaxBandwidthOut']
19649
+ end
19650
+ end
19651
+
19652
+ # ModifyIPv6AddressesBandwidth返回参数结构体
19653
+ class ModifyIPv6AddressesBandwidthResponse < TencentCloud::Common::AbstractModel
19654
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
19655
+ # @type RequestId: String
19656
+
19657
+ attr_accessor :RequestId
19658
+
19659
+ def initialize(requestid=nil)
19660
+ @RequestId = requestid
19661
+ end
19662
+
19663
+ def deserialize(params)
19664
+ @RequestId = params['RequestId']
19665
+ end
19666
+ end
19667
+
19286
19668
  # ModifyIp6AddressesBandwidth请求参数结构体
19287
19669
  class ModifyIp6AddressesBandwidthRequest < TencentCloud::Common::AbstractModel
19288
19670
  # @param InternetMaxBandwidthOut: 修改的目标带宽,单位Mbps
@@ -22667,6 +23049,38 @@ module TencentCloud
22667
23049
  end
22668
23050
  end
22669
23051
 
23052
+ # ReleaseIPv6Addresses请求参数结构体
23053
+ class ReleaseIPv6AddressesRequest < TencentCloud::Common::AbstractModel
23054
+ # @param IPv6AddressIds: IPv6地址唯一ID。
23055
+ # @type IPv6AddressIds: Array
23056
+
23057
+ attr_accessor :IPv6AddressIds
23058
+
23059
+ def initialize(ipv6addressids=nil)
23060
+ @IPv6AddressIds = ipv6addressids
23061
+ end
23062
+
23063
+ def deserialize(params)
23064
+ @IPv6AddressIds = params['IPv6AddressIds']
23065
+ end
23066
+ end
23067
+
23068
+ # ReleaseIPv6Addresses返回参数结构体
23069
+ class ReleaseIPv6AddressesResponse < TencentCloud::Common::AbstractModel
23070
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
23071
+ # @type RequestId: String
23072
+
23073
+ attr_accessor :RequestId
23074
+
23075
+ def initialize(requestid=nil)
23076
+ @RequestId = requestid
23077
+ end
23078
+
23079
+ def deserialize(params)
23080
+ @RequestId = params['RequestId']
23081
+ end
23082
+ end
23083
+
22670
23084
  # ReleaseIp6AddressesBandwidth请求参数结构体
22671
23085
  class ReleaseIp6AddressesBandwidthRequest < TencentCloud::Common::AbstractModel
22672
23086
  # @param Ip6Addresses: IPV6地址。Ip6Addresses和Ip6AddressIds必须且只能传一个
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.956
4
+ version: 3.0.957
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-12-06 00:00:00.000000000 Z
11
+ date: 2024-12-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common