tencentcloud-sdk-sqlserver 3.0.715 → 3.0.717
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/v20180328/client.rb +24 -0
- data/lib/v20180328/models.rb +96 -12
- 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: 93d1a12950f05e584b8a0b57df5ea2ecbc224e38
|
4
|
+
data.tar.gz: 54504ceddbb204bf477be6075dff0187bd008481
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6264b183086269f8c69b436fd9c0c50120053bd94ec29bb87635da93dfb169bafcb7152d4c7e34013760990891b52e2c64fbd10ce3b1d39c85001b78e60cfc45
|
7
|
+
data.tar.gz: 2e4500de42baa2e74e60121ebcd042437b8b34d2e7b2bae3037d37b3cad7fc77daa7320a487ff2e2edc36bfe18f3dd029d6f6a4bde1a427e122eab55bd1e63e4
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.717
|
data/lib/v20180328/client.rb
CHANGED
@@ -2597,6 +2597,30 @@ module TencentCloud
|
|
2597
2597
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2598
2598
|
end
|
2599
2599
|
|
2600
|
+
# 本接口(DescribeDBInstancesAttribute)用于开启\关闭\更新SSL加密
|
2601
|
+
|
2602
|
+
# @param request: Request instance for ModifyDBInstanceSSL.
|
2603
|
+
# @type request: :class:`Tencentcloud::sqlserver::V20180328::ModifyDBInstanceSSLRequest`
|
2604
|
+
# @rtype: :class:`Tencentcloud::sqlserver::V20180328::ModifyDBInstanceSSLResponse`
|
2605
|
+
def ModifyDBInstanceSSL(request)
|
2606
|
+
body = send_request('ModifyDBInstanceSSL', request.serialize)
|
2607
|
+
response = JSON.parse(body)
|
2608
|
+
if response['Response'].key?('Error') == false
|
2609
|
+
model = ModifyDBInstanceSSLResponse.new
|
2610
|
+
model.deserialize(response['Response'])
|
2611
|
+
model
|
2612
|
+
else
|
2613
|
+
code = response['Response']['Error']['Code']
|
2614
|
+
message = response['Response']['Error']['Message']
|
2615
|
+
reqid = response['Response']['RequestId']
|
2616
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2617
|
+
end
|
2618
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2619
|
+
raise e
|
2620
|
+
rescue StandardError => e
|
2621
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2622
|
+
end
|
2623
|
+
|
2600
2624
|
# 本接口(ModifyDBInstanceSecurityGroups)用于修改实例绑定的安全组。
|
2601
2625
|
|
2602
2626
|
# @param request: Request instance for ModifyDBInstanceSecurityGroups.
|
data/lib/v20180328/models.rb
CHANGED
@@ -2567,8 +2567,8 @@ module TencentCloud
|
|
2567
2567
|
|
2568
2568
|
attr_accessor :IsSubscribed, :CollationName, :IsAutoCleanupOn, :IsBrokerEnabled, :IsCdcEnabled, :IsDbChainingOn, :IsEncrypted, :IsFulltextEnabled, :IsMirroring, :IsPublished, :IsReadCommittedSnapshotOn, :IsTrustworthyOn, :MirroringState, :Name, :RecoveryModelDesc, :RetentionPeriod, :StateDesc, :UserAccessDesc, :CreateTime, :IsFullTextEnabled
|
2569
2569
|
extend Gem::Deprecate
|
2570
|
-
deprecate :IsFulltextEnabled, :none, 2023,
|
2571
|
-
deprecate :IsFulltextEnabled=, :none, 2023,
|
2570
|
+
deprecate :IsFulltextEnabled, :none, 2023, 12
|
2571
|
+
deprecate :IsFulltextEnabled=, :none, 2023, 12
|
2572
2572
|
|
2573
2573
|
def initialize(issubscribed=nil, collationname=nil, isautocleanupon=nil, isbrokerenabled=nil, iscdcenabled=nil, isdbchainingon=nil, isencrypted=nil, isfulltextenabled=nil, ismirroring=nil, ispublished=nil, isreadcommittedsnapshoton=nil, istrustworthyon=nil, mirroringstate=nil, name=nil, recoverymodeldesc=nil, retentionperiod=nil, statedesc=nil, useraccessdesc=nil, createtime=nil, isfulltextenabled=nil)
|
2574
2574
|
@IsSubscribed = issubscribed
|
@@ -4258,12 +4258,14 @@ module TencentCloud
|
|
4258
4258
|
# @type EventSaveDays: Integer
|
4259
4259
|
# @param TDEConfig: TDE透明数据加密配置
|
4260
4260
|
# @type TDEConfig: :class:`Tencentcloud::Sqlserver.v20180328.models.TDEConfigAttribute`
|
4261
|
+
# @param SSLConfig: SSL加密
|
4262
|
+
# @type SSLConfig: :class:`Tencentcloud::Sqlserver.v20180328.models.SSLConfig`
|
4261
4263
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
4262
4264
|
# @type RequestId: String
|
4263
4265
|
|
4264
|
-
attr_accessor :InstanceId, :RegularBackupEnable, :RegularBackupSaveDays, :RegularBackupStrategy, :RegularBackupCounts, :RegularBackupStartTime, :BlockedThreshold, :EventSaveDays, :TDEConfig, :RequestId
|
4266
|
+
attr_accessor :InstanceId, :RegularBackupEnable, :RegularBackupSaveDays, :RegularBackupStrategy, :RegularBackupCounts, :RegularBackupStartTime, :BlockedThreshold, :EventSaveDays, :TDEConfig, :SSLConfig, :RequestId
|
4265
4267
|
|
4266
|
-
def initialize(instanceid=nil, regularbackupenable=nil, regularbackupsavedays=nil, regularbackupstrategy=nil, regularbackupcounts=nil, regularbackupstarttime=nil, blockedthreshold=nil, eventsavedays=nil, tdeconfig=nil, requestid=nil)
|
4268
|
+
def initialize(instanceid=nil, regularbackupenable=nil, regularbackupsavedays=nil, regularbackupstrategy=nil, regularbackupcounts=nil, regularbackupstarttime=nil, blockedthreshold=nil, eventsavedays=nil, tdeconfig=nil, sslconfig=nil, requestid=nil)
|
4267
4269
|
@InstanceId = instanceid
|
4268
4270
|
@RegularBackupEnable = regularbackupenable
|
4269
4271
|
@RegularBackupSaveDays = regularbackupsavedays
|
@@ -4273,6 +4275,7 @@ module TencentCloud
|
|
4273
4275
|
@BlockedThreshold = blockedthreshold
|
4274
4276
|
@EventSaveDays = eventsavedays
|
4275
4277
|
@TDEConfig = tdeconfig
|
4278
|
+
@SSLConfig = sslconfig
|
4276
4279
|
@RequestId = requestid
|
4277
4280
|
end
|
4278
4281
|
|
@@ -4289,6 +4292,10 @@ module TencentCloud
|
|
4289
4292
|
@TDEConfig = TDEConfigAttribute.new
|
4290
4293
|
@TDEConfig.deserialize(params['TDEConfig'])
|
4291
4294
|
end
|
4295
|
+
unless params['SSLConfig'].nil?
|
4296
|
+
@SSLConfig = SSLConfig.new
|
4297
|
+
@SSLConfig.deserialize(params['SSLConfig'])
|
4298
|
+
end
|
4292
4299
|
@RequestId = params['RequestId']
|
4293
4300
|
end
|
4294
4301
|
end
|
@@ -6574,8 +6581,8 @@ module TencentCloud
|
|
6574
6581
|
|
6575
6582
|
attr_accessor :TotalCount, :Slowlogs, :SlowLogs, :RequestId
|
6576
6583
|
extend Gem::Deprecate
|
6577
|
-
deprecate :Slowlogs, :none, 2023,
|
6578
|
-
deprecate :Slowlogs=, :none, 2023,
|
6584
|
+
deprecate :Slowlogs, :none, 2023, 12
|
6585
|
+
deprecate :Slowlogs=, :none, 2023, 12
|
6579
6586
|
|
6580
6587
|
def initialize(totalcount=nil, slowlogs=nil, slowlogs=nil, requestid=nil)
|
6581
6588
|
@TotalCount = totalcount
|
@@ -6793,8 +6800,8 @@ module TencentCloud
|
|
6793
6800
|
|
6794
6801
|
attr_accessor :BucketName, :Region, :Path, :TmpSecretId, :TmpSecretKey, :XCosSecurityToken, :StartTime, :ExpiredTime, :CosSecurityToken, :RequestId
|
6795
6802
|
extend Gem::Deprecate
|
6796
|
-
deprecate :XCosSecurityToken, :none, 2023,
|
6797
|
-
deprecate :XCosSecurityToken=, :none, 2023,
|
6803
|
+
deprecate :XCosSecurityToken, :none, 2023, 12
|
6804
|
+
deprecate :XCosSecurityToken=, :none, 2023, 12
|
6798
6805
|
|
6799
6806
|
def initialize(bucketname=nil, region=nil, path=nil, tmpsecretid=nil, tmpsecretkey=nil, xcossecuritytoken=nil, starttime=nil, expiredtime=nil, cossecuritytoken=nil, requestid=nil)
|
6800
6807
|
@BucketName = bucketname
|
@@ -6872,8 +6879,8 @@ module TencentCloud
|
|
6872
6879
|
|
6873
6880
|
attr_accessor :BucketName, :Region, :Path, :TmpSecretId, :TmpSecretKey, :XCosSecurityToken, :StartTime, :ExpiredTime, :CosSecurityToken, :RequestId
|
6874
6881
|
extend Gem::Deprecate
|
6875
|
-
deprecate :XCosSecurityToken, :none, 2023,
|
6876
|
-
deprecate :XCosSecurityToken=, :none, 2023,
|
6882
|
+
deprecate :XCosSecurityToken, :none, 2023, 12
|
6883
|
+
deprecate :XCosSecurityToken=, :none, 2023, 12
|
6877
6884
|
|
6878
6885
|
def initialize(bucketname=nil, region=nil, path=nil, tmpsecretid=nil, tmpsecretkey=nil, xcossecuritytoken=nil, starttime=nil, expiredtime=nil, cossecuritytoken=nil, requestid=nil)
|
6879
6886
|
@BucketName = bucketname
|
@@ -8119,8 +8126,8 @@ module TencentCloud
|
|
8119
8126
|
|
8120
8127
|
attr_accessor :Errno, :Msg, :Code, :RequestId
|
8121
8128
|
extend Gem::Deprecate
|
8122
|
-
deprecate :Errno, :none, 2023,
|
8123
|
-
deprecate :Errno=, :none, 2023,
|
8129
|
+
deprecate :Errno, :none, 2023, 12
|
8130
|
+
deprecate :Errno=, :none, 2023, 12
|
8124
8131
|
|
8125
8132
|
def initialize(errno=nil, msg=nil, code=nil, requestid=nil)
|
8126
8133
|
@Errno = errno
|
@@ -8479,6 +8486,50 @@ module TencentCloud
|
|
8479
8486
|
end
|
8480
8487
|
end
|
8481
8488
|
|
8489
|
+
# ModifyDBInstanceSSL请求参数结构体
|
8490
|
+
class ModifyDBInstanceSSLRequest < TencentCloud::Common::AbstractModel
|
8491
|
+
# @param InstanceId: 实例ID
|
8492
|
+
# @type InstanceId: String
|
8493
|
+
# @param Type: 操作类型。enable-开启SSL,disable-关闭SSL,renew-更新证书有效期
|
8494
|
+
# @type Type: String
|
8495
|
+
# @param WaitSwitch: 操作设置。0-立即执行,1- 维护时间内执行,默认取值0。
|
8496
|
+
# @type WaitSwitch: Integer
|
8497
|
+
|
8498
|
+
attr_accessor :InstanceId, :Type, :WaitSwitch
|
8499
|
+
|
8500
|
+
def initialize(instanceid=nil, type=nil, waitswitch=nil)
|
8501
|
+
@InstanceId = instanceid
|
8502
|
+
@Type = type
|
8503
|
+
@WaitSwitch = waitswitch
|
8504
|
+
end
|
8505
|
+
|
8506
|
+
def deserialize(params)
|
8507
|
+
@InstanceId = params['InstanceId']
|
8508
|
+
@Type = params['Type']
|
8509
|
+
@WaitSwitch = params['WaitSwitch']
|
8510
|
+
end
|
8511
|
+
end
|
8512
|
+
|
8513
|
+
# ModifyDBInstanceSSL返回参数结构体
|
8514
|
+
class ModifyDBInstanceSSLResponse < TencentCloud::Common::AbstractModel
|
8515
|
+
# @param FlowId: 异步任务流程ID
|
8516
|
+
# @type FlowId: Integer
|
8517
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
8518
|
+
# @type RequestId: String
|
8519
|
+
|
8520
|
+
attr_accessor :FlowId, :RequestId
|
8521
|
+
|
8522
|
+
def initialize(flowid=nil, requestid=nil)
|
8523
|
+
@FlowId = flowid
|
8524
|
+
@RequestId = requestid
|
8525
|
+
end
|
8526
|
+
|
8527
|
+
def deserialize(params)
|
8528
|
+
@FlowId = params['FlowId']
|
8529
|
+
@RequestId = params['RequestId']
|
8530
|
+
end
|
8531
|
+
end
|
8532
|
+
|
8482
8533
|
# ModifyDBInstanceSecurityGroups请求参数结构体
|
8483
8534
|
class ModifyDBInstanceSecurityGroupsRequest < TencentCloud::Common::AbstractModel
|
8484
8535
|
# @param InstanceId: 实例 ID,格式如:mssql-c1nl9rpv 或者 mssqlro-c1nl9rpv,与云数据库控制台页面中显示的实例 ID 相同。
|
@@ -10385,6 +10436,39 @@ module TencentCloud
|
|
10385
10436
|
end
|
10386
10437
|
end
|
10387
10438
|
|
10439
|
+
# SSL加密配置
|
10440
|
+
class SSLConfig < TencentCloud::Common::AbstractModel
|
10441
|
+
# @param Encryption: SSL加密状态,
|
10442
|
+
# enable-已开启
|
10443
|
+
# disable-未开启
|
10444
|
+
# enable_doing-开启中
|
10445
|
+
# disable_doing-关闭中
|
10446
|
+
# renew_doing-更新中
|
10447
|
+
# wait_doing-等待维护时间内执行
|
10448
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
10449
|
+
# @type Encryption: String
|
10450
|
+
# @param SSLValidityPeriod: SSL证书有效期,时间格式 YYYY-MM-DD HH:MM:SS
|
10451
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
10452
|
+
# @type SSLValidityPeriod: String
|
10453
|
+
# @param SSLValidity: SSL证书有效性,0-无效,1-有效
|
10454
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
10455
|
+
# @type SSLValidity: Integer
|
10456
|
+
|
10457
|
+
attr_accessor :Encryption, :SSLValidityPeriod, :SSLValidity
|
10458
|
+
|
10459
|
+
def initialize(encryption=nil, sslvalidityperiod=nil, sslvalidity=nil)
|
10460
|
+
@Encryption = encryption
|
10461
|
+
@SSLValidityPeriod = sslvalidityperiod
|
10462
|
+
@SSLValidity = sslvalidity
|
10463
|
+
end
|
10464
|
+
|
10465
|
+
def deserialize(params)
|
10466
|
+
@Encryption = params['Encryption']
|
10467
|
+
@SSLValidityPeriod = params['SSLValidityPeriod']
|
10468
|
+
@SSLValidity = params['SSLValidity']
|
10469
|
+
end
|
10470
|
+
end
|
10471
|
+
|
10388
10472
|
# 安全组
|
10389
10473
|
class SecurityGroup < TencentCloud::Common::AbstractModel
|
10390
10474
|
# @param ProjectId: 项目ID
|
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: 3.0.
|
4
|
+
version: 3.0.717
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-11-
|
11
|
+
date: 2023-11-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|