tencentcloud-sdk-cdb 3.0.1089 → 3.0.1090
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/v20170320/client.rb +2 -2
- data/lib/v20170320/models.rb +10 -6
- 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: e11347dfb7283d4408721ae3149a6400f06f0ae4
|
4
|
+
data.tar.gz: 6c6c797992f3840dcf96fab2746c23b916599fe5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cb15acab7f42583369f602ac64a68dfc480252b4775a5b29b611c34cb0201b1589a2adca8aa365e3c193d11c09fe6764df238841848db08c67682a410367a8f4
|
7
|
+
data.tar.gz: 0336abd6df31a16f04f4847a59995b15543a0426b2f924f937e6e08f40259c160190f9dc40e4e548d4430ee3389e77adc4598aa142322d4ce4c542a941b02eac
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1090
|
data/lib/v20170320/client.rb
CHANGED
@@ -317,7 +317,7 @@ module TencentCloud
|
|
317
317
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
318
318
|
end
|
319
319
|
|
320
|
-
#
|
320
|
+
# 本接口(CreateAccounts)用于创建云数据库的账户,需要指定新的账户名和域名,以及所对应的密码,同时可以设置账号的备注信息以及最大可用连接数。
|
321
321
|
|
322
322
|
# @param request: Request instance for CreateAccounts.
|
323
323
|
# @type request: :class:`Tencentcloud::cdb::V20170320::CreateAccountsRequest`
|
@@ -2818,7 +2818,7 @@ module TencentCloud
|
|
2818
2818
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2819
2819
|
end
|
2820
2820
|
|
2821
|
-
#
|
2821
|
+
# 本接口(ModifyAccountMaxUserConnections)用于修改云数据库账户最大可用连接数。
|
2822
2822
|
|
2823
2823
|
# @param request: Request instance for ModifyAccountMaxUserConnections.
|
2824
2824
|
# @type request: :class:`Tencentcloud::cdb::V20170320::ModifyAccountMaxUserConnectionsRequest`
|
data/lib/v20170320/models.rb
CHANGED
@@ -2262,8 +2262,12 @@ module TencentCloud
|
|
2262
2262
|
# @param Accounts: 云数据库账号。
|
2263
2263
|
# @type Accounts: Array
|
2264
2264
|
# @param Password: 新账户的密码。
|
2265
|
+
# 说明:
|
2266
|
+
# 1. 在8 ~ 64位字符数以内(推荐12位以上)。
|
2267
|
+
# 2. 至少包含其中两项:小写字母 a ~ z 或 大写字母 A ~ Z。数字0 ~ 9。_+-,&=!@#$%^*().|。
|
2268
|
+
# 3. 不能包含非法字符。
|
2265
2269
|
# @type Password: String
|
2266
|
-
# @param Description:
|
2270
|
+
# @param Description: 备注信息。最多支持输入255个字符。
|
2267
2271
|
# @type Description: String
|
2268
2272
|
# @param MaxUserConnections: 新账户最大可用连接数,默认值为10240,最大可设置值为10240。
|
2269
2273
|
# @type MaxUserConnections: Integer
|
@@ -9958,7 +9962,7 @@ module TencentCloud
|
|
9958
9962
|
|
9959
9963
|
# ModifyAccountMaxUserConnections请求参数结构体
|
9960
9964
|
class ModifyAccountMaxUserConnectionsRequest < TencentCloud::Common::AbstractModel
|
9961
|
-
# @param Accounts:
|
9965
|
+
# @param Accounts: 云数据库账号。可通过 [DescribeAccounts](https://cloud.tencent.com/document/api/236/17499) 接口获取。
|
9962
9966
|
# @type Accounts: Array
|
9963
9967
|
# @param InstanceId: 实例 ID,格式如:cdb-c1nl9rpv,与云数据库控制台页面中显示的实例 ID 相同。
|
9964
9968
|
# @type InstanceId: String
|
@@ -10013,7 +10017,7 @@ module TencentCloud
|
|
10013
10017
|
# @type InstanceId: String
|
10014
10018
|
# @param NewPassword: 数据库账号的新密码。密码应至少包含字母、数字和字符(_+-&=!@#$%^*())中的两种,长度为8-64个字符。
|
10015
10019
|
# @type NewPassword: String
|
10016
|
-
# @param Accounts:
|
10020
|
+
# @param Accounts: 云数据库账号。可通过 [DescribeAccounts](https://cloud.tencent.com/document/api/236/17499) 接口获取。
|
10017
10021
|
# @type Accounts: Array
|
10018
10022
|
|
10019
10023
|
attr_accessor :InstanceId, :NewPassword, :Accounts
|
@@ -10062,7 +10066,7 @@ module TencentCloud
|
|
10062
10066
|
class ModifyAccountPrivilegesRequest < TencentCloud::Common::AbstractModel
|
10063
10067
|
# @param InstanceId: 实例 ID,格式如:cdb-c1nl9rpv,与云数据库控制台页面中显示的实例 ID 相同。
|
10064
10068
|
# @type InstanceId: String
|
10065
|
-
# @param Accounts:
|
10069
|
+
# @param Accounts: 数据库的账号,包括用户名和域名。可通过 [DescribeAccounts](https://cloud.tencent.com/document/api/236/17499) 接口获取。
|
10066
10070
|
# @type Accounts: Array
|
10067
10071
|
# @param GlobalPrivileges: 全局权限。其中,GlobalPrivileges 中权限的可选值为:"SELECT","INSERT","UPDATE","DELETE","CREATE", "PROCESS", "DROP","REFERENCES","INDEX","ALTER","SHOW DATABASES","CREATE TEMPORARY TABLES","LOCK TABLES","EXECUTE","CREATE VIEW","SHOW VIEW","CREATE ROUTINE","ALTER ROUTINE","EVENT","TRIGGER","CREATE USER","RELOAD","REPLICATION CLIENT","REPLICATION SLAVE"。
|
10068
10072
|
# 注意,ModifyAction为空时,不传该参数表示清除该权限。
|
@@ -11466,11 +11470,11 @@ module TencentCloud
|
|
11466
11470
|
|
11467
11471
|
# ModifyRoGroupInfo请求参数结构体
|
11468
11472
|
class ModifyRoGroupInfoRequest < TencentCloud::Common::AbstractModel
|
11469
|
-
# @param RoGroupId: RO 组的 ID
|
11473
|
+
# @param RoGroupId: RO 组的 ID。可通过 [DescribeRoGroups](https://cloud.tencent.com/document/api/236/40939) 接口获取。
|
11470
11474
|
# @type RoGroupId: String
|
11471
11475
|
# @param RoGroupInfo: RO 组的详细信息。
|
11472
11476
|
# @type RoGroupInfo: :class:`Tencentcloud::Cdb.v20170320.models.RoGroupAttr`
|
11473
|
-
# @param RoWeightValues: RO 组内实例的权重。若修改 RO 组的权重模式为用户自定义模式(custom),则必须设置该参数,且需要设置每个 RO 实例的权重值。
|
11477
|
+
# @param RoWeightValues: RO 组内实例的权重。若修改 RO 组的权重模式为用户自定义模式(custom),则必须设置该参数,且需要设置每个 RO 实例的权重值。RO 实例 ID 可通过 [DescribeRoGroups](https://cloud.tencent.com/document/api/236/40939) 接口获取。
|
11474
11478
|
# @type RoWeightValues: Array
|
11475
11479
|
# @param IsBalanceRoLoad: 是否重新均衡 RO 组内的 RO 实例的负载。支持值包括:1 - 重新均衡负载;0 - 不重新均衡负载。默认值为 0。注意,设置为重新均衡负载时,RO 组内 RO 实例会有一次数据库连接瞬断,请确保应用程序能重连数据库。
|
11476
11480
|
# @type IsBalanceRoLoad: Integer
|
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.
|
4
|
+
version: 3.0.1090
|
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-06-
|
11
|
+
date: 2025-06-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|