tencentcloud-sdk-cynosdb 3.0.897 → 3.0.899
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 +78 -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: f4d23b11282a99aa1356a29ee5451e824b2f9e97
|
4
|
+
data.tar.gz: f3e391c625f39a3d2832a21e8dee772e4d0b0e79
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8190e461916a3049c3a2c669a9ac4f47f7b60f3ae1be93a090a01ec2e8bddaeab688e44353a22e690d43da85e4028fdc6c6f5e890b38363018dd38f4dd1bb582
|
7
|
+
data.tar.gz: 0941792dd18547be0133c5b9c733f73f8fe0636fd092ed74df580f907911deb4c62e989a230cda63fa77f68c69b6cd71fd826e2caeb7495a0f847428e8e30717
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.899
|
data/lib/v20190107/client.rb
CHANGED
@@ -1517,6 +1517,30 @@ module TencentCloud
|
|
1517
1517
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1518
1518
|
end
|
1519
1519
|
|
1520
|
+
# 本接口(DescribeIsolatedInstances)用于查询回收站实例列表。
|
1521
|
+
|
1522
|
+
# @param request: Request instance for DescribeIsolatedInstances.
|
1523
|
+
# @type request: :class:`Tencentcloud::cynosdb::V20190107::DescribeIsolatedInstancesRequest`
|
1524
|
+
# @rtype: :class:`Tencentcloud::cynosdb::V20190107::DescribeIsolatedInstancesResponse`
|
1525
|
+
def DescribeIsolatedInstances(request)
|
1526
|
+
body = send_request('DescribeIsolatedInstances', request.serialize)
|
1527
|
+
response = JSON.parse(body)
|
1528
|
+
if response['Response'].key?('Error') == false
|
1529
|
+
model = DescribeIsolatedInstancesResponse.new
|
1530
|
+
model.deserialize(response['Response'])
|
1531
|
+
model
|
1532
|
+
else
|
1533
|
+
code = response['Response']['Error']['Code']
|
1534
|
+
message = response['Response']['Error']['Message']
|
1535
|
+
reqid = response['Response']['RequestId']
|
1536
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1537
|
+
end
|
1538
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1539
|
+
raise e
|
1540
|
+
rescue StandardError => e
|
1541
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1542
|
+
end
|
1543
|
+
|
1520
1544
|
# 查询实例维护时间窗
|
1521
1545
|
|
1522
1546
|
# @param request: Request instance for DescribeMaintainPeriod.
|
data/lib/v20190107/models.rb
CHANGED
@@ -6397,6 +6397,84 @@ module TencentCloud
|
|
6397
6397
|
end
|
6398
6398
|
end
|
6399
6399
|
|
6400
|
+
# DescribeIsolatedInstances请求参数结构体
|
6401
|
+
class DescribeIsolatedInstancesRequest < TencentCloud::Common::AbstractModel
|
6402
|
+
# @param Limit: 返回数量,默认为 20,最大值为 100
|
6403
|
+
# @type Limit: Integer
|
6404
|
+
# @param Offset: 记录偏移量,默认值为0
|
6405
|
+
# @type Offset: Integer
|
6406
|
+
# @param OrderBy: 排序字段,取值范围:
|
6407
|
+
# <li> CREATETIME:创建时间</li>
|
6408
|
+
# <li> PERIODENDTIME:过期时间</li>
|
6409
|
+
# @type OrderBy: String
|
6410
|
+
# @param OrderByType: 排序类型,取值范围:
|
6411
|
+
# <li> ASC:升序排序 </li>
|
6412
|
+
# <li> DESC:降序排序 </li>
|
6413
|
+
# @type OrderByType: String
|
6414
|
+
# @param Filters: 搜索条件,若存在多个Filter时,Filter间的关系为逻辑与(AND)关系。
|
6415
|
+
# @type Filters: Array
|
6416
|
+
# @param DbType: 引擎类型:目前支持“MYSQL”, “POSTGRESQL”
|
6417
|
+
# @type DbType: String
|
6418
|
+
|
6419
|
+
attr_accessor :Limit, :Offset, :OrderBy, :OrderByType, :Filters, :DbType
|
6420
|
+
|
6421
|
+
def initialize(limit=nil, offset=nil, orderby=nil, orderbytype=nil, filters=nil, dbtype=nil)
|
6422
|
+
@Limit = limit
|
6423
|
+
@Offset = offset
|
6424
|
+
@OrderBy = orderby
|
6425
|
+
@OrderByType = orderbytype
|
6426
|
+
@Filters = filters
|
6427
|
+
@DbType = dbtype
|
6428
|
+
end
|
6429
|
+
|
6430
|
+
def deserialize(params)
|
6431
|
+
@Limit = params['Limit']
|
6432
|
+
@Offset = params['Offset']
|
6433
|
+
@OrderBy = params['OrderBy']
|
6434
|
+
@OrderByType = params['OrderByType']
|
6435
|
+
unless params['Filters'].nil?
|
6436
|
+
@Filters = []
|
6437
|
+
params['Filters'].each do |i|
|
6438
|
+
queryfilter_tmp = QueryFilter.new
|
6439
|
+
queryfilter_tmp.deserialize(i)
|
6440
|
+
@Filters << queryfilter_tmp
|
6441
|
+
end
|
6442
|
+
end
|
6443
|
+
@DbType = params['DbType']
|
6444
|
+
end
|
6445
|
+
end
|
6446
|
+
|
6447
|
+
# DescribeIsolatedInstances返回参数结构体
|
6448
|
+
class DescribeIsolatedInstancesResponse < TencentCloud::Common::AbstractModel
|
6449
|
+
# @param TotalCount: 实例个数
|
6450
|
+
# @type TotalCount: Integer
|
6451
|
+
# @param InstanceSet: 实例列表
|
6452
|
+
# @type InstanceSet: Array
|
6453
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
6454
|
+
# @type RequestId: String
|
6455
|
+
|
6456
|
+
attr_accessor :TotalCount, :InstanceSet, :RequestId
|
6457
|
+
|
6458
|
+
def initialize(totalcount=nil, instanceset=nil, requestid=nil)
|
6459
|
+
@TotalCount = totalcount
|
6460
|
+
@InstanceSet = instanceset
|
6461
|
+
@RequestId = requestid
|
6462
|
+
end
|
6463
|
+
|
6464
|
+
def deserialize(params)
|
6465
|
+
@TotalCount = params['TotalCount']
|
6466
|
+
unless params['InstanceSet'].nil?
|
6467
|
+
@InstanceSet = []
|
6468
|
+
params['InstanceSet'].each do |i|
|
6469
|
+
cynosdbinstance_tmp = CynosdbInstance.new
|
6470
|
+
cynosdbinstance_tmp.deserialize(i)
|
6471
|
+
@InstanceSet << cynosdbinstance_tmp
|
6472
|
+
end
|
6473
|
+
end
|
6474
|
+
@RequestId = params['RequestId']
|
6475
|
+
end
|
6476
|
+
end
|
6477
|
+
|
6400
6478
|
# DescribeMaintainPeriod请求参数结构体
|
6401
6479
|
class DescribeMaintainPeriodRequest < TencentCloud::Common::AbstractModel
|
6402
6480
|
# @param InstanceId: 实例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.899
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-09-
|
11
|
+
date: 2024-09-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|