tencentcloud-sdk-cynosdb 3.0.898 → 3.0.900

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: a5824a3c1ffc348219dfe55c2d741bf1451a7d50
4
- data.tar.gz: 9dca9eccce36cf0d71ba2d93a18a8078eddde47d
3
+ metadata.gz: 8bb8fd7486e9c279dc9f21816999a723214ac3d8
4
+ data.tar.gz: 0387fd52dae947c78b509a35fca97eb1b4789a33
5
5
  SHA512:
6
- metadata.gz: 73346b24a54be27b4222b8710067c81cc7976c8f0b81cac2bc5ca52e8fd9f028971c5974350a9e11ea2bc3782909b5c0ae4510634ef4dffcde9fb6f5e96d7934
7
- data.tar.gz: ac34ef4c6b4f8bbeca8fc4955ab08af4f8335f55a6c74465e85191287f221bc24b2c3d814eca0678ecf54f48ebabb8623ff898988c410d5e77b51e0aa9de5de4
6
+ metadata.gz: b9e4cc74ad403aed9449991c16490df507c72f01b6fd74a1011da7f2dffb95f9fdbc697e20f518e94698ebeaeb2bf076ac9cee26a176d66650b9d60a8e38fa8b
7
+ data.tar.gz: 573e8e14011281b866d244f8930b9f462ec7c881bb24055e86ef8d3abe3a22297a6fbf3c59e30cb7f3ea76d0e8b02a04c1a89116d8bf14617ef8d0ec7947db02
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.898
1
+ 3.0.900
@@ -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.
@@ -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.898
4
+ version: 3.0.900
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-04 00:00:00.000000000 Z
11
+ date: 2024-09-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common