tencentcloud-sdk-sqlserver 1.0.314 → 1.0.317

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20180328/models.rb +45 -12
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: aa8a5390ec0e8d23590c9f9f898f274912829bb1
4
- data.tar.gz: 3cd34950e75fdffa0dcc2d64721484360b1d0d8c
3
+ metadata.gz: 285ec8b90b5ea949d2e5d807fa267132577946f5
4
+ data.tar.gz: 6cd9d7d482f4a7914be7db41d309692cab6d3aa3
5
5
  SHA512:
6
- metadata.gz: 024986a0e993d97ccbb8625368da5b4817a22a84f2be03eeab697b1a515d8728af727202281ece4edecdbcd91d64662b6ae1277e1859d8b2e7238120d7a097f7
7
- data.tar.gz: f7eb00ee4e7dec18eda70faba371f8c054afc5e5d5f9a94cdf9c2243c76b785b4497b570c5ea3cc82c923f80def2f2f9ac0651188d260cac2660084cdb5152ad
6
+ metadata.gz: f7329cc73f755baf72a0a56caad1c8861bf83f5e0051320cb1d25c5bc52dc9fa0a9d383ad38640438e214f8773e9a5e6fd63615f562f9761b4ee83454dd77be7
7
+ data.tar.gz: 2fe4557729fc273c6eb864b3f3e6ded5204d2fecedfb216e36bd48149bf81339225327cdd877e0ed3a59061b690df1a68834ffaa55ee0c7f09cb5706effa954c
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.314
1
+ 1.0.317
@@ -29,15 +29,18 @@ module TencentCloud
29
29
  # @type Remark: String
30
30
  # @param IsAdmin: 是否为管理员账户,默认为否
31
31
  # @type IsAdmin: Boolean
32
+ # @param Authentication: win-windows鉴权,sql-sqlserver鉴权,不填模式兼容接口sqlserver鉴权
33
+ # @type Authentication: String
32
34
 
33
- attr_accessor :UserName, :Password, :DBPrivileges, :Remark, :IsAdmin
35
+ attr_accessor :UserName, :Password, :DBPrivileges, :Remark, :IsAdmin, :Authentication
34
36
 
35
- def initialize(username=nil, password=nil, dbprivileges=nil, remark=nil, isadmin=nil)
37
+ def initialize(username=nil, password=nil, dbprivileges=nil, remark=nil, isadmin=nil, authentication=nil)
36
38
  @UserName = username
37
39
  @Password = password
38
40
  @DBPrivileges = dbprivileges
39
41
  @Remark = remark
40
42
  @IsAdmin = isadmin
43
+ @Authentication = authentication
41
44
  end
42
45
 
43
46
  def deserialize(params)
@@ -53,6 +56,7 @@ module TencentCloud
53
56
  end
54
57
  @Remark = params['Remark']
55
58
  @IsAdmin = params['IsAdmin']
59
+ @Authentication = params['Authentication']
56
60
  end
57
61
  end
58
62
 
@@ -76,10 +80,14 @@ module TencentCloud
76
80
  # @type Dbs: Array
77
81
  # @param IsAdmin: 是否为管理员账户
78
82
  # @type IsAdmin: Boolean
83
+ # @param Authentication: win-windows鉴权,sql-sqlserver鉴权
84
+ # @type Authentication: String
85
+ # @param Host: win-windows鉴权账户需要host
86
+ # @type Host: String
79
87
 
80
- attr_accessor :Name, :Remark, :CreateTime, :Status, :UpdateTime, :PassTime, :InternalStatus, :Dbs, :IsAdmin
88
+ attr_accessor :Name, :Remark, :CreateTime, :Status, :UpdateTime, :PassTime, :InternalStatus, :Dbs, :IsAdmin, :Authentication, :Host
81
89
 
82
- def initialize(name=nil, remark=nil, createtime=nil, status=nil, updatetime=nil, passtime=nil, internalstatus=nil, dbs=nil, isadmin=nil)
90
+ def initialize(name=nil, remark=nil, createtime=nil, status=nil, updatetime=nil, passtime=nil, internalstatus=nil, dbs=nil, isadmin=nil, authentication=nil, host=nil)
83
91
  @Name = name
84
92
  @Remark = remark
85
93
  @CreateTime = createtime
@@ -89,6 +97,8 @@ module TencentCloud
89
97
  @InternalStatus = internalstatus
90
98
  @Dbs = dbs
91
99
  @IsAdmin = isadmin
100
+ @Authentication = authentication
101
+ @Host = host
92
102
  end
93
103
 
94
104
  def deserialize(params)
@@ -108,6 +118,8 @@ module TencentCloud
108
118
  end
109
119
  end
110
120
  @IsAdmin = params['IsAdmin']
121
+ @Authentication = params['Authentication']
122
+ @Host = params['Host']
111
123
  end
112
124
  end
113
125
 
@@ -157,12 +169,15 @@ module TencentCloud
157
169
  # @type UserName: String
158
170
  # @param DBPrivileges: 账号权限变更信息
159
171
  # @type DBPrivileges: Array
172
+ # @param IsAdmin: 是否为管理员账户
173
+ # @type IsAdmin: Boolean
160
174
 
161
- attr_accessor :UserName, :DBPrivileges
175
+ attr_accessor :UserName, :DBPrivileges, :IsAdmin
162
176
 
163
- def initialize(username=nil, dbprivileges=nil)
177
+ def initialize(username=nil, dbprivileges=nil, isadmin=nil)
164
178
  @UserName = username
165
179
  @DBPrivileges = dbprivileges
180
+ @IsAdmin = isadmin
166
181
  end
167
182
 
168
183
  def deserialize(params)
@@ -175,6 +190,7 @@ module TencentCloud
175
190
  @DBPrivileges << dbprivilegemodifyinfo_tmp
176
191
  end
177
192
  end
193
+ @IsAdmin = params['IsAdmin']
178
194
  end
179
195
  end
180
196
 
@@ -3131,6 +3147,7 @@ module TencentCloud
3131
3147
  # @param Amount: 数据库数量
3132
3148
  # @type Amount: Integer
3133
3149
  # @param MigrateDBSet: 数据库名称数组
3150
+ # 注意:此字段可能返回 null,表示取不到有效值。
3134
3151
  # @type MigrateDBSet: Array
3135
3152
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3136
3153
  # @type RequestId: String
@@ -3580,12 +3597,14 @@ module TencentCloud
3580
3597
  # @type SubnetId: String
3581
3598
  # @param MasterInstanceId: 主实例ID,形如mssql-sgeshe3th
3582
3599
  # @type MasterInstanceId: String
3600
+ # @param MasterRegionId: 主实例的地域ID
3601
+ # @type MasterRegionId: String
3583
3602
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3584
3603
  # @type RequestId: String
3585
3604
 
3586
- attr_accessor :ReadOnlyGroupId, :ReadOnlyGroupName, :RegionId, :ZoneId, :IsOfflineDelay, :ReadOnlyMaxDelayTime, :MinReadOnlyInGroup, :Vip, :Vport, :VpcId, :SubnetId, :MasterInstanceId, :RequestId
3605
+ attr_accessor :ReadOnlyGroupId, :ReadOnlyGroupName, :RegionId, :ZoneId, :IsOfflineDelay, :ReadOnlyMaxDelayTime, :MinReadOnlyInGroup, :Vip, :Vport, :VpcId, :SubnetId, :MasterInstanceId, :MasterRegionId, :RequestId
3587
3606
 
3588
- def initialize(readonlygroupid=nil, readonlygroupname=nil, regionid=nil, zoneid=nil, isofflinedelay=nil, readonlymaxdelaytime=nil, minreadonlyingroup=nil, vip=nil, vport=nil, vpcid=nil, subnetid=nil, masterinstanceid=nil, requestid=nil)
3607
+ def initialize(readonlygroupid=nil, readonlygroupname=nil, regionid=nil, zoneid=nil, isofflinedelay=nil, readonlymaxdelaytime=nil, minreadonlyingroup=nil, vip=nil, vport=nil, vpcid=nil, subnetid=nil, masterinstanceid=nil, masterregionid=nil, requestid=nil)
3589
3608
  @ReadOnlyGroupId = readonlygroupid
3590
3609
  @ReadOnlyGroupName = readonlygroupname
3591
3610
  @RegionId = regionid
@@ -3598,6 +3617,7 @@ module TencentCloud
3598
3617
  @VpcId = vpcid
3599
3618
  @SubnetId = subnetid
3600
3619
  @MasterInstanceId = masterinstanceid
3620
+ @MasterRegionId = masterregionid
3601
3621
  @RequestId = requestid
3602
3622
  end
3603
3623
 
@@ -3614,6 +3634,7 @@ module TencentCloud
3614
3634
  @VpcId = params['VpcId']
3615
3635
  @SubnetId = params['SubnetId']
3616
3636
  @MasterInstanceId = params['MasterInstanceId']
3637
+ @MasterRegionId = params['MasterRegionId']
3617
3638
  @RequestId = params['RequestId']
3618
3639
  end
3619
3640
  end
@@ -6053,10 +6074,14 @@ module TencentCloud
6053
6074
  # @type EndTime: String
6054
6075
  # @param IsolateTime: 只读副本隔离时间
6055
6076
  # @type IsolateTime: String
6077
+ # @param RegionId: 只读副本所在地域
6078
+ # @type RegionId: String
6079
+ # @param ZoneId: 只读副本所在可用区
6080
+ # @type ZoneId: String
6056
6081
 
6057
- attr_accessor :InstanceId, :Name, :Uid, :ProjectId, :Status, :CreateTime, :UpdateTime, :Memory, :Storage, :Cpu, :Version, :Type, :Model, :PayMode, :Weight, :DelayTime, :SynStatus, :DatabaseDifference, :AccountDifference, :StartTime, :EndTime, :IsolateTime
6082
+ attr_accessor :InstanceId, :Name, :Uid, :ProjectId, :Status, :CreateTime, :UpdateTime, :Memory, :Storage, :Cpu, :Version, :Type, :Model, :PayMode, :Weight, :DelayTime, :SynStatus, :DatabaseDifference, :AccountDifference, :StartTime, :EndTime, :IsolateTime, :RegionId, :ZoneId
6058
6083
 
6059
- def initialize(instanceid=nil, name=nil, uid=nil, projectid=nil, status=nil, createtime=nil, updatetime=nil, memory=nil, storage=nil, cpu=nil, version=nil, type=nil, model=nil, paymode=nil, weight=nil, delaytime=nil, synstatus=nil, databasedifference=nil, accountdifference=nil, starttime=nil, endtime=nil, isolatetime=nil)
6084
+ def initialize(instanceid=nil, name=nil, uid=nil, projectid=nil, status=nil, createtime=nil, updatetime=nil, memory=nil, storage=nil, cpu=nil, version=nil, type=nil, model=nil, paymode=nil, weight=nil, delaytime=nil, synstatus=nil, databasedifference=nil, accountdifference=nil, starttime=nil, endtime=nil, isolatetime=nil, regionid=nil, zoneid=nil)
6060
6085
  @InstanceId = instanceid
6061
6086
  @Name = name
6062
6087
  @Uid = uid
@@ -6079,6 +6104,8 @@ module TencentCloud
6079
6104
  @StartTime = starttime
6080
6105
  @EndTime = endtime
6081
6106
  @IsolateTime = isolatetime
6107
+ @RegionId = regionid
6108
+ @ZoneId = zoneid
6082
6109
  end
6083
6110
 
6084
6111
  def deserialize(params)
@@ -6104,6 +6131,8 @@ module TencentCloud
6104
6131
  @StartTime = params['StartTime']
6105
6132
  @EndTime = params['EndTime']
6106
6133
  @IsolateTime = params['IsolateTime']
6134
+ @RegionId = params['RegionId']
6135
+ @ZoneId = params['ZoneId']
6107
6136
  end
6108
6137
  end
6109
6138
 
@@ -7073,10 +7102,12 @@ module TencentCloud
7073
7102
  # @type HAType: String
7074
7103
  # @param MultiZones: 修改实例是否为跨可用区容灾,SameZones-修改为同可用区 MultiZones-修改为夸可用区
7075
7104
  # @type MultiZones: String
7105
+ # @param WaitSwitch: 执行变配的方式,默认为 1。支持值包括:0 - 立刻执行,1 - 维护时间窗执行
7106
+ # @type WaitSwitch: Integer
7076
7107
 
7077
- attr_accessor :InstanceId, :Memory, :Storage, :AutoVoucher, :VoucherIds, :Cpu, :DBVersion, :HAType, :MultiZones
7108
+ attr_accessor :InstanceId, :Memory, :Storage, :AutoVoucher, :VoucherIds, :Cpu, :DBVersion, :HAType, :MultiZones, :WaitSwitch
7078
7109
 
7079
- def initialize(instanceid=nil, memory=nil, storage=nil, autovoucher=nil, voucherids=nil, cpu=nil, dbversion=nil, hatype=nil, multizones=nil)
7110
+ def initialize(instanceid=nil, memory=nil, storage=nil, autovoucher=nil, voucherids=nil, cpu=nil, dbversion=nil, hatype=nil, multizones=nil, waitswitch=nil)
7080
7111
  @InstanceId = instanceid
7081
7112
  @Memory = memory
7082
7113
  @Storage = storage
@@ -7086,6 +7117,7 @@ module TencentCloud
7086
7117
  @DBVersion = dbversion
7087
7118
  @HAType = hatype
7088
7119
  @MultiZones = multizones
7120
+ @WaitSwitch = waitswitch
7089
7121
  end
7090
7122
 
7091
7123
  def deserialize(params)
@@ -7098,6 +7130,7 @@ module TencentCloud
7098
7130
  @DBVersion = params['DBVersion']
7099
7131
  @HAType = params['HAType']
7100
7132
  @MultiZones = params['MultiZones']
7133
+ @WaitSwitch = params['WaitSwitch']
7101
7134
  end
7102
7135
  end
7103
7136
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-sqlserver
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.314
4
+ version: 1.0.317
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-05-17 00:00:00.000000000 Z
11
+ date: 2022-05-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common