tencentcloud-sdk-vpc 3.0.953 → 3.0.955
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 +24 -0
- data/lib/v20170312/models.rb +114 -7
- 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: 203c0781f49647b21c24f48718869a21800fa989
|
4
|
+
data.tar.gz: 2fd1a32bb50a4545b1fc838b7fdbef1118a9ee9d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 101fa6dbec6ee30c7c6c640c3795975d0a0e725f874d35e63432294273ec1e21aea411157b1fe7465303b867e092bdf6277568301b45ad7ab293ee901fda285d
|
7
|
+
data.tar.gz: 02600fb056426c2dc4925e3c951cf39fb6d94fe1a03032b60d56420c0c976eb413ff263422e5afaec7a5a5477b4e6a7fc045d3261a02ce9aca5ca55c554575a6
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.955
|
data/lib/v20170312/client.rb
CHANGED
@@ -5455,6 +5455,30 @@ module TencentCloud
|
|
5455
5455
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
5456
5456
|
end
|
5457
5457
|
|
5458
|
+
# 查询流量调度规则
|
5459
|
+
|
5460
|
+
# @param request: Request instance for DescribeTrafficQosPolicy.
|
5461
|
+
# @type request: :class:`Tencentcloud::vpc::V20170312::DescribeTrafficQosPolicyRequest`
|
5462
|
+
# @rtype: :class:`Tencentcloud::vpc::V20170312::DescribeTrafficQosPolicyResponse`
|
5463
|
+
def DescribeTrafficQosPolicy(request)
|
5464
|
+
body = send_request('DescribeTrafficQosPolicy', request.serialize)
|
5465
|
+
response = JSON.parse(body)
|
5466
|
+
if response['Response'].key?('Error') == false
|
5467
|
+
model = DescribeTrafficQosPolicyResponse.new
|
5468
|
+
model.deserialize(response['Response'])
|
5469
|
+
model
|
5470
|
+
else
|
5471
|
+
code = response['Response']['Error']['Code']
|
5472
|
+
message = response['Response']['Error']['Message']
|
5473
|
+
reqid = response['Response']['RequestId']
|
5474
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
5475
|
+
end
|
5476
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
5477
|
+
raise e
|
5478
|
+
rescue StandardError => e
|
5479
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
5480
|
+
end
|
5481
|
+
|
5458
5482
|
# 本接口(DescribeUsedIpAddress)用于查询Subnet或者Vpc内的ip的使用情况,
|
5459
5483
|
# 如ip被占用,返回占用ip的资源类别与id;如未被占用,返回空值
|
5460
5484
|
|
data/lib/v20170312/models.rb
CHANGED
@@ -4001,10 +4001,14 @@ module TencentCloud
|
|
4001
4001
|
# @type CheckAssociate: Boolean
|
4002
4002
|
# @param Tags: 指定绑定的标签列表,例如:[{"Key": "city", "Value": "shanghai"}]。
|
4003
4003
|
# @type Tags: Array
|
4004
|
+
# @param HaVipAssociationSet: HaVip绑定的子机或网卡。最多支持10个实例。
|
4005
|
+
# @type HaVipAssociationSet: Array
|
4006
|
+
# @param ClientToken: 用于保证请求幂等性的字符串。该字符串由客户生成,需保证不同请求之间唯一,最大值不超过64个ASCII字符。若不指定该参数,则无法保证请求的幂等性。
|
4007
|
+
# @type ClientToken: String
|
4004
4008
|
|
4005
|
-
attr_accessor :VpcId, :HaVipName, :SubnetId, :Vip, :NetworkInterfaceId, :CheckAssociate, :Tags
|
4009
|
+
attr_accessor :VpcId, :HaVipName, :SubnetId, :Vip, :NetworkInterfaceId, :CheckAssociate, :Tags, :HaVipAssociationSet, :ClientToken
|
4006
4010
|
|
4007
|
-
def initialize(vpcid=nil, havipname=nil, subnetid=nil, vip=nil, networkinterfaceid=nil, checkassociate=nil, tags=nil)
|
4011
|
+
def initialize(vpcid=nil, havipname=nil, subnetid=nil, vip=nil, networkinterfaceid=nil, checkassociate=nil, tags=nil, havipassociationset=nil, clienttoken=nil)
|
4008
4012
|
@VpcId = vpcid
|
4009
4013
|
@HaVipName = havipname
|
4010
4014
|
@SubnetId = subnetid
|
@@ -4012,6 +4016,8 @@ module TencentCloud
|
|
4012
4016
|
@NetworkInterfaceId = networkinterfaceid
|
4013
4017
|
@CheckAssociate = checkassociate
|
4014
4018
|
@Tags = tags
|
4019
|
+
@HaVipAssociationSet = havipassociationset
|
4020
|
+
@ClientToken = clienttoken
|
4015
4021
|
end
|
4016
4022
|
|
4017
4023
|
def deserialize(params)
|
@@ -4029,6 +4035,15 @@ module TencentCloud
|
|
4029
4035
|
@Tags << tag_tmp
|
4030
4036
|
end
|
4031
4037
|
end
|
4038
|
+
unless params['HaVipAssociationSet'].nil?
|
4039
|
+
@HaVipAssociationSet = []
|
4040
|
+
params['HaVipAssociationSet'].each do |i|
|
4041
|
+
havipassociation_tmp = HaVipAssociation.new
|
4042
|
+
havipassociation_tmp.deserialize(i)
|
4043
|
+
@HaVipAssociationSet << havipassociation_tmp
|
4044
|
+
end
|
4045
|
+
end
|
4046
|
+
@ClientToken = params['ClientToken']
|
4032
4047
|
end
|
4033
4048
|
end
|
4034
4049
|
|
@@ -4339,8 +4354,8 @@ module TencentCloud
|
|
4339
4354
|
|
4340
4355
|
attr_accessor :NatGatewayName, :VpcId, :InternetMaxBandwidthOut, :MaxConcurrentConnection, :AddressCount, :PublicIpAddresses, :Zone, :Tags, :SubnetId, :StockPublicIpAddressesBandwidthOut, :PublicIpAddressesBandwidthOut, :PublicIpFromSameZone, :NatProductVersion
|
4341
4356
|
extend Gem::Deprecate
|
4342
|
-
deprecate :SubnetId, :none, 2024,
|
4343
|
-
deprecate :SubnetId=, :none, 2024,
|
4357
|
+
deprecate :SubnetId, :none, 2024, 12
|
4358
|
+
deprecate :SubnetId=, :none, 2024, 12
|
4344
4359
|
|
4345
4360
|
def initialize(natgatewayname=nil, vpcid=nil, internetmaxbandwidthout=nil, maxconcurrentconnection=nil, addresscount=nil, publicipaddresses=nil, zone=nil, tags=nil, subnetid=nil, stockpublicipaddressesbandwidthout=nil, publicipaddressesbandwidthout=nil, publicipfromsamezone=nil, natproductversion=nil)
|
4346
4361
|
@NatGatewayName = natgatewayname
|
@@ -13847,6 +13862,57 @@ module TencentCloud
|
|
13847
13862
|
end
|
13848
13863
|
end
|
13849
13864
|
|
13865
|
+
# DescribeTrafficQosPolicy请求参数结构体
|
13866
|
+
class DescribeTrafficQosPolicyRequest < TencentCloud::Common::AbstractModel
|
13867
|
+
# @param CcnId: CCN实例ID。形如:ccn-f49l6u0z。
|
13868
|
+
# @type CcnId: String
|
13869
|
+
# @param LocalRegion: 本端地域。
|
13870
|
+
# @type LocalRegion: String
|
13871
|
+
# @param RemoteRegion: 远端地域。
|
13872
|
+
# @type RemoteRegion: String
|
13873
|
+
|
13874
|
+
attr_accessor :CcnId, :LocalRegion, :RemoteRegion
|
13875
|
+
|
13876
|
+
def initialize(ccnid=nil, localregion=nil, remoteregion=nil)
|
13877
|
+
@CcnId = ccnid
|
13878
|
+
@LocalRegion = localregion
|
13879
|
+
@RemoteRegion = remoteregion
|
13880
|
+
end
|
13881
|
+
|
13882
|
+
def deserialize(params)
|
13883
|
+
@CcnId = params['CcnId']
|
13884
|
+
@LocalRegion = params['LocalRegion']
|
13885
|
+
@RemoteRegion = params['RemoteRegion']
|
13886
|
+
end
|
13887
|
+
end
|
13888
|
+
|
13889
|
+
# DescribeTrafficQosPolicy返回参数结构体
|
13890
|
+
class DescribeTrafficQosPolicyResponse < TencentCloud::Common::AbstractModel
|
13891
|
+
# @param TrafficQosPolicySet: 流量调度规则。
|
13892
|
+
# @type TrafficQosPolicySet: Array
|
13893
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
13894
|
+
# @type RequestId: String
|
13895
|
+
|
13896
|
+
attr_accessor :TrafficQosPolicySet, :RequestId
|
13897
|
+
|
13898
|
+
def initialize(trafficqospolicyset=nil, requestid=nil)
|
13899
|
+
@TrafficQosPolicySet = trafficqospolicyset
|
13900
|
+
@RequestId = requestid
|
13901
|
+
end
|
13902
|
+
|
13903
|
+
def deserialize(params)
|
13904
|
+
unless params['TrafficQosPolicySet'].nil?
|
13905
|
+
@TrafficQosPolicySet = []
|
13906
|
+
params['TrafficQosPolicySet'].each do |i|
|
13907
|
+
trafficqospolicyset_tmp = TrafficQosPolicySet.new
|
13908
|
+
trafficqospolicyset_tmp.deserialize(i)
|
13909
|
+
@TrafficQosPolicySet << trafficqospolicyset_tmp
|
13910
|
+
end
|
13911
|
+
end
|
13912
|
+
@RequestId = params['RequestId']
|
13913
|
+
end
|
13914
|
+
end
|
13915
|
+
|
13850
13916
|
# DescribeUsedIpAddress请求参数结构体
|
13851
13917
|
class DescribeUsedIpAddressRequest < TencentCloud::Common::AbstractModel
|
13852
13918
|
# @param VpcId: VPC实例ID。
|
@@ -14500,7 +14566,6 @@ module TencentCloud
|
|
14500
14566
|
# @param Output: 异步任务执行输出。
|
14501
14567
|
# @type Output: String
|
14502
14568
|
# @param Result: 异步任务详细结果。只用于特殊场景,如批量删除弹性网卡时查询成功的网卡列表和失败的列表。
|
14503
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
14504
14569
|
# @type Result: Array
|
14505
14570
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
14506
14571
|
# @type RequestId: String
|
@@ -17317,8 +17382,8 @@ module TencentCloud
|
|
17317
17382
|
|
17318
17383
|
attr_accessor :EncryptAlgorithm, :IntegrityAlgorith, :IPSECSaLifetimeSeconds, :PfsDhGroup, :IPSECSaLifetimeTraffic, :IntegrityAlgorithm
|
17319
17384
|
extend Gem::Deprecate
|
17320
|
-
deprecate :IntegrityAlgorith, :none, 2024,
|
17321
|
-
deprecate :IntegrityAlgorith=, :none, 2024,
|
17385
|
+
deprecate :IntegrityAlgorith, :none, 2024, 12
|
17386
|
+
deprecate :IntegrityAlgorith=, :none, 2024, 12
|
17322
17387
|
|
17323
17388
|
def initialize(encryptalgorithm=nil, integrityalgorith=nil, ipsecsalifetimeseconds=nil, pfsdhgroup=nil, ipsecsalifetimetraffic=nil, integrityalgorithm=nil)
|
17324
17389
|
@EncryptAlgorithm = encryptalgorithm
|
@@ -25349,6 +25414,48 @@ module TencentCloud
|
|
25349
25414
|
end
|
25350
25415
|
end
|
25351
25416
|
|
25417
|
+
# 流量调度规则
|
25418
|
+
class TrafficQosPolicySet < TencentCloud::Common::AbstractModel
|
25419
|
+
# @param CcnId: CCN实例ID。形如:ccn-f49l6u0z。
|
25420
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
25421
|
+
# @type CcnId: String
|
25422
|
+
# @param QosId: qos id。
|
25423
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
25424
|
+
# @type QosId: Integer
|
25425
|
+
# @param QosPolicyDescription: 描述。
|
25426
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
25427
|
+
# @type QosPolicyDescription: String
|
25428
|
+
# @param QosPolicyName: 名称。
|
25429
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
25430
|
+
# @type QosPolicyName: String
|
25431
|
+
# @param Bandwidth: 带宽。
|
25432
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
25433
|
+
# @type Bandwidth: Integer
|
25434
|
+
# @param QosPolicyId: 流量调度策略ID。
|
25435
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
25436
|
+
# @type QosPolicyId: String
|
25437
|
+
|
25438
|
+
attr_accessor :CcnId, :QosId, :QosPolicyDescription, :QosPolicyName, :Bandwidth, :QosPolicyId
|
25439
|
+
|
25440
|
+
def initialize(ccnid=nil, qosid=nil, qospolicydescription=nil, qospolicyname=nil, bandwidth=nil, qospolicyid=nil)
|
25441
|
+
@CcnId = ccnid
|
25442
|
+
@QosId = qosid
|
25443
|
+
@QosPolicyDescription = qospolicydescription
|
25444
|
+
@QosPolicyName = qospolicyname
|
25445
|
+
@Bandwidth = bandwidth
|
25446
|
+
@QosPolicyId = qospolicyid
|
25447
|
+
end
|
25448
|
+
|
25449
|
+
def deserialize(params)
|
25450
|
+
@CcnId = params['CcnId']
|
25451
|
+
@QosId = params['QosId']
|
25452
|
+
@QosPolicyDescription = params['QosPolicyDescription']
|
25453
|
+
@QosPolicyName = params['QosPolicyName']
|
25454
|
+
@Bandwidth = params['Bandwidth']
|
25455
|
+
@QosPolicyId = params['QosPolicyId']
|
25456
|
+
end
|
25457
|
+
end
|
25458
|
+
|
25352
25459
|
# TransformAddress请求参数结构体
|
25353
25460
|
class TransformAddressRequest < TencentCloud::Common::AbstractModel
|
25354
25461
|
# @param InstanceId: 待操作有普通公网 IP 的实例 ID。实例 ID 形如:`ins-11112222`。可通过登录[控制台](https://console.cloud.tencent.com/cvm)查询,也可通过 [DescribeInstances](https://cloud.tencent.com/document/api/213/9389) 接口返回值中的`InstanceId`获取。
|
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.955
|
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-
|
11
|
+
date: 2024-12-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|