tencentcloud-sdk-vpc 3.0.939 → 3.0.941

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 058eb42a36f0a35293045d4959b115fba79063e7
4
- data.tar.gz: f806a35d4c32690527b9fee77ed7d1698288dd64
3
+ metadata.gz: 032126ac192faf882d535e675c8e910961e23a44
4
+ data.tar.gz: 6254bdb2fa65628be61e7a311d2020a714e6eaa9
5
5
  SHA512:
6
- metadata.gz: 99c9e947b28da9ca6c71afc0aa301ac0cc41eba7c4afa8345f7e9c9fde8a0fde4b29ff2e721ca73c68fa989810004d601d921120116d61e66a93ea7fb6c4e222
7
- data.tar.gz: 86cb1cc0e53149a90740606c1e43bb706d122f2cc6baae40c8feb7209ac349daca0f3954179f2fca5ad69336d26e354da201bd8b2f4bd3607a4c4b7d598d9664
6
+ metadata.gz: 8a7972e4c461d6d0dffec797704ee7c4dde829b6cdba9cbc57bf3130fade57976b1b8ac476648fb36557755e074cdc75f03675f4a687b2a1b59e17d13612164e
7
+ data.tar.gz: 014d7a9a94c95ffaab5b4c7fe478eeb25411be668a8468259383edd3069f3f2d323d24e7596dc233156798b5b6c92d4aa054979e97be461267b8a0b8c138e4ba
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.939
1
+ 3.0.941
@@ -6984,6 +6984,30 @@ module TencentCloud
6984
6984
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
6985
6985
  end
6986
6986
 
6987
+ # 接口用于调整[共享带宽包](https://cloud.tencent.com/document/product/684/15245)(BWP)带宽
6988
+
6989
+ # @param request: Request instance for ModifyBandwidthPackageBandwidth.
6990
+ # @type request: :class:`Tencentcloud::vpc::V20170312::ModifyBandwidthPackageBandwidthRequest`
6991
+ # @rtype: :class:`Tencentcloud::vpc::V20170312::ModifyBandwidthPackageBandwidthResponse`
6992
+ def ModifyBandwidthPackageBandwidth(request)
6993
+ body = send_request('ModifyBandwidthPackageBandwidth', request.serialize)
6994
+ response = JSON.parse(body)
6995
+ if response['Response'].key?('Error') == false
6996
+ model = ModifyBandwidthPackageBandwidthResponse.new
6997
+ model.deserialize(response['Response'])
6998
+ model
6999
+ else
7000
+ code = response['Response']['Error']['Code']
7001
+ message = response['Response']['Error']['Message']
7002
+ reqid = response['Response']['RequestId']
7003
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
7004
+ end
7005
+ rescue TencentCloud::Common::TencentCloudSDKException => e
7006
+ raise e
7007
+ rescue StandardError => e
7008
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
7009
+ end
7010
+
6987
7011
  # 修改CCN关联实例属性,目前仅修改备注description
6988
7012
 
6989
7013
  # @param request: Request instance for ModifyCcnAttachedInstancesAttribute.
@@ -18333,6 +18333,42 @@ module TencentCloud
18333
18333
  end
18334
18334
  end
18335
18335
 
18336
+ # ModifyBandwidthPackageBandwidth请求参数结构体
18337
+ class ModifyBandwidthPackageBandwidthRequest < TencentCloud::Common::AbstractModel
18338
+ # @param InternetMaxBandwidth: 带宽包限速大小。单位:Mbps。
18339
+ # @type InternetMaxBandwidth: Integer
18340
+ # @param BandwidthPackageId: 共享带宽包ID
18341
+ # @type BandwidthPackageId: String
18342
+
18343
+ attr_accessor :InternetMaxBandwidth, :BandwidthPackageId
18344
+
18345
+ def initialize(internetmaxbandwidth=nil, bandwidthpackageid=nil)
18346
+ @InternetMaxBandwidth = internetmaxbandwidth
18347
+ @BandwidthPackageId = bandwidthpackageid
18348
+ end
18349
+
18350
+ def deserialize(params)
18351
+ @InternetMaxBandwidth = params['InternetMaxBandwidth']
18352
+ @BandwidthPackageId = params['BandwidthPackageId']
18353
+ end
18354
+ end
18355
+
18356
+ # ModifyBandwidthPackageBandwidth返回参数结构体
18357
+ class ModifyBandwidthPackageBandwidthResponse < TencentCloud::Common::AbstractModel
18358
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
18359
+ # @type RequestId: String
18360
+
18361
+ attr_accessor :RequestId
18362
+
18363
+ def initialize(requestid=nil)
18364
+ @RequestId = requestid
18365
+ end
18366
+
18367
+ def deserialize(params)
18368
+ @RequestId = params['RequestId']
18369
+ end
18370
+ end
18371
+
18336
18372
  # ModifyCcnAttachedInstancesAttribute请求参数结构体
18337
18373
  class ModifyCcnAttachedInstancesAttributeRequest < TencentCloud::Common::AbstractModel
18338
18374
  # @param CcnId: CCN实例ID。形如:ccn-f49l6u0z。
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.939
4
+ version: 3.0.941
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-11-08 00:00:00.000000000 Z
11
+ date: 2024-11-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common