tencentcloud-sdk-sqlserver 3.0.600 → 3.0.601

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 54d9d5f757dcedad4b5ee3fd73424595ab2fb88e
4
- data.tar.gz: c621f1f5c17d2be4818d57fb72d3a74739d8acaa
3
+ metadata.gz: 6b45737baec5ac376980c372e12e49eac5c58af6
4
+ data.tar.gz: 0c0a258b606651445646af44b0e256206e4f3f0c
5
5
  SHA512:
6
- metadata.gz: 0b5f3c67e4f43c4aa86f0ac78f569a83ff554deec31d0989b5ce65678f80026c031b2e4aa2c24b4268afa8a5d47bc52cffcc7b8f651ae21c63b5781f2ad797e9
7
- data.tar.gz: 8f6f056eaa55719c5dd8360d752889647507cf27f2bd63817af3cbecb380a1ba7f4f6ec402bd4a8f7008a681d0f7753d6dfe9602e29ab9d913a96fd523ea9f6f
6
+ metadata.gz: ece25dd5f51db4cf3bf38e5240ecce9fe8b5358781e53acb0c6d6bb5c655d12afde43be02d8f288ba7322ee6793c4f43c63ed4ad7e7bd25e96a9c18073662bb4
7
+ data.tar.gz: a87c95929a3e6eeed6a6eadb17ae452534a26027e528c78a25d0c054e15af4b970c2b6be327bce969e8ad79d1de69984aa8a4575e1f42ab764290e4e1a3aa458
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.600
1
+ 3.0.601
@@ -1805,6 +1805,30 @@ module TencentCloud
1805
1805
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1806
1806
  end
1807
1807
 
1808
+ # 本接口(ModifyDBEncryptAttributes)用于开启、关闭数据库的TDE加密功能。
1809
+
1810
+ # @param request: Request instance for ModifyDBEncryptAttributes.
1811
+ # @type request: :class:`Tencentcloud::sqlserver::V20180328::ModifyDBEncryptAttributesRequest`
1812
+ # @rtype: :class:`Tencentcloud::sqlserver::V20180328::ModifyDBEncryptAttributesResponse`
1813
+ def ModifyDBEncryptAttributes(request)
1814
+ body = send_request('ModifyDBEncryptAttributes', request.serialize)
1815
+ response = JSON.parse(body)
1816
+ if response['Response'].key?('Error') == false
1817
+ model = ModifyDBEncryptAttributesResponse.new
1818
+ model.deserialize(response['Response'])
1819
+ model
1820
+ else
1821
+ code = response['Response']['Error']['Code']
1822
+ message = response['Response']['Error']['Message']
1823
+ reqid = response['Response']['RequestId']
1824
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1825
+ end
1826
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1827
+ raise e
1828
+ rescue StandardError => e
1829
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1830
+ end
1831
+
1808
1832
  # 本接口(ModifyDBInstanceName)用于修改实例名字。
1809
1833
 
1810
1834
  # @param request: Request instance for ModifyDBInstanceName.
@@ -2069,6 +2093,30 @@ module TencentCloud
2069
2093
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2070
2094
  end
2071
2095
 
2096
+ # 本接口(ModifyInstanceEncryptAttributes)用于开通实例的TDE加密功能。
2097
+
2098
+ # @param request: Request instance for ModifyInstanceEncryptAttributes.
2099
+ # @type request: :class:`Tencentcloud::sqlserver::V20180328::ModifyInstanceEncryptAttributesRequest`
2100
+ # @rtype: :class:`Tencentcloud::sqlserver::V20180328::ModifyInstanceEncryptAttributesResponse`
2101
+ def ModifyInstanceEncryptAttributes(request)
2102
+ body = send_request('ModifyInstanceEncryptAttributes', request.serialize)
2103
+ response = JSON.parse(body)
2104
+ if response['Response'].key?('Error') == false
2105
+ model = ModifyInstanceEncryptAttributesResponse.new
2106
+ model.deserialize(response['Response'])
2107
+ model
2108
+ else
2109
+ code = response['Response']['Error']['Code']
2110
+ message = response['Response']['Error']['Message']
2111
+ reqid = response['Response']['RequestId']
2112
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2113
+ end
2114
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2115
+ raise e
2116
+ rescue StandardError => e
2117
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2118
+ end
2119
+
2072
2120
  # 本接口(ModifyInstanceParam)用于修改云数据库实例的参数。
2073
2121
  # <b>注意</b>:如果修改的参数是需要<b>重启实例</b>的,那么实例将会按照WaitSwitch参数的设置(可能是立即执行也可能在可维护时间窗内自动执行)在执行参数修改时<b>重启实例</b>。
2074
2122
  # 您可以通过DescribeInstanceParams接口查询修改参数时是否会重启实例,以免导致您的实例不符合预期重启。
@@ -2303,6 +2303,26 @@ module TencentCloud
2303
2303
  end
2304
2304
  end
2305
2305
 
2306
+ # 开启、关闭TDE数据库加密
2307
+ class DBTDEEncrypt < TencentCloud::Common::AbstractModel
2308
+ # @param DBName: 数据库名称
2309
+ # @type DBName: String
2310
+ # @param Encryption: enable-开启加密,disable-关闭加密
2311
+ # @type Encryption: String
2312
+
2313
+ attr_accessor :DBName, :Encryption
2314
+
2315
+ def initialize(dbname=nil, encryption=nil)
2316
+ @DBName = dbname
2317
+ @Encryption = encryption
2318
+ end
2319
+
2320
+ def deserialize(params)
2321
+ @DBName = params['DBName']
2322
+ @Encryption = params['Encryption']
2323
+ end
2324
+ end
2325
+
2306
2326
  # 该数据结构表示具有发布订阅关系的两个数据库。
2307
2327
  class DatabaseTuple < TencentCloud::Common::AbstractModel
2308
2328
  # @param PublishDatabase: 发布数据库名称
@@ -6263,6 +6283,53 @@ module TencentCloud
6263
6283
  end
6264
6284
  end
6265
6285
 
6286
+ # ModifyDBEncryptAttributes请求参数结构体
6287
+ class ModifyDBEncryptAttributesRequest < TencentCloud::Common::AbstractModel
6288
+ # @param InstanceId: 实例ID
6289
+ # @type InstanceId: String
6290
+ # @param DBTDEEncrypt: 开启、关闭数据库TDE加密
6291
+ # @type DBTDEEncrypt: Array
6292
+
6293
+ attr_accessor :InstanceId, :DBTDEEncrypt
6294
+
6295
+ def initialize(instanceid=nil, dbtdeencrypt=nil)
6296
+ @InstanceId = instanceid
6297
+ @DBTDEEncrypt = dbtdeencrypt
6298
+ end
6299
+
6300
+ def deserialize(params)
6301
+ @InstanceId = params['InstanceId']
6302
+ unless params['DBTDEEncrypt'].nil?
6303
+ @DBTDEEncrypt = []
6304
+ params['DBTDEEncrypt'].each do |i|
6305
+ dbtdeencrypt_tmp = DBTDEEncrypt.new
6306
+ dbtdeencrypt_tmp.deserialize(i)
6307
+ @DBTDEEncrypt << dbtdeencrypt_tmp
6308
+ end
6309
+ end
6310
+ end
6311
+ end
6312
+
6313
+ # ModifyDBEncryptAttributes返回参数结构体
6314
+ class ModifyDBEncryptAttributesResponse < TencentCloud::Common::AbstractModel
6315
+ # @param FlowId: 任务流ID
6316
+ # @type FlowId: Integer
6317
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6318
+ # @type RequestId: String
6319
+
6320
+ attr_accessor :FlowId, :RequestId
6321
+
6322
+ def initialize(flowid=nil, requestid=nil)
6323
+ @FlowId = flowid
6324
+ @RequestId = requestid
6325
+ end
6326
+
6327
+ def deserialize(params)
6328
+ @FlowId = params['FlowId']
6329
+ @RequestId = params['RequestId']
6330
+ end
6331
+ end
6332
+
6266
6333
  # ModifyDBInstanceName请求参数结构体
6267
6334
  class ModifyDBInstanceNameRequest < TencentCloud::Common::AbstractModel
6268
6335
  # @param InstanceId: 数据库实例ID,形如mssql-njj2mtpl
@@ -6741,6 +6808,50 @@ module TencentCloud
6741
6808
  end
6742
6809
  end
6743
6810
 
6811
+ # ModifyInstanceEncryptAttributes请求参数结构体
6812
+ class ModifyInstanceEncryptAttributesRequest < TencentCloud::Common::AbstractModel
6813
+ # @param InstanceId: 实例ID
6814
+ # @type InstanceId: String
6815
+ # @param CertificateAttribution: 证书归属。self-表示使用该账号自身的证书,others-表示引用其他账号的证书,默认self。
6816
+ # @type CertificateAttribution: String
6817
+ # @param QuoteUin: 引用的其他主账号ID,当CertificateAttribution 为others时必填。
6818
+ # @type QuoteUin: String
6819
+
6820
+ attr_accessor :InstanceId, :CertificateAttribution, :QuoteUin
6821
+
6822
+ def initialize(instanceid=nil, certificateattribution=nil, quoteuin=nil)
6823
+ @InstanceId = instanceid
6824
+ @CertificateAttribution = certificateattribution
6825
+ @QuoteUin = quoteuin
6826
+ end
6827
+
6828
+ def deserialize(params)
6829
+ @InstanceId = params['InstanceId']
6830
+ @CertificateAttribution = params['CertificateAttribution']
6831
+ @QuoteUin = params['QuoteUin']
6832
+ end
6833
+ end
6834
+
6835
+ # ModifyInstanceEncryptAttributes返回参数结构体
6836
+ class ModifyInstanceEncryptAttributesResponse < TencentCloud::Common::AbstractModel
6837
+ # @param FlowId: 任务流ID
6838
+ # @type FlowId: Integer
6839
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6840
+ # @type RequestId: String
6841
+
6842
+ attr_accessor :FlowId, :RequestId
6843
+
6844
+ def initialize(flowid=nil, requestid=nil)
6845
+ @FlowId = flowid
6846
+ @RequestId = requestid
6847
+ end
6848
+
6849
+ def deserialize(params)
6850
+ @FlowId = params['FlowId']
6851
+ @RequestId = params['RequestId']
6852
+ end
6853
+ end
6854
+
6744
6855
  # ModifyInstanceParam请求参数结构体
6745
6856
  class ModifyInstanceParamRequest < TencentCloud::Common::AbstractModel
6746
6857
  # @param InstanceIds: 实例短 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.600
4
+ version: 3.0.601
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-06-27 00:00:00.000000000 Z
11
+ date: 2023-06-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common