tencentcloud-sdk-vpc 3.0.1002 → 3.0.1003

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: a742af1e657aa29924ad88716fd35a890a084d0f
4
- data.tar.gz: 1f2d90b293b89ff555a3755e8d37536596d81a54
3
+ metadata.gz: ae775c026bcd1a1483f2f33238c5a4a8af3fac0f
4
+ data.tar.gz: b44daa067decdf6301b3e221e094d7ef7457eb96
5
5
  SHA512:
6
- metadata.gz: 852167f36fb1e736be241aa134203fd42b9659fd0a109b8e72547eb603301cb0e62f93baf67f9188eaeabf1c69bbdd2878f1fbc5d3483d2f5f909f1958672032
7
- data.tar.gz: db813869b0eae4149b99d271196ceac6793bfa602ac64f81e3083f4ee6475fdfe597acd2e48c638c144c2b3feb81476cb69b8ea24fe19b2aa10b36c0c36b6946
6
+ metadata.gz: 59118322733749977746b12772287f8591d44496a8b6bd128d7203535f48a10593b000fa2daff2b05913618f6d369a9c861b013fc6f627fa29166588b8671a66
7
+ data.tar.gz: 598a1fe245b7720b4e1926bd88903bfaa1177edde1d0d5ee35833c529d8276185507dac7ccadd56cc4b249090f3b82fc03931b211e74ba9c78d7495b4e7aa0a9
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1002
1
+ 3.0.1003
@@ -3582,6 +3582,30 @@ module TencentCloud
3582
3582
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
3583
3583
  end
3584
3584
 
3585
+ # 查询指定EIP的带宽上下限范围。
3586
+
3587
+ # @param request: Request instance for DescribeAddressBandwidthRange.
3588
+ # @type request: :class:`Tencentcloud::vpc::V20170312::DescribeAddressBandwidthRangeRequest`
3589
+ # @rtype: :class:`Tencentcloud::vpc::V20170312::DescribeAddressBandwidthRangeResponse`
3590
+ def DescribeAddressBandwidthRange(request)
3591
+ body = send_request('DescribeAddressBandwidthRange', request.serialize)
3592
+ response = JSON.parse(body)
3593
+ if response['Response'].key?('Error') == false
3594
+ model = DescribeAddressBandwidthRangeResponse.new
3595
+ model.deserialize(response['Response'])
3596
+ model
3597
+ else
3598
+ code = response['Response']['Error']['Code']
3599
+ message = response['Response']['Error']['Message']
3600
+ reqid = response['Response']['RequestId']
3601
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
3602
+ end
3603
+ rescue TencentCloud::Common::TencentCloudSDKException => e
3604
+ raise e
3605
+ rescue StandardError => e
3606
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
3607
+ end
3608
+
3585
3609
  # 本接口 (DescribeAddressQuota) 用于查询您账户的[弹性公网IP](https://cloud.tencent.com/document/product/213/1941)(简称 EIP)在当前地域的配额信息。配额详情可参见 [EIP 产品简介](https://cloud.tencent.com/document/product/213/5733)。
3586
3610
 
3587
3611
  # @param request: Request instance for DescribeAddressQuota.
@@ -3703,6 +3727,30 @@ module TencentCloud
3703
3727
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
3704
3728
  end
3705
3729
 
3730
+ # 查询指定带宽包的带宽上下限范围
3731
+
3732
+ # @param request: Request instance for DescribeBandwidthPackageBandwidthRange.
3733
+ # @type request: :class:`Tencentcloud::vpc::V20170312::DescribeBandwidthPackageBandwidthRangeRequest`
3734
+ # @rtype: :class:`Tencentcloud::vpc::V20170312::DescribeBandwidthPackageBandwidthRangeResponse`
3735
+ def DescribeBandwidthPackageBandwidthRange(request)
3736
+ body = send_request('DescribeBandwidthPackageBandwidthRange', request.serialize)
3737
+ response = JSON.parse(body)
3738
+ if response['Response'].key?('Error') == false
3739
+ model = DescribeBandwidthPackageBandwidthRangeResponse.new
3740
+ model.deserialize(response['Response'])
3741
+ model
3742
+ else
3743
+ code = response['Response']['Error']['Code']
3744
+ message = response['Response']['Error']['Message']
3745
+ reqid = response['Response']['RequestId']
3746
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
3747
+ end
3748
+ rescue TencentCloud::Common::TencentCloudSDKException => e
3749
+ raise e
3750
+ rescue StandardError => e
3751
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
3752
+ end
3753
+
3706
3754
  # 本接口 (DescribeBandwidthPackageBillUsage) 用于查询后付费共享带宽包当前的计费用量.
3707
3755
 
3708
3756
  # @param request: Request instance for DescribeBandwidthPackageBillUsage.
@@ -1932,6 +1932,30 @@ module TencentCloud
1932
1932
  end
1933
1933
  end
1934
1934
 
1935
+ # 带宽上下限。
1936
+ class BandwidthRange < TencentCloud::Common::AbstractModel
1937
+ # @param ResourceId: 资源ID。
1938
+ # @type ResourceId: String
1939
+ # @param BandwidthLowerLimit: 带宽下限,单位:Mbps。
1940
+ # @type BandwidthLowerLimit: Integer
1941
+ # @param BandwidthUpperLimit: 带宽上限,单位:Mbps。
1942
+ # @type BandwidthUpperLimit: Integer
1943
+
1944
+ attr_accessor :ResourceId, :BandwidthLowerLimit, :BandwidthUpperLimit
1945
+
1946
+ def initialize(resourceid=nil, bandwidthlowerlimit=nil, bandwidthupperlimit=nil)
1947
+ @ResourceId = resourceid
1948
+ @BandwidthLowerLimit = bandwidthlowerlimit
1949
+ @BandwidthUpperLimit = bandwidthupperlimit
1950
+ end
1951
+
1952
+ def deserialize(params)
1953
+ @ResourceId = params['ResourceId']
1954
+ @BandwidthLowerLimit = params['BandwidthLowerLimit']
1955
+ @BandwidthUpperLimit = params['BandwidthUpperLimit']
1956
+ end
1957
+ end
1958
+
1935
1959
  # 批量修改快照策略信息
1936
1960
  class BatchModifySnapshotPolicy < TencentCloud::Common::AbstractModel
1937
1961
  # @param SnapshotPolicyId: 快照策略Id。
@@ -9032,6 +9056,49 @@ module TencentCloud
9032
9056
  end
9033
9057
  end
9034
9058
 
9059
+ # DescribeAddressBandwidthRange请求参数结构体
9060
+ class DescribeAddressBandwidthRangeRequest < TencentCloud::Common::AbstractModel
9061
+ # @param AddressIds: EIP资源ID列表,单次查询上限20。
9062
+ # @type AddressIds: Array
9063
+
9064
+ attr_accessor :AddressIds
9065
+
9066
+ def initialize(addressids=nil)
9067
+ @AddressIds = addressids
9068
+ end
9069
+
9070
+ def deserialize(params)
9071
+ @AddressIds = params['AddressIds']
9072
+ end
9073
+ end
9074
+
9075
+ # DescribeAddressBandwidthRange返回参数结构体
9076
+ class DescribeAddressBandwidthRangeResponse < TencentCloud::Common::AbstractModel
9077
+ # @param BandwidthRangeSet: EIP带宽上下限详细信息。
9078
+ # @type BandwidthRangeSet: Array
9079
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
9080
+ # @type RequestId: String
9081
+
9082
+ attr_accessor :BandwidthRangeSet, :RequestId
9083
+
9084
+ def initialize(bandwidthrangeset=nil, requestid=nil)
9085
+ @BandwidthRangeSet = bandwidthrangeset
9086
+ @RequestId = requestid
9087
+ end
9088
+
9089
+ def deserialize(params)
9090
+ unless params['BandwidthRangeSet'].nil?
9091
+ @BandwidthRangeSet = []
9092
+ params['BandwidthRangeSet'].each do |i|
9093
+ bandwidthrange_tmp = BandwidthRange.new
9094
+ bandwidthrange_tmp.deserialize(i)
9095
+ @BandwidthRangeSet << bandwidthrange_tmp
9096
+ end
9097
+ end
9098
+ @RequestId = params['RequestId']
9099
+ end
9100
+ end
9101
+
9035
9102
  # DescribeAddressQuota请求参数结构体
9036
9103
  class DescribeAddressQuotaRequest < TencentCloud::Common::AbstractModel
9037
9104
 
@@ -9386,6 +9453,49 @@ module TencentCloud
9386
9453
  end
9387
9454
  end
9388
9455
 
9456
+ # DescribeBandwidthPackageBandwidthRange请求参数结构体
9457
+ class DescribeBandwidthPackageBandwidthRangeRequest < TencentCloud::Common::AbstractModel
9458
+ # @param BandwidthPackageIds: 带宽包资源ID列表,单次查询上限20。
9459
+ # @type BandwidthPackageIds: Array
9460
+
9461
+ attr_accessor :BandwidthPackageIds
9462
+
9463
+ def initialize(bandwidthpackageids=nil)
9464
+ @BandwidthPackageIds = bandwidthpackageids
9465
+ end
9466
+
9467
+ def deserialize(params)
9468
+ @BandwidthPackageIds = params['BandwidthPackageIds']
9469
+ end
9470
+ end
9471
+
9472
+ # DescribeBandwidthPackageBandwidthRange返回参数结构体
9473
+ class DescribeBandwidthPackageBandwidthRangeResponse < TencentCloud::Common::AbstractModel
9474
+ # @param BandwidthRangeSet: 带宽包带宽上下限详细信息。
9475
+ # @type BandwidthRangeSet: Array
9476
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
9477
+ # @type RequestId: String
9478
+
9479
+ attr_accessor :BandwidthRangeSet, :RequestId
9480
+
9481
+ def initialize(bandwidthrangeset=nil, requestid=nil)
9482
+ @BandwidthRangeSet = bandwidthrangeset
9483
+ @RequestId = requestid
9484
+ end
9485
+
9486
+ def deserialize(params)
9487
+ unless params['BandwidthRangeSet'].nil?
9488
+ @BandwidthRangeSet = []
9489
+ params['BandwidthRangeSet'].each do |i|
9490
+ bandwidthrange_tmp = BandwidthRange.new
9491
+ bandwidthrange_tmp.deserialize(i)
9492
+ @BandwidthRangeSet << bandwidthrange_tmp
9493
+ end
9494
+ end
9495
+ @RequestId = params['RequestId']
9496
+ end
9497
+ end
9498
+
9389
9499
  # DescribeBandwidthPackageBillUsage请求参数结构体
9390
9500
  class DescribeBandwidthPackageBillUsageRequest < TencentCloud::Common::AbstractModel
9391
9501
  # @param BandwidthPackageId: 后付费共享带宽包的唯一ID
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-vpc
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.1002
4
+ version: 3.0.1003
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud