tencentcloud-sdk-cynosdb 3.0.440 → 3.0.441
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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: 6ab1d28de9fc2f38c594c0079510613d0f0a3b81
|
4
|
+
data.tar.gz: ad07c3be32bb2a955cc4642503e6848baac39507
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ed62c55e23070b8a128fe68f149250fe89e0ac480cf992e50c90e3bf4aa91f8078628b2ff0214ac1d9be79f4ab7b6c0ae0baf9f274cc66dba2057f9b33dabcc8
|
7
|
+
data.tar.gz: 91a8920c47df00960ee6bee41866cd4d4feecd4d1cff3cbe2d46091f727b4dedb3d31be93038717b59d416c2c0a52ba9cf08df5b9ec21c864d67817b4227fe16
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.441
|
data/lib/v20190107/client.rb
CHANGED
@@ -245,6 +245,30 @@ module TencentCloud
|
|
245
245
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
246
246
|
end
|
247
247
|
|
248
|
+
# 为集群删除手动备份,无法删除自动备份
|
249
|
+
|
250
|
+
# @param request: Request instance for DeleteBackup.
|
251
|
+
# @type request: :class:`Tencentcloud::cynosdb::V20190107::DeleteBackupRequest`
|
252
|
+
# @rtype: :class:`Tencentcloud::cynosdb::V20190107::DeleteBackupResponse`
|
253
|
+
def DeleteBackup(request)
|
254
|
+
body = send_request('DeleteBackup', request.serialize)
|
255
|
+
response = JSON.parse(body)
|
256
|
+
if response['Response'].key?('Error') == false
|
257
|
+
model = DeleteBackupResponse.new
|
258
|
+
model.deserialize(response['Response'])
|
259
|
+
model
|
260
|
+
else
|
261
|
+
code = response['Response']['Error']['Code']
|
262
|
+
message = response['Response']['Error']['Message']
|
263
|
+
reqid = response['Response']['RequestId']
|
264
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
265
|
+
end
|
266
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
267
|
+
raise e
|
268
|
+
rescue StandardError => e
|
269
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
270
|
+
end
|
271
|
+
|
248
272
|
# 账号所有权限
|
249
273
|
|
250
274
|
# @param request: Request instance for DescribeAccountAllGrantPrivileges.
|
data/lib/v20190107/models.rb
CHANGED
@@ -1910,6 +1910,42 @@ module TencentCloud
|
|
1910
1910
|
end
|
1911
1911
|
end
|
1912
1912
|
|
1913
|
+
# DeleteBackup请求参数结构体
|
1914
|
+
class DeleteBackupRequest < TencentCloud::Common::AbstractModel
|
1915
|
+
# @param ClusterId: 集群ID
|
1916
|
+
# @type ClusterId: String
|
1917
|
+
# @param SnapshotIdList: 备份文件ID
|
1918
|
+
# @type SnapshotIdList: Array
|
1919
|
+
|
1920
|
+
attr_accessor :ClusterId, :SnapshotIdList
|
1921
|
+
|
1922
|
+
def initialize(clusterid=nil, snapshotidlist=nil)
|
1923
|
+
@ClusterId = clusterid
|
1924
|
+
@SnapshotIdList = snapshotidlist
|
1925
|
+
end
|
1926
|
+
|
1927
|
+
def deserialize(params)
|
1928
|
+
@ClusterId = params['ClusterId']
|
1929
|
+
@SnapshotIdList = params['SnapshotIdList']
|
1930
|
+
end
|
1931
|
+
end
|
1932
|
+
|
1933
|
+
# DeleteBackup返回参数结构体
|
1934
|
+
class DeleteBackupResponse < TencentCloud::Common::AbstractModel
|
1935
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1936
|
+
# @type RequestId: String
|
1937
|
+
|
1938
|
+
attr_accessor :RequestId
|
1939
|
+
|
1940
|
+
def initialize(requestid=nil)
|
1941
|
+
@RequestId = requestid
|
1942
|
+
end
|
1943
|
+
|
1944
|
+
def deserialize(params)
|
1945
|
+
@RequestId = params['RequestId']
|
1946
|
+
end
|
1947
|
+
end
|
1948
|
+
|
1913
1949
|
# DescribeAccountAllGrantPrivileges请求参数结构体
|
1914
1950
|
class DescribeAccountAllGrantPrivilegesRequest < TencentCloud::Common::AbstractModel
|
1915
1951
|
# @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.441
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-11-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|