tencentcloud-sdk-vpc 3.0.1068 → 3.0.1070
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 +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20170312/client.rb +48 -0
- data/lib/v20170312/models.rb +75 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ed4e81b0b478845fd95007e349adba91eefd3993
|
4
|
+
data.tar.gz: 92c80987287c0bbaa4988f050d8e07aa160e466a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 10eb0e36f9ae8f20af4186adef4c8f32ee1b1d082708526ae7d14639493aba76a2bcd084996e1b5cc204dc4070f19f88f5e89121a80d6e8b1e56a6e84a3c35bf
|
7
|
+
data.tar.gz: f77e383f2418becba4a3ad6b9aa1086d87ca6b234584559c616f987827631957b1bc8944db99def8a0d6b60dbf9df6c35865b6b5fda23c636e047d4c77013bc6
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1070
|
data/lib/v20170312/client.rb
CHANGED
@@ -448,6 +448,30 @@ module TencentCloud
|
|
448
448
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
449
449
|
end
|
450
450
|
|
451
|
+
# 本接口(AssociateHaVipInstance)用于HAVIP绑定子机或网卡(限制HaVip的飘移范围)。
|
452
|
+
|
453
|
+
# @param request: Request instance for AssociateHaVipInstance.
|
454
|
+
# @type request: :class:`Tencentcloud::vpc::V20170312::AssociateHaVipInstanceRequest`
|
455
|
+
# @rtype: :class:`Tencentcloud::vpc::V20170312::AssociateHaVipInstanceResponse`
|
456
|
+
def AssociateHaVipInstance(request)
|
457
|
+
body = send_request('AssociateHaVipInstance', request.serialize)
|
458
|
+
response = JSON.parse(body)
|
459
|
+
if response['Response'].key?('Error') == false
|
460
|
+
model = AssociateHaVipInstanceResponse.new
|
461
|
+
model.deserialize(response['Response'])
|
462
|
+
model
|
463
|
+
else
|
464
|
+
code = response['Response']['Error']['Code']
|
465
|
+
message = response['Response']['Error']['Message']
|
466
|
+
reqid = response['Response']['RequestId']
|
467
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
468
|
+
end
|
469
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
470
|
+
raise e
|
471
|
+
rescue StandardError => e
|
472
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
473
|
+
end
|
474
|
+
|
451
475
|
# 本接口(AssociateIPv6Address)用于将弹性公网IPv6(简称EIPv6)实例绑定到 CVM 或弹性网卡配置的内网 IPv6 地址上。
|
452
476
|
|
453
477
|
# - 将 EIPv6 绑定到 CVM 上,其本质是将 EIPv6 绑定到 CVM 弹性网卡所配置的内网 IPv6 地址上。
|
@@ -6679,6 +6703,30 @@ module TencentCloud
|
|
6679
6703
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
6680
6704
|
end
|
6681
6705
|
|
6706
|
+
# 本接口(DisassociateHaVipInstance)用于HAVIP解绑子机或网卡(去掉HaVip飘移范围)。
|
6707
|
+
|
6708
|
+
# @param request: Request instance for DisassociateHaVipInstance.
|
6709
|
+
# @type request: :class:`Tencentcloud::vpc::V20170312::DisassociateHaVipInstanceRequest`
|
6710
|
+
# @rtype: :class:`Tencentcloud::vpc::V20170312::DisassociateHaVipInstanceResponse`
|
6711
|
+
def DisassociateHaVipInstance(request)
|
6712
|
+
body = send_request('DisassociateHaVipInstance', request.serialize)
|
6713
|
+
response = JSON.parse(body)
|
6714
|
+
if response['Response'].key?('Error') == false
|
6715
|
+
model = DisassociateHaVipInstanceResponse.new
|
6716
|
+
model.deserialize(response['Response'])
|
6717
|
+
model
|
6718
|
+
else
|
6719
|
+
code = response['Response']['Error']['Code']
|
6720
|
+
message = response['Response']['Error']['Message']
|
6721
|
+
reqid = response['Response']['RequestId']
|
6722
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
6723
|
+
end
|
6724
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
6725
|
+
raise e
|
6726
|
+
rescue StandardError => e
|
6727
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
6728
|
+
end
|
6729
|
+
|
6682
6730
|
# 本接口(DisassociateIPv6Address)用于解绑弹性公网 IPv6(简称EIPv6)实例。
|
6683
6731
|
|
6684
6732
|
# - 支持对 CVM、弹性网卡绑定的 EIPv6 实例进行解绑操作。
|
data/lib/v20170312/models.rb
CHANGED
@@ -761,7 +761,7 @@ module TencentCloud
|
|
761
761
|
# <li>AntiDDoSEIP:高防 IP。仅部分地域支持高防IP,详情可见弹性公网IP[产品概述](https://cloud.tencent.com/document/product/1199/41646)。</li>
|
762
762
|
# @type AddressType: String
|
763
763
|
# @param AnycastZone: Anycast发布域。
|
764
|
-
# <ul style="margin:0"><li>已开通Anycast公网加速白名单的用户,可选值:<ul><li>ANYCAST_ZONE_GLOBAL:全球发布域(需要额外开通Anycast全球加速白名单)</li><li>ANYCAST_ZONE_OVERSEAS:境外发布域</li
|
764
|
+
# <ul style="margin:0"><li>已开通Anycast公网加速白名单的用户,可选值:<ul><li>ANYCAST_ZONE_GLOBAL:全球发布域(需要额外开通Anycast全球加速白名单)</li><li>ANYCAST_ZONE_OVERSEAS:境外发布域</li></ul>默认值:ANYCAST_ZONE_OVERSEAS。</li></ul>
|
765
765
|
# @type AnycastZone: String
|
766
766
|
# @param VipCluster: 指定IP地址申请EIP,每个账户每个月只有三次配额
|
767
767
|
# @type VipCluster: Array
|
@@ -792,6 +792,9 @@ module TencentCloud
|
|
792
792
|
# @type ClientToken: String
|
793
793
|
|
794
794
|
attr_accessor :AddressCount, :InternetServiceProvider, :InternetChargeType, :InternetMaxBandwidthOut, :AddressChargePrepaid, :AddressType, :AnycastZone, :VipCluster, :ApplicableForCLB, :Tags, :BandwidthPackageId, :AddressName, :DedicatedClusterId, :IsDedicatedAddressPool, :Egress, :AntiDDoSPackageId, :ClientToken
|
795
|
+
extend Gem::Deprecate
|
796
|
+
deprecate :ApplicableForCLB, :none, 2025, 5
|
797
|
+
deprecate :ApplicableForCLB=, :none, 2025, 5
|
795
798
|
|
796
799
|
def initialize(addresscount=nil, internetserviceprovider=nil, internetchargetype=nil, internetmaxbandwidthout=nil, addresschargeprepaid=nil, addresstype=nil, anycastzone=nil, vipcluster=nil, applicableforclb=nil, tags=nil, bandwidthpackageid=nil, addressname=nil, dedicatedclusterid=nil, isdedicatedaddresspool=nil, egress=nil, antiddospackageid=nil, clienttoken=nil)
|
797
800
|
@AddressCount = addresscount
|
@@ -1443,6 +1446,33 @@ module TencentCloud
|
|
1443
1446
|
end
|
1444
1447
|
end
|
1445
1448
|
|
1449
|
+
# AssociateHaVipInstance请求参数结构体
|
1450
|
+
class AssociateHaVipInstanceRequest < TencentCloud::Common::AbstractModel
|
1451
|
+
|
1452
|
+
|
1453
|
+
def initialize()
|
1454
|
+
end
|
1455
|
+
|
1456
|
+
def deserialize(params)
|
1457
|
+
end
|
1458
|
+
end
|
1459
|
+
|
1460
|
+
# AssociateHaVipInstance返回参数结构体
|
1461
|
+
class AssociateHaVipInstanceResponse < TencentCloud::Common::AbstractModel
|
1462
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1463
|
+
# @type RequestId: String
|
1464
|
+
|
1465
|
+
attr_accessor :RequestId
|
1466
|
+
|
1467
|
+
def initialize(requestid=nil)
|
1468
|
+
@RequestId = requestid
|
1469
|
+
end
|
1470
|
+
|
1471
|
+
def deserialize(params)
|
1472
|
+
@RequestId = params['RequestId']
|
1473
|
+
end
|
1474
|
+
end
|
1475
|
+
|
1446
1476
|
# AssociateIPv6Address请求参数结构体
|
1447
1477
|
class AssociateIPv6AddressRequest < TencentCloud::Common::AbstractModel
|
1448
1478
|
# @param IPv6AddressId: 弹性公网IPv6唯一ID,EIPv6 唯一 ID 形如:eipv6-11112222。可以使用[DescribeIPv6Addresses](https://cloud.tencent.com/document/api/215/113677)接口获取IPv6AddressId。
|
@@ -17144,6 +17174,45 @@ module TencentCloud
|
|
17144
17174
|
end
|
17145
17175
|
end
|
17146
17176
|
|
17177
|
+
# DisassociateHaVipInstance请求参数结构体
|
17178
|
+
class DisassociateHaVipInstanceRequest < TencentCloud::Common::AbstractModel
|
17179
|
+
# @param HaVipAssociationSet: HaVip解绑的子机或网卡。最多支持10个实例。
|
17180
|
+
# @type HaVipAssociationSet: Array
|
17181
|
+
|
17182
|
+
attr_accessor :HaVipAssociationSet
|
17183
|
+
|
17184
|
+
def initialize(havipassociationset=nil)
|
17185
|
+
@HaVipAssociationSet = havipassociationset
|
17186
|
+
end
|
17187
|
+
|
17188
|
+
def deserialize(params)
|
17189
|
+
unless params['HaVipAssociationSet'].nil?
|
17190
|
+
@HaVipAssociationSet = []
|
17191
|
+
params['HaVipAssociationSet'].each do |i|
|
17192
|
+
havipassociation_tmp = HaVipAssociation.new
|
17193
|
+
havipassociation_tmp.deserialize(i)
|
17194
|
+
@HaVipAssociationSet << havipassociation_tmp
|
17195
|
+
end
|
17196
|
+
end
|
17197
|
+
end
|
17198
|
+
end
|
17199
|
+
|
17200
|
+
# DisassociateHaVipInstance返回参数结构体
|
17201
|
+
class DisassociateHaVipInstanceResponse < TencentCloud::Common::AbstractModel
|
17202
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
17203
|
+
# @type RequestId: String
|
17204
|
+
|
17205
|
+
attr_accessor :RequestId
|
17206
|
+
|
17207
|
+
def initialize(requestid=nil)
|
17208
|
+
@RequestId = requestid
|
17209
|
+
end
|
17210
|
+
|
17211
|
+
def deserialize(params)
|
17212
|
+
@RequestId = params['RequestId']
|
17213
|
+
end
|
17214
|
+
end
|
17215
|
+
|
17147
17216
|
# DisassociateIPv6Address请求参数结构体
|
17148
17217
|
class DisassociateIPv6AddressRequest < TencentCloud::Common::AbstractModel
|
17149
17218
|
# @param IPv6AddressId: 弹性公网IPv6唯一ID,EIPv6 唯一 ID 形如:eipv6-11112222。可以使用[DescribeIPv6Addresses](https://cloud.tencent.com/document/api/215/113677)接口获取IPv6AddressId。
|
@@ -20031,6 +20100,11 @@ module TencentCloud
|
|
20031
20100
|
# @type EndTime: String
|
20032
20101
|
|
20033
20102
|
attr_accessor :AddressIds, :InternetMaxBandwidthOut, :StartTime, :EndTime
|
20103
|
+
extend Gem::Deprecate
|
20104
|
+
deprecate :StartTime, :none, 2025, 5
|
20105
|
+
deprecate :StartTime=, :none, 2025, 5
|
20106
|
+
deprecate :EndTime, :none, 2025, 5
|
20107
|
+
deprecate :EndTime=, :none, 2025, 5
|
20034
20108
|
|
20035
20109
|
def initialize(addressids=nil, internetmaxbandwidthout=nil, starttime=nil, endtime=nil)
|
20036
20110
|
@AddressIds = addressids
|
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.
|
4
|
+
version: 3.0.1070
|
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-05-
|
11
|
+
date: 2025-05-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|