tencentcloud-sdk-cynosdb 3.0.499 → 3.0.500

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: 3355e736bfdb6619efad948e6317c17d5ee5a3d9
4
- data.tar.gz: 1fb439ffbbf9f4189450147087d97b53d7161a97
3
+ metadata.gz: 49cb01461a79622d32b0a0ec5be70f23f7beb1d1
4
+ data.tar.gz: 9a8daaa9578c71fedf12bc96b2d1c45c5714f373
5
5
  SHA512:
6
- metadata.gz: 8d36ad78f2716a2934809918f21282e03d96de5eabc8af82d402e4b0ee1a0b2da69c17804e65b0691360b1267013d934c23fed609e311a4e77fd025df8dc852d
7
- data.tar.gz: 78085bd9034928acb43001b26f585d0fbad35f6d85be2fffb8d757ea173aa6f03c1c711bfccd732fc93a801274cb4672e77bedd17cc7c44c9c44c4c68209b326
6
+ metadata.gz: 33f7f6f0ac018556f8bb4395b961dd9091d30e0dea435e22e472c0dcc153340f57ab32b0f63c7682494a6aaee0300b38d8f3fbfb093fcd44946991631d8a0c36
7
+ data.tar.gz: bf2d3590a395d4ed7d0049006bbda074f8294ed07594d49e7f22224a7c0a808461b66acec9f53c826796bd9c1bcb3eeee17417cb0405904a050daa81de0ec4e4
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.499
1
+ 3.0.500
@@ -1613,6 +1613,30 @@ module TencentCloud
1613
1613
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1614
1614
  end
1615
1615
 
1616
+ # 重启实例
1617
+
1618
+ # @param request: Request instance for RestartInstance.
1619
+ # @type request: :class:`Tencentcloud::cynosdb::V20190107::RestartInstanceRequest`
1620
+ # @rtype: :class:`Tencentcloud::cynosdb::V20190107::RestartInstanceResponse`
1621
+ def RestartInstance(request)
1622
+ body = send_request('RestartInstance', request.serialize)
1623
+ response = JSON.parse(body)
1624
+ if response['Response'].key?('Error') == false
1625
+ model = RestartInstanceResponse.new
1626
+ model.deserialize(response['Response'])
1627
+ model
1628
+ else
1629
+ code = response['Response']['Error']['Code']
1630
+ message = response['Response']['Error']['Message']
1631
+ reqid = response['Response']['RequestId']
1632
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1633
+ end
1634
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1635
+ raise e
1636
+ rescue StandardError => e
1637
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1638
+ end
1639
+
1616
1640
  # 恢复serverless集群
1617
1641
 
1618
1642
  # @param request: Request instance for ResumeServerless.
@@ -5914,6 +5914,42 @@ module TencentCloud
5914
5914
  end
5915
5915
  end
5916
5916
 
5917
+ # RestartInstance请求参数结构体
5918
+ class RestartInstanceRequest < TencentCloud::Common::AbstractModel
5919
+ # @param InstanceId: 实例id
5920
+ # @type InstanceId: String
5921
+
5922
+ attr_accessor :InstanceId
5923
+
5924
+ def initialize(instanceid=nil)
5925
+ @InstanceId = instanceid
5926
+ end
5927
+
5928
+ def deserialize(params)
5929
+ @InstanceId = params['InstanceId']
5930
+ end
5931
+ end
5932
+
5933
+ # RestartInstance返回参数结构体
5934
+ class RestartInstanceResponse < TencentCloud::Common::AbstractModel
5935
+ # @param FlowId: 异步任务id
5936
+ # @type FlowId: Integer
5937
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5938
+ # @type RequestId: String
5939
+
5940
+ attr_accessor :FlowId, :RequestId
5941
+
5942
+ def initialize(flowid=nil, requestid=nil)
5943
+ @FlowId = flowid
5944
+ @RequestId = requestid
5945
+ end
5946
+
5947
+ def deserialize(params)
5948
+ @FlowId = params['FlowId']
5949
+ @RequestId = params['RequestId']
5950
+ end
5951
+ end
5952
+
5917
5953
  # ResumeServerless请求参数结构体
5918
5954
  class ResumeServerlessRequest < TencentCloud::Common::AbstractModel
5919
5955
  # @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.499
4
+ version: 3.0.500
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-02-01 00:00:00.000000000 Z
11
+ date: 2023-02-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common