tencentcloud-sdk-mariadb 3.0.578 → 3.0.580
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20170312/client.rb +7 -7
- data/lib/v20170312/models.rb +54 -7
- 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: 54c4301dc0fdc830696522a00fc49e84aae707af
|
4
|
+
data.tar.gz: e3a1630c79f1e3e84b666972b9ab0ed573011e4e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 34c3eb733e2de1fb3eaa0365366709579188d046267b35d3b304121041c31f18ef88a3cfb501b9810198f79890b3a2658f838363099b50c3d58a19eec5483bac
|
7
|
+
data.tar.gz: 502a765aee5095a6abbf0f045f61e116cb460c87a0c3286dc4610840ab13c9ed929868530935e7aa69bcb10b792429d9464e9076af674e416cb9a6f38c57b715
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.580
|
data/lib/v20170312/client.rb
CHANGED
@@ -29,7 +29,7 @@ module TencentCloud
|
|
29
29
|
end
|
30
30
|
|
31
31
|
|
32
|
-
#
|
32
|
+
# 解隔离MariaDB按量计费实例
|
33
33
|
|
34
34
|
# @param request: Request instance for ActivateHourDBInstance.
|
35
35
|
# @type request: :class:`Tencentcloud::mariadb::V20170312::ActivateHourDBInstanceRequest`
|
@@ -198,7 +198,7 @@ module TencentCloud
|
|
198
198
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
199
199
|
end
|
200
200
|
|
201
|
-
# 本接口(CreateDBInstance
|
201
|
+
# 本接口(CreateDBInstance)用于创建包年包月的MariaDB云数据库实例,可通过传入实例规格、数据库版本号、购买时长和数量等信息创建云数据库实例。
|
202
202
|
|
203
203
|
# @param request: Request instance for CreateDBInstance.
|
204
204
|
# @type request: :class:`Tencentcloud::mariadb::V20170312::CreateDBInstanceRequest`
|
@@ -222,7 +222,7 @@ module TencentCloud
|
|
222
222
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
223
223
|
end
|
224
224
|
|
225
|
-
#
|
225
|
+
# 创建Mariadb独享集群实例
|
226
226
|
|
227
227
|
# @param request: Request instance for CreateDedicatedClusterDBInstance.
|
228
228
|
# @type request: :class:`Tencentcloud::mariadb::V20170312::CreateDedicatedClusterDBInstanceRequest`
|
@@ -246,7 +246,7 @@ module TencentCloud
|
|
246
246
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
247
247
|
end
|
248
248
|
|
249
|
-
#
|
249
|
+
# 创建MariaDB按量计费实例
|
250
250
|
|
251
251
|
# @param request: Request instance for CreateHourDBInstance.
|
252
252
|
# @type request: :class:`Tencentcloud::mariadb::V20170312::CreateHourDBInstanceRequest`
|
@@ -968,7 +968,7 @@ module TencentCloud
|
|
968
968
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
969
969
|
end
|
970
970
|
|
971
|
-
# 本接口(DestroyHourDBInstance
|
971
|
+
# 本接口(DestroyHourDBInstance)用于销毁MariaDB按量计费实例。
|
972
972
|
|
973
973
|
# @param request: Request instance for DestroyHourDBInstance.
|
974
974
|
# @type request: :class:`Tencentcloud::mariadb::V20170312::DestroyHourDBInstanceRequest`
|
@@ -1089,7 +1089,7 @@ module TencentCloud
|
|
1089
1089
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1090
1090
|
end
|
1091
1091
|
|
1092
|
-
# 本接口(IsolateDBInstance)
|
1092
|
+
# 本接口(IsolateDBInstance)用于隔离云数据库MariaDB实例(包年包月),隔离后不能通过IP和端口访问数据库。隔离的实例可在回收站中进行开机。若为欠费隔离,请尽快进行充值。
|
1093
1093
|
|
1094
1094
|
# @param request: Request instance for IsolateDBInstance.
|
1095
1095
|
# @type request: :class:`Tencentcloud::mariadb::V20170312::IsolateDBInstanceRequest`
|
@@ -1137,7 +1137,7 @@ module TencentCloud
|
|
1137
1137
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1138
1138
|
end
|
1139
1139
|
|
1140
|
-
#
|
1140
|
+
# 隔离MariaDB按量计费实例
|
1141
1141
|
|
1142
1142
|
# @param request: Request instance for IsolateHourDBInstance.
|
1143
1143
|
# @type request: :class:`Tencentcloud::mariadb::V20170312::IsolateHourDBInstanceRequest`
|
data/lib/v20170312/models.rb
CHANGED
@@ -468,7 +468,7 @@ module TencentCloud
|
|
468
468
|
# @type SecurityGroupIds: Array
|
469
469
|
# @param AutoRenewFlag: 自动续费标志,1:自动续费,2:不自动续费
|
470
470
|
# @type AutoRenewFlag: Integer
|
471
|
-
# @param Ipv6Flag: 是否支持IPv6
|
471
|
+
# @param Ipv6Flag: 是否支持IPv6,0:不支持,1:支持
|
472
472
|
# @type Ipv6Flag: Integer
|
473
473
|
# @param ResourceTags: 标签键值对数组
|
474
474
|
# @type ResourceTags: Array
|
@@ -742,7 +742,7 @@ module TencentCloud
|
|
742
742
|
# @type InstanceName: String
|
743
743
|
# @param SecurityGroupIds: 安全组ID,不传表示不绑定安全组
|
744
744
|
# @type SecurityGroupIds: Array
|
745
|
-
# @param Ipv6Flag: 是否支持IPv6
|
745
|
+
# @param Ipv6Flag: 是否支持IPv6,0:不支持,1:支持
|
746
746
|
# @type Ipv6Flag: Integer
|
747
747
|
# @param ResourceTags: 标签键值对数组
|
748
748
|
# @type ResourceTags: Array
|
@@ -754,7 +754,7 @@ module TencentCloud
|
|
754
754
|
# character_set_server(字符集,必传),lower_case_table_names(表名大小写敏感,必传,0 - 敏感;1-不敏感),
|
755
755
|
# innodb_page_size(innodb数据页,默认16K),sync_mode(同步模式:0 - 异步; 1 - 强同步;2 - 强同步可退化,默认为强同步可退化)。
|
756
756
|
# @type InitParams: Array
|
757
|
-
# @param RollbackInstanceId: 回档源实例ID
|
757
|
+
# @param RollbackInstanceId: 回档源实例ID,例如“2021-11-22 00:00:00”
|
758
758
|
# @type RollbackInstanceId: String
|
759
759
|
# @param RollbackTime: 回档时间
|
760
760
|
# @type RollbackTime: String
|
@@ -908,10 +908,12 @@ module TencentCloud
|
|
908
908
|
# @type DelayThresh: Integer
|
909
909
|
# @param SlaveConst: 针对只读账号,设置策略是否固定备机,0:不固定备机,即备机不满足条件与客户端不断开连接,Proxy选择其他可用备机,1:备机不满足条件断开连接,确保一个连接固定备机。
|
910
910
|
# @type SlaveConst: Integer
|
911
|
+
# @param MaxUserConnections: 用户最大连接数,0代表无限制
|
912
|
+
# @type MaxUserConnections: Integer
|
911
913
|
|
912
|
-
attr_accessor :UserName, :Host, :Description, :CreateTime, :UpdateTime, :ReadOnly, :DelayThresh, :SlaveConst
|
914
|
+
attr_accessor :UserName, :Host, :Description, :CreateTime, :UpdateTime, :ReadOnly, :DelayThresh, :SlaveConst, :MaxUserConnections
|
913
915
|
|
914
|
-
def initialize(username=nil, host=nil, description=nil, createtime=nil, updatetime=nil, readonly=nil, delaythresh=nil, slaveconst=nil)
|
916
|
+
def initialize(username=nil, host=nil, description=nil, createtime=nil, updatetime=nil, readonly=nil, delaythresh=nil, slaveconst=nil, maxuserconnections=nil)
|
915
917
|
@UserName = username
|
916
918
|
@Host = host
|
917
919
|
@Description = description
|
@@ -920,6 +922,7 @@ module TencentCloud
|
|
920
922
|
@ReadOnly = readonly
|
921
923
|
@DelayThresh = delaythresh
|
922
924
|
@SlaveConst = slaveconst
|
925
|
+
@MaxUserConnections = maxuserconnections
|
923
926
|
end
|
924
927
|
|
925
928
|
def deserialize(params)
|
@@ -931,6 +934,7 @@ module TencentCloud
|
|
931
934
|
@ReadOnly = params['ReadOnly']
|
932
935
|
@DelayThresh = params['DelayThresh']
|
933
936
|
@SlaveConst = params['SlaveConst']
|
937
|
+
@MaxUserConnections = params['MaxUserConnections']
|
934
938
|
end
|
935
939
|
end
|
936
940
|
|
@@ -1988,12 +1992,14 @@ module TencentCloud
|
|
1988
1992
|
# @param RsAccessStrategy: VPC就近访问
|
1989
1993
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
1990
1994
|
# @type RsAccessStrategy: Integer
|
1995
|
+
# @param ReservedNetResources: 尚未回收的网络资源
|
1996
|
+
# @type ReservedNetResources: Array
|
1991
1997
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1992
1998
|
# @type RequestId: String
|
1993
1999
|
|
1994
|
-
attr_accessor :InstanceId, :InstanceName, :Status, :StatusDesc, :Vip, :Vport, :IsTmp, :NodeCount, :Region, :Zone, :VpcId, :SubnetId, :WanStatus, :WanDomain, :WanVip, :WanPort, :ProjectId, :TdsqlVersion, :Memory, :Storage, :MasterZone, :SlaveZones, :AutoRenewFlag, :ExclusterId, :PayMode, :CreateTime, :IsAuditSupported, :PeriodEndTime, :Machine, :StorageUsage, :LogStorage, :IsEncryptSupported, :Vip6, :Cpu, :Pid, :Qps, :Ipv6Flag, :WanVipv6, :WanStatusIpv6, :WanPortIpv6, :DbEngine, :DbVersion, :ResourceTags, :DcnFlag, :DcnStatus, :DcnDstNum, :InstanceType, :NodesInfo, :IsMaxUserConnectionsSupported, :DbVersionId, :EncryptStatus, :ReplicaConfig, :ReplicaStatus, :ExclusterType, :RsAccessStrategy, :RequestId
|
2000
|
+
attr_accessor :InstanceId, :InstanceName, :Status, :StatusDesc, :Vip, :Vport, :IsTmp, :NodeCount, :Region, :Zone, :VpcId, :SubnetId, :WanStatus, :WanDomain, :WanVip, :WanPort, :ProjectId, :TdsqlVersion, :Memory, :Storage, :MasterZone, :SlaveZones, :AutoRenewFlag, :ExclusterId, :PayMode, :CreateTime, :IsAuditSupported, :PeriodEndTime, :Machine, :StorageUsage, :LogStorage, :IsEncryptSupported, :Vip6, :Cpu, :Pid, :Qps, :Ipv6Flag, :WanVipv6, :WanStatusIpv6, :WanPortIpv6, :DbEngine, :DbVersion, :ResourceTags, :DcnFlag, :DcnStatus, :DcnDstNum, :InstanceType, :NodesInfo, :IsMaxUserConnectionsSupported, :DbVersionId, :EncryptStatus, :ReplicaConfig, :ReplicaStatus, :ExclusterType, :RsAccessStrategy, :ReservedNetResources, :RequestId
|
1995
2001
|
|
1996
|
-
def initialize(instanceid=nil, instancename=nil, status=nil, statusdesc=nil, vip=nil, vport=nil, istmp=nil, nodecount=nil, region=nil, zone=nil, vpcid=nil, subnetid=nil, wanstatus=nil, wandomain=nil, wanvip=nil, wanport=nil, projectid=nil, tdsqlversion=nil, memory=nil, storage=nil, masterzone=nil, slavezones=nil, autorenewflag=nil, exclusterid=nil, paymode=nil, createtime=nil, isauditsupported=nil, periodendtime=nil, machine=nil, storageusage=nil, logstorage=nil, isencryptsupported=nil, vip6=nil, cpu=nil, pid=nil, qps=nil, ipv6flag=nil, wanvipv6=nil, wanstatusipv6=nil, wanportipv6=nil, dbengine=nil, dbversion=nil, resourcetags=nil, dcnflag=nil, dcnstatus=nil, dcndstnum=nil, instancetype=nil, nodesinfo=nil, ismaxuserconnectionssupported=nil, dbversionid=nil, encryptstatus=nil, replicaconfig=nil, replicastatus=nil, exclustertype=nil, rsaccessstrategy=nil, requestid=nil)
|
2002
|
+
def initialize(instanceid=nil, instancename=nil, status=nil, statusdesc=nil, vip=nil, vport=nil, istmp=nil, nodecount=nil, region=nil, zone=nil, vpcid=nil, subnetid=nil, wanstatus=nil, wandomain=nil, wanvip=nil, wanport=nil, projectid=nil, tdsqlversion=nil, memory=nil, storage=nil, masterzone=nil, slavezones=nil, autorenewflag=nil, exclusterid=nil, paymode=nil, createtime=nil, isauditsupported=nil, periodendtime=nil, machine=nil, storageusage=nil, logstorage=nil, isencryptsupported=nil, vip6=nil, cpu=nil, pid=nil, qps=nil, ipv6flag=nil, wanvipv6=nil, wanstatusipv6=nil, wanportipv6=nil, dbengine=nil, dbversion=nil, resourcetags=nil, dcnflag=nil, dcnstatus=nil, dcndstnum=nil, instancetype=nil, nodesinfo=nil, ismaxuserconnectionssupported=nil, dbversionid=nil, encryptstatus=nil, replicaconfig=nil, replicastatus=nil, exclustertype=nil, rsaccessstrategy=nil, reservednetresources=nil, requestid=nil)
|
1997
2003
|
@InstanceId = instanceid
|
1998
2004
|
@InstanceName = instancename
|
1999
2005
|
@Status = status
|
@@ -2049,6 +2055,7 @@ module TencentCloud
|
|
2049
2055
|
@ReplicaStatus = replicastatus
|
2050
2056
|
@ExclusterType = exclustertype
|
2051
2057
|
@RsAccessStrategy = rsaccessstrategy
|
2058
|
+
@ReservedNetResources = reservednetresources
|
2052
2059
|
@RequestId = requestid
|
2053
2060
|
end
|
2054
2061
|
|
@@ -2128,6 +2135,14 @@ module TencentCloud
|
|
2128
2135
|
end
|
2129
2136
|
@ExclusterType = params['ExclusterType']
|
2130
2137
|
@RsAccessStrategy = params['RsAccessStrategy']
|
2138
|
+
unless params['ReservedNetResources'].nil?
|
2139
|
+
@ReservedNetResources = []
|
2140
|
+
params['ReservedNetResources'].each do |i|
|
2141
|
+
reservednetresource_tmp = ReservedNetResource.new
|
2142
|
+
reservednetresource_tmp.deserialize(i)
|
2143
|
+
@ReservedNetResources << reservednetresource_tmp
|
2144
|
+
end
|
2145
|
+
end
|
2131
2146
|
@RequestId = params['RequestId']
|
2132
2147
|
end
|
2133
2148
|
end
|
@@ -4843,6 +4858,38 @@ module TencentCloud
|
|
4843
4858
|
end
|
4844
4859
|
end
|
4845
4860
|
|
4861
|
+
# 保留的网络资源信息
|
4862
|
+
class ReservedNetResource < TencentCloud::Common::AbstractModel
|
4863
|
+
# @param VpcId: 私有网络
|
4864
|
+
# @type VpcId: String
|
4865
|
+
# @param SubnetId: 子网
|
4866
|
+
# @type SubnetId: String
|
4867
|
+
# @param Vip: VpcId,SubnetId下保留的内网ip
|
4868
|
+
# @type Vip: String
|
4869
|
+
# @param Vports: Vip下的端口
|
4870
|
+
# @type Vports: Array
|
4871
|
+
# @param RecycleTime: vip的回收时间
|
4872
|
+
# @type RecycleTime: String
|
4873
|
+
|
4874
|
+
attr_accessor :VpcId, :SubnetId, :Vip, :Vports, :RecycleTime
|
4875
|
+
|
4876
|
+
def initialize(vpcid=nil, subnetid=nil, vip=nil, vports=nil, recycletime=nil)
|
4877
|
+
@VpcId = vpcid
|
4878
|
+
@SubnetId = subnetid
|
4879
|
+
@Vip = vip
|
4880
|
+
@Vports = vports
|
4881
|
+
@RecycleTime = recycletime
|
4882
|
+
end
|
4883
|
+
|
4884
|
+
def deserialize(params)
|
4885
|
+
@VpcId = params['VpcId']
|
4886
|
+
@SubnetId = params['SubnetId']
|
4887
|
+
@Vip = params['Vip']
|
4888
|
+
@Vports = params['Vports']
|
4889
|
+
@RecycleTime = params['RecycleTime']
|
4890
|
+
end
|
4891
|
+
end
|
4892
|
+
|
4846
4893
|
# ResetAccountPassword请求参数结构体
|
4847
4894
|
class ResetAccountPasswordRequest < TencentCloud::Common::AbstractModel
|
4848
4895
|
# @param InstanceId: 实例 ID,形如:tdsql-ow728lmc,可以通过 DescribeDBInstances 查询实例详情获得。
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-mariadb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.580
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-05-
|
11
|
+
date: 2023-05-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|