tencentcloud-sdk-cynosdb 3.0.597 → 3.0.598

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: 8897b7623c11c304d040944a905e8ec6f033728e
4
- data.tar.gz: d02b8548fb3fdc916e2c0416bc0b2315eb68b447
3
+ metadata.gz: c5c3c30f042cd10bbb079b6d146b889e765cca28
4
+ data.tar.gz: 26ea6157d7b9169244541aaba38298ae76692dff
5
5
  SHA512:
6
- metadata.gz: a2c6e6c172d152f9d3d8076075ca4a13a34ffa504bd0d93537234c6bd26cc7625160072d1fc4010cbed15300eeb4ea25fb907e9985e8ba28d3d1cf26ecdbd57d
7
- data.tar.gz: dfc05aa9e33a7889997af143b4950227e4803d8dd6219fb13a0a6320bbd9f60edd4ab30823cc54277ac6e930c9ce7cc7ef5f5db9171059abac92ad4ba2676eae
6
+ metadata.gz: 09d5aa45f580b765de4cd04dd51ff4cc78e61da8d37b45689ef9f754279ff149adbbecc44310d5dba7871fe0b8e8dc28aa9ab362cc6179482293a9ec3e9ec6a3
7
+ data.tar.gz: c0904b4c003a32dc19983196c4f99248e23a45a5cc63bb45de62e9e758bd800fcfe746bb96ecc4bd577255573127d091631dbffff86c35b9e3090e82465ace37
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.597
1
+ 3.0.598
@@ -1469,6 +1469,30 @@ module TencentCloud
1469
1469
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1470
1470
  end
1471
1471
 
1472
+ # 查询数据库代理规格
1473
+
1474
+ # @param request: Request instance for DescribeProxySpecs.
1475
+ # @type request: :class:`Tencentcloud::cynosdb::V20190107::DescribeProxySpecsRequest`
1476
+ # @rtype: :class:`Tencentcloud::cynosdb::V20190107::DescribeProxySpecsResponse`
1477
+ def DescribeProxySpecs(request)
1478
+ body = send_request('DescribeProxySpecs', request.serialize)
1479
+ response = JSON.parse(body)
1480
+ if response['Response'].key?('Error') == false
1481
+ model = DescribeProxySpecsResponse.new
1482
+ model.deserialize(response['Response'])
1483
+ model
1484
+ else
1485
+ code = response['Response']['Error']['Code']
1486
+ message = response['Response']['Error']['Message']
1487
+ reqid = response['Response']['RequestId']
1488
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1489
+ end
1490
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1491
+ raise e
1492
+ rescue StandardError => e
1493
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1494
+ end
1495
+
1472
1496
  # 查询资源包使用详情
1473
1497
 
1474
1498
  # @param request: Request instance for DescribeResourcePackageDetail.
@@ -5482,6 +5482,44 @@ module TencentCloud
5482
5482
  end
5483
5483
  end
5484
5484
 
5485
+ # DescribeProxySpecs请求参数结构体
5486
+ class DescribeProxySpecsRequest < TencentCloud::Common::AbstractModel
5487
+
5488
+
5489
+ def initialize()
5490
+ end
5491
+
5492
+ def deserialize(params)
5493
+ end
5494
+ end
5495
+
5496
+ # DescribeProxySpecs返回参数结构体
5497
+ class DescribeProxySpecsResponse < TencentCloud::Common::AbstractModel
5498
+ # @param ProxySpecs: 数据库代理规格列表
5499
+ # @type ProxySpecs: Array
5500
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5501
+ # @type RequestId: String
5502
+
5503
+ attr_accessor :ProxySpecs, :RequestId
5504
+
5505
+ def initialize(proxyspecs=nil, requestid=nil)
5506
+ @ProxySpecs = proxyspecs
5507
+ @RequestId = requestid
5508
+ end
5509
+
5510
+ def deserialize(params)
5511
+ unless params['ProxySpecs'].nil?
5512
+ @ProxySpecs = []
5513
+ params['ProxySpecs'].each do |i|
5514
+ proxyspec_tmp = ProxySpec.new
5515
+ proxyspec_tmp.deserialize(i)
5516
+ @ProxySpecs << proxyspec_tmp
5517
+ end
5518
+ end
5519
+ @RequestId = params['RequestId']
5520
+ end
5521
+ end
5522
+
5485
5523
  # DescribeResourcePackageDetail请求参数结构体
5486
5524
  class DescribeResourcePackageDetailRequest < TencentCloud::Common::AbstractModel
5487
5525
  # @param PackageId: 资源包唯一ID
@@ -9227,6 +9265,26 @@ module TencentCloud
9227
9265
  end
9228
9266
  end
9229
9267
 
9268
+ # 数据库代理规格
9269
+ class ProxySpec < TencentCloud::Common::AbstractModel
9270
+ # @param Cpu: 数据库代理cpu核数
9271
+ # @type Cpu: Integer
9272
+ # @param Mem: 数据库代理内存
9273
+ # @type Mem: Integer
9274
+
9275
+ attr_accessor :Cpu, :Mem
9276
+
9277
+ def initialize(cpu=nil, mem=nil)
9278
+ @Cpu = cpu
9279
+ @Mem = mem
9280
+ end
9281
+
9282
+ def deserialize(params)
9283
+ @Cpu = params['Cpu']
9284
+ @Mem = params['Mem']
9285
+ end
9286
+ end
9287
+
9230
9288
  # proxy节点可用区内个数
9231
9289
  class ProxyZone < TencentCloud::Common::AbstractModel
9232
9290
  # @param ProxyNodeZone: proxy节点可用区
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-cynosdb
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.597
4
+ version: 3.0.598
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-06-21 00:00:00.000000000 Z
11
+ date: 2023-06-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common