tencentcloud-sdk-cdb 1.0.237 → 1.0.241
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 +42 -13
- 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: 031c00fa8757e53caab3be37d12e810bacdbf386
|
|
4
|
+
data.tar.gz: 7c75327409328c965f0ab69daddd90db41afd9ae
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 80925113095efdeabe858e4053ec588ed77e94936d19bec7d38a036a70c6bcb727570d7e4c7afca28c40ed7c04975b942682fbbc0efa07badf59921e40aa4637
|
|
7
|
+
data.tar.gz: b99639ef6df3307563d8453a317b5e8626b56a8b5e8f77db751eb387cf146a9d63e9e8425befb224c2643c5b544dcdbdd1c68c01acb62342d7da81395b6686fd
|
data/lib/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.0.
|
|
1
|
+
1.0.241
|
data/lib/v20170320/client.rb
CHANGED
|
@@ -1519,7 +1519,7 @@ module TencentCloud
|
|
|
1519
1519
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
1520
1520
|
end
|
|
1521
1521
|
|
|
1522
|
-
# 该接口(DescribeParamTemplates
|
|
1522
|
+
# 该接口(DescribeParamTemplates)查询参数模板列表,全地域公共参数Region均为ap-guangzhou。
|
|
1523
1523
|
|
|
1524
1524
|
# @param request: Request instance for DescribeParamTemplates.
|
|
1525
1525
|
# @type request: :class:`Tencentcloud::cdb::V20170320::DescribeParamTemplatesRequest`
|
|
@@ -1832,7 +1832,7 @@ module TencentCloud
|
|
|
1832
1832
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
1833
1833
|
end
|
|
1834
1834
|
|
|
1835
|
-
# 本接口(DescribeUploadedFiles)用于查询用户导入的SQL
|
|
1835
|
+
# 本接口(DescribeUploadedFiles)用于查询用户导入的SQL文件列表,全地域公共参数Region均为ap-shanghai。
|
|
1836
1836
|
|
|
1837
1837
|
# @param request: Request instance for DescribeUploadedFiles.
|
|
1838
1838
|
# @type request: :class:`Tencentcloud::cdb::V20170320::DescribeUploadedFilesRequest`
|
data/lib/v20170320/models.rb
CHANGED
|
@@ -1341,14 +1341,16 @@ module TencentCloud
|
|
|
1341
1341
|
# @type AutoSyncFlag: Integer
|
|
1342
1342
|
# @param CageId: 金融围拢 ID 。
|
|
1343
1343
|
# @type CageId: String
|
|
1344
|
+
# @param ParamTemplateType: 默认参数模板类型。支持值包括:"HIGH_STABILITY" - 高稳定模板,"HIGH_PERFORMANCE" - 高性能模板。
|
|
1345
|
+
# @type ParamTemplateType: String
|
|
1344
1346
|
# @param AlarmPolicyIdList: 告警策略名数组,例如:["policy-uyoee9wg"],AlarmPolicyList不为空时该参数无效。
|
|
1345
1347
|
# @type AlarmPolicyIdList: Array
|
|
1346
1348
|
# @param DryRun: 是否只预检此次请求。true:发送检查请求,不会创建实例。检查项包括是否填写了必需参数,请求格式,业务限制等。如果检查不通过,则返回对应错误码;如果检查通过,则返回RequestId.默认为false:发送正常请求,通过检查后直接创建实例。
|
|
1347
1349
|
# @type DryRun: Boolean
|
|
1348
1350
|
|
|
1349
|
-
attr_accessor :GoodsNum, :Memory, :Volume, :EngineVersion, :UniqVpcId, :UniqSubnetId, :ProjectId, :Zone, :MasterInstanceId, :InstanceRole, :MasterRegion, :Port, :Password, :ParamList, :ProtectMode, :DeployMode, :SlaveZone, :BackupZone, :SecurityGroup, :RoGroup, :AutoRenewFlag, :InstanceName, :ResourceTags, :DeployGroupId, :ClientToken, :DeviceType, :ParamTemplateId, :AlarmPolicyList, :InstanceNodes, :Cpu, :AutoSyncFlag, :CageId, :AlarmPolicyIdList, :DryRun
|
|
1351
|
+
attr_accessor :GoodsNum, :Memory, :Volume, :EngineVersion, :UniqVpcId, :UniqSubnetId, :ProjectId, :Zone, :MasterInstanceId, :InstanceRole, :MasterRegion, :Port, :Password, :ParamList, :ProtectMode, :DeployMode, :SlaveZone, :BackupZone, :SecurityGroup, :RoGroup, :AutoRenewFlag, :InstanceName, :ResourceTags, :DeployGroupId, :ClientToken, :DeviceType, :ParamTemplateId, :AlarmPolicyList, :InstanceNodes, :Cpu, :AutoSyncFlag, :CageId, :ParamTemplateType, :AlarmPolicyIdList, :DryRun
|
|
1350
1352
|
|
|
1351
|
-
def initialize(goodsnum=nil, memory=nil, volume=nil, engineversion=nil, uniqvpcid=nil, uniqsubnetid=nil, projectid=nil, zone=nil, masterinstanceid=nil, instancerole=nil, masterregion=nil, port=nil, password=nil, paramlist=nil, protectmode=nil, deploymode=nil, slavezone=nil, backupzone=nil, securitygroup=nil, rogroup=nil, autorenewflag=nil, instancename=nil, resourcetags=nil, deploygroupid=nil, clienttoken=nil, devicetype=nil, paramtemplateid=nil, alarmpolicylist=nil, instancenodes=nil, cpu=nil, autosyncflag=nil, cageid=nil, alarmpolicyidlist=nil, dryrun=nil)
|
|
1353
|
+
def initialize(goodsnum=nil, memory=nil, volume=nil, engineversion=nil, uniqvpcid=nil, uniqsubnetid=nil, projectid=nil, zone=nil, masterinstanceid=nil, instancerole=nil, masterregion=nil, port=nil, password=nil, paramlist=nil, protectmode=nil, deploymode=nil, slavezone=nil, backupzone=nil, securitygroup=nil, rogroup=nil, autorenewflag=nil, instancename=nil, resourcetags=nil, deploygroupid=nil, clienttoken=nil, devicetype=nil, paramtemplateid=nil, alarmpolicylist=nil, instancenodes=nil, cpu=nil, autosyncflag=nil, cageid=nil, paramtemplatetype=nil, alarmpolicyidlist=nil, dryrun=nil)
|
|
1352
1354
|
@GoodsNum = goodsnum
|
|
1353
1355
|
@Memory = memory
|
|
1354
1356
|
@Volume = volume
|
|
@@ -1381,6 +1383,7 @@ module TencentCloud
|
|
|
1381
1383
|
@Cpu = cpu
|
|
1382
1384
|
@AutoSyncFlag = autosyncflag
|
|
1383
1385
|
@CageId = cageid
|
|
1386
|
+
@ParamTemplateType = paramtemplatetype
|
|
1384
1387
|
@AlarmPolicyIdList = alarmpolicyidlist
|
|
1385
1388
|
@DryRun = dryrun
|
|
1386
1389
|
end
|
|
@@ -1435,6 +1438,7 @@ module TencentCloud
|
|
|
1435
1438
|
@Cpu = params['Cpu']
|
|
1436
1439
|
@AutoSyncFlag = params['AutoSyncFlag']
|
|
1437
1440
|
@CageId = params['CageId']
|
|
1441
|
+
@ParamTemplateType = params['ParamTemplateType']
|
|
1438
1442
|
@AlarmPolicyIdList = params['AlarmPolicyIdList']
|
|
1439
1443
|
@DryRun = params['DryRun']
|
|
1440
1444
|
end
|
|
@@ -1532,7 +1536,7 @@ module TencentCloud
|
|
|
1532
1536
|
# @type AutoSyncFlag: Integer
|
|
1533
1537
|
# @param CageId: 金融围拢 ID。
|
|
1534
1538
|
# @type CageId: String
|
|
1535
|
-
# @param ParamTemplateType: 默认参数模板类型。支持值包括:"HIGH_STABILITY" -
|
|
1539
|
+
# @param ParamTemplateType: 默认参数模板类型。支持值包括:"HIGH_STABILITY" - 高稳定模板,"HIGH_PERFORMANCE" - 高性能模板。
|
|
1536
1540
|
# @type ParamTemplateType: String
|
|
1537
1541
|
# @param AlarmPolicyIdList: 告警策略名数组,例如:["policy-uyoee9wg"],AlarmPolicyList不为空时该参数无效。
|
|
1538
1542
|
# @type AlarmPolicyIdList: Array
|
|
@@ -1725,15 +1729,18 @@ module TencentCloud
|
|
|
1725
1729
|
# @type TemplateId: Integer
|
|
1726
1730
|
# @param ParamList: 参数列表。
|
|
1727
1731
|
# @type ParamList: Array
|
|
1732
|
+
# @param TemplateType: 默认参数模板类型。支持值包括:"HIGH_STABILITY" - 高稳定模版,"HIGH_PERFORMANCE" - 高性能模版。
|
|
1733
|
+
# @type TemplateType: String
|
|
1728
1734
|
|
|
1729
|
-
attr_accessor :Name, :Description, :EngineVersion, :TemplateId, :ParamList
|
|
1735
|
+
attr_accessor :Name, :Description, :EngineVersion, :TemplateId, :ParamList, :TemplateType
|
|
1730
1736
|
|
|
1731
|
-
def initialize(name=nil, description=nil, engineversion=nil, templateid=nil, paramlist=nil)
|
|
1737
|
+
def initialize(name=nil, description=nil, engineversion=nil, templateid=nil, paramlist=nil, templatetype=nil)
|
|
1732
1738
|
@Name = name
|
|
1733
1739
|
@Description = description
|
|
1734
1740
|
@EngineVersion = engineversion
|
|
1735
1741
|
@TemplateId = templateid
|
|
1736
1742
|
@ParamList = paramlist
|
|
1743
|
+
@TemplateType = templatetype
|
|
1737
1744
|
end
|
|
1738
1745
|
|
|
1739
1746
|
def deserialize(params)
|
|
@@ -1749,6 +1756,7 @@ module TencentCloud
|
|
|
1749
1756
|
@ParamList << parameter_tmp
|
|
1750
1757
|
end
|
|
1751
1758
|
end
|
|
1759
|
+
@TemplateType = params['TemplateType']
|
|
1752
1760
|
end
|
|
1753
1761
|
end
|
|
1754
1762
|
|
|
@@ -4395,18 +4403,21 @@ module TencentCloud
|
|
|
4395
4403
|
# @type Items: Array
|
|
4396
4404
|
# @param Description: 参数模板描述
|
|
4397
4405
|
# @type Description: String
|
|
4406
|
+
# @param TemplateType: 参数模板类型。支持值包括:"HIGH_STABILITY" - 高稳定模版,"HIGH_PERFORMANCE" - 高性能模版。
|
|
4407
|
+
# @type TemplateType: String
|
|
4398
4408
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
4399
4409
|
# @type RequestId: String
|
|
4400
4410
|
|
|
4401
|
-
attr_accessor :TemplateId, :Name, :EngineVersion, :TotalCount, :Items, :Description, :RequestId
|
|
4411
|
+
attr_accessor :TemplateId, :Name, :EngineVersion, :TotalCount, :Items, :Description, :TemplateType, :RequestId
|
|
4402
4412
|
|
|
4403
|
-
def initialize(templateid=nil, name=nil, engineversion=nil, totalcount=nil, items=nil, description=nil, requestid=nil)
|
|
4413
|
+
def initialize(templateid=nil, name=nil, engineversion=nil, totalcount=nil, items=nil, description=nil, templatetype=nil, requestid=nil)
|
|
4404
4414
|
@TemplateId = templateid
|
|
4405
4415
|
@Name = name
|
|
4406
4416
|
@EngineVersion = engineversion
|
|
4407
4417
|
@TotalCount = totalcount
|
|
4408
4418
|
@Items = items
|
|
4409
4419
|
@Description = description
|
|
4420
|
+
@TemplateType = templatetype
|
|
4410
4421
|
@RequestId = requestid
|
|
4411
4422
|
end
|
|
4412
4423
|
|
|
@@ -4424,18 +4435,24 @@ module TencentCloud
|
|
|
4424
4435
|
end
|
|
4425
4436
|
end
|
|
4426
4437
|
@Description = params['Description']
|
|
4438
|
+
@TemplateType = params['TemplateType']
|
|
4427
4439
|
@RequestId = params['RequestId']
|
|
4428
4440
|
end
|
|
4429
4441
|
end
|
|
4430
4442
|
|
|
4431
4443
|
# DescribeParamTemplates请求参数结构体
|
|
4432
4444
|
class DescribeParamTemplatesRequest < TencentCloud::Common::AbstractModel
|
|
4445
|
+
# @param EngineVersions: 引擎版本,缺省则查询所有
|
|
4446
|
+
# @type EngineVersions: Array
|
|
4433
4447
|
|
|
4448
|
+
attr_accessor :EngineVersions
|
|
4434
4449
|
|
|
4435
|
-
def initialize()
|
|
4450
|
+
def initialize(engineversions=nil)
|
|
4451
|
+
@EngineVersions = engineversions
|
|
4436
4452
|
end
|
|
4437
4453
|
|
|
4438
4454
|
def deserialize(params)
|
|
4455
|
+
@EngineVersions = params['EngineVersions']
|
|
4439
4456
|
end
|
|
4440
4457
|
end
|
|
4441
4458
|
|
|
@@ -7303,14 +7320,17 @@ module TencentCloud
|
|
|
7303
7320
|
# @type Description: String
|
|
7304
7321
|
# @param EngineVersion: 实例引擎版本
|
|
7305
7322
|
# @type EngineVersion: String
|
|
7323
|
+
# @param TemplateType: 参数模板类型
|
|
7324
|
+
# @type TemplateType: String
|
|
7306
7325
|
|
|
7307
|
-
attr_accessor :TemplateId, :Name, :Description, :EngineVersion
|
|
7326
|
+
attr_accessor :TemplateId, :Name, :Description, :EngineVersion, :TemplateType
|
|
7308
7327
|
|
|
7309
|
-
def initialize(templateid=nil, name=nil, description=nil, engineversion=nil)
|
|
7328
|
+
def initialize(templateid=nil, name=nil, description=nil, engineversion=nil, templatetype=nil)
|
|
7310
7329
|
@TemplateId = templateid
|
|
7311
7330
|
@Name = name
|
|
7312
7331
|
@Description = description
|
|
7313
7332
|
@EngineVersion = engineversion
|
|
7333
|
+
@TemplateType = templatetype
|
|
7314
7334
|
end
|
|
7315
7335
|
|
|
7316
7336
|
def deserialize(params)
|
|
@@ -7318,6 +7338,7 @@ module TencentCloud
|
|
|
7318
7338
|
@Name = params['Name']
|
|
7319
7339
|
@Description = params['Description']
|
|
7320
7340
|
@EngineVersion = params['EngineVersion']
|
|
7341
|
+
@TemplateType = params['TemplateType']
|
|
7321
7342
|
end
|
|
7322
7343
|
end
|
|
7323
7344
|
|
|
@@ -7345,7 +7366,7 @@ module TencentCloud
|
|
|
7345
7366
|
class ParameterDetail < TencentCloud::Common::AbstractModel
|
|
7346
7367
|
# @param Name: 参数名称
|
|
7347
7368
|
# @type Name: String
|
|
7348
|
-
# @param ParamType:
|
|
7369
|
+
# @param ParamType: 参数类型:integer,enum,float,string,func
|
|
7349
7370
|
# @type ParamType: String
|
|
7350
7371
|
# @param Default: 参数默认值
|
|
7351
7372
|
# @type Default: String
|
|
@@ -7361,10 +7382,14 @@ module TencentCloud
|
|
|
7361
7382
|
# @type Min: Integer
|
|
7362
7383
|
# @param EnumValue: 参数的可选枚举值。如果为非枚举参数,则为空
|
|
7363
7384
|
# @type EnumValue: Array
|
|
7385
|
+
# @param MaxFunc: 参数是公式类型时,该字段有效,表示公式类型最大值
|
|
7386
|
+
# @type MaxFunc: String
|
|
7387
|
+
# @param MinFunc: 参数是公式类型时,该字段有效,表示公式类型最小值
|
|
7388
|
+
# @type MinFunc: String
|
|
7364
7389
|
|
|
7365
|
-
attr_accessor :Name, :ParamType, :Default, :Description, :CurrentValue, :NeedReboot, :Max, :Min, :EnumValue
|
|
7390
|
+
attr_accessor :Name, :ParamType, :Default, :Description, :CurrentValue, :NeedReboot, :Max, :Min, :EnumValue, :MaxFunc, :MinFunc
|
|
7366
7391
|
|
|
7367
|
-
def initialize(name=nil, paramtype=nil, default=nil, description=nil, currentvalue=nil, needreboot=nil, max=nil, min=nil, enumvalue=nil)
|
|
7392
|
+
def initialize(name=nil, paramtype=nil, default=nil, description=nil, currentvalue=nil, needreboot=nil, max=nil, min=nil, enumvalue=nil, maxfunc=nil, minfunc=nil)
|
|
7368
7393
|
@Name = name
|
|
7369
7394
|
@ParamType = paramtype
|
|
7370
7395
|
@Default = default
|
|
@@ -7374,6 +7399,8 @@ module TencentCloud
|
|
|
7374
7399
|
@Max = max
|
|
7375
7400
|
@Min = min
|
|
7376
7401
|
@EnumValue = enumvalue
|
|
7402
|
+
@MaxFunc = maxfunc
|
|
7403
|
+
@MinFunc = minfunc
|
|
7377
7404
|
end
|
|
7378
7405
|
|
|
7379
7406
|
def deserialize(params)
|
|
@@ -7386,6 +7413,8 @@ module TencentCloud
|
|
|
7386
7413
|
@Max = params['Max']
|
|
7387
7414
|
@Min = params['Min']
|
|
7388
7415
|
@EnumValue = params['EnumValue']
|
|
7416
|
+
@MaxFunc = params['MaxFunc']
|
|
7417
|
+
@MinFunc = params['MinFunc']
|
|
7389
7418
|
end
|
|
7390
7419
|
end
|
|
7391
7420
|
|
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.241
|
|
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-01-
|
|
11
|
+
date: 2022-01-13 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: tencentcloud-sdk-common
|