tencentcloud-sdk-cdb 1.0.253 → 1.0.257
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/models.rb +36 -11
- 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: 6642145e99f9dad0d94af32ed57d57ec2baf7a66
|
|
4
|
+
data.tar.gz: 5eab1e2f72530607381990a0a02a6b80a8325dde
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9c48e8af809ff11d5137c61108fe539cd43f75670ad36788d1ccabae7765d14a04da7094790c68d8e625847d26334d6eb0406575fea5f5f5dda8aab3b581f4b6
|
|
7
|
+
data.tar.gz: a2a36ad1aee60ed257190aa73fa0beedfab9927331d18d6ff5511346351be15b8a7e96cdda14d75b3dc4b6cd29fe3b000e3afcb4c154105940a47e52877f8a8c
|
data/lib/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.0.
|
|
1
|
+
1.0.257
|
data/lib/v20170320/models.rb
CHANGED
|
@@ -1448,31 +1448,35 @@ module TencentCloud
|
|
|
1448
1448
|
class CreateDBImportJobRequest < TencentCloud::Common::AbstractModel
|
|
1449
1449
|
# @param InstanceId: 实例的 ID,格式如:cdb-c1nl9rpv,与云数据库控制台页面中显示的实例 ID 相同。
|
|
1450
1450
|
# @type InstanceId: String
|
|
1451
|
-
# @param FileName: 文件名称。该文件是指用户已上传到腾讯云的文件,仅支持.sql文件。
|
|
1452
|
-
# @type FileName: String
|
|
1453
1451
|
# @param User: 云数据库的用户名。
|
|
1454
1452
|
# @type User: String
|
|
1453
|
+
# @param FileName: 文件名称。该文件是指用户已上传到腾讯云的文件,仅支持.sql文件。
|
|
1454
|
+
# @type FileName: String
|
|
1455
1455
|
# @param Password: 云数据库实例 User 账号的密码。
|
|
1456
1456
|
# @type Password: String
|
|
1457
1457
|
# @param DbName: 导入的目标数据库名,不传表示不指定数据库。
|
|
1458
1458
|
# @type DbName: String
|
|
1459
|
+
# @param CosUrl: 腾讯云COS文件链接。 用户需要指定 FileName 或者 CosUrl 其中一个。 COS文件需要是 .sql 文件。
|
|
1460
|
+
# @type CosUrl: String
|
|
1459
1461
|
|
|
1460
|
-
attr_accessor :InstanceId, :
|
|
1462
|
+
attr_accessor :InstanceId, :User, :FileName, :Password, :DbName, :CosUrl
|
|
1461
1463
|
|
|
1462
|
-
def initialize(instanceid=nil,
|
|
1464
|
+
def initialize(instanceid=nil, user=nil, filename=nil, password=nil, dbname=nil, cosurl=nil)
|
|
1463
1465
|
@InstanceId = instanceid
|
|
1464
|
-
@FileName = filename
|
|
1465
1466
|
@User = user
|
|
1467
|
+
@FileName = filename
|
|
1466
1468
|
@Password = password
|
|
1467
1469
|
@DbName = dbname
|
|
1470
|
+
@CosUrl = cosurl
|
|
1468
1471
|
end
|
|
1469
1472
|
|
|
1470
1473
|
def deserialize(params)
|
|
1471
1474
|
@InstanceId = params['InstanceId']
|
|
1472
|
-
@FileName = params['FileName']
|
|
1473
1475
|
@User = params['User']
|
|
1476
|
+
@FileName = params['FileName']
|
|
1474
1477
|
@Password = params['Password']
|
|
1475
1478
|
@DbName = params['DbName']
|
|
1479
|
+
@CosUrl = params['CosUrl']
|
|
1476
1480
|
end
|
|
1477
1481
|
end
|
|
1478
1482
|
|
|
@@ -4383,15 +4387,19 @@ module TencentCloud
|
|
|
4383
4387
|
class DescribeDefaultParamsRequest < TencentCloud::Common::AbstractModel
|
|
4384
4388
|
# @param EngineVersion: mysql版本,目前支持 ["5.1", "5.5", "5.6", "5.7"]。
|
|
4385
4389
|
# @type EngineVersion: String
|
|
4390
|
+
# @param TemplateType: 默认参数模板类型。支持值包括:"HIGH_STABILITY" - 高稳定模版,"HIGH_PERFORMANCE" - 高性能模版。
|
|
4391
|
+
# @type TemplateType: String
|
|
4386
4392
|
|
|
4387
|
-
attr_accessor :EngineVersion
|
|
4393
|
+
attr_accessor :EngineVersion, :TemplateType
|
|
4388
4394
|
|
|
4389
|
-
def initialize(engineversion=nil)
|
|
4395
|
+
def initialize(engineversion=nil, templatetype=nil)
|
|
4390
4396
|
@EngineVersion = engineversion
|
|
4397
|
+
@TemplateType = templatetype
|
|
4391
4398
|
end
|
|
4392
4399
|
|
|
4393
4400
|
def deserialize(params)
|
|
4394
4401
|
@EngineVersion = params['EngineVersion']
|
|
4402
|
+
@TemplateType = params['TemplateType']
|
|
4395
4403
|
end
|
|
4396
4404
|
end
|
|
4397
4405
|
|
|
@@ -10578,7 +10586,7 @@ module TencentCloud
|
|
|
10578
10586
|
|
|
10579
10587
|
# 可用区售卖配置
|
|
10580
10588
|
class ZoneSellConf < TencentCloud::Common::AbstractModel
|
|
10581
|
-
# @param Status: 可用区状态。可能的返回值为:
|
|
10589
|
+
# @param Status: 可用区状态。可能的返回值为:1-上线;3-停售;4-不展示
|
|
10582
10590
|
# @type Status: Integer
|
|
10583
10591
|
# @param ZoneName: 可用区中文名称
|
|
10584
10592
|
# @type ZoneName: String
|
|
@@ -10611,10 +10619,18 @@ module TencentCloud
|
|
|
10611
10619
|
# @param RemoteRoZone: 可支持的跨可用区只读区信息
|
|
10612
10620
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
10613
10621
|
# @type RemoteRoZone: Array
|
|
10622
|
+
# @param ExClusterStatus: 独享型可用区状态。可能的返回值为:1-上线;3-停售;4-不展示
|
|
10623
|
+
# @type ExClusterStatus: Integer
|
|
10624
|
+
# @param ExClusterRemoteRoZone: 独享型可支持的跨可用区只读区信息
|
|
10625
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
10626
|
+
# @type ExClusterRemoteRoZone: Array
|
|
10627
|
+
# @param ExClusterZoneConf: 独享型多可用区信息
|
|
10628
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
10629
|
+
# @type ExClusterZoneConf: :class:`Tencentcloud::Cdb.v20170320.models.ZoneConf`
|
|
10614
10630
|
|
|
10615
|
-
attr_accessor :Status, :ZoneName, :IsCustom, :IsSupportDr, :IsSupportVpc, :HourInstanceSaleMaxNum, :IsDefaultZone, :IsBm, :PayType, :ProtectMode, :Zone, :SellType, :ZoneConf, :DrZone, :IsSupportRemoteRo, :RemoteRoZone
|
|
10631
|
+
attr_accessor :Status, :ZoneName, :IsCustom, :IsSupportDr, :IsSupportVpc, :HourInstanceSaleMaxNum, :IsDefaultZone, :IsBm, :PayType, :ProtectMode, :Zone, :SellType, :ZoneConf, :DrZone, :IsSupportRemoteRo, :RemoteRoZone, :ExClusterStatus, :ExClusterRemoteRoZone, :ExClusterZoneConf
|
|
10616
10632
|
|
|
10617
|
-
def initialize(status=nil, zonename=nil, iscustom=nil, issupportdr=nil, issupportvpc=nil, hourinstancesalemaxnum=nil, isdefaultzone=nil, isbm=nil, paytype=nil, protectmode=nil, zone=nil, selltype=nil, zoneconf=nil, drzone=nil, issupportremotero=nil, remoterozone=nil)
|
|
10633
|
+
def initialize(status=nil, zonename=nil, iscustom=nil, issupportdr=nil, issupportvpc=nil, hourinstancesalemaxnum=nil, isdefaultzone=nil, isbm=nil, paytype=nil, protectmode=nil, zone=nil, selltype=nil, zoneconf=nil, drzone=nil, issupportremotero=nil, remoterozone=nil, exclusterstatus=nil, exclusterremoterozone=nil, exclusterzoneconf=nil)
|
|
10618
10634
|
@Status = status
|
|
10619
10635
|
@ZoneName = zonename
|
|
10620
10636
|
@IsCustom = iscustom
|
|
@@ -10631,6 +10647,9 @@ module TencentCloud
|
|
|
10631
10647
|
@DrZone = drzone
|
|
10632
10648
|
@IsSupportRemoteRo = issupportremotero
|
|
10633
10649
|
@RemoteRoZone = remoterozone
|
|
10650
|
+
@ExClusterStatus = exclusterstatus
|
|
10651
|
+
@ExClusterRemoteRoZone = exclusterremoterozone
|
|
10652
|
+
@ExClusterZoneConf = exclusterzoneconf
|
|
10634
10653
|
end
|
|
10635
10654
|
|
|
10636
10655
|
def deserialize(params)
|
|
@@ -10660,6 +10679,12 @@ module TencentCloud
|
|
|
10660
10679
|
@DrZone = params['DrZone']
|
|
10661
10680
|
@IsSupportRemoteRo = params['IsSupportRemoteRo']
|
|
10662
10681
|
@RemoteRoZone = params['RemoteRoZone']
|
|
10682
|
+
@ExClusterStatus = params['ExClusterStatus']
|
|
10683
|
+
@ExClusterRemoteRoZone = params['ExClusterRemoteRoZone']
|
|
10684
|
+
unless params['ExClusterZoneConf'].nil?
|
|
10685
|
+
@ExClusterZoneConf = ZoneConf.new
|
|
10686
|
+
@ExClusterZoneConf.deserialize(params['ExClusterZoneConf'])
|
|
10687
|
+
end
|
|
10663
10688
|
end
|
|
10664
10689
|
end
|
|
10665
10690
|
|
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: 1.0.
|
|
4
|
+
version: 1.0.257
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Tencent Cloud
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2022-02-
|
|
11
|
+
date: 2022-02-16 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: tencentcloud-sdk-common
|