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 +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20190107/client.rb +24 -0
- data/lib/v20190107/models.rb +36 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 49cb01461a79622d32b0a0ec5be70f23f7beb1d1
|
4
|
+
data.tar.gz: 9a8daaa9578c71fedf12bc96b2d1c45c5714f373
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 33f7f6f0ac018556f8bb4395b961dd9091d30e0dea435e22e472c0dcc153340f57ab32b0f63c7682494a6aaee0300b38d8f3fbfb093fcd44946991631d8a0c36
|
7
|
+
data.tar.gz: bf2d3590a395d4ed7d0049006bbda074f8294ed07594d49e7f22224a7c0a808461b66acec9f53c826796bd9c1bcb3eeee17417cb0405904a050daa81de0ec4e4
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.500
|
data/lib/v20190107/client.rb
CHANGED
@@ -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.
|
data/lib/v20190107/models.rb
CHANGED
@@ -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.
|
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-
|
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
|