tencentcloud-sdk-cdb 3.0.1154 → 3.0.1158

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1e589ff351065b0cce94df25d71a90b7bb2bee9c
4
- data.tar.gz: 56b96ddc8653fb0fe8c13a67e383c2fa22780aee
3
+ metadata.gz: 7ba0ba138b7cb2f67e7fe025411029af7f4b264e
4
+ data.tar.gz: 3a02b576c97bfe3ed26d00750e4c5b9ef531dd0b
5
5
  SHA512:
6
- metadata.gz: 21584b534610534e7281a33bb088872342d350093869242e42b8c1a0f85330dfc80d5c0359e948d3283853b2a3c679ce6edb72408ad9a4bee99ad95041f62445
7
- data.tar.gz: d3cf66720f677271fd2d179e7dcf4c5d7c5bb5629aa3fc328096d4e5ab1aeaa35ca8b51909eed9db27679a98ad319536ef7a85e7614df047b2128af4d9acb387
6
+ metadata.gz: 1656ad785b6715db60228bb92bdf1682ea74ab391922f08a56d3be05f4d24d01b910a8259bcff2f37bc07394900238757d9790103bdc232e92d21f391e48ee4c
7
+ data.tar.gz: 401ae11907c8525dc1daf2d74a54b7293636def1f5bf36b6dd9f9befc5b339aadfca1993dcb83e63e13a7a89db95299309e19de9444bdcb3655337b59b962b0c
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1154
1
+ 3.0.1158
@@ -2144,6 +2144,30 @@ module TencentCloud
2144
2144
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2145
2145
  end
2146
2146
 
2147
+ # 该接口(DescribeInstancePasswordComplexity)用于查询实例的密码复杂度参数列表。
2148
+
2149
+ # @param request: Request instance for DescribeInstancePasswordComplexity.
2150
+ # @type request: :class:`Tencentcloud::cdb::V20170320::DescribeInstancePasswordComplexityRequest`
2151
+ # @rtype: :class:`Tencentcloud::cdb::V20170320::DescribeInstancePasswordComplexityResponse`
2152
+ def DescribeInstancePasswordComplexity(request)
2153
+ body = send_request('DescribeInstancePasswordComplexity', request.serialize)
2154
+ response = JSON.parse(body)
2155
+ if response['Response'].key?('Error') == false
2156
+ model = DescribeInstancePasswordComplexityResponse.new
2157
+ model.deserialize(response['Response'])
2158
+ model
2159
+ else
2160
+ code = response['Response']['Error']['Code']
2161
+ message = response['Response']['Error']['Message']
2162
+ reqid = response['Response']['RequestId']
2163
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2164
+ end
2165
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2166
+ raise e
2167
+ rescue StandardError => e
2168
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2169
+ end
2170
+
2147
2171
  # 该接口(DescribeInstanceUpgradeCheckJob)查询实例版本升级校验任务。
2148
2172
 
2149
2173
  # @param request: Request instance for DescribeInstanceUpgradeCheckJob.
@@ -4414,14 +4414,20 @@ module TencentCloud
4414
4414
  # @type Limit: Integer
4415
4415
  # @param AccountRegexp: 匹配账号名的正则表达式,规则同 MySQL 官网。
4416
4416
  # @type AccountRegexp: String
4417
+ # @param SortBy: 默认无排序,支持:ASC、DESC、asc、desc
4418
+ # @type SortBy: String
4419
+ # @param OrderBy: 待排序的时间字段,可选:CreateTime(账号创建时间)、ModifyTime(账号更新时间)、ModifyPasswordTime(密码修改时间)
4420
+ # @type OrderBy: String
4417
4421
 
4418
- attr_accessor :InstanceId, :Offset, :Limit, :AccountRegexp
4422
+ attr_accessor :InstanceId, :Offset, :Limit, :AccountRegexp, :SortBy, :OrderBy
4419
4423
 
4420
- def initialize(instanceid=nil, offset=nil, limit=nil, accountregexp=nil)
4424
+ def initialize(instanceid=nil, offset=nil, limit=nil, accountregexp=nil, sortby=nil, orderby=nil)
4421
4425
  @InstanceId = instanceid
4422
4426
  @Offset = offset
4423
4427
  @Limit = limit
4424
4428
  @AccountRegexp = accountregexp
4429
+ @SortBy = sortby
4430
+ @OrderBy = orderby
4425
4431
  end
4426
4432
 
4427
4433
  def deserialize(params)
@@ -4429,6 +4435,8 @@ module TencentCloud
4429
4435
  @Offset = params['Offset']
4430
4436
  @Limit = params['Limit']
4431
4437
  @AccountRegexp = params['AccountRegexp']
4438
+ @SortBy = params['SortBy']
4439
+ @OrderBy = params['OrderBy']
4432
4440
  end
4433
4441
  end
4434
4442
 
@@ -7349,6 +7357,53 @@ module TencentCloud
7349
7357
  end
7350
7358
  end
7351
7359
 
7360
+ # DescribeInstancePasswordComplexity请求参数结构体
7361
+ class DescribeInstancePasswordComplexityRequest < TencentCloud::Common::AbstractModel
7362
+ # @param InstanceId: 实例ID
7363
+ # @type InstanceId: String
7364
+
7365
+ attr_accessor :InstanceId
7366
+
7367
+ def initialize(instanceid=nil)
7368
+ @InstanceId = instanceid
7369
+ end
7370
+
7371
+ def deserialize(params)
7372
+ @InstanceId = params['InstanceId']
7373
+ end
7374
+ end
7375
+
7376
+ # DescribeInstancePasswordComplexity返回参数结构体
7377
+ class DescribeInstancePasswordComplexityResponse < TencentCloud::Common::AbstractModel
7378
+ # @param TotalCount: 实例的参数总数
7379
+ # @type TotalCount: Integer
7380
+ # @param Items: 参数详情
7381
+ # @type Items: Array
7382
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
7383
+ # @type RequestId: String
7384
+
7385
+ attr_accessor :TotalCount, :Items, :RequestId
7386
+
7387
+ def initialize(totalcount=nil, items=nil, requestid=nil)
7388
+ @TotalCount = totalcount
7389
+ @Items = items
7390
+ @RequestId = requestid
7391
+ end
7392
+
7393
+ def deserialize(params)
7394
+ @TotalCount = params['TotalCount']
7395
+ unless params['Items'].nil?
7396
+ @Items = []
7397
+ params['Items'].each do |i|
7398
+ parameterdetail_tmp = ParameterDetail.new
7399
+ parameterdetail_tmp.deserialize(i)
7400
+ @Items << parameterdetail_tmp
7401
+ end
7402
+ end
7403
+ @RequestId = params['RequestId']
7404
+ end
7405
+ end
7406
+
7352
7407
  # DescribeInstanceUpgradeCheckJob请求参数结构体
7353
7408
  class DescribeInstanceUpgradeCheckJobRequest < TencentCloud::Common::AbstractModel
7354
7409
  # @param InstanceId: 实例 ID。可通过 [DescribeDBInstances](https://cloud.tencent.com/document/product/236/15872) 接口获取。
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-cdb
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.1154
4
+ version: 3.0.1158
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-10-17 00:00:00.000000000 Z
11
+ date: 2025-10-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common