tencentcloud-sdk-cynosdb 3.0.625 → 3.0.626

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: 7df440963d9b8eb176fef81acc0f17b9ce7dfca5
4
- data.tar.gz: 1846d046780c52934b6c19ab360b435b1eff9a3a
3
+ metadata.gz: 56dd955819c4fb13590bc8211b722d8efc959325
4
+ data.tar.gz: 993af91ac1e6f66bed76561e9ca676d5b00671d2
5
5
  SHA512:
6
- metadata.gz: 1569312a72f54ebfd6ad3e44167f5c3249e08fdf9959e2dc5588e34f96475375c7b0cbb74874977628660dd04e98f610834d9cc0db1d0f78065d14cc10e2bcd1
7
- data.tar.gz: 5efc4819e1fcbf8bee80e1887b00cd103666c074707549d88142bea953bfe09ed1c33a89e12bdb9111d974db86da763c72f59e4395c7d7646df22d57ec559c88
6
+ metadata.gz: 203140574deedfd30fcfe76ae6e6b268035419f8d58534f3bcc03fd64713623cadee886f2c8e0116ea14a3d848de6b981ba1f5d09d16e65d8459a9ae0191a0a7
7
+ data.tar.gz: e20f6d17773fee82aee44637730bd595879f9a3064cf9f98f4a54819eee1ad05396139ed7951c5e064e87a4793353a2e36fd6098236dc6baf1821f6709b05426
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.625
1
+ 3.0.626
@@ -2573,6 +2573,30 @@ module TencentCloud
2573
2573
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2574
2574
  end
2575
2575
 
2576
+ # 开启只读实例组接入
2577
+
2578
+ # @param request: Request instance for OpenClusterReadOnlyInstanceGroupAccess.
2579
+ # @type request: :class:`Tencentcloud::cynosdb::V20190107::OpenClusterReadOnlyInstanceGroupAccessRequest`
2580
+ # @rtype: :class:`Tencentcloud::cynosdb::V20190107::OpenClusterReadOnlyInstanceGroupAccessResponse`
2581
+ def OpenClusterReadOnlyInstanceGroupAccess(request)
2582
+ body = send_request('OpenClusterReadOnlyInstanceGroupAccess', request.serialize)
2583
+ response = JSON.parse(body)
2584
+ if response['Response'].key?('Error') == false
2585
+ model = OpenClusterReadOnlyInstanceGroupAccessResponse.new
2586
+ model.deserialize(response['Response'])
2587
+ model
2588
+ else
2589
+ code = response['Response']['Error']['Code']
2590
+ message = response['Response']['Error']['Message']
2591
+ reqid = response['Response']['RequestId']
2592
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2593
+ end
2594
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2595
+ raise e
2596
+ rescue StandardError => e
2597
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2598
+ end
2599
+
2576
2600
  # 开通只读实例独有访问接入组
2577
2601
 
2578
2602
  # @param request: Request instance for OpenReadOnlyInstanceExclusiveAccess.
@@ -8555,6 +8555,33 @@ module TencentCloud
8555
8555
  end
8556
8556
  end
8557
8557
 
8558
+ # OpenClusterReadOnlyInstanceGroupAccess请求参数结构体
8559
+ class OpenClusterReadOnlyInstanceGroupAccessRequest < TencentCloud::Common::AbstractModel
8560
+
8561
+
8562
+ def initialize()
8563
+ end
8564
+
8565
+ def deserialize(params)
8566
+ end
8567
+ end
8568
+
8569
+ # OpenClusterReadOnlyInstanceGroupAccess返回参数结构体
8570
+ class OpenClusterReadOnlyInstanceGroupAccessResponse < TencentCloud::Common::AbstractModel
8571
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
8572
+ # @type RequestId: String
8573
+
8574
+ attr_accessor :RequestId
8575
+
8576
+ def initialize(requestid=nil)
8577
+ @RequestId = requestid
8578
+ end
8579
+
8580
+ def deserialize(params)
8581
+ @RequestId = params['RequestId']
8582
+ end
8583
+ end
8584
+
8558
8585
  # OpenReadOnlyInstanceExclusiveAccess请求参数结构体
8559
8586
  class OpenReadOnlyInstanceExclusiveAccessRequest < TencentCloud::Common::AbstractModel
8560
8587
  # @param ClusterId: 集群ID
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.625
4
+ version: 3.0.626
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-08-01 00:00:00.000000000 Z
11
+ date: 2023-08-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common