tencentcloud-sdk-vpc 3.0.953 → 3.0.954

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: 3eb10fda7c328acc965110fd0cb3f46b54d31c6a
4
- data.tar.gz: 44ee7311d861ff81bba150741e6ae3667708bf1b
3
+ metadata.gz: 1f4673af389b4117cb488bbfdbc2eb3cc02ce2a4
4
+ data.tar.gz: 88b7d6883710319f4052b46e472362c079e6092c
5
5
  SHA512:
6
- metadata.gz: 38afa8c5967ab549d69c20843cc305eaa38c66e7449b90db27cd984fd010592d422f12df45f0993c66be21a37263c0fb43aeb6a344c66dc5ba31bc6a07450f5e
7
- data.tar.gz: d3e40b13bdbed038415d26528c7b70fee5b0aef2bff7bebb438f0560c5e78e39f823c421c1617dcfd6ebe4a144900b488ab46fa015b1b964d2e1c00cf0ce9b0f
6
+ metadata.gz: cc57fe6a6537df45708a8a99c91f2ab9a94788b86035f230563dd6943549083beb3eb5ea96e5a3897be02d07000af8256dea42b27883cfc96cec486a367c60ae
7
+ data.tar.gz: 6c0fdebadca19b203c66007f25f9ad8e938f82b2d9bf10f8568b75ccdd579d238c5ebc3a2cf7930b11d874363b041137fad1b1e3d92db6cba6710c39c88b1f0e
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.953
1
+ 3.0.954
@@ -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
 
@@ -4339,8 +4339,8 @@ module TencentCloud
4339
4339
 
4340
4340
  attr_accessor :NatGatewayName, :VpcId, :InternetMaxBandwidthOut, :MaxConcurrentConnection, :AddressCount, :PublicIpAddresses, :Zone, :Tags, :SubnetId, :StockPublicIpAddressesBandwidthOut, :PublicIpAddressesBandwidthOut, :PublicIpFromSameZone, :NatProductVersion
4341
4341
  extend Gem::Deprecate
4342
- deprecate :SubnetId, :none, 2024, 11
4343
- deprecate :SubnetId=, :none, 2024, 11
4342
+ deprecate :SubnetId, :none, 2024, 12
4343
+ deprecate :SubnetId=, :none, 2024, 12
4344
4344
 
4345
4345
  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
4346
  @NatGatewayName = natgatewayname
@@ -13847,6 +13847,57 @@ module TencentCloud
13847
13847
  end
13848
13848
  end
13849
13849
 
13850
+ # DescribeTrafficQosPolicy请求参数结构体
13851
+ class DescribeTrafficQosPolicyRequest < TencentCloud::Common::AbstractModel
13852
+ # @param CcnId: CCN实例ID。形如:ccn-f49l6u0z。
13853
+ # @type CcnId: String
13854
+ # @param LocalRegion: 本端地域。
13855
+ # @type LocalRegion: String
13856
+ # @param RemoteRegion: 远端地域。
13857
+ # @type RemoteRegion: String
13858
+
13859
+ attr_accessor :CcnId, :LocalRegion, :RemoteRegion
13860
+
13861
+ def initialize(ccnid=nil, localregion=nil, remoteregion=nil)
13862
+ @CcnId = ccnid
13863
+ @LocalRegion = localregion
13864
+ @RemoteRegion = remoteregion
13865
+ end
13866
+
13867
+ def deserialize(params)
13868
+ @CcnId = params['CcnId']
13869
+ @LocalRegion = params['LocalRegion']
13870
+ @RemoteRegion = params['RemoteRegion']
13871
+ end
13872
+ end
13873
+
13874
+ # DescribeTrafficQosPolicy返回参数结构体
13875
+ class DescribeTrafficQosPolicyResponse < TencentCloud::Common::AbstractModel
13876
+ # @param TrafficQosPolicySet: 流量调度规则。
13877
+ # @type TrafficQosPolicySet: Array
13878
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
13879
+ # @type RequestId: String
13880
+
13881
+ attr_accessor :TrafficQosPolicySet, :RequestId
13882
+
13883
+ def initialize(trafficqospolicyset=nil, requestid=nil)
13884
+ @TrafficQosPolicySet = trafficqospolicyset
13885
+ @RequestId = requestid
13886
+ end
13887
+
13888
+ def deserialize(params)
13889
+ unless params['TrafficQosPolicySet'].nil?
13890
+ @TrafficQosPolicySet = []
13891
+ params['TrafficQosPolicySet'].each do |i|
13892
+ trafficqospolicyset_tmp = TrafficQosPolicySet.new
13893
+ trafficqospolicyset_tmp.deserialize(i)
13894
+ @TrafficQosPolicySet << trafficqospolicyset_tmp
13895
+ end
13896
+ end
13897
+ @RequestId = params['RequestId']
13898
+ end
13899
+ end
13900
+
13850
13901
  # DescribeUsedIpAddress请求参数结构体
13851
13902
  class DescribeUsedIpAddressRequest < TencentCloud::Common::AbstractModel
13852
13903
  # @param VpcId: VPC实例ID。
@@ -17317,8 +17368,8 @@ module TencentCloud
17317
17368
 
17318
17369
  attr_accessor :EncryptAlgorithm, :IntegrityAlgorith, :IPSECSaLifetimeSeconds, :PfsDhGroup, :IPSECSaLifetimeTraffic, :IntegrityAlgorithm
17319
17370
  extend Gem::Deprecate
17320
- deprecate :IntegrityAlgorith, :none, 2024, 11
17321
- deprecate :IntegrityAlgorith=, :none, 2024, 11
17371
+ deprecate :IntegrityAlgorith, :none, 2024, 12
17372
+ deprecate :IntegrityAlgorith=, :none, 2024, 12
17322
17373
 
17323
17374
  def initialize(encryptalgorithm=nil, integrityalgorith=nil, ipsecsalifetimeseconds=nil, pfsdhgroup=nil, ipsecsalifetimetraffic=nil, integrityalgorithm=nil)
17324
17375
  @EncryptAlgorithm = encryptalgorithm
@@ -25349,6 +25400,48 @@ module TencentCloud
25349
25400
  end
25350
25401
  end
25351
25402
 
25403
+ # 流量调度规则
25404
+ class TrafficQosPolicySet < TencentCloud::Common::AbstractModel
25405
+ # @param CcnId: CCN实例ID。形如:ccn-f49l6u0z。
25406
+ # 注意:此字段可能返回 null,表示取不到有效值。
25407
+ # @type CcnId: String
25408
+ # @param QosId: qos id。
25409
+ # 注意:此字段可能返回 null,表示取不到有效值。
25410
+ # @type QosId: Integer
25411
+ # @param QosPolicyDescription: 描述。
25412
+ # 注意:此字段可能返回 null,表示取不到有效值。
25413
+ # @type QosPolicyDescription: String
25414
+ # @param QosPolicyName: 名称。
25415
+ # 注意:此字段可能返回 null,表示取不到有效值。
25416
+ # @type QosPolicyName: String
25417
+ # @param Bandwidth: 带宽。
25418
+ # 注意:此字段可能返回 null,表示取不到有效值。
25419
+ # @type Bandwidth: Integer
25420
+ # @param QosPolicyId: 流量调度策略ID。
25421
+ # 注意:此字段可能返回 null,表示取不到有效值。
25422
+ # @type QosPolicyId: String
25423
+
25424
+ attr_accessor :CcnId, :QosId, :QosPolicyDescription, :QosPolicyName, :Bandwidth, :QosPolicyId
25425
+
25426
+ def initialize(ccnid=nil, qosid=nil, qospolicydescription=nil, qospolicyname=nil, bandwidth=nil, qospolicyid=nil)
25427
+ @CcnId = ccnid
25428
+ @QosId = qosid
25429
+ @QosPolicyDescription = qospolicydescription
25430
+ @QosPolicyName = qospolicyname
25431
+ @Bandwidth = bandwidth
25432
+ @QosPolicyId = qospolicyid
25433
+ end
25434
+
25435
+ def deserialize(params)
25436
+ @CcnId = params['CcnId']
25437
+ @QosId = params['QosId']
25438
+ @QosPolicyDescription = params['QosPolicyDescription']
25439
+ @QosPolicyName = params['QosPolicyName']
25440
+ @Bandwidth = params['Bandwidth']
25441
+ @QosPolicyId = params['QosPolicyId']
25442
+ end
25443
+ end
25444
+
25352
25445
  # TransformAddress请求参数结构体
25353
25446
  class TransformAddressRequest < TencentCloud::Common::AbstractModel
25354
25447
  # @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.953
4
+ version: 3.0.954
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-03 00:00:00.000000000 Z
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