tencentcloud-sdk-vpc 3.0.938 → 3.0.940

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: 855b11fa92aaec00315194246410c5b31987e9e0
4
- data.tar.gz: 76f672cedca0e9050977294e9289fac1e51af12d
3
+ metadata.gz: a76440fc09ed8268070eba4a60e56fea607ff8ce
4
+ data.tar.gz: d7ee5587704ef219eff9195a51d46d03b44f2265
5
5
  SHA512:
6
- metadata.gz: e669a48a3a1736b7261b2e957a2278f21b1c4db0bf79deaec0c74b5c4e8c795e11c9e4fdf0cf4e73a42cdd7440389e54c3de1d373e94d627bec5db0dc1279b72
7
- data.tar.gz: 670b9cc221285cb5c110b1a15eb81e868c27101bd426b43655a06e1fd2b55851d5a2bacabce2e4852b410e32c126487f0594cb73b5472707333417b267c681e5
6
+ metadata.gz: 5b0fdcef1fbd80ae7fe2f3dfb157fe8f0f91a233848d63b8f08cb91d89d52dc95d9ef9941361550e95ba7daf2d920d8fab5e21cf977600305eba88019bd0a47c
7
+ data.tar.gz: 6a620b0bae38e0f967bce5449aab46ab33399ee0d13e7bb1607f8c77770604e54adf7cf78ca54e08975120d3f7d8147568fbe4cdc5ae64d15e53800b889561c6
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.938
1
+ 3.0.940
@@ -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.938
4
+ version: 3.0.940
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-07 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