tencentcloud-sdk-vpc 3.0.956 → 3.0.958

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: 929fa64d9c66b181115f3449f0c6836d5cba8413
4
+ data.tar.gz: 8f290531cef0fc22eb03d219363fa2050da0c27e
5
5
  SHA512:
6
- metadata.gz: db867dcb71ceb04189f89eaaa83669265fed7d45fb6c8654c5dd06b3564252cacdb58185b6d732c34231692714c4256a87e7b28e3f2fdf967a0592a973d24ecf
7
- data.tar.gz: b4e91873a5299bb60f2e9b7dd225b574a65b83e6c0d696cf30f4cf426417baec2d4bfdc01b5c5f5b9aaa8cca7d7ada7ea3f2c2092eec6ca3a5f25d80381af3e9
6
+ metadata.gz: 952701010310dd7c9e963b51b2074b5330a0f99b1d148c01f11788fed2bb78badb5ff924378b00ab6847f426fddf545a98a0c57708a1a71e2fa93555736682c6
7
+ data.tar.gz: 06eec76d78c94a6d764092e29136123e5e347c3a2b3be7ec7ccf731dad839f9d4b28d4b6eee56d7d5cabdfe3a79de56b28903edca39c974a395eb977289939da
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.956
1
+ 3.0.958
@@ -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
 
@@ -5808,16 +5992,19 @@ module TencentCloud
5808
5992
  # @type IsPassService: Boolean
5809
5993
  # @param ServiceType: 挂载的PAAS服务类型,CLB,CDB,CRS,不填默认挂载为CLB。
5810
5994
  # @type ServiceType: String
5995
+ # @param Tags: 指定绑定的标签列表,例如:[{"Key": "city", "Value": "shanghai"}]。
5996
+ # @type Tags: Array
5811
5997
 
5812
- attr_accessor :VpcId, :EndPointServiceName, :AutoAcceptFlag, :ServiceInstanceId, :IsPassService, :ServiceType
5998
+ attr_accessor :VpcId, :EndPointServiceName, :AutoAcceptFlag, :ServiceInstanceId, :IsPassService, :ServiceType, :Tags
5813
5999
 
5814
- def initialize(vpcid=nil, endpointservicename=nil, autoacceptflag=nil, serviceinstanceid=nil, ispassservice=nil, servicetype=nil)
6000
+ def initialize(vpcid=nil, endpointservicename=nil, autoacceptflag=nil, serviceinstanceid=nil, ispassservice=nil, servicetype=nil, tags=nil)
5815
6001
  @VpcId = vpcid
5816
6002
  @EndPointServiceName = endpointservicename
5817
6003
  @AutoAcceptFlag = autoacceptflag
5818
6004
  @ServiceInstanceId = serviceinstanceid
5819
6005
  @IsPassService = ispassservice
5820
6006
  @ServiceType = servicetype
6007
+ @Tags = tags
5821
6008
  end
5822
6009
 
5823
6010
  def deserialize(params)
@@ -5827,6 +6014,14 @@ module TencentCloud
5827
6014
  @ServiceInstanceId = params['ServiceInstanceId']
5828
6015
  @IsPassService = params['IsPassService']
5829
6016
  @ServiceType = params['ServiceType']
6017
+ unless params['Tags'].nil?
6018
+ @Tags = []
6019
+ params['Tags'].each do |i|
6020
+ tag_tmp = Tag.new
6021
+ tag_tmp.deserialize(i)
6022
+ @Tags << tag_tmp
6023
+ end
6024
+ end
5830
6025
  end
5831
6026
  end
5832
6027
 
@@ -10852,6 +11047,96 @@ module TencentCloud
10852
11047
  end
10853
11048
  end
10854
11049
 
11050
+ # DescribeIPv6Addresses请求参数结构体
11051
+ class DescribeIPv6AddressesRequest < TencentCloud::Common::AbstractModel
11052
+ # @param IPv6AddressIds: 标识 IPv6 的唯一 ID 列。
11053
+
11054
+ # - 传统弹性公网 IPv6 唯一 ID 形如:`eip-11112222`
11055
+ # - 弹性公网 IPv6 唯一 ID 形如:`eipv6-11112222`
11056
+
11057
+ # 注意:参数不支持同时指定`IPv6AddressIds`和`Filters`。
11058
+ # @type IPv6AddressIds: Array
11059
+ # @param Filters: 每次请求的`Filters`的上限为10,`Filter.Values`的上限为100。参数不支持同时指定`IPv6AddressIds`和`Filters`。详细的过滤条件如下:
11060
+
11061
+ # - address-id - String - 是否必填:否 - (过滤条件)按照弹性公网IPv6的唯一ID过滤。
11062
+ # - public-ipv6-address - String - 是否必填:否 - (过滤条件)按照公网 IPv6 的 IP 地址过滤。
11063
+ # - network-interface-id - String - 是否必填:否 - (过滤条件)按照弹性网卡的唯一ID过滤。
11064
+ # - instance-id - String - 是否必填:否 - (过滤条件)按照绑定实例的唯一ID过滤。
11065
+ # - charge-type - String - 是否必填:否 - (过滤条件)按照计费类型过滤。
11066
+ # - private-ipv6-address - String - 是否必填:否 - (过滤条件)按照绑定的内网 IPv6 地址过滤。
11067
+ # - egress - String - 是否必填:否 - (过滤条件)按照出口过滤。
11068
+ # - address-type - String - 是否必填:否 - (过滤条件)按照IPv6类型 进行过滤。可选值:'EIP6','EIPv6','WanIPv6','HighQualityEIPv6'。默认值是'EIPv6'。
11069
+ # - address-isp - String - 是否必填:否 - (过滤条件)按照 运营商类型 进行过滤。可选值:'BGP','CMCC','CUCC', 'CTCC'。
11070
+ # - address-status - String - 是否必填:否 - (过滤条件)按照 EIP 的状态过滤。状态包含:'CREATING','BINDING','BIND','UNBINDING','UNBIND','OFFLINING','BIND_ENI','PRIVATE'。
11071
+ # - address-name - String - 是否必填:否 - (过滤条件)按照 EIP 名称过滤。不支持模糊过滤。
11072
+ # - tag-key - String - 是否必填:否 - (过滤条件)按照标签键进行过滤。
11073
+ # - tag-value - String - 是否必填:否 - (过滤条件)按照标签值进行过滤。
11074
+ # - tag:tag-key - String - 是否必填:否 - (过滤条件)按照标签键值对进行过滤。tag-key使用具体的标签键进行替换。
11075
+ # @type Filters: Array
11076
+ # @param Traditional: 是否查询传统型IPv6地址信息。
11077
+ # @type Traditional: Boolean
11078
+ # @param Offset: 偏移量,默认为0。关于Offset的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/11646)中的相关小节。
11079
+ # @type Offset: Integer
11080
+ # @param Limit: 返回数量,默认为20,最大值为100。关于Limit的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/11646)中的相关小节。
11081
+ # @type Limit: Integer
11082
+
11083
+ attr_accessor :IPv6AddressIds, :Filters, :Traditional, :Offset, :Limit
11084
+
11085
+ def initialize(ipv6addressids=nil, filters=nil, traditional=nil, offset=nil, limit=nil)
11086
+ @IPv6AddressIds = ipv6addressids
11087
+ @Filters = filters
11088
+ @Traditional = traditional
11089
+ @Offset = offset
11090
+ @Limit = limit
11091
+ end
11092
+
11093
+ def deserialize(params)
11094
+ @IPv6AddressIds = params['IPv6AddressIds']
11095
+ unless params['Filters'].nil?
11096
+ @Filters = []
11097
+ params['Filters'].each do |i|
11098
+ filter_tmp = Filter.new
11099
+ filter_tmp.deserialize(i)
11100
+ @Filters << filter_tmp
11101
+ end
11102
+ end
11103
+ @Traditional = params['Traditional']
11104
+ @Offset = params['Offset']
11105
+ @Limit = params['Limit']
11106
+ end
11107
+ end
11108
+
11109
+ # DescribeIPv6Addresses返回参数结构体
11110
+ class DescribeIPv6AddressesResponse < TencentCloud::Common::AbstractModel
11111
+ # @param TotalCount: 符合条件的 IPv6 数量。
11112
+ # @type TotalCount: Integer
11113
+ # @param AddressSet: IPv6 详细信息列表。
11114
+ # @type AddressSet: Array
11115
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
11116
+ # @type RequestId: String
11117
+
11118
+ attr_accessor :TotalCount, :AddressSet, :RequestId
11119
+
11120
+ def initialize(totalcount=nil, addressset=nil, requestid=nil)
11121
+ @TotalCount = totalcount
11122
+ @AddressSet = addressset
11123
+ @RequestId = requestid
11124
+ end
11125
+
11126
+ def deserialize(params)
11127
+ @TotalCount = params['TotalCount']
11128
+ unless params['AddressSet'].nil?
11129
+ @AddressSet = []
11130
+ params['AddressSet'].each do |i|
11131
+ address_tmp = Address.new
11132
+ address_tmp.deserialize(i)
11133
+ @AddressSet << address_tmp
11134
+ end
11135
+ end
11136
+ @RequestId = params['RequestId']
11137
+ end
11138
+ end
11139
+
10855
11140
  # DescribeIp6Addresses请求参数结构体
10856
11141
  class DescribeIp6AddressesRequest < TencentCloud::Common::AbstractModel
10857
11142
  # @param Ip6AddressIds: 标识 IPV6 的唯一 ID 列表。IPV6 唯一 ID 形如:`eip-11112222`。参数不支持同时指定`Ip6AddressIds`和`Filters`。
@@ -15932,6 +16217,42 @@ module TencentCloud
15932
16217
  end
15933
16218
  end
15934
16219
 
16220
+ # DisassociateIPv6Address请求参数结构体
16221
+ class DisassociateIPv6AddressRequest < TencentCloud::Common::AbstractModel
16222
+ # @param IPv6AddressId: 弹性公网IPv6唯一ID,EIPv6 唯一 ID 形如:eipv6-11112222。
16223
+ # @type IPv6AddressId: String
16224
+ # @param KeepBindWithEni: 解绑时是否保持绑定弹性网卡。
16225
+ # @type KeepBindWithEni: Boolean
16226
+
16227
+ attr_accessor :IPv6AddressId, :KeepBindWithEni
16228
+
16229
+ def initialize(ipv6addressid=nil, keepbindwitheni=nil)
16230
+ @IPv6AddressId = ipv6addressid
16231
+ @KeepBindWithEni = keepbindwitheni
16232
+ end
16233
+
16234
+ def deserialize(params)
16235
+ @IPv6AddressId = params['IPv6AddressId']
16236
+ @KeepBindWithEni = params['KeepBindWithEni']
16237
+ end
16238
+ end
16239
+
16240
+ # DisassociateIPv6Address返回参数结构体
16241
+ class DisassociateIPv6AddressResponse < TencentCloud::Common::AbstractModel
16242
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
16243
+ # @type RequestId: String
16244
+
16245
+ attr_accessor :RequestId
16246
+
16247
+ def initialize(requestid=nil)
16248
+ @RequestId = requestid
16249
+ end
16250
+
16251
+ def deserialize(params)
16252
+ @RequestId = params['RequestId']
16253
+ end
16254
+ end
16255
+
15935
16256
  # DisassociateNatGatewayAddress请求参数结构体
15936
16257
  class DisassociateNatGatewayAddressRequest < TencentCloud::Common::AbstractModel
15937
16258
  # @param NatGatewayId: NAT网关的ID,形如:`nat-df45454`。
@@ -19283,6 +19604,78 @@ module TencentCloud
19283
19604
  end
19284
19605
  end
19285
19606
 
19607
+ # ModifyIPv6AddressesAttributes请求参数结构体
19608
+ class ModifyIPv6AddressesAttributesRequest < TencentCloud::Common::AbstractModel
19609
+ # @param IPv6AddressIds: 弹性公网IPv6唯一ID列表。
19610
+ # @type IPv6AddressIds: Array
19611
+ # @param IPv6AddressName: 弹性公网IPv6地址名称
19612
+ # @type IPv6AddressName: String
19613
+
19614
+ attr_accessor :IPv6AddressIds, :IPv6AddressName
19615
+
19616
+ def initialize(ipv6addressids=nil, ipv6addressname=nil)
19617
+ @IPv6AddressIds = ipv6addressids
19618
+ @IPv6AddressName = ipv6addressname
19619
+ end
19620
+
19621
+ def deserialize(params)
19622
+ @IPv6AddressIds = params['IPv6AddressIds']
19623
+ @IPv6AddressName = params['IPv6AddressName']
19624
+ end
19625
+ end
19626
+
19627
+ # ModifyIPv6AddressesAttributes返回参数结构体
19628
+ class ModifyIPv6AddressesAttributesResponse < TencentCloud::Common::AbstractModel
19629
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
19630
+ # @type RequestId: String
19631
+
19632
+ attr_accessor :RequestId
19633
+
19634
+ def initialize(requestid=nil)
19635
+ @RequestId = requestid
19636
+ end
19637
+
19638
+ def deserialize(params)
19639
+ @RequestId = params['RequestId']
19640
+ end
19641
+ end
19642
+
19643
+ # ModifyIPv6AddressesBandwidth请求参数结构体
19644
+ class ModifyIPv6AddressesBandwidthRequest < TencentCloud::Common::AbstractModel
19645
+ # @param IPv6AddressIds: 弹性公网IPv6地址唯一ID
19646
+ # @type IPv6AddressIds: Array
19647
+ # @param InternetMaxBandwidthOut: 弹性公网IPv6地址网络带宽
19648
+ # @type InternetMaxBandwidthOut: Integer
19649
+
19650
+ attr_accessor :IPv6AddressIds, :InternetMaxBandwidthOut
19651
+
19652
+ def initialize(ipv6addressids=nil, internetmaxbandwidthout=nil)
19653
+ @IPv6AddressIds = ipv6addressids
19654
+ @InternetMaxBandwidthOut = internetmaxbandwidthout
19655
+ end
19656
+
19657
+ def deserialize(params)
19658
+ @IPv6AddressIds = params['IPv6AddressIds']
19659
+ @InternetMaxBandwidthOut = params['InternetMaxBandwidthOut']
19660
+ end
19661
+ end
19662
+
19663
+ # ModifyIPv6AddressesBandwidth返回参数结构体
19664
+ class ModifyIPv6AddressesBandwidthResponse < TencentCloud::Common::AbstractModel
19665
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
19666
+ # @type RequestId: String
19667
+
19668
+ attr_accessor :RequestId
19669
+
19670
+ def initialize(requestid=nil)
19671
+ @RequestId = requestid
19672
+ end
19673
+
19674
+ def deserialize(params)
19675
+ @RequestId = params['RequestId']
19676
+ end
19677
+ end
19678
+
19286
19679
  # ModifyIp6AddressesBandwidth请求参数结构体
19287
19680
  class ModifyIp6AddressesBandwidthRequest < TencentCloud::Common::AbstractModel
19288
19681
  # @param InternetMaxBandwidthOut: 修改的目标带宽,单位Mbps
@@ -22667,6 +23060,38 @@ module TencentCloud
22667
23060
  end
22668
23061
  end
22669
23062
 
23063
+ # ReleaseIPv6Addresses请求参数结构体
23064
+ class ReleaseIPv6AddressesRequest < TencentCloud::Common::AbstractModel
23065
+ # @param IPv6AddressIds: IPv6地址唯一ID。
23066
+ # @type IPv6AddressIds: Array
23067
+
23068
+ attr_accessor :IPv6AddressIds
23069
+
23070
+ def initialize(ipv6addressids=nil)
23071
+ @IPv6AddressIds = ipv6addressids
23072
+ end
23073
+
23074
+ def deserialize(params)
23075
+ @IPv6AddressIds = params['IPv6AddressIds']
23076
+ end
23077
+ end
23078
+
23079
+ # ReleaseIPv6Addresses返回参数结构体
23080
+ class ReleaseIPv6AddressesResponse < TencentCloud::Common::AbstractModel
23081
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
23082
+ # @type RequestId: String
23083
+
23084
+ attr_accessor :RequestId
23085
+
23086
+ def initialize(requestid=nil)
23087
+ @RequestId = requestid
23088
+ end
23089
+
23090
+ def deserialize(params)
23091
+ @RequestId = params['RequestId']
23092
+ end
23093
+ end
23094
+
22670
23095
  # ReleaseIp6AddressesBandwidth请求参数结构体
22671
23096
  class ReleaseIp6AddressesBandwidthRequest < TencentCloud::Common::AbstractModel
22672
23097
  # @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.958
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-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common