tencentcloud-sdk-sqlserver 3.0.707 → 3.0.708
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/v20180328/client.rb +480 -0
- data/lib/v20180328/models.rb +1558 -58
- metadata +2 -2
data/lib/v20180328/models.rb
CHANGED
@@ -411,6 +411,42 @@ module TencentCloud
|
|
411
411
|
end
|
412
412
|
end
|
413
413
|
|
414
|
+
# BalanceReadOnlyGroup请求参数结构体
|
415
|
+
class BalanceReadOnlyGroupRequest < TencentCloud::Common::AbstractModel
|
416
|
+
# @param InstanceId: 主实例ID,格式如:mssql-3l3fgqn7
|
417
|
+
# @type InstanceId: String
|
418
|
+
# @param ReadOnlyGroupId: 只读组ID,格式如:mssqlrg-dj5i29c5n
|
419
|
+
# @type ReadOnlyGroupId: String
|
420
|
+
|
421
|
+
attr_accessor :InstanceId, :ReadOnlyGroupId
|
422
|
+
|
423
|
+
def initialize(instanceid=nil, readonlygroupid=nil)
|
424
|
+
@InstanceId = instanceid
|
425
|
+
@ReadOnlyGroupId = readonlygroupid
|
426
|
+
end
|
427
|
+
|
428
|
+
def deserialize(params)
|
429
|
+
@InstanceId = params['InstanceId']
|
430
|
+
@ReadOnlyGroupId = params['ReadOnlyGroupId']
|
431
|
+
end
|
432
|
+
end
|
433
|
+
|
434
|
+
# BalanceReadOnlyGroup返回参数结构体
|
435
|
+
class BalanceReadOnlyGroupResponse < TencentCloud::Common::AbstractModel
|
436
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
437
|
+
# @type RequestId: String
|
438
|
+
|
439
|
+
attr_accessor :RequestId
|
440
|
+
|
441
|
+
def initialize(requestid=nil)
|
442
|
+
@RequestId = requestid
|
443
|
+
end
|
444
|
+
|
445
|
+
def deserialize(params)
|
446
|
+
@RequestId = params['RequestId']
|
447
|
+
end
|
448
|
+
end
|
449
|
+
|
414
450
|
# 商业智能服务文件类型
|
415
451
|
class BusinessIntelligenceFile < TencentCloud::Common::AbstractModel
|
416
452
|
# @param FileName: 文件名称
|
@@ -482,6 +518,44 @@ module TencentCloud
|
|
482
518
|
end
|
483
519
|
end
|
484
520
|
|
521
|
+
# 实例变配检查条目
|
522
|
+
class CheckItem < TencentCloud::Common::AbstractModel
|
523
|
+
# @param CheckName: 检查项目名称,CK_CPU-变配后CPU风险检查;CK_MASTER_STORAGE-只读副本变配下,只读副本磁盘空间不小于主实例空间检查;CK_MEMORY-变配后内存风险检查;CK_STORAGE-变配后磁盘空间风险检查;CK_UPGRATE-变配是否需要迁移检查;
|
524
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
525
|
+
# @type CheckName: String
|
526
|
+
# @param CurrentValue: 检查项目返回值,CK_CPU-当前CPU近7天最大的使用率(%) ;CK_MASTER_STORAGE-主实例的磁盘空间(GB);CK_MEMORY-当前内存近7天最大的使用值(GB);
|
527
|
+
# CK_STORAGE-当前磁盘近7天最大的使用值(GB);CK_UPGRATE- 当前变配检查是否需要迁移,MIGRATE需要迁移变配,LOCAL本地变配;
|
528
|
+
# @type CurrentValue: String
|
529
|
+
# @param Passed: 检查条目是否通过 0-不通过,不能变配; 1-通过,可以变配
|
530
|
+
# @type Passed: Integer
|
531
|
+
# @param IsAffect: 本条目变配是否对实例有影响 0-没有影响 1-有影响
|
532
|
+
# @type IsAffect: Integer
|
533
|
+
# @param Msg: 有影响或者不通过的情况下的必要描述
|
534
|
+
# @type Msg: String
|
535
|
+
# @param MsgCode: 描述对应的代码
|
536
|
+
# @type MsgCode: Integer
|
537
|
+
|
538
|
+
attr_accessor :CheckName, :CurrentValue, :Passed, :IsAffect, :Msg, :MsgCode
|
539
|
+
|
540
|
+
def initialize(checkname=nil, currentvalue=nil, passed=nil, isaffect=nil, msg=nil, msgcode=nil)
|
541
|
+
@CheckName = checkname
|
542
|
+
@CurrentValue = currentvalue
|
543
|
+
@Passed = passed
|
544
|
+
@IsAffect = isaffect
|
545
|
+
@Msg = msg
|
546
|
+
@MsgCode = msgcode
|
547
|
+
end
|
548
|
+
|
549
|
+
def deserialize(params)
|
550
|
+
@CheckName = params['CheckName']
|
551
|
+
@CurrentValue = params['CurrentValue']
|
552
|
+
@Passed = params['Passed']
|
553
|
+
@IsAffect = params['IsAffect']
|
554
|
+
@Msg = params['Msg']
|
555
|
+
@MsgCode = params['MsgCode']
|
556
|
+
end
|
557
|
+
end
|
558
|
+
|
485
559
|
# CloneDB请求参数结构体
|
486
560
|
class CloneDBRequest < TencentCloud::Common::AbstractModel
|
487
561
|
# @param InstanceId: 实例ID,形如mssql-j8kv137v
|
@@ -2922,6 +2996,105 @@ module TencentCloud
|
|
2922
2996
|
end
|
2923
2997
|
end
|
2924
2998
|
|
2999
|
+
# DeleteRestoreTask请求参数结构体
|
3000
|
+
class DeleteRestoreTaskRequest < TencentCloud::Common::AbstractModel
|
3001
|
+
# @param InstanceId: 实例ID
|
3002
|
+
# @type InstanceId: String
|
3003
|
+
# @param RestoreIds: 回档任务记录ID集合,一次最多删除10条
|
3004
|
+
# @type RestoreIds: Array
|
3005
|
+
|
3006
|
+
attr_accessor :InstanceId, :RestoreIds
|
3007
|
+
|
3008
|
+
def initialize(instanceid=nil, restoreids=nil)
|
3009
|
+
@InstanceId = instanceid
|
3010
|
+
@RestoreIds = restoreids
|
3011
|
+
end
|
3012
|
+
|
3013
|
+
def deserialize(params)
|
3014
|
+
@InstanceId = params['InstanceId']
|
3015
|
+
@RestoreIds = params['RestoreIds']
|
3016
|
+
end
|
3017
|
+
end
|
3018
|
+
|
3019
|
+
# DeleteRestoreTask返回参数结构体
|
3020
|
+
class DeleteRestoreTaskResponse < TencentCloud::Common::AbstractModel
|
3021
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3022
|
+
# @type RequestId: String
|
3023
|
+
|
3024
|
+
attr_accessor :RequestId
|
3025
|
+
|
3026
|
+
def initialize(requestid=nil)
|
3027
|
+
@RequestId = requestid
|
3028
|
+
end
|
3029
|
+
|
3030
|
+
def deserialize(params)
|
3031
|
+
@RequestId = params['RequestId']
|
3032
|
+
end
|
3033
|
+
end
|
3034
|
+
|
3035
|
+
# DescribeAccountPrivilegeByDB请求参数结构体
|
3036
|
+
class DescribeAccountPrivilegeByDBRequest < TencentCloud::Common::AbstractModel
|
3037
|
+
# @param InstanceId: 实例ID,形如mssql-njj2mtpl
|
3038
|
+
# @type InstanceId: String
|
3039
|
+
# @param DBName: 数据库名称
|
3040
|
+
# @type DBName: String
|
3041
|
+
# @param AccountName: 数据库属于账号名称
|
3042
|
+
# @type AccountName: String
|
3043
|
+
# @param Limit: 分页返回,每页返回的数目,取值为1-100,默认值为20
|
3044
|
+
# @type Limit: Integer
|
3045
|
+
# @param Offset: 分页返回,页编号,默认值为第0页
|
3046
|
+
# @type Offset: Integer
|
3047
|
+
|
3048
|
+
attr_accessor :InstanceId, :DBName, :AccountName, :Limit, :Offset
|
3049
|
+
|
3050
|
+
def initialize(instanceid=nil, dbname=nil, accountname=nil, limit=nil, offset=nil)
|
3051
|
+
@InstanceId = instanceid
|
3052
|
+
@DBName = dbname
|
3053
|
+
@AccountName = accountname
|
3054
|
+
@Limit = limit
|
3055
|
+
@Offset = offset
|
3056
|
+
end
|
3057
|
+
|
3058
|
+
def deserialize(params)
|
3059
|
+
@InstanceId = params['InstanceId']
|
3060
|
+
@DBName = params['DBName']
|
3061
|
+
@AccountName = params['AccountName']
|
3062
|
+
@Limit = params['Limit']
|
3063
|
+
@Offset = params['Offset']
|
3064
|
+
end
|
3065
|
+
end
|
3066
|
+
|
3067
|
+
# DescribeAccountPrivilegeByDB返回参数结构体
|
3068
|
+
class DescribeAccountPrivilegeByDBResponse < TencentCloud::Common::AbstractModel
|
3069
|
+
# @param TotalCount: 账号总数量
|
3070
|
+
# @type TotalCount: Integer
|
3071
|
+
# @param Accounts: 账号权限列表
|
3072
|
+
# @type Accounts: Array
|
3073
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3074
|
+
# @type RequestId: String
|
3075
|
+
|
3076
|
+
attr_accessor :TotalCount, :Accounts, :RequestId
|
3077
|
+
|
3078
|
+
def initialize(totalcount=nil, accounts=nil, requestid=nil)
|
3079
|
+
@TotalCount = totalcount
|
3080
|
+
@Accounts = accounts
|
3081
|
+
@RequestId = requestid
|
3082
|
+
end
|
3083
|
+
|
3084
|
+
def deserialize(params)
|
3085
|
+
@TotalCount = params['TotalCount']
|
3086
|
+
unless params['Accounts'].nil?
|
3087
|
+
@Accounts = []
|
3088
|
+
params['Accounts'].each do |i|
|
3089
|
+
accountprivilege_tmp = AccountPrivilege.new
|
3090
|
+
accountprivilege_tmp.deserialize(i)
|
3091
|
+
@Accounts << accountprivilege_tmp
|
3092
|
+
end
|
3093
|
+
end
|
3094
|
+
@RequestId = params['RequestId']
|
3095
|
+
end
|
3096
|
+
end
|
3097
|
+
|
2925
3098
|
# DescribeAccounts请求参数结构体
|
2926
3099
|
class DescribeAccountsRequest < TencentCloud::Common::AbstractModel
|
2927
3100
|
# @param InstanceId: 实例ID
|
@@ -3759,6 +3932,47 @@ module TencentCloud
|
|
3759
3932
|
end
|
3760
3933
|
end
|
3761
3934
|
|
3935
|
+
# DescribeCollationTimeZone请求参数结构体
|
3936
|
+
class DescribeCollationTimeZoneRequest < TencentCloud::Common::AbstractModel
|
3937
|
+
# @param MachineType: 购买实例的宿主机类型,PM-物理机, CLOUD_PREMIUM-虚拟机高性能云盘,
|
3938
|
+
# CLOUD_SSD-虚拟机SSD云盘,CLOUD_HSSD-虚拟机加强型SSD云盘,CLOUD_TSSD-虚拟机极速型SSD云盘,CLOUD_BSSD-虚拟机通用型SSD云盘,CLOUD_BASIC-虚拟机云硬盘,默认取值PM
|
3939
|
+
# @type MachineType: String
|
3940
|
+
|
3941
|
+
attr_accessor :MachineType
|
3942
|
+
|
3943
|
+
def initialize(machinetype=nil)
|
3944
|
+
@MachineType = machinetype
|
3945
|
+
end
|
3946
|
+
|
3947
|
+
def deserialize(params)
|
3948
|
+
@MachineType = params['MachineType']
|
3949
|
+
end
|
3950
|
+
end
|
3951
|
+
|
3952
|
+
# DescribeCollationTimeZone返回参数结构体
|
3953
|
+
class DescribeCollationTimeZoneResponse < TencentCloud::Common::AbstractModel
|
3954
|
+
# @param Collation: 系统字符集排序规则列表
|
3955
|
+
# @type Collation: Array
|
3956
|
+
# @param TimeZone: 系统时区列表
|
3957
|
+
# @type TimeZone: Array
|
3958
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3959
|
+
# @type RequestId: String
|
3960
|
+
|
3961
|
+
attr_accessor :Collation, :TimeZone, :RequestId
|
3962
|
+
|
3963
|
+
def initialize(collation=nil, timezone=nil, requestid=nil)
|
3964
|
+
@Collation = collation
|
3965
|
+
@TimeZone = timezone
|
3966
|
+
@RequestId = requestid
|
3967
|
+
end
|
3968
|
+
|
3969
|
+
def deserialize(params)
|
3970
|
+
@Collation = params['Collation']
|
3971
|
+
@TimeZone = params['TimeZone']
|
3972
|
+
@RequestId = params['RequestId']
|
3973
|
+
end
|
3974
|
+
end
|
3975
|
+
|
3762
3976
|
# DescribeCrossBackupStatistical请求参数结构体
|
3763
3977
|
class DescribeCrossBackupStatisticalRequest < TencentCloud::Common::AbstractModel
|
3764
3978
|
# @param Offset: 分页,页数
|
@@ -3874,6 +4088,37 @@ module TencentCloud
|
|
3874
4088
|
end
|
3875
4089
|
end
|
3876
4090
|
|
4091
|
+
# DescribeCrossRegions请求参数结构体
|
4092
|
+
class DescribeCrossRegionsRequest < TencentCloud::Common::AbstractModel
|
4093
|
+
|
4094
|
+
|
4095
|
+
def initialize()
|
4096
|
+
end
|
4097
|
+
|
4098
|
+
def deserialize(params)
|
4099
|
+
end
|
4100
|
+
end
|
4101
|
+
|
4102
|
+
# DescribeCrossRegions返回参数结构体
|
4103
|
+
class DescribeCrossRegionsResponse < TencentCloud::Common::AbstractModel
|
4104
|
+
# @param Regions: 支持跨地域备份的目标地域集合
|
4105
|
+
# @type Regions: Array
|
4106
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
4107
|
+
# @type RequestId: String
|
4108
|
+
|
4109
|
+
attr_accessor :Regions, :RequestId
|
4110
|
+
|
4111
|
+
def initialize(regions=nil, requestid=nil)
|
4112
|
+
@Regions = regions
|
4113
|
+
@RequestId = requestid
|
4114
|
+
end
|
4115
|
+
|
4116
|
+
def deserialize(params)
|
4117
|
+
@Regions = params['Regions']
|
4118
|
+
@RequestId = params['RequestId']
|
4119
|
+
end
|
4120
|
+
end
|
4121
|
+
|
3877
4122
|
# DescribeDBCharsets请求参数结构体
|
3878
4123
|
class DescribeDBCharsetsRequest < TencentCloud::Common::AbstractModel
|
3879
4124
|
# @param InstanceId: 实例ID,形如mssql-j8kv137v
|
@@ -4171,102 +4416,228 @@ module TencentCloud
|
|
4171
4416
|
end
|
4172
4417
|
end
|
4173
4418
|
|
4174
|
-
#
|
4175
|
-
class
|
4176
|
-
# @param InstanceId: 实例ID
|
4419
|
+
# DescribeDBPrivilegeByAccount请求参数结构体
|
4420
|
+
class DescribeDBPrivilegeByAccountRequest < TencentCloud::Common::AbstractModel
|
4421
|
+
# @param InstanceId: 实例ID,形如mssql-njj2mtpl
|
4177
4422
|
# @type InstanceId: String
|
4423
|
+
# @param AccountName: 账号名称
|
4424
|
+
# @type AccountName: String
|
4425
|
+
# @param DBName: 账号关联的数据库名称
|
4426
|
+
# @type DBName: String
|
4427
|
+
# @param Limit: 分页返回,每页返回的数目,取值为1-100,默认值为20
|
4428
|
+
# @type Limit: Integer
|
4429
|
+
# @param Offset: 分页返回,页编号,默认值为第0页
|
4430
|
+
# @type Offset: Integer
|
4178
4431
|
|
4179
|
-
attr_accessor :InstanceId
|
4432
|
+
attr_accessor :InstanceId, :AccountName, :DBName, :Limit, :Offset
|
4180
4433
|
|
4181
|
-
def initialize(instanceid=nil)
|
4434
|
+
def initialize(instanceid=nil, accountname=nil, dbname=nil, limit=nil, offset=nil)
|
4182
4435
|
@InstanceId = instanceid
|
4436
|
+
@AccountName = accountname
|
4437
|
+
@DBName = dbname
|
4438
|
+
@Limit = limit
|
4439
|
+
@Offset = offset
|
4183
4440
|
end
|
4184
4441
|
|
4185
4442
|
def deserialize(params)
|
4186
4443
|
@InstanceId = params['InstanceId']
|
4444
|
+
@AccountName = params['AccountName']
|
4445
|
+
@DBName = params['DBName']
|
4446
|
+
@Limit = params['Limit']
|
4447
|
+
@Offset = params['Offset']
|
4187
4448
|
end
|
4188
4449
|
end
|
4189
4450
|
|
4190
|
-
#
|
4191
|
-
class
|
4192
|
-
# @param
|
4193
|
-
# @type
|
4451
|
+
# DescribeDBPrivilegeByAccount返回参数结构体
|
4452
|
+
class DescribeDBPrivilegeByAccountResponse < TencentCloud::Common::AbstractModel
|
4453
|
+
# @param TotalCount: 数据总库数量
|
4454
|
+
# @type TotalCount: Integer
|
4455
|
+
# @param DBList: 数据库权限列表
|
4456
|
+
# @type DBList: Array
|
4194
4457
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
4195
4458
|
# @type RequestId: String
|
4196
4459
|
|
4197
|
-
attr_accessor :
|
4460
|
+
attr_accessor :TotalCount, :DBList, :RequestId
|
4198
4461
|
|
4199
|
-
def initialize(
|
4200
|
-
@
|
4462
|
+
def initialize(totalcount=nil, dblist=nil, requestid=nil)
|
4463
|
+
@TotalCount = totalcount
|
4464
|
+
@DBList = dblist
|
4201
4465
|
@RequestId = requestid
|
4202
4466
|
end
|
4203
4467
|
|
4204
4468
|
def deserialize(params)
|
4205
|
-
|
4206
|
-
|
4207
|
-
|
4208
|
-
|
4209
|
-
|
4210
|
-
|
4469
|
+
@TotalCount = params['TotalCount']
|
4470
|
+
unless params['DBList'].nil?
|
4471
|
+
@DBList = []
|
4472
|
+
params['DBList'].each do |i|
|
4473
|
+
dbprivilege_tmp = DBPrivilege.new
|
4474
|
+
dbprivilege_tmp.deserialize(i)
|
4475
|
+
@DBList << dbprivilege_tmp
|
4211
4476
|
end
|
4212
4477
|
end
|
4213
4478
|
@RequestId = params['RequestId']
|
4214
4479
|
end
|
4215
4480
|
end
|
4216
4481
|
|
4217
|
-
#
|
4218
|
-
class
|
4219
|
-
# @param InstanceId:
|
4482
|
+
# DescribeDBRestoreTime请求参数结构体
|
4483
|
+
class DescribeDBRestoreTimeRequest < TencentCloud::Common::AbstractModel
|
4484
|
+
# @param InstanceId: 原实例ID
|
4220
4485
|
# @type InstanceId: String
|
4486
|
+
# @param TargetInstanceId: 回档的目标实例ID,不填则回档到原实例ID
|
4487
|
+
# @type TargetInstanceId: String
|
4488
|
+
# @param Time: 按时间点查询可回档数据库,时间格式 YYYY-MM-DD HH:MM:SS。BackupId,Time二选一,不能同时为空
|
4489
|
+
# @type Time: String
|
4490
|
+
# @param BackupId: 按备份集ID查询可回档数据库,可通过DescribeBackups接口获取。BackupId,Time二选一不能同时为空
|
4491
|
+
# @type BackupId: Integer
|
4492
|
+
# @param DBName: 数据库名称
|
4493
|
+
# @type DBName: String
|
4221
4494
|
|
4222
|
-
attr_accessor :InstanceId
|
4495
|
+
attr_accessor :InstanceId, :TargetInstanceId, :Time, :BackupId, :DBName
|
4223
4496
|
|
4224
|
-
def initialize(instanceid=nil)
|
4497
|
+
def initialize(instanceid=nil, targetinstanceid=nil, time=nil, backupid=nil, dbname=nil)
|
4225
4498
|
@InstanceId = instanceid
|
4499
|
+
@TargetInstanceId = targetinstanceid
|
4500
|
+
@Time = time
|
4501
|
+
@BackupId = backupid
|
4502
|
+
@DBName = dbname
|
4226
4503
|
end
|
4227
4504
|
|
4228
4505
|
def deserialize(params)
|
4229
4506
|
@InstanceId = params['InstanceId']
|
4507
|
+
@TargetInstanceId = params['TargetInstanceId']
|
4508
|
+
@Time = params['Time']
|
4509
|
+
@BackupId = params['BackupId']
|
4510
|
+
@DBName = params['DBName']
|
4230
4511
|
end
|
4231
4512
|
end
|
4232
4513
|
|
4233
|
-
#
|
4234
|
-
class
|
4235
|
-
# @param TotalCount:
|
4514
|
+
# DescribeDBRestoreTime返回参数结构体
|
4515
|
+
class DescribeDBRestoreTimeResponse < TencentCloud::Common::AbstractModel
|
4516
|
+
# @param TotalCount: 可回档数据库总数量
|
4236
4517
|
# @type TotalCount: Integer
|
4237
|
-
# @param
|
4238
|
-
# @type
|
4518
|
+
# @param Details: 可回档数据库列表
|
4519
|
+
# @type Details: Array
|
4239
4520
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
4240
4521
|
# @type RequestId: String
|
4241
4522
|
|
4242
|
-
attr_accessor :TotalCount, :
|
4523
|
+
attr_accessor :TotalCount, :Details, :RequestId
|
4243
4524
|
|
4244
|
-
def initialize(totalcount=nil,
|
4525
|
+
def initialize(totalcount=nil, details=nil, requestid=nil)
|
4245
4526
|
@TotalCount = totalcount
|
4246
|
-
@
|
4527
|
+
@Details = details
|
4247
4528
|
@RequestId = requestid
|
4248
4529
|
end
|
4249
4530
|
|
4250
4531
|
def deserialize(params)
|
4251
4532
|
@TotalCount = params['TotalCount']
|
4252
|
-
unless params['
|
4253
|
-
@
|
4254
|
-
params['
|
4255
|
-
|
4256
|
-
|
4257
|
-
@
|
4533
|
+
unless params['Details'].nil?
|
4534
|
+
@Details = []
|
4535
|
+
params['Details'].each do |i|
|
4536
|
+
dbrenameres_tmp = DBRenameRes.new
|
4537
|
+
dbrenameres_tmp.deserialize(i)
|
4538
|
+
@Details << dbrenameres_tmp
|
4258
4539
|
end
|
4259
4540
|
end
|
4260
4541
|
@RequestId = params['RequestId']
|
4261
4542
|
end
|
4262
4543
|
end
|
4263
4544
|
|
4264
|
-
#
|
4265
|
-
class
|
4266
|
-
# @param
|
4267
|
-
# @type
|
4268
|
-
|
4269
|
-
|
4545
|
+
# DescribeDBSecurityGroups请求参数结构体
|
4546
|
+
class DescribeDBSecurityGroupsRequest < TencentCloud::Common::AbstractModel
|
4547
|
+
# @param InstanceId: 实例ID,格式如:mssql-c1nl9rpv或者mssqlro-c1nl9rpv,与云数据库控制台页面中显示的实例ID相同。
|
4548
|
+
# @type InstanceId: String
|
4549
|
+
|
4550
|
+
attr_accessor :InstanceId
|
4551
|
+
|
4552
|
+
def initialize(instanceid=nil)
|
4553
|
+
@InstanceId = instanceid
|
4554
|
+
end
|
4555
|
+
|
4556
|
+
def deserialize(params)
|
4557
|
+
@InstanceId = params['InstanceId']
|
4558
|
+
end
|
4559
|
+
end
|
4560
|
+
|
4561
|
+
# DescribeDBSecurityGroups返回参数结构体
|
4562
|
+
class DescribeDBSecurityGroupsResponse < TencentCloud::Common::AbstractModel
|
4563
|
+
# @param SecurityGroupSet: 安全组详情。
|
4564
|
+
# @type SecurityGroupSet: Array
|
4565
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
4566
|
+
# @type RequestId: String
|
4567
|
+
|
4568
|
+
attr_accessor :SecurityGroupSet, :RequestId
|
4569
|
+
|
4570
|
+
def initialize(securitygroupset=nil, requestid=nil)
|
4571
|
+
@SecurityGroupSet = securitygroupset
|
4572
|
+
@RequestId = requestid
|
4573
|
+
end
|
4574
|
+
|
4575
|
+
def deserialize(params)
|
4576
|
+
unless params['SecurityGroupSet'].nil?
|
4577
|
+
@SecurityGroupSet = []
|
4578
|
+
params['SecurityGroupSet'].each do |i|
|
4579
|
+
securitygroup_tmp = SecurityGroup.new
|
4580
|
+
securitygroup_tmp.deserialize(i)
|
4581
|
+
@SecurityGroupSet << securitygroup_tmp
|
4582
|
+
end
|
4583
|
+
end
|
4584
|
+
@RequestId = params['RequestId']
|
4585
|
+
end
|
4586
|
+
end
|
4587
|
+
|
4588
|
+
# DescribeDBsNormal请求参数结构体
|
4589
|
+
class DescribeDBsNormalRequest < TencentCloud::Common::AbstractModel
|
4590
|
+
# @param InstanceId: 实例ID,形如mssql-7vfv3rk3
|
4591
|
+
# @type InstanceId: String
|
4592
|
+
|
4593
|
+
attr_accessor :InstanceId
|
4594
|
+
|
4595
|
+
def initialize(instanceid=nil)
|
4596
|
+
@InstanceId = instanceid
|
4597
|
+
end
|
4598
|
+
|
4599
|
+
def deserialize(params)
|
4600
|
+
@InstanceId = params['InstanceId']
|
4601
|
+
end
|
4602
|
+
end
|
4603
|
+
|
4604
|
+
# DescribeDBsNormal返回参数结构体
|
4605
|
+
class DescribeDBsNormalResponse < TencentCloud::Common::AbstractModel
|
4606
|
+
# @param TotalCount: 表示当前实例下的数据库总个数
|
4607
|
+
# @type TotalCount: Integer
|
4608
|
+
# @param DBList: 返回数据库的详细配置信息,例如:数据库是否开启CDC、CT等
|
4609
|
+
# @type DBList: Array
|
4610
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
4611
|
+
# @type RequestId: String
|
4612
|
+
|
4613
|
+
attr_accessor :TotalCount, :DBList, :RequestId
|
4614
|
+
|
4615
|
+
def initialize(totalcount=nil, dblist=nil, requestid=nil)
|
4616
|
+
@TotalCount = totalcount
|
4617
|
+
@DBList = dblist
|
4618
|
+
@RequestId = requestid
|
4619
|
+
end
|
4620
|
+
|
4621
|
+
def deserialize(params)
|
4622
|
+
@TotalCount = params['TotalCount']
|
4623
|
+
unless params['DBList'].nil?
|
4624
|
+
@DBList = []
|
4625
|
+
params['DBList'].each do |i|
|
4626
|
+
dbnormaldetail_tmp = DbNormalDetail.new
|
4627
|
+
dbnormaldetail_tmp.deserialize(i)
|
4628
|
+
@DBList << dbnormaldetail_tmp
|
4629
|
+
end
|
4630
|
+
end
|
4631
|
+
@RequestId = params['RequestId']
|
4632
|
+
end
|
4633
|
+
end
|
4634
|
+
|
4635
|
+
# DescribeDBs请求参数结构体
|
4636
|
+
class DescribeDBsRequest < TencentCloud::Common::AbstractModel
|
4637
|
+
# @param InstanceIdSet: 实例ID
|
4638
|
+
# @type InstanceIdSet: Array
|
4639
|
+
# @param Limit: 分页返回,每页返回的数目,取值为1-100,默认值为20
|
4640
|
+
# @type Limit: Integer
|
4270
4641
|
# @param Offset: 分页返回,页编号,默认值为第0页
|
4271
4642
|
# @type Offset: Integer
|
4272
4643
|
# @param Name: 数据库名称
|
@@ -4328,6 +4699,50 @@ module TencentCloud
|
|
4328
4699
|
end
|
4329
4700
|
end
|
4330
4701
|
|
4702
|
+
# DescribeDatabaseNames请求参数结构体
|
4703
|
+
class DescribeDatabaseNamesRequest < TencentCloud::Common::AbstractModel
|
4704
|
+
# @param InstanceId: 实例ID,形如mssql-rljoi3bf
|
4705
|
+
# @type InstanceId: String
|
4706
|
+
# @param AccountName: 账户名称
|
4707
|
+
# @type AccountName: String
|
4708
|
+
|
4709
|
+
attr_accessor :InstanceId, :AccountName
|
4710
|
+
|
4711
|
+
def initialize(instanceid=nil, accountname=nil)
|
4712
|
+
@InstanceId = instanceid
|
4713
|
+
@AccountName = accountname
|
4714
|
+
end
|
4715
|
+
|
4716
|
+
def deserialize(params)
|
4717
|
+
@InstanceId = params['InstanceId']
|
4718
|
+
@AccountName = params['AccountName']
|
4719
|
+
end
|
4720
|
+
end
|
4721
|
+
|
4722
|
+
# DescribeDatabaseNames返回参数结构体
|
4723
|
+
class DescribeDatabaseNamesResponse < TencentCloud::Common::AbstractModel
|
4724
|
+
# @param TotalCount: 账户关联的数据库总数
|
4725
|
+
# @type TotalCount: Integer
|
4726
|
+
# @param DatabaseNameSet: 数据库名称集合
|
4727
|
+
# @type DatabaseNameSet: Array
|
4728
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
4729
|
+
# @type RequestId: String
|
4730
|
+
|
4731
|
+
attr_accessor :TotalCount, :DatabaseNameSet, :RequestId
|
4732
|
+
|
4733
|
+
def initialize(totalcount=nil, databasenameset=nil, requestid=nil)
|
4734
|
+
@TotalCount = totalcount
|
4735
|
+
@DatabaseNameSet = databasenameset
|
4736
|
+
@RequestId = requestid
|
4737
|
+
end
|
4738
|
+
|
4739
|
+
def deserialize(params)
|
4740
|
+
@TotalCount = params['TotalCount']
|
4741
|
+
@DatabaseNameSet = params['DatabaseNameSet']
|
4742
|
+
@RequestId = params['RequestId']
|
4743
|
+
end
|
4744
|
+
end
|
4745
|
+
|
4331
4746
|
# DescribeDatabasesNormal请求参数结构体
|
4332
4747
|
class DescribeDatabasesNormalRequest < TencentCloud::Common::AbstractModel
|
4333
4748
|
# @param InstanceId: 实例ID,形如mssql-7vfv3rk3
|
@@ -4624,6 +5039,80 @@ module TencentCloud
|
|
4624
5039
|
end
|
4625
5040
|
end
|
4626
5041
|
|
5042
|
+
# DescribeInquiryPriceParameter请求参数结构体
|
5043
|
+
class DescribeInquiryPriceParameterRequest < TencentCloud::Common::AbstractModel
|
5044
|
+
# @param Zone: 可用区ID。该参数可以通过调用 DescribeZones 接口的返回值中的Zone字段来获取。
|
5045
|
+
# @type Zone: String
|
5046
|
+
# @param Memory: 内存大小,单位:GB
|
5047
|
+
# @type Memory: Integer
|
5048
|
+
# @param Storage: 实例容量大小,单位:GB。
|
5049
|
+
# @type Storage: Integer
|
5050
|
+
# @param InstanceType: 购买实例的类型 HA-高可用型(包括双机高可用,alwaysOn集群),RO-只读副本型,SI-单节点型,cvmHA-新版高可用,cvmRO-新版只读
|
5051
|
+
# @type InstanceType: String
|
5052
|
+
# @param InstanceChargeType: 计费类型,取值支持 PREPAID,POSTPAID。
|
5053
|
+
# @type InstanceChargeType: String
|
5054
|
+
# @param Cpu: 预购买实例的CPU核心数
|
5055
|
+
# @type Cpu: Integer
|
5056
|
+
# @param Period: 购买时长,单位:月。取值为1到48,默认为1
|
5057
|
+
# @type Period: Integer
|
5058
|
+
# @param GoodsNum: 一次性购买的实例数量。取值1-100,默认取值为1
|
5059
|
+
# @type GoodsNum: Integer
|
5060
|
+
# @param DBVersion: sqlserver版本,目前所有支持的版本有:2008R2 (SQL Server 2008 R2 Enterprise),2012SP3 (SQL Server 2012 Enterprise),201202 (SQL Server 2012 Standard),2014SP2 (SQL Server 2014 Enterprise),201402 (SQL Server 2014 Standard),2016SP1 (SQL Server 2016 Enterprise),201602 (SQL Server 2016 Standard),2017 (SQL Server 2017 Enterprise),201702 (SQL Server 2017 Standard),2019 (SQL Server 2019 Enterprise),201902 (SQL Server 2019 Standard)。每个地域支持售卖的版本不同,可通过DescribeProductConfig接口来拉取每个地域可售卖的版本信息。不填,默认为版本2008R2。
|
5061
|
+
# @type DBVersion: String
|
5062
|
+
# @param MachineType: 购买实例的宿主机类型,PM-物理机, CLOUD_PREMIUM-虚拟机高性能云盘,CLOUD_SSD-虚拟机SSD云盘,
|
5063
|
+
# CLOUD_HSSD-虚拟机加强型SSD云盘,CLOUD_TSSD-虚拟机极速型SSD云盘,CLOUD_BSSD-虚拟机通用型SSD云盘
|
5064
|
+
# @type MachineType: String
|
5065
|
+
|
5066
|
+
attr_accessor :Zone, :Memory, :Storage, :InstanceType, :InstanceChargeType, :Cpu, :Period, :GoodsNum, :DBVersion, :MachineType
|
5067
|
+
|
5068
|
+
def initialize(zone=nil, memory=nil, storage=nil, instancetype=nil, instancechargetype=nil, cpu=nil, period=nil, goodsnum=nil, dbversion=nil, machinetype=nil)
|
5069
|
+
@Zone = zone
|
5070
|
+
@Memory = memory
|
5071
|
+
@Storage = storage
|
5072
|
+
@InstanceType = instancetype
|
5073
|
+
@InstanceChargeType = instancechargetype
|
5074
|
+
@Cpu = cpu
|
5075
|
+
@Period = period
|
5076
|
+
@GoodsNum = goodsnum
|
5077
|
+
@DBVersion = dbversion
|
5078
|
+
@MachineType = machinetype
|
5079
|
+
end
|
5080
|
+
|
5081
|
+
def deserialize(params)
|
5082
|
+
@Zone = params['Zone']
|
5083
|
+
@Memory = params['Memory']
|
5084
|
+
@Storage = params['Storage']
|
5085
|
+
@InstanceType = params['InstanceType']
|
5086
|
+
@InstanceChargeType = params['InstanceChargeType']
|
5087
|
+
@Cpu = params['Cpu']
|
5088
|
+
@Period = params['Period']
|
5089
|
+
@GoodsNum = params['GoodsNum']
|
5090
|
+
@DBVersion = params['DBVersion']
|
5091
|
+
@MachineType = params['MachineType']
|
5092
|
+
end
|
5093
|
+
end
|
5094
|
+
|
5095
|
+
# DescribeInquiryPriceParameter返回参数结构体
|
5096
|
+
class DescribeInquiryPriceParameterResponse < TencentCloud::Common::AbstractModel
|
5097
|
+
# @param Parameter: 计费参数
|
5098
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5099
|
+
# @type Parameter: String
|
5100
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
5101
|
+
# @type RequestId: String
|
5102
|
+
|
5103
|
+
attr_accessor :Parameter, :RequestId
|
5104
|
+
|
5105
|
+
def initialize(parameter=nil, requestid=nil)
|
5106
|
+
@Parameter = parameter
|
5107
|
+
@RequestId = requestid
|
5108
|
+
end
|
5109
|
+
|
5110
|
+
def deserialize(params)
|
5111
|
+
@Parameter = params['Parameter']
|
5112
|
+
@RequestId = params['RequestId']
|
5113
|
+
end
|
5114
|
+
end
|
5115
|
+
|
4627
5116
|
# DescribeInstanceByOrders请求参数结构体
|
4628
5117
|
class DescribeInstanceByOrdersRequest < TencentCloud::Common::AbstractModel
|
4629
5118
|
# @param DealNames: 订单号集合
|
@@ -4769,6 +5258,193 @@ module TencentCloud
|
|
4769
5258
|
end
|
4770
5259
|
end
|
4771
5260
|
|
5261
|
+
# DescribeInstanceTasks请求参数结构体
|
5262
|
+
class DescribeInstanceTasksRequest < TencentCloud::Common::AbstractModel
|
5263
|
+
# @param InstanceId: 数据库实例ID,形如mssql-njj2mtpl
|
5264
|
+
# @type InstanceId: String
|
5265
|
+
# @param Limit: 分页大小
|
5266
|
+
# @type Limit: Integer
|
5267
|
+
# @param Status: 异步任务状态 1-运行中,2-运行成功,3-运行失败
|
5268
|
+
# @type Status: Integer
|
5269
|
+
# @param Offset: 分页偏移量
|
5270
|
+
# @type Offset: Integer
|
5271
|
+
|
5272
|
+
attr_accessor :InstanceId, :Limit, :Status, :Offset
|
5273
|
+
|
5274
|
+
def initialize(instanceid=nil, limit=nil, status=nil, offset=nil)
|
5275
|
+
@InstanceId = instanceid
|
5276
|
+
@Limit = limit
|
5277
|
+
@Status = status
|
5278
|
+
@Offset = offset
|
5279
|
+
end
|
5280
|
+
|
5281
|
+
def deserialize(params)
|
5282
|
+
@InstanceId = params['InstanceId']
|
5283
|
+
@Limit = params['Limit']
|
5284
|
+
@Status = params['Status']
|
5285
|
+
@Offset = params['Offset']
|
5286
|
+
end
|
5287
|
+
end
|
5288
|
+
|
5289
|
+
# DescribeInstanceTasks返回参数结构体
|
5290
|
+
class DescribeInstanceTasksResponse < TencentCloud::Common::AbstractModel
|
5291
|
+
# @param TotalCount: 异步任务总条数
|
5292
|
+
# @type TotalCount: Integer
|
5293
|
+
# @param InstanceTaskSet: 异步任务信息数组
|
5294
|
+
# @type InstanceTaskSet: Array
|
5295
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
5296
|
+
# @type RequestId: String
|
5297
|
+
|
5298
|
+
attr_accessor :TotalCount, :InstanceTaskSet, :RequestId
|
5299
|
+
|
5300
|
+
def initialize(totalcount=nil, instancetaskset=nil, requestid=nil)
|
5301
|
+
@TotalCount = totalcount
|
5302
|
+
@InstanceTaskSet = instancetaskset
|
5303
|
+
@RequestId = requestid
|
5304
|
+
end
|
5305
|
+
|
5306
|
+
def deserialize(params)
|
5307
|
+
@TotalCount = params['TotalCount']
|
5308
|
+
unless params['InstanceTaskSet'].nil?
|
5309
|
+
@InstanceTaskSet = []
|
5310
|
+
params['InstanceTaskSet'].each do |i|
|
5311
|
+
instancetask_tmp = InstanceTask.new
|
5312
|
+
instancetask_tmp.deserialize(i)
|
5313
|
+
@InstanceTaskSet << instancetask_tmp
|
5314
|
+
end
|
5315
|
+
end
|
5316
|
+
@RequestId = params['RequestId']
|
5317
|
+
end
|
5318
|
+
end
|
5319
|
+
|
5320
|
+
# DescribeInstanceTradeParameter请求参数结构体
|
5321
|
+
class DescribeInstanceTradeParameterRequest < TencentCloud::Common::AbstractModel
|
5322
|
+
# @param Zone: 实例可用区,类似ap-guangzhou-1(广州一区);实例可售卖区域可以通过接口DescribeZones获取
|
5323
|
+
# @type Zone: String
|
5324
|
+
# @param Cpu: 实例核心数
|
5325
|
+
# @type Cpu: Integer
|
5326
|
+
# @param Memory: 实例内存大小,单位GB
|
5327
|
+
# @type Memory: Integer
|
5328
|
+
# @param Storage: 实例磁盘大小,单位GB
|
5329
|
+
# @type Storage: Integer
|
5330
|
+
# @param InstanceType: 购买实例的类型 HA-高可用型(包括双机高可用,alwaysOn集群),RO-只读副本型,SI-单节点型,BI-商业智能服务,cvmHA-新版高可用,cvmRO-新版只读
|
5331
|
+
# @type InstanceType: String
|
5332
|
+
# @param MachineType: 购买实例的宿主机磁盘类型,CLOUD_HSSD-虚拟机加强型SSD云盘,CLOUD_TSSD-虚拟机极速型SSD云盘,CLOUD_BSSD-虚拟机通用型SSD云盘
|
5333
|
+
# @type MachineType: String
|
5334
|
+
# @param InstanceChargeType: 付费模式,取值支持 PREPAID(预付费),POSTPAID(后付费)。
|
5335
|
+
# @type InstanceChargeType: String
|
5336
|
+
# @param ProjectId: 项目ID
|
5337
|
+
# @type ProjectId: Integer
|
5338
|
+
# @param GoodsNum: 本次购买几个实例,默认值为1。取值不超过10
|
5339
|
+
# @type GoodsNum: Integer
|
5340
|
+
# @param DBVersion: sqlserver版本,目前所有支持的版本有:2008R2 (SQL Server 2008 R2 Enterprise),2012SP3 (SQL Server 2012 Enterprise),201202 (SQL Server 2012 Standard),2014SP2 (SQL Server 2014 Enterprise),201402 (SQL Server 2014 Standard),2016SP1 (SQL Server 2016 Enterprise),201602 (SQL Server 2016 Standard),2017 (SQL Server 2017 Enterprise),201702 (SQL Server 2017 Standard),2019 (SQL Server 2019 Enterprise),201902 (SQL Server 2019 Standard)。每个地域支持售卖的版本不同,可通过DescribeProductConfig接口来拉取每个地域可售卖的版本信息。不填,默认为版本2008R2。
|
5341
|
+
# @type DBVersion: String
|
5342
|
+
# @param SubnetId: VPC子网ID,形如subnet-bdoe83fa;SubnetId和VpcId需同时设置或者同时不设置
|
5343
|
+
# @type SubnetId: String
|
5344
|
+
# @param VpcId: VPC网络ID,形如vpc-dsp338hz;SubnetId和VpcId需同时设置或者同时不设置
|
5345
|
+
# @type VpcId: String
|
5346
|
+
# @param Period: 购买实例周期,默认取值为1,表示一个月。取值不超过48
|
5347
|
+
# @type Period: Integer
|
5348
|
+
# @param SecurityGroupList: 安全组列表,填写形如sg-xxx的安全组ID
|
5349
|
+
# @type SecurityGroupList: Array
|
5350
|
+
# @param AutoRenewFlag: 自动续费标志:0-正常续费 1-自动续费,默认为1自动续费。只在购买预付费实例时有效。
|
5351
|
+
# @type AutoRenewFlag: Integer
|
5352
|
+
# @param Weekly: 可维护时间窗配置,以周为单位,表示周几允许维护,1-7分别代表周一到周末
|
5353
|
+
# @type Weekly: Array
|
5354
|
+
# @param StartTime: 可维护时间窗配置,每天可维护的开始时间
|
5355
|
+
# @type StartTime: String
|
5356
|
+
# @param Span: 可维护时间窗配置,持续时间,单位:小时
|
5357
|
+
# @type Span: Integer
|
5358
|
+
# @param MultiZones: 是否跨可用区部署,默认值为false
|
5359
|
+
# @type MultiZones: Boolean
|
5360
|
+
# @param ResourceTags: 新建实例绑定的标签集合
|
5361
|
+
# @type ResourceTags: Array
|
5362
|
+
# @param TimeZone: 系统时区,默认:China Standard Time
|
5363
|
+
# @type TimeZone: String
|
5364
|
+
# @param Collation: 系统字符集排序规则,默认:Chinese_PRC_CI_AS
|
5365
|
+
# @type Collation: String
|
5366
|
+
|
5367
|
+
attr_accessor :Zone, :Cpu, :Memory, :Storage, :InstanceType, :MachineType, :InstanceChargeType, :ProjectId, :GoodsNum, :DBVersion, :SubnetId, :VpcId, :Period, :SecurityGroupList, :AutoRenewFlag, :Weekly, :StartTime, :Span, :MultiZones, :ResourceTags, :TimeZone, :Collation
|
5368
|
+
|
5369
|
+
def initialize(zone=nil, cpu=nil, memory=nil, storage=nil, instancetype=nil, machinetype=nil, instancechargetype=nil, projectid=nil, goodsnum=nil, dbversion=nil, subnetid=nil, vpcid=nil, period=nil, securitygrouplist=nil, autorenewflag=nil, weekly=nil, starttime=nil, span=nil, multizones=nil, resourcetags=nil, timezone=nil, collation=nil)
|
5370
|
+
@Zone = zone
|
5371
|
+
@Cpu = cpu
|
5372
|
+
@Memory = memory
|
5373
|
+
@Storage = storage
|
5374
|
+
@InstanceType = instancetype
|
5375
|
+
@MachineType = machinetype
|
5376
|
+
@InstanceChargeType = instancechargetype
|
5377
|
+
@ProjectId = projectid
|
5378
|
+
@GoodsNum = goodsnum
|
5379
|
+
@DBVersion = dbversion
|
5380
|
+
@SubnetId = subnetid
|
5381
|
+
@VpcId = vpcid
|
5382
|
+
@Period = period
|
5383
|
+
@SecurityGroupList = securitygrouplist
|
5384
|
+
@AutoRenewFlag = autorenewflag
|
5385
|
+
@Weekly = weekly
|
5386
|
+
@StartTime = starttime
|
5387
|
+
@Span = span
|
5388
|
+
@MultiZones = multizones
|
5389
|
+
@ResourceTags = resourcetags
|
5390
|
+
@TimeZone = timezone
|
5391
|
+
@Collation = collation
|
5392
|
+
end
|
5393
|
+
|
5394
|
+
def deserialize(params)
|
5395
|
+
@Zone = params['Zone']
|
5396
|
+
@Cpu = params['Cpu']
|
5397
|
+
@Memory = params['Memory']
|
5398
|
+
@Storage = params['Storage']
|
5399
|
+
@InstanceType = params['InstanceType']
|
5400
|
+
@MachineType = params['MachineType']
|
5401
|
+
@InstanceChargeType = params['InstanceChargeType']
|
5402
|
+
@ProjectId = params['ProjectId']
|
5403
|
+
@GoodsNum = params['GoodsNum']
|
5404
|
+
@DBVersion = params['DBVersion']
|
5405
|
+
@SubnetId = params['SubnetId']
|
5406
|
+
@VpcId = params['VpcId']
|
5407
|
+
@Period = params['Period']
|
5408
|
+
@SecurityGroupList = params['SecurityGroupList']
|
5409
|
+
@AutoRenewFlag = params['AutoRenewFlag']
|
5410
|
+
@Weekly = params['Weekly']
|
5411
|
+
@StartTime = params['StartTime']
|
5412
|
+
@Span = params['Span']
|
5413
|
+
@MultiZones = params['MultiZones']
|
5414
|
+
unless params['ResourceTags'].nil?
|
5415
|
+
@ResourceTags = []
|
5416
|
+
params['ResourceTags'].each do |i|
|
5417
|
+
resourcetag_tmp = ResourceTag.new
|
5418
|
+
resourcetag_tmp.deserialize(i)
|
5419
|
+
@ResourceTags << resourcetag_tmp
|
5420
|
+
end
|
5421
|
+
end
|
5422
|
+
@TimeZone = params['TimeZone']
|
5423
|
+
@Collation = params['Collation']
|
5424
|
+
end
|
5425
|
+
end
|
5426
|
+
|
5427
|
+
# DescribeInstanceTradeParameter返回参数结构体
|
5428
|
+
class DescribeInstanceTradeParameterResponse < TencentCloud::Common::AbstractModel
|
5429
|
+
# @param Parameter: 计费参数
|
5430
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5431
|
+
# @type Parameter: String
|
5432
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
5433
|
+
# @type RequestId: String
|
5434
|
+
|
5435
|
+
attr_accessor :Parameter, :RequestId
|
5436
|
+
|
5437
|
+
def initialize(parameter=nil, requestid=nil)
|
5438
|
+
@Parameter = parameter
|
5439
|
+
@RequestId = requestid
|
5440
|
+
end
|
5441
|
+
|
5442
|
+
def deserialize(params)
|
5443
|
+
@Parameter = params['Parameter']
|
5444
|
+
@RequestId = params['RequestId']
|
5445
|
+
end
|
5446
|
+
end
|
5447
|
+
|
4772
5448
|
# DescribeMaintenanceSpan请求参数结构体
|
4773
5449
|
class DescribeMaintenanceSpanRequest < TencentCloud::Common::AbstractModel
|
4774
5450
|
# @param InstanceId: 实例ID,形如mssql-k8voqdlz
|
@@ -5092,38 +5768,80 @@ module TencentCloud
|
|
5092
5768
|
end
|
5093
5769
|
|
5094
5770
|
def deserialize(params)
|
5095
|
-
@Zone = params['Zone']
|
5096
|
-
@InstanceType = params['InstanceType']
|
5771
|
+
@Zone = params['Zone']
|
5772
|
+
@InstanceType = params['InstanceType']
|
5773
|
+
end
|
5774
|
+
end
|
5775
|
+
|
5776
|
+
# DescribeProductConfig返回参数结构体
|
5777
|
+
class DescribeProductConfigResponse < TencentCloud::Common::AbstractModel
|
5778
|
+
# @param SpecInfoList: 规格信息数组
|
5779
|
+
# @type SpecInfoList: Array
|
5780
|
+
# @param TotalCount: 返回总共多少条数据
|
5781
|
+
# @type TotalCount: Integer
|
5782
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
5783
|
+
# @type RequestId: String
|
5784
|
+
|
5785
|
+
attr_accessor :SpecInfoList, :TotalCount, :RequestId
|
5786
|
+
|
5787
|
+
def initialize(specinfolist=nil, totalcount=nil, requestid=nil)
|
5788
|
+
@SpecInfoList = specinfolist
|
5789
|
+
@TotalCount = totalcount
|
5790
|
+
@RequestId = requestid
|
5791
|
+
end
|
5792
|
+
|
5793
|
+
def deserialize(params)
|
5794
|
+
unless params['SpecInfoList'].nil?
|
5795
|
+
@SpecInfoList = []
|
5796
|
+
params['SpecInfoList'].each do |i|
|
5797
|
+
specinfo_tmp = SpecInfo.new
|
5798
|
+
specinfo_tmp.deserialize(i)
|
5799
|
+
@SpecInfoList << specinfo_tmp
|
5800
|
+
end
|
5801
|
+
end
|
5802
|
+
@TotalCount = params['TotalCount']
|
5803
|
+
@RequestId = params['RequestId']
|
5804
|
+
end
|
5805
|
+
end
|
5806
|
+
|
5807
|
+
# DescribeProductSpec请求参数结构体
|
5808
|
+
class DescribeProductSpecRequest < TencentCloud::Common::AbstractModel
|
5809
|
+
|
5810
|
+
|
5811
|
+
def initialize()
|
5812
|
+
end
|
5813
|
+
|
5814
|
+
def deserialize(params)
|
5097
5815
|
end
|
5098
5816
|
end
|
5099
5817
|
|
5100
|
-
#
|
5101
|
-
class
|
5818
|
+
# DescribeProductSpec返回参数结构体
|
5819
|
+
class DescribeProductSpecResponse < TencentCloud::Common::AbstractModel
|
5820
|
+
# @param TotalCount: 配置地域分的个数
|
5821
|
+
# @type TotalCount: Integer
|
5102
5822
|
# @param SpecInfoList: 规格信息数组
|
5103
5823
|
# @type SpecInfoList: Array
|
5104
|
-
# @param TotalCount: 返回总共多少条数据
|
5105
|
-
# @type TotalCount: Integer
|
5106
5824
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
5107
5825
|
# @type RequestId: String
|
5108
5826
|
|
5109
|
-
attr_accessor :
|
5827
|
+
attr_accessor :TotalCount, :SpecInfoList, :RequestId
|
5110
5828
|
|
5111
|
-
def initialize(
|
5112
|
-
@SpecInfoList = specinfolist
|
5829
|
+
def initialize(totalcount=nil, specinfolist=nil, requestid=nil)
|
5113
5830
|
@TotalCount = totalcount
|
5831
|
+
@SpecInfoList = specinfolist
|
5114
5832
|
@RequestId = requestid
|
5115
5833
|
end
|
5116
5834
|
|
5117
5835
|
def deserialize(params)
|
5836
|
+
@TotalCount = params['TotalCount']
|
5118
5837
|
unless params['SpecInfoList'].nil?
|
5119
5838
|
@SpecInfoList = []
|
5120
5839
|
params['SpecInfoList'].each do |i|
|
5121
|
-
|
5122
|
-
|
5123
|
-
@SpecInfoList <<
|
5840
|
+
productspec_tmp = ProductSpec.new
|
5841
|
+
productspec_tmp.deserialize(i)
|
5842
|
+
@SpecInfoList << productspec_tmp
|
5124
5843
|
end
|
5125
5844
|
end
|
5126
|
-
@TotalCount = params['TotalCount']
|
5127
5845
|
@RequestId = params['RequestId']
|
5128
5846
|
end
|
5129
5847
|
end
|
@@ -5250,6 +5968,105 @@ module TencentCloud
|
|
5250
5968
|
end
|
5251
5969
|
end
|
5252
5970
|
|
5971
|
+
# DescribeReadOnlyGroupAutoWeight请求参数结构体
|
5972
|
+
class DescribeReadOnlyGroupAutoWeightRequest < TencentCloud::Common::AbstractModel
|
5973
|
+
# @param InstanceId: 主实例ID,格式如:mssql-3l3fgqn7
|
5974
|
+
# @type InstanceId: String
|
5975
|
+
# @param ReadOnlyGroupId: 只读组ID,格式如:mssqlro-3l3fgqn7
|
5976
|
+
# @type ReadOnlyGroupId: String
|
5977
|
+
|
5978
|
+
attr_accessor :InstanceId, :ReadOnlyGroupId
|
5979
|
+
|
5980
|
+
def initialize(instanceid=nil, readonlygroupid=nil)
|
5981
|
+
@InstanceId = instanceid
|
5982
|
+
@ReadOnlyGroupId = readonlygroupid
|
5983
|
+
end
|
5984
|
+
|
5985
|
+
def deserialize(params)
|
5986
|
+
@InstanceId = params['InstanceId']
|
5987
|
+
@ReadOnlyGroupId = params['ReadOnlyGroupId']
|
5988
|
+
end
|
5989
|
+
end
|
5990
|
+
|
5991
|
+
# DescribeReadOnlyGroupAutoWeight返回参数结构体
|
5992
|
+
class DescribeReadOnlyGroupAutoWeightResponse < TencentCloud::Common::AbstractModel
|
5993
|
+
# @param ReadOnlyGroupId: 只读组ID,格式如:mssqlro-3l3fgqn7
|
5994
|
+
# @type ReadOnlyGroupId: String
|
5995
|
+
# @param ReadOnlyGroupName: 只读组名称
|
5996
|
+
# @type ReadOnlyGroupName: String
|
5997
|
+
# @param RegionId: 只读组的地域ID,与主实例相同
|
5998
|
+
# @type RegionId: String
|
5999
|
+
# @param ZoneId: 只读组的可用区,与主实例相同
|
6000
|
+
# @type ZoneId: String
|
6001
|
+
# @param IsOfflineDelay: 是否启动超时剔除功能,1-开启,0-不开启
|
6002
|
+
# @type IsOfflineDelay: Integer
|
6003
|
+
# @param ReadOnlyMaxDelayTime: 启动超时剔除功能后,使用的超时阈值(秒)
|
6004
|
+
# @type ReadOnlyMaxDelayTime: Integer
|
6005
|
+
# @param MinReadOnlyInGroup: 启动超时剔除功能后,至少只读组保留的只读副本数
|
6006
|
+
# @type MinReadOnlyInGroup: Integer
|
6007
|
+
# @param Vip: 只读组vip
|
6008
|
+
# @type Vip: String
|
6009
|
+
# @param Vport: 只读组vport
|
6010
|
+
# @type Vport: Integer
|
6011
|
+
# @param VpcId: 只读组在私有网络ID
|
6012
|
+
# @type VpcId: String
|
6013
|
+
# @param SubnetId: 只读组在私有网络子网ID
|
6014
|
+
# @type SubnetId: String
|
6015
|
+
# @param ReadOnlyInstanceSet: 只读实例副本集合
|
6016
|
+
# @type ReadOnlyInstanceSet: Array
|
6017
|
+
# @param Status: 只读组状态: 1-申请成功运行中,5-申请中
|
6018
|
+
# @type Status: Integer
|
6019
|
+
# @param MasterInstanceId: 主实例ID,形如mssql-sgeshe3th
|
6020
|
+
# @type MasterInstanceId: String
|
6021
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
6022
|
+
# @type RequestId: String
|
6023
|
+
|
6024
|
+
attr_accessor :ReadOnlyGroupId, :ReadOnlyGroupName, :RegionId, :ZoneId, :IsOfflineDelay, :ReadOnlyMaxDelayTime, :MinReadOnlyInGroup, :Vip, :Vport, :VpcId, :SubnetId, :ReadOnlyInstanceSet, :Status, :MasterInstanceId, :RequestId
|
6025
|
+
|
6026
|
+
def initialize(readonlygroupid=nil, readonlygroupname=nil, regionid=nil, zoneid=nil, isofflinedelay=nil, readonlymaxdelaytime=nil, minreadonlyingroup=nil, vip=nil, vport=nil, vpcid=nil, subnetid=nil, readonlyinstanceset=nil, status=nil, masterinstanceid=nil, requestid=nil)
|
6027
|
+
@ReadOnlyGroupId = readonlygroupid
|
6028
|
+
@ReadOnlyGroupName = readonlygroupname
|
6029
|
+
@RegionId = regionid
|
6030
|
+
@ZoneId = zoneid
|
6031
|
+
@IsOfflineDelay = isofflinedelay
|
6032
|
+
@ReadOnlyMaxDelayTime = readonlymaxdelaytime
|
6033
|
+
@MinReadOnlyInGroup = minreadonlyingroup
|
6034
|
+
@Vip = vip
|
6035
|
+
@Vport = vport
|
6036
|
+
@VpcId = vpcid
|
6037
|
+
@SubnetId = subnetid
|
6038
|
+
@ReadOnlyInstanceSet = readonlyinstanceset
|
6039
|
+
@Status = status
|
6040
|
+
@MasterInstanceId = masterinstanceid
|
6041
|
+
@RequestId = requestid
|
6042
|
+
end
|
6043
|
+
|
6044
|
+
def deserialize(params)
|
6045
|
+
@ReadOnlyGroupId = params['ReadOnlyGroupId']
|
6046
|
+
@ReadOnlyGroupName = params['ReadOnlyGroupName']
|
6047
|
+
@RegionId = params['RegionId']
|
6048
|
+
@ZoneId = params['ZoneId']
|
6049
|
+
@IsOfflineDelay = params['IsOfflineDelay']
|
6050
|
+
@ReadOnlyMaxDelayTime = params['ReadOnlyMaxDelayTime']
|
6051
|
+
@MinReadOnlyInGroup = params['MinReadOnlyInGroup']
|
6052
|
+
@Vip = params['Vip']
|
6053
|
+
@Vport = params['Vport']
|
6054
|
+
@VpcId = params['VpcId']
|
6055
|
+
@SubnetId = params['SubnetId']
|
6056
|
+
unless params['ReadOnlyInstanceSet'].nil?
|
6057
|
+
@ReadOnlyInstanceSet = []
|
6058
|
+
params['ReadOnlyInstanceSet'].each do |i|
|
6059
|
+
readonlyinstance_tmp = ReadOnlyInstance.new
|
6060
|
+
readonlyinstance_tmp.deserialize(i)
|
6061
|
+
@ReadOnlyInstanceSet << readonlyinstance_tmp
|
6062
|
+
end
|
6063
|
+
end
|
6064
|
+
@Status = params['Status']
|
6065
|
+
@MasterInstanceId = params['MasterInstanceId']
|
6066
|
+
@RequestId = params['RequestId']
|
6067
|
+
end
|
6068
|
+
end
|
6069
|
+
|
5253
6070
|
# DescribeReadOnlyGroupByReadOnlyInstance请求参数结构体
|
5254
6071
|
class DescribeReadOnlyGroupByReadOnlyInstanceRequest < TencentCloud::Common::AbstractModel
|
5255
6072
|
# @param InstanceId: 实例ID,格式如:mssqlro-3l3fgqn7
|
@@ -5578,6 +6395,93 @@ module TencentCloud
|
|
5578
6395
|
end
|
5579
6396
|
end
|
5580
6397
|
|
6398
|
+
# DescribeRestoreTask请求参数结构体
|
6399
|
+
class DescribeRestoreTaskRequest < TencentCloud::Common::AbstractModel
|
6400
|
+
# @param InstanceId: 源实例ID
|
6401
|
+
# @type InstanceId: String
|
6402
|
+
# @param StartTime: 开始时间
|
6403
|
+
# @type StartTime: String
|
6404
|
+
# @param EndTime: 结束时间
|
6405
|
+
# @type EndTime: String
|
6406
|
+
# @param RestoreType: 回档方式,0-按照时间点回档,1-按照备份集回档
|
6407
|
+
# @type RestoreType: Integer
|
6408
|
+
# @param TargetRegion: 回档的目标实例所在地域
|
6409
|
+
# @type TargetRegion: String
|
6410
|
+
# @param TargetType: 回档到目标实例的类型,0-当前实例,1-已有实例,2-全新实例
|
6411
|
+
# @type TargetType: Integer
|
6412
|
+
# @param Status: 回档状态,0-初始化,1-运行中,2-成功,3-失败
|
6413
|
+
# @type Status: Integer
|
6414
|
+
# @param Offset: 分页返回,每页返回的数目,取值为1-100,默认值为20
|
6415
|
+
# @type Offset: Integer
|
6416
|
+
# @param Limit: 分页返回,页编号,默认值为第0页
|
6417
|
+
# @type Limit: Integer
|
6418
|
+
# @param OrderBy: 排序字段,restoreTime-回档时间,startTime-任务开始时间,endTime-任务结束时间,默认按照任务开始时间降序
|
6419
|
+
# @type OrderBy: String
|
6420
|
+
# @param OrderByType: 排序规则(desc-降序,asc-升序),默认desc
|
6421
|
+
# @type OrderByType: String
|
6422
|
+
|
6423
|
+
attr_accessor :InstanceId, :StartTime, :EndTime, :RestoreType, :TargetRegion, :TargetType, :Status, :Offset, :Limit, :OrderBy, :OrderByType
|
6424
|
+
|
6425
|
+
def initialize(instanceid=nil, starttime=nil, endtime=nil, restoretype=nil, targetregion=nil, targettype=nil, status=nil, offset=nil, limit=nil, orderby=nil, orderbytype=nil)
|
6426
|
+
@InstanceId = instanceid
|
6427
|
+
@StartTime = starttime
|
6428
|
+
@EndTime = endtime
|
6429
|
+
@RestoreType = restoretype
|
6430
|
+
@TargetRegion = targetregion
|
6431
|
+
@TargetType = targettype
|
6432
|
+
@Status = status
|
6433
|
+
@Offset = offset
|
6434
|
+
@Limit = limit
|
6435
|
+
@OrderBy = orderby
|
6436
|
+
@OrderByType = orderbytype
|
6437
|
+
end
|
6438
|
+
|
6439
|
+
def deserialize(params)
|
6440
|
+
@InstanceId = params['InstanceId']
|
6441
|
+
@StartTime = params['StartTime']
|
6442
|
+
@EndTime = params['EndTime']
|
6443
|
+
@RestoreType = params['RestoreType']
|
6444
|
+
@TargetRegion = params['TargetRegion']
|
6445
|
+
@TargetType = params['TargetType']
|
6446
|
+
@Status = params['Status']
|
6447
|
+
@Offset = params['Offset']
|
6448
|
+
@Limit = params['Limit']
|
6449
|
+
@OrderBy = params['OrderBy']
|
6450
|
+
@OrderByType = params['OrderByType']
|
6451
|
+
end
|
6452
|
+
end
|
6453
|
+
|
6454
|
+
# DescribeRestoreTask返回参数结构体
|
6455
|
+
class DescribeRestoreTaskResponse < TencentCloud::Common::AbstractModel
|
6456
|
+
# @param TotalCount: 回档任务总数量
|
6457
|
+
# @type TotalCount: Integer
|
6458
|
+
# @param Tasks: 回档任务记录列表
|
6459
|
+
# @type Tasks: Array
|
6460
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
6461
|
+
# @type RequestId: String
|
6462
|
+
|
6463
|
+
attr_accessor :TotalCount, :Tasks, :RequestId
|
6464
|
+
|
6465
|
+
def initialize(totalcount=nil, tasks=nil, requestid=nil)
|
6466
|
+
@TotalCount = totalcount
|
6467
|
+
@Tasks = tasks
|
6468
|
+
@RequestId = requestid
|
6469
|
+
end
|
6470
|
+
|
6471
|
+
def deserialize(params)
|
6472
|
+
@TotalCount = params['TotalCount']
|
6473
|
+
unless params['Tasks'].nil?
|
6474
|
+
@Tasks = []
|
6475
|
+
params['Tasks'].each do |i|
|
6476
|
+
restoretask_tmp = RestoreTask.new
|
6477
|
+
restoretask_tmp.deserialize(i)
|
6478
|
+
@Tasks << restoretask_tmp
|
6479
|
+
end
|
6480
|
+
end
|
6481
|
+
@RequestId = params['RequestId']
|
6482
|
+
end
|
6483
|
+
end
|
6484
|
+
|
5581
6485
|
# DescribeRollbackTime请求参数结构体
|
5582
6486
|
class DescribeRollbackTimeRequest < TencentCloud::Common::AbstractModel
|
5583
6487
|
# @param InstanceId: 实例ID
|
@@ -5702,6 +6606,148 @@ module TencentCloud
|
|
5702
6606
|
end
|
5703
6607
|
end
|
5704
6608
|
|
6609
|
+
# DescribeSpecSellStatus请求参数结构体
|
6610
|
+
class DescribeSpecSellStatusRequest < TencentCloud::Common::AbstractModel
|
6611
|
+
# @param Zone: 可用区英文ID,形如ap-guangzhou-3
|
6612
|
+
# @type Zone: String
|
6613
|
+
# @param SpecIdSet: 实例规格ID,可通过DescribeProductConfig接口获取。
|
6614
|
+
# @type SpecIdSet: Array
|
6615
|
+
# @param DBVersion: 数据库版本信息,可通过DescribeProductConfig接口获取。
|
6616
|
+
# @type DBVersion: String
|
6617
|
+
# @param Pid: 产品ID,可通过DescribeProductConfig接口获取。
|
6618
|
+
# @type Pid: Integer
|
6619
|
+
# @param PayMode: 付费模式,POST-按量计费 PRE-包年包月
|
6620
|
+
# @type PayMode: String
|
6621
|
+
# @param Currency: 付费模式,CNY-人民币 USD-美元
|
6622
|
+
# @type Currency: String
|
6623
|
+
|
6624
|
+
attr_accessor :Zone, :SpecIdSet, :DBVersion, :Pid, :PayMode, :Currency
|
6625
|
+
|
6626
|
+
def initialize(zone=nil, specidset=nil, dbversion=nil, pid=nil, paymode=nil, currency=nil)
|
6627
|
+
@Zone = zone
|
6628
|
+
@SpecIdSet = specidset
|
6629
|
+
@DBVersion = dbversion
|
6630
|
+
@Pid = pid
|
6631
|
+
@PayMode = paymode
|
6632
|
+
@Currency = currency
|
6633
|
+
end
|
6634
|
+
|
6635
|
+
def deserialize(params)
|
6636
|
+
@Zone = params['Zone']
|
6637
|
+
@SpecIdSet = params['SpecIdSet']
|
6638
|
+
@DBVersion = params['DBVersion']
|
6639
|
+
@Pid = params['Pid']
|
6640
|
+
@PayMode = params['PayMode']
|
6641
|
+
@Currency = params['Currency']
|
6642
|
+
end
|
6643
|
+
end
|
6644
|
+
|
6645
|
+
# DescribeSpecSellStatus返回参数结构体
|
6646
|
+
class DescribeSpecSellStatusResponse < TencentCloud::Common::AbstractModel
|
6647
|
+
# @param DescribeSpecSellStatusSet: 规格在不同地域状态集合
|
6648
|
+
# @type DescribeSpecSellStatusSet: Array
|
6649
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
6650
|
+
# @type RequestId: String
|
6651
|
+
|
6652
|
+
attr_accessor :DescribeSpecSellStatusSet, :RequestId
|
6653
|
+
|
6654
|
+
def initialize(describespecsellstatusset=nil, requestid=nil)
|
6655
|
+
@DescribeSpecSellStatusSet = describespecsellstatusset
|
6656
|
+
@RequestId = requestid
|
6657
|
+
end
|
6658
|
+
|
6659
|
+
def deserialize(params)
|
6660
|
+
unless params['DescribeSpecSellStatusSet'].nil?
|
6661
|
+
@DescribeSpecSellStatusSet = []
|
6662
|
+
params['DescribeSpecSellStatusSet'].each do |i|
|
6663
|
+
specsellstatus_tmp = SpecSellStatus.new
|
6664
|
+
specsellstatus_tmp.deserialize(i)
|
6665
|
+
@DescribeSpecSellStatusSet << specsellstatus_tmp
|
6666
|
+
end
|
6667
|
+
end
|
6668
|
+
@RequestId = params['RequestId']
|
6669
|
+
end
|
6670
|
+
end
|
6671
|
+
|
6672
|
+
# DescribeUpgradeInstanceCheck请求参数结构体
|
6673
|
+
class DescribeUpgradeInstanceCheckRequest < TencentCloud::Common::AbstractModel
|
6674
|
+
# @param InstanceId: 数据库实例ID,形如mssql-njj2mtpl
|
6675
|
+
# @type InstanceId: String
|
6676
|
+
# @param Cpu: 实例变配后的CPU核心数,不填则不修改
|
6677
|
+
# @type Cpu: Integer
|
6678
|
+
# @param Memory: 实例变配后内存大小,单位GB,不填则不修改
|
6679
|
+
# @type Memory: Integer
|
6680
|
+
# @param Storage: 实例变配后磁盘大小,单位GB,不填则不修改
|
6681
|
+
# @type Storage: Integer
|
6682
|
+
# @param DBVersion: 实例版本,不填则不修改
|
6683
|
+
# @type DBVersion: String
|
6684
|
+
# @param HAType: 实例变配后的类型,可选值:CLUSTER-集群,不填则不修改
|
6685
|
+
# @type HAType: String
|
6686
|
+
# @param MultiZones: 实例变配后的跨可用区类型,可选值: SameZones-修改为同可用区 MultiZones-修改为跨可用区,不填则不修改
|
6687
|
+
# @type MultiZones: String
|
6688
|
+
|
6689
|
+
attr_accessor :InstanceId, :Cpu, :Memory, :Storage, :DBVersion, :HAType, :MultiZones
|
6690
|
+
|
6691
|
+
def initialize(instanceid=nil, cpu=nil, memory=nil, storage=nil, dbversion=nil, hatype=nil, multizones=nil)
|
6692
|
+
@InstanceId = instanceid
|
6693
|
+
@Cpu = cpu
|
6694
|
+
@Memory = memory
|
6695
|
+
@Storage = storage
|
6696
|
+
@DBVersion = dbversion
|
6697
|
+
@HAType = hatype
|
6698
|
+
@MultiZones = multizones
|
6699
|
+
end
|
6700
|
+
|
6701
|
+
def deserialize(params)
|
6702
|
+
@InstanceId = params['InstanceId']
|
6703
|
+
@Cpu = params['Cpu']
|
6704
|
+
@Memory = params['Memory']
|
6705
|
+
@Storage = params['Storage']
|
6706
|
+
@DBVersion = params['DBVersion']
|
6707
|
+
@HAType = params['HAType']
|
6708
|
+
@MultiZones = params['MultiZones']
|
6709
|
+
end
|
6710
|
+
end
|
6711
|
+
|
6712
|
+
# DescribeUpgradeInstanceCheck返回参数结构体
|
6713
|
+
class DescribeUpgradeInstanceCheckResponse < TencentCloud::Common::AbstractModel
|
6714
|
+
# @param IsAffect: 本变配是否对实例有影响,0-没有影响 1-有影响
|
6715
|
+
# @type IsAffect: Integer
|
6716
|
+
# @param Passed: 本变配是否可以执行 0-不通过,不能变配 1-通过,可以变配
|
6717
|
+
# @type Passed: Integer
|
6718
|
+
# @param ModifyMode: 本变配是升配还是降配,down-降配 up-升配
|
6719
|
+
# @type ModifyMode: String
|
6720
|
+
# @param CheckItems: 检查项列表
|
6721
|
+
# @type CheckItems: Array
|
6722
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
6723
|
+
# @type RequestId: String
|
6724
|
+
|
6725
|
+
attr_accessor :IsAffect, :Passed, :ModifyMode, :CheckItems, :RequestId
|
6726
|
+
|
6727
|
+
def initialize(isaffect=nil, passed=nil, modifymode=nil, checkitems=nil, requestid=nil)
|
6728
|
+
@IsAffect = isaffect
|
6729
|
+
@Passed = passed
|
6730
|
+
@ModifyMode = modifymode
|
6731
|
+
@CheckItems = checkitems
|
6732
|
+
@RequestId = requestid
|
6733
|
+
end
|
6734
|
+
|
6735
|
+
def deserialize(params)
|
6736
|
+
@IsAffect = params['IsAffect']
|
6737
|
+
@Passed = params['Passed']
|
6738
|
+
@ModifyMode = params['ModifyMode']
|
6739
|
+
unless params['CheckItems'].nil?
|
6740
|
+
@CheckItems = []
|
6741
|
+
params['CheckItems'].each do |i|
|
6742
|
+
checkitem_tmp = CheckItem.new
|
6743
|
+
checkitem_tmp.deserialize(i)
|
6744
|
+
@CheckItems << checkitem_tmp
|
6745
|
+
end
|
6746
|
+
end
|
6747
|
+
@RequestId = params['RequestId']
|
6748
|
+
end
|
6749
|
+
end
|
6750
|
+
|
5705
6751
|
# DescribeUploadBackupInfo请求参数结构体
|
5706
6752
|
class DescribeUploadBackupInfoRequest < TencentCloud::Common::AbstractModel
|
5707
6753
|
# @param InstanceId: 导入目标实例ID
|
@@ -6314,8 +7360,52 @@ module TencentCloud
|
|
6314
7360
|
end
|
6315
7361
|
|
6316
7362
|
def deserialize(params)
|
6317
|
-
@InstanceId = params['InstanceId']
|
6318
|
-
@RenewFlag = params['RenewFlag']
|
7363
|
+
@InstanceId = params['InstanceId']
|
7364
|
+
@RenewFlag = params['RenewFlag']
|
7365
|
+
end
|
7366
|
+
end
|
7367
|
+
|
7368
|
+
# 实例异步任务
|
7369
|
+
class InstanceTask < TencentCloud::Common::AbstractModel
|
7370
|
+
# @param Id: 唯一id
|
7371
|
+
# @type Id: Integer
|
7372
|
+
# @param Type: Job类型
|
7373
|
+
# @type Type: Integer
|
7374
|
+
# @param Status: Job状态
|
7375
|
+
# @type Status: Integer
|
7376
|
+
# @param Progress: 进度百分比0~100
|
7377
|
+
# @type Progress: Integer
|
7378
|
+
# @param StartTime: 开始时间
|
7379
|
+
# @type StartTime: String
|
7380
|
+
# @param EndTime: 结束时间
|
7381
|
+
# @type EndTime: String
|
7382
|
+
# @param ErrorCode: 错误代码
|
7383
|
+
# @type ErrorCode: Integer
|
7384
|
+
# @param Message: 错误信息描述
|
7385
|
+
# @type Message: String
|
7386
|
+
|
7387
|
+
attr_accessor :Id, :Type, :Status, :Progress, :StartTime, :EndTime, :ErrorCode, :Message
|
7388
|
+
|
7389
|
+
def initialize(id=nil, type=nil, status=nil, progress=nil, starttime=nil, endtime=nil, errorcode=nil, message=nil)
|
7390
|
+
@Id = id
|
7391
|
+
@Type = type
|
7392
|
+
@Status = status
|
7393
|
+
@Progress = progress
|
7394
|
+
@StartTime = starttime
|
7395
|
+
@EndTime = endtime
|
7396
|
+
@ErrorCode = errorcode
|
7397
|
+
@Message = message
|
7398
|
+
end
|
7399
|
+
|
7400
|
+
def deserialize(params)
|
7401
|
+
@Id = params['Id']
|
7402
|
+
@Type = params['Type']
|
7403
|
+
@Status = params['Status']
|
7404
|
+
@Progress = params['Progress']
|
7405
|
+
@StartTime = params['StartTime']
|
7406
|
+
@EndTime = params['EndTime']
|
7407
|
+
@ErrorCode = params['ErrorCode']
|
7408
|
+
@Message = params['Message']
|
6319
7409
|
end
|
6320
7410
|
end
|
6321
7411
|
|
@@ -7047,6 +8137,42 @@ module TencentCloud
|
|
7047
8137
|
end
|
7048
8138
|
end
|
7049
8139
|
|
8140
|
+
# ModifyCloseWanIp请求参数结构体
|
8141
|
+
class ModifyCloseWanIpRequest < TencentCloud::Common::AbstractModel
|
8142
|
+
# @param InstanceId: 实例资源ID
|
8143
|
+
# @type InstanceId: String
|
8144
|
+
|
8145
|
+
attr_accessor :InstanceId
|
8146
|
+
|
8147
|
+
def initialize(instanceid=nil)
|
8148
|
+
@InstanceId = instanceid
|
8149
|
+
end
|
8150
|
+
|
8151
|
+
def deserialize(params)
|
8152
|
+
@InstanceId = params['InstanceId']
|
8153
|
+
end
|
8154
|
+
end
|
8155
|
+
|
8156
|
+
# ModifyCloseWanIp返回参数结构体
|
8157
|
+
class ModifyCloseWanIpResponse < TencentCloud::Common::AbstractModel
|
8158
|
+
# @param FlowId: 关闭外网流程Id
|
8159
|
+
# @type FlowId: Integer
|
8160
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
8161
|
+
# @type RequestId: String
|
8162
|
+
|
8163
|
+
attr_accessor :FlowId, :RequestId
|
8164
|
+
|
8165
|
+
def initialize(flowid=nil, requestid=nil)
|
8166
|
+
@FlowId = flowid
|
8167
|
+
@RequestId = requestid
|
8168
|
+
end
|
8169
|
+
|
8170
|
+
def deserialize(params)
|
8171
|
+
@FlowId = params['FlowId']
|
8172
|
+
@RequestId = params['RequestId']
|
8173
|
+
end
|
8174
|
+
end
|
8175
|
+
|
7050
8176
|
# ModifyCrossBackupStrategy请求参数结构体
|
7051
8177
|
class ModifyCrossBackupStrategyRequest < TencentCloud::Common::AbstractModel
|
7052
8178
|
# @param CrossBackupEnabled: 跨地域备份开关(数据备份&日志备份) enable-开启,disable-关闭
|
@@ -7234,6 +8360,42 @@ module TencentCloud
|
|
7234
8360
|
end
|
7235
8361
|
end
|
7236
8362
|
|
8363
|
+
# ModifyDBInstanceNote请求参数结构体
|
8364
|
+
class ModifyDBInstanceNoteRequest < TencentCloud::Common::AbstractModel
|
8365
|
+
# @param InstanceId: 数据库实例ID,形如mssql-njj2mtpl
|
8366
|
+
# @type InstanceId: String
|
8367
|
+
# @param InstanceNote: 实例备注信息
|
8368
|
+
# @type InstanceNote: String
|
8369
|
+
|
8370
|
+
attr_accessor :InstanceId, :InstanceNote
|
8371
|
+
|
8372
|
+
def initialize(instanceid=nil, instancenote=nil)
|
8373
|
+
@InstanceId = instanceid
|
8374
|
+
@InstanceNote = instancenote
|
8375
|
+
end
|
8376
|
+
|
8377
|
+
def deserialize(params)
|
8378
|
+
@InstanceId = params['InstanceId']
|
8379
|
+
@InstanceNote = params['InstanceNote']
|
8380
|
+
end
|
8381
|
+
end
|
8382
|
+
|
8383
|
+
# ModifyDBInstanceNote返回参数结构体
|
8384
|
+
class ModifyDBInstanceNoteResponse < TencentCloud::Common::AbstractModel
|
8385
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
8386
|
+
# @type RequestId: String
|
8387
|
+
|
8388
|
+
attr_accessor :RequestId
|
8389
|
+
|
8390
|
+
def initialize(requestid=nil)
|
8391
|
+
@RequestId = requestid
|
8392
|
+
end
|
8393
|
+
|
8394
|
+
def deserialize(params)
|
8395
|
+
@RequestId = params['RequestId']
|
8396
|
+
end
|
8397
|
+
end
|
8398
|
+
|
7237
8399
|
# ModifyDBInstanceProject请求参数结构体
|
7238
8400
|
class ModifyDBInstanceProjectRequest < TencentCloud::Common::AbstractModel
|
7239
8401
|
# @param InstanceIdSet: 实例ID数组,形如mssql-j8kv137v
|
@@ -7440,6 +8602,36 @@ module TencentCloud
|
|
7440
8602
|
end
|
7441
8603
|
end
|
7442
8604
|
|
8605
|
+
# 要修改的数据库订阅发布关系集合
|
8606
|
+
class ModifyDataBaseTuple < TencentCloud::Common::AbstractModel
|
8607
|
+
# @param DatabaseTuple: 要修改的订阅关系
|
8608
|
+
# @type DatabaseTuple: :class:`Tencentcloud::Sqlserver.v20180328.models.DatabaseTuple`
|
8609
|
+
# @param NewDatabaseTuple: 修改后的订阅关系。DeleteDataBasesTuple为false时有效
|
8610
|
+
# @type NewDatabaseTuple: :class:`Tencentcloud::Sqlserver.v20180328.models.DatabaseTuple`
|
8611
|
+
# @param DeleteDataBasesTuple: 是否删除订阅关系。此选项为true时,NewDatabaseTuple无效
|
8612
|
+
# @type DeleteDataBasesTuple: Boolean
|
8613
|
+
|
8614
|
+
attr_accessor :DatabaseTuple, :NewDatabaseTuple, :DeleteDataBasesTuple
|
8615
|
+
|
8616
|
+
def initialize(databasetuple=nil, newdatabasetuple=nil, deletedatabasestuple=nil)
|
8617
|
+
@DatabaseTuple = databasetuple
|
8618
|
+
@NewDatabaseTuple = newdatabasetuple
|
8619
|
+
@DeleteDataBasesTuple = deletedatabasestuple
|
8620
|
+
end
|
8621
|
+
|
8622
|
+
def deserialize(params)
|
8623
|
+
unless params['DatabaseTuple'].nil?
|
8624
|
+
@DatabaseTuple = DatabaseTuple.new
|
8625
|
+
@DatabaseTuple.deserialize(params['DatabaseTuple'])
|
8626
|
+
end
|
8627
|
+
unless params['NewDatabaseTuple'].nil?
|
8628
|
+
@NewDatabaseTuple = DatabaseTuple.new
|
8629
|
+
@NewDatabaseTuple.deserialize(params['NewDatabaseTuple'])
|
8630
|
+
end
|
8631
|
+
@DeleteDataBasesTuple = params['DeleteDataBasesTuple']
|
8632
|
+
end
|
8633
|
+
end
|
8634
|
+
|
7443
8635
|
# ModifyDatabaseCDC请求参数结构体
|
7444
8636
|
class ModifyDatabaseCDCRequest < TencentCloud::Common::AbstractModel
|
7445
8637
|
# @param DBNames: 数据库名数组
|
@@ -7872,6 +9064,42 @@ module TencentCloud
|
|
7872
9064
|
end
|
7873
9065
|
end
|
7874
9066
|
|
9067
|
+
# ModifyOpenWanIp请求参数结构体
|
9068
|
+
class ModifyOpenWanIpRequest < TencentCloud::Common::AbstractModel
|
9069
|
+
# @param InstanceId: 实例资源ID
|
9070
|
+
# @type InstanceId: String
|
9071
|
+
|
9072
|
+
attr_accessor :InstanceId
|
9073
|
+
|
9074
|
+
def initialize(instanceid=nil)
|
9075
|
+
@InstanceId = instanceid
|
9076
|
+
end
|
9077
|
+
|
9078
|
+
def deserialize(params)
|
9079
|
+
@InstanceId = params['InstanceId']
|
9080
|
+
end
|
9081
|
+
end
|
9082
|
+
|
9083
|
+
# ModifyOpenWanIp返回参数结构体
|
9084
|
+
class ModifyOpenWanIpResponse < TencentCloud::Common::AbstractModel
|
9085
|
+
# @param FlowId: 开通外网流程Id
|
9086
|
+
# @type FlowId: Integer
|
9087
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
9088
|
+
# @type RequestId: String
|
9089
|
+
|
9090
|
+
attr_accessor :FlowId, :RequestId
|
9091
|
+
|
9092
|
+
def initialize(flowid=nil, requestid=nil)
|
9093
|
+
@FlowId = flowid
|
9094
|
+
@RequestId = requestid
|
9095
|
+
end
|
9096
|
+
|
9097
|
+
def deserialize(params)
|
9098
|
+
@FlowId = params['FlowId']
|
9099
|
+
@RequestId = params['RequestId']
|
9100
|
+
end
|
9101
|
+
end
|
9102
|
+
|
7875
9103
|
# ModifyPublishSubscribeName请求参数结构体
|
7876
9104
|
class ModifyPublishSubscribeNameRequest < TencentCloud::Common::AbstractModel
|
7877
9105
|
# @param PublishSubscribeId: 发布订阅ID
|
@@ -7908,6 +9136,57 @@ module TencentCloud
|
|
7908
9136
|
end
|
7909
9137
|
end
|
7910
9138
|
|
9139
|
+
# ModifyPublishSubscribe请求参数结构体
|
9140
|
+
class ModifyPublishSubscribeRequest < TencentCloud::Common::AbstractModel
|
9141
|
+
# @param InstanceId: 实例ID,例如:mssql-dg32dcv
|
9142
|
+
# @type InstanceId: String
|
9143
|
+
# @param PublishSubscribeId: 发布订阅ID
|
9144
|
+
# @type PublishSubscribeId: Integer
|
9145
|
+
# @param DatabaseTupleSet: 修改的数据库订阅发布关系集合
|
9146
|
+
# @type DatabaseTupleSet: Array
|
9147
|
+
|
9148
|
+
attr_accessor :InstanceId, :PublishSubscribeId, :DatabaseTupleSet
|
9149
|
+
|
9150
|
+
def initialize(instanceid=nil, publishsubscribeid=nil, databasetupleset=nil)
|
9151
|
+
@InstanceId = instanceid
|
9152
|
+
@PublishSubscribeId = publishsubscribeid
|
9153
|
+
@DatabaseTupleSet = databasetupleset
|
9154
|
+
end
|
9155
|
+
|
9156
|
+
def deserialize(params)
|
9157
|
+
@InstanceId = params['InstanceId']
|
9158
|
+
@PublishSubscribeId = params['PublishSubscribeId']
|
9159
|
+
unless params['DatabaseTupleSet'].nil?
|
9160
|
+
@DatabaseTupleSet = []
|
9161
|
+
params['DatabaseTupleSet'].each do |i|
|
9162
|
+
modifydatabasetuple_tmp = ModifyDataBaseTuple.new
|
9163
|
+
modifydatabasetuple_tmp.deserialize(i)
|
9164
|
+
@DatabaseTupleSet << modifydatabasetuple_tmp
|
9165
|
+
end
|
9166
|
+
end
|
9167
|
+
end
|
9168
|
+
end
|
9169
|
+
|
9170
|
+
# ModifyPublishSubscribe返回参数结构体
|
9171
|
+
class ModifyPublishSubscribeResponse < TencentCloud::Common::AbstractModel
|
9172
|
+
# @param FlowId: 任务流id
|
9173
|
+
# @type FlowId: Integer
|
9174
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
9175
|
+
# @type RequestId: String
|
9176
|
+
|
9177
|
+
attr_accessor :FlowId, :RequestId
|
9178
|
+
|
9179
|
+
def initialize(flowid=nil, requestid=nil)
|
9180
|
+
@FlowId = flowid
|
9181
|
+
@RequestId = requestid
|
9182
|
+
end
|
9183
|
+
|
9184
|
+
def deserialize(params)
|
9185
|
+
@FlowId = params['FlowId']
|
9186
|
+
@RequestId = params['RequestId']
|
9187
|
+
end
|
9188
|
+
end
|
9189
|
+
|
7911
9190
|
# ModifyReadOnlyGroupDetails请求参数结构体
|
7912
9191
|
class ModifyReadOnlyGroupDetailsRequest < TencentCloud::Common::AbstractModel
|
7913
9192
|
# @param InstanceId: 主实例ID,格式如:mssql-3l3fgqn7
|
@@ -8130,6 +9409,69 @@ module TencentCloud
|
|
8130
9409
|
end
|
8131
9410
|
end
|
8132
9411
|
|
9412
|
+
# 参考价格,该价格为CPU、内存规格价格,不包括磁盘用量,实际价格以询价接口为准。
|
9413
|
+
class Price < TencentCloud::Common::AbstractModel
|
9414
|
+
# @param PrepaidPrice: 包年包月参考价格,单位-分
|
9415
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
9416
|
+
# @type PrepaidPrice: Integer
|
9417
|
+
# @param PrepaidPriceUnit: 包年包月价格单位,M-月
|
9418
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
9419
|
+
# @type PrepaidPriceUnit: String
|
9420
|
+
# @param PostpaidPrice: 按量付费价格,单位-分
|
9421
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
9422
|
+
# @type PostpaidPrice: Integer
|
9423
|
+
# @param PostpaidPriceUnit: 按量付费价格单位,H-小时
|
9424
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
9425
|
+
# @type PostpaidPriceUnit: String
|
9426
|
+
|
9427
|
+
attr_accessor :PrepaidPrice, :PrepaidPriceUnit, :PostpaidPrice, :PostpaidPriceUnit
|
9428
|
+
|
9429
|
+
def initialize(prepaidprice=nil, prepaidpriceunit=nil, postpaidprice=nil, postpaidpriceunit=nil)
|
9430
|
+
@PrepaidPrice = prepaidprice
|
9431
|
+
@PrepaidPriceUnit = prepaidpriceunit
|
9432
|
+
@PostpaidPrice = postpaidprice
|
9433
|
+
@PostpaidPriceUnit = postpaidpriceunit
|
9434
|
+
end
|
9435
|
+
|
9436
|
+
def deserialize(params)
|
9437
|
+
@PrepaidPrice = params['PrepaidPrice']
|
9438
|
+
@PrepaidPriceUnit = params['PrepaidPriceUnit']
|
9439
|
+
@PostpaidPrice = params['PostpaidPrice']
|
9440
|
+
@PostpaidPriceUnit = params['PostpaidPriceUnit']
|
9441
|
+
end
|
9442
|
+
end
|
9443
|
+
|
9444
|
+
# 包括地域的产品规格配置
|
9445
|
+
class ProductSpec < TencentCloud::Common::AbstractModel
|
9446
|
+
# @param RegionId: 地域ID
|
9447
|
+
# @type RegionId: Integer
|
9448
|
+
# @param ZoneId: 可用区ID
|
9449
|
+
# @type ZoneId: Integer
|
9450
|
+
# @param Info: 配置信息
|
9451
|
+
# @type Info: Array
|
9452
|
+
|
9453
|
+
attr_accessor :RegionId, :ZoneId, :Info
|
9454
|
+
|
9455
|
+
def initialize(regionid=nil, zoneid=nil, info=nil)
|
9456
|
+
@RegionId = regionid
|
9457
|
+
@ZoneId = zoneid
|
9458
|
+
@Info = info
|
9459
|
+
end
|
9460
|
+
|
9461
|
+
def deserialize(params)
|
9462
|
+
@RegionId = params['RegionId']
|
9463
|
+
@ZoneId = params['ZoneId']
|
9464
|
+
unless params['Info'].nil?
|
9465
|
+
@Info = []
|
9466
|
+
params['Info'].each do |i|
|
9467
|
+
specinfo_tmp = SpecInfo.new
|
9468
|
+
specinfo_tmp.deserialize(i)
|
9469
|
+
@Info << specinfo_tmp
|
9470
|
+
end
|
9471
|
+
end
|
9472
|
+
end
|
9473
|
+
end
|
9474
|
+
|
8133
9475
|
# 发布订阅对象
|
8134
9476
|
class PublishSubscribe < TencentCloud::Common::AbstractModel
|
8135
9477
|
# @param Id: 发布订阅ID
|
@@ -8876,6 +10218,74 @@ module TencentCloud
|
|
8876
10218
|
end
|
8877
10219
|
end
|
8878
10220
|
|
10221
|
+
# 回档任务记录
|
10222
|
+
class RestoreTask < TencentCloud::Common::AbstractModel
|
10223
|
+
# @param TargetInstanceId: 目标实例ID
|
10224
|
+
# @type TargetInstanceId: String
|
10225
|
+
# @param TargetInstanceName: 目标实例名称
|
10226
|
+
# @type TargetInstanceName: String
|
10227
|
+
# @param TargetInstanceStatus: 目标实例状态。取值范围:
|
10228
|
+
# 1:申请中
|
10229
|
+
# 2:运行中
|
10230
|
+
# 3:受限运行中 (主备切换中)
|
10231
|
+
# 4:已隔离
|
10232
|
+
# 5:回收中
|
10233
|
+
# 6:已回收
|
10234
|
+
# 7:任务执行中 (实例做备份、回档等操作)
|
10235
|
+
# 8:已下线
|
10236
|
+
# 9:实例扩容中
|
10237
|
+
# 10:实例迁移中
|
10238
|
+
# 11:只读
|
10239
|
+
# 12:重启中
|
10240
|
+
# @type TargetInstanceStatus: Integer
|
10241
|
+
# @param TargetRegion: 目标实例所在地域
|
10242
|
+
# @type TargetRegion: String
|
10243
|
+
# @param RestoreId: 回档记录ID
|
10244
|
+
# @type RestoreId: Integer
|
10245
|
+
# @param TargetType: 回档到目标实例的类型,0-当前实例,1-已有实例,2-全新实例
|
10246
|
+
# @type TargetType: Integer
|
10247
|
+
# @param RestoreType: 回档方式,0-按照时间点回档,1-按照备份集回档
|
10248
|
+
# @type RestoreType: Integer
|
10249
|
+
# @param RestoreTime: 回档目标时间
|
10250
|
+
# @type RestoreTime: String
|
10251
|
+
# @param StartTime: 开始时间
|
10252
|
+
# @type StartTime: String
|
10253
|
+
# @param EndTime: 结束时间
|
10254
|
+
# @type EndTime: String
|
10255
|
+
# @param Status: 回档状态,0-初始化,1-运行中,2-成功,3-失败
|
10256
|
+
# @type Status: Integer
|
10257
|
+
|
10258
|
+
attr_accessor :TargetInstanceId, :TargetInstanceName, :TargetInstanceStatus, :TargetRegion, :RestoreId, :TargetType, :RestoreType, :RestoreTime, :StartTime, :EndTime, :Status
|
10259
|
+
|
10260
|
+
def initialize(targetinstanceid=nil, targetinstancename=nil, targetinstancestatus=nil, targetregion=nil, restoreid=nil, targettype=nil, restoretype=nil, restoretime=nil, starttime=nil, endtime=nil, status=nil)
|
10261
|
+
@TargetInstanceId = targetinstanceid
|
10262
|
+
@TargetInstanceName = targetinstancename
|
10263
|
+
@TargetInstanceStatus = targetinstancestatus
|
10264
|
+
@TargetRegion = targetregion
|
10265
|
+
@RestoreId = restoreid
|
10266
|
+
@TargetType = targettype
|
10267
|
+
@RestoreType = restoretype
|
10268
|
+
@RestoreTime = restoretime
|
10269
|
+
@StartTime = starttime
|
10270
|
+
@EndTime = endtime
|
10271
|
+
@Status = status
|
10272
|
+
end
|
10273
|
+
|
10274
|
+
def deserialize(params)
|
10275
|
+
@TargetInstanceId = params['TargetInstanceId']
|
10276
|
+
@TargetInstanceName = params['TargetInstanceName']
|
10277
|
+
@TargetInstanceStatus = params['TargetInstanceStatus']
|
10278
|
+
@TargetRegion = params['TargetRegion']
|
10279
|
+
@RestoreId = params['RestoreId']
|
10280
|
+
@TargetType = params['TargetType']
|
10281
|
+
@RestoreType = params['RestoreType']
|
10282
|
+
@RestoreTime = params['RestoreTime']
|
10283
|
+
@StartTime = params['StartTime']
|
10284
|
+
@EndTime = params['EndTime']
|
10285
|
+
@Status = params['Status']
|
10286
|
+
end
|
10287
|
+
end
|
10288
|
+
|
8879
10289
|
# RollbackInstance请求参数结构体
|
8880
10290
|
class RollbackInstanceRequest < TencentCloud::Common::AbstractModel
|
8881
10291
|
# @param InstanceId: 实例ID
|
@@ -9248,6 +10658,72 @@ module TencentCloud
|
|
9248
10658
|
end
|
9249
10659
|
end
|
9250
10660
|
|
10661
|
+
# 售卖配置状态
|
10662
|
+
class SpecSellStatus < TencentCloud::Common::AbstractModel
|
10663
|
+
# @param Id: 可售卖的规格唯一ID
|
10664
|
+
# @type Id: String
|
10665
|
+
# @param SpecId: 实例规格ID
|
10666
|
+
# @type SpecId: Integer
|
10667
|
+
# @param PayModeStatus: 此规格下支持的付费模式,POST-仅支持按量计费 PRE-仅支持包年包月 ALL-支持所有
|
10668
|
+
# @type PayModeStatus: String
|
10669
|
+
# @param InstanceType: 产品类型
|
10670
|
+
# @type InstanceType: String
|
10671
|
+
# @param MultiZonesStatus: 该规格支持的是否跨可用去,MultiZones-只支持跨可用区,SameZones-只支持同可用区,ALL-支持所有
|
10672
|
+
# @type MultiZonesStatus: String
|
10673
|
+
# @param Architecture: 架构标识,SINGLE-单节点 DOUBLE-双节点 TRIPLE-三节点
|
10674
|
+
# @type Architecture: String
|
10675
|
+
# @param Style: 类型标识,EXCLUSIVE-独享型,SHARED-共享型
|
10676
|
+
# @type Style: String
|
10677
|
+
# @param Version: 数据库版本信息
|
10678
|
+
# @type Version: String
|
10679
|
+
# @param ZoneStatusSet: 每个可用区的售卖状态集合
|
10680
|
+
# @type ZoneStatusSet: Array
|
10681
|
+
# @param Price: 规格的参考价格,实际价格以询价接口为准
|
10682
|
+
# @type Price: :class:`Tencentcloud::Sqlserver.v20180328.models.Price`
|
10683
|
+
# @param Status: 规格售卖状态 1-正常 2-关闭售卖但是可以升级 3-完全关闭售卖
|
10684
|
+
# @type Status: Integer
|
10685
|
+
|
10686
|
+
attr_accessor :Id, :SpecId, :PayModeStatus, :InstanceType, :MultiZonesStatus, :Architecture, :Style, :Version, :ZoneStatusSet, :Price, :Status
|
10687
|
+
|
10688
|
+
def initialize(id=nil, specid=nil, paymodestatus=nil, instancetype=nil, multizonesstatus=nil, architecture=nil, style=nil, version=nil, zonestatusset=nil, price=nil, status=nil)
|
10689
|
+
@Id = id
|
10690
|
+
@SpecId = specid
|
10691
|
+
@PayModeStatus = paymodestatus
|
10692
|
+
@InstanceType = instancetype
|
10693
|
+
@MultiZonesStatus = multizonesstatus
|
10694
|
+
@Architecture = architecture
|
10695
|
+
@Style = style
|
10696
|
+
@Version = version
|
10697
|
+
@ZoneStatusSet = zonestatusset
|
10698
|
+
@Price = price
|
10699
|
+
@Status = status
|
10700
|
+
end
|
10701
|
+
|
10702
|
+
def deserialize(params)
|
10703
|
+
@Id = params['Id']
|
10704
|
+
@SpecId = params['SpecId']
|
10705
|
+
@PayModeStatus = params['PayModeStatus']
|
10706
|
+
@InstanceType = params['InstanceType']
|
10707
|
+
@MultiZonesStatus = params['MultiZonesStatus']
|
10708
|
+
@Architecture = params['Architecture']
|
10709
|
+
@Style = params['Style']
|
10710
|
+
@Version = params['Version']
|
10711
|
+
unless params['ZoneStatusSet'].nil?
|
10712
|
+
@ZoneStatusSet = []
|
10713
|
+
params['ZoneStatusSet'].each do |i|
|
10714
|
+
zonestatus_tmp = ZoneStatus.new
|
10715
|
+
zonestatus_tmp.deserialize(i)
|
10716
|
+
@ZoneStatusSet << zonestatus_tmp
|
10717
|
+
end
|
10718
|
+
end
|
10719
|
+
unless params['Price'].nil?
|
10720
|
+
@Price = Price.new
|
10721
|
+
@Price.deserialize(params['Price'])
|
10722
|
+
end
|
10723
|
+
@Status = params['Status']
|
10724
|
+
end
|
10725
|
+
end
|
10726
|
+
|
9251
10727
|
# StartBackupMigration请求参数结构体
|
9252
10728
|
class StartBackupMigrationRequest < TencentCloud::Common::AbstractModel
|
9253
10729
|
# @param InstanceId: 导入目标实例ID
|
@@ -9777,6 +11253,30 @@ module TencentCloud
|
|
9777
11253
|
end
|
9778
11254
|
end
|
9779
11255
|
|
11256
|
+
# 某个地域可用区下的规格售卖状态。
|
11257
|
+
class ZoneStatus < TencentCloud::Common::AbstractModel
|
11258
|
+
# @param Zone: 规格地域
|
11259
|
+
# @type Zone: String
|
11260
|
+
# @param Region: 规格可用区
|
11261
|
+
# @type Region: String
|
11262
|
+
# @param Status: 规格在该可用区的售卖状态 1-正常 2-关闭售卖但是可以升级 3-完全关闭售卖
|
11263
|
+
# @type Status: Integer
|
11264
|
+
|
11265
|
+
attr_accessor :Zone, :Region, :Status
|
11266
|
+
|
11267
|
+
def initialize(zone=nil, region=nil, status=nil)
|
11268
|
+
@Zone = zone
|
11269
|
+
@Region = region
|
11270
|
+
@Status = status
|
11271
|
+
end
|
11272
|
+
|
11273
|
+
def deserialize(params)
|
11274
|
+
@Zone = params['Zone']
|
11275
|
+
@Region = params['Region']
|
11276
|
+
@Status = params['Status']
|
11277
|
+
end
|
11278
|
+
end
|
11279
|
+
|
9780
11280
|
end
|
9781
11281
|
end
|
9782
11282
|
end
|