tencentcloud-sdk-sqlserver 3.0.406 → 3.0.407

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: 350836b2afc39e4a4190719d01d856b49c44a12e
4
- data.tar.gz: b755fdec157a23282238e56cf8359397c7f805da
3
+ metadata.gz: 469f7876abb2a7340a0fcb2fed995d73685b09fa
4
+ data.tar.gz: 9968a70e265714a67a8819e805846a68adf9c591
5
5
  SHA512:
6
- metadata.gz: c9011c9a71454eac93b8f2323019255b592b07465b5296433ffcb65241fad3cc7dc47d13c5346951f393da6b45c1279ba9be9e53ea65fa0d2658796517c19b7b
7
- data.tar.gz: 0f42b3e68fdff57415e08605a18cb54ddfd7699abea0e41c6c272fe2d5a1d92d9296a20d66bbfdb2508fd5105d2f809fb55abe24bf33794b08769b4644b2cc51
6
+ metadata.gz: d393587cf563b9c5b72b7cca396669144c92fa516b65887c2fa1ee815f11362e9fb3568b58367304a051b2bd7052da730f6c1cdefac9e740668f2eef2fdf9348
7
+ data.tar.gz: 9bf882502ba0567ba1dfde08b269a2a6b9c6ad9b1a636cb76abeb7d0178aec7dc20d3816fc6a6837944538c079e68e3e7537b4df255d7bdd8d39d35791b37fae
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.406
1
+ 3.0.407
@@ -77,6 +77,30 @@ module TencentCloud
77
77
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
78
78
  end
79
79
 
80
+ # 本接口(CloseInterCommunication)用于关闭实例互通。
81
+
82
+ # @param request: Request instance for CloseInterCommunication.
83
+ # @type request: :class:`Tencentcloud::sqlserver::V20180328::CloseInterCommunicationRequest`
84
+ # @rtype: :class:`Tencentcloud::sqlserver::V20180328::CloseInterCommunicationResponse`
85
+ def CloseInterCommunication(request)
86
+ body = send_request('CloseInterCommunication', request.serialize)
87
+ response = JSON.parse(body)
88
+ if response['Response'].key?('Error') == false
89
+ model = CloseInterCommunicationResponse.new
90
+ model.deserialize(response['Response'])
91
+ model
92
+ else
93
+ code = response['Response']['Error']['Code']
94
+ message = response['Response']['Error']['Message']
95
+ reqid = response['Response']['RequestId']
96
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
97
+ end
98
+ rescue TencentCloud::Common::TencentCloudSDKException => e
99
+ raise e
100
+ rescue StandardError => e
101
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
102
+ end
103
+
80
104
  # 本接口(CompleteExpansion)在实例发起扩容后,实例状态处于“升级待切换”时,可立即完成实例升级切换操作,无需等待可维护时间窗。本接口需要在实例低峰时调用,在完全切换成功前,存在部分库不可访问的风险。
81
105
 
82
106
  # @param request: Request instance for CompleteExpansion.
@@ -221,6 +245,54 @@ module TencentCloud
221
245
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
222
246
  end
223
247
 
248
+ # 本接口(CreateBusinessDBInstances)用于创建商业智能服务实例。
249
+
250
+ # @param request: Request instance for CreateBusinessDBInstances.
251
+ # @type request: :class:`Tencentcloud::sqlserver::V20180328::CreateBusinessDBInstancesRequest`
252
+ # @rtype: :class:`Tencentcloud::sqlserver::V20180328::CreateBusinessDBInstancesResponse`
253
+ def CreateBusinessDBInstances(request)
254
+ body = send_request('CreateBusinessDBInstances', request.serialize)
255
+ response = JSON.parse(body)
256
+ if response['Response'].key?('Error') == false
257
+ model = CreateBusinessDBInstancesResponse.new
258
+ model.deserialize(response['Response'])
259
+ model
260
+ else
261
+ code = response['Response']['Error']['Code']
262
+ message = response['Response']['Error']['Message']
263
+ reqid = response['Response']['RequestId']
264
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
265
+ end
266
+ rescue TencentCloud::Common::TencentCloudSDKException => e
267
+ raise e
268
+ rescue StandardError => e
269
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
270
+ end
271
+
272
+ # 本接口(CreateBusinessIntelligenceFile)用于添加商业智能服务文件。
273
+
274
+ # @param request: Request instance for CreateBusinessIntelligenceFile.
275
+ # @type request: :class:`Tencentcloud::sqlserver::V20180328::CreateBusinessIntelligenceFileRequest`
276
+ # @rtype: :class:`Tencentcloud::sqlserver::V20180328::CreateBusinessIntelligenceFileResponse`
277
+ def CreateBusinessIntelligenceFile(request)
278
+ body = send_request('CreateBusinessIntelligenceFile', request.serialize)
279
+ response = JSON.parse(body)
280
+ if response['Response'].key?('Error') == false
281
+ model = CreateBusinessIntelligenceFileResponse.new
282
+ model.deserialize(response['Response'])
283
+ model
284
+ else
285
+ code = response['Response']['Error']['Code']
286
+ message = response['Response']['Error']['Message']
287
+ reqid = response['Response']['RequestId']
288
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
289
+ end
290
+ rescue TencentCloud::Common::TencentCloudSDKException => e
291
+ raise e
292
+ rescue StandardError => e
293
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
294
+ end
295
+
224
296
  # 本接口(CreateDB)用于创建数据库。
225
297
 
226
298
  # @param request: Request instance for CreateDB.
@@ -413,6 +485,30 @@ module TencentCloud
413
485
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
414
486
  end
415
487
 
488
+ # 本接口(DeleteBusinessIntelligenceFile)用于删除商业智能文件。
489
+
490
+ # @param request: Request instance for DeleteBusinessIntelligenceFile.
491
+ # @type request: :class:`Tencentcloud::sqlserver::V20180328::DeleteBusinessIntelligenceFileRequest`
492
+ # @rtype: :class:`Tencentcloud::sqlserver::V20180328::DeleteBusinessIntelligenceFileResponse`
493
+ def DeleteBusinessIntelligenceFile(request)
494
+ body = send_request('DeleteBusinessIntelligenceFile', request.serialize)
495
+ response = JSON.parse(body)
496
+ if response['Response'].key?('Error') == false
497
+ model = DeleteBusinessIntelligenceFileResponse.new
498
+ model.deserialize(response['Response'])
499
+ model
500
+ else
501
+ code = response['Response']['Error']['Code']
502
+ message = response['Response']['Error']['Message']
503
+ reqid = response['Response']['RequestId']
504
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
505
+ end
506
+ rescue TencentCloud::Common::TencentCloudSDKException => e
507
+ raise e
508
+ rescue StandardError => e
509
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
510
+ end
511
+
416
512
  # 本接口(DeleteDB)用于删除数据库。
417
513
 
418
514
  # @param request: Request instance for DeleteDB.
@@ -701,6 +797,30 @@ module TencentCloud
701
797
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
702
798
  end
703
799
 
800
+ # 本接口(DescribeBusinessIntelligenceFile)用于查询商业智能服务需要的文件。
801
+
802
+ # @param request: Request instance for DescribeBusinessIntelligenceFile.
803
+ # @type request: :class:`Tencentcloud::sqlserver::V20180328::DescribeBusinessIntelligenceFileRequest`
804
+ # @rtype: :class:`Tencentcloud::sqlserver::V20180328::DescribeBusinessIntelligenceFileResponse`
805
+ def DescribeBusinessIntelligenceFile(request)
806
+ body = send_request('DescribeBusinessIntelligenceFile', request.serialize)
807
+ response = JSON.parse(body)
808
+ if response['Response'].key?('Error') == false
809
+ model = DescribeBusinessIntelligenceFileResponse.new
810
+ model.deserialize(response['Response'])
811
+ model
812
+ else
813
+ code = response['Response']['Error']['Code']
814
+ message = response['Response']['Error']['Message']
815
+ reqid = response['Response']['RequestId']
816
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
817
+ end
818
+ rescue TencentCloud::Common::TencentCloudSDKException => e
819
+ raise e
820
+ rescue StandardError => e
821
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
822
+ end
823
+
704
824
  # 本接口(DescribeCrossRegionZone)根据主实例查询备机的容灾地域和可用区。
705
825
 
706
826
  # @param request: Request instance for DescribeCrossRegionZone.
@@ -749,6 +869,30 @@ module TencentCloud
749
869
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
750
870
  end
751
871
 
872
+ # 本接口(DescribeDBInstanceInter)用于查询互通实例的信息。
873
+
874
+ # @param request: Request instance for DescribeDBInstanceInter.
875
+ # @type request: :class:`Tencentcloud::sqlserver::V20180328::DescribeDBInstanceInterRequest`
876
+ # @rtype: :class:`Tencentcloud::sqlserver::V20180328::DescribeDBInstanceInterResponse`
877
+ def DescribeDBInstanceInter(request)
878
+ body = send_request('DescribeDBInstanceInter', request.serialize)
879
+ response = JSON.parse(body)
880
+ if response['Response'].key?('Error') == false
881
+ model = DescribeDBInstanceInterResponse.new
882
+ model.deserialize(response['Response'])
883
+ model
884
+ else
885
+ code = response['Response']['Error']['Code']
886
+ message = response['Response']['Error']['Message']
887
+ reqid = response['Response']['RequestId']
888
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
889
+ end
890
+ rescue TencentCloud::Common::TencentCloudSDKException => e
891
+ raise e
892
+ rescue StandardError => e
893
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
894
+ end
895
+
752
896
  # 本接口(DescribeDBInstances)用于查询实例列表。
753
897
 
754
898
  # @param request: Request instance for DescribeDBInstances.
@@ -1951,6 +2095,30 @@ module TencentCloud
1951
2095
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1952
2096
  end
1953
2097
 
2098
+ # 本接口(OpenInterCommunication)用于打开实例的互通,实例互通可以实现商业智能服务相互联通。
2099
+
2100
+ # @param request: Request instance for OpenInterCommunication.
2101
+ # @type request: :class:`Tencentcloud::sqlserver::V20180328::OpenInterCommunicationRequest`
2102
+ # @rtype: :class:`Tencentcloud::sqlserver::V20180328::OpenInterCommunicationResponse`
2103
+ def OpenInterCommunication(request)
2104
+ body = send_request('OpenInterCommunication', request.serialize)
2105
+ response = JSON.parse(body)
2106
+ if response['Response'].key?('Error') == false
2107
+ model = OpenInterCommunicationResponse.new
2108
+ model.deserialize(response['Response'])
2109
+ model
2110
+ else
2111
+ code = response['Response']['Error']['Code']
2112
+ message = response['Response']['Error']['Message']
2113
+ reqid = response['Response']['RequestId']
2114
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2115
+ end
2116
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2117
+ raise e
2118
+ rescue StandardError => e
2119
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2120
+ end
2121
+
1954
2122
  # 本接口(QueryMigrationCheckProcess)的作用是查询迁移检查任务的进度,适用于迁移源的类型为TencentDB for SQLServer 的迁移方式
1955
2123
 
1956
2124
  # @param request: Request instance for QueryMigrationCheckProcess.
@@ -391,6 +391,77 @@ module TencentCloud
391
391
  end
392
392
  end
393
393
 
394
+ # 商业智能服务文件类型
395
+ class BusinessIntelligenceFile < TencentCloud::Common::AbstractModel
396
+ # @param FileName: 文件名称
397
+ # @type FileName: String
398
+ # @param FileType: 文件类型
399
+ # @type FileType: String
400
+ # @param FileURL: 文件的COS_URL
401
+ # @type FileURL: String
402
+ # @param FilePath: 文件在服务器上的路径
403
+ # @type FilePath: String
404
+ # @param FileSize: 文件大小,单位时Byte
405
+ # @type FileSize: Integer
406
+ # @param FileMd5: 文件md5值
407
+ # @type FileMd5: String
408
+ # @param Status: 部署文件状态 1-初始化待部署 2-部署中 3-部署成功 4-部署失败
409
+ # @type Status: Integer
410
+ # @param Remark: 备注信息
411
+ # @type Remark: String
412
+ # @param CreateTime: 文件创建时间
413
+ # @type CreateTime: String
414
+ # @param StartTime: 文件部署开始时间
415
+ # @type StartTime: String
416
+ # @param EndTime: 文件部署结束时间
417
+ # @type EndTime: String
418
+ # @param Message: 报错信息返回
419
+ # @type Message: String
420
+ # @param InstanceId: 商业智能实例ID
421
+ # @type InstanceId: String
422
+ # @param Action: 动作相关信息
423
+ # @type Action: :class:`Tencentcloud::Sqlserver.v20180328.models.FileAction`
424
+
425
+ attr_accessor :FileName, :FileType, :FileURL, :FilePath, :FileSize, :FileMd5, :Status, :Remark, :CreateTime, :StartTime, :EndTime, :Message, :InstanceId, :Action
426
+
427
+ def initialize(filename=nil, filetype=nil, fileurl=nil, filepath=nil, filesize=nil, filemd5=nil, status=nil, remark=nil, createtime=nil, starttime=nil, endtime=nil, message=nil, instanceid=nil, action=nil)
428
+ @FileName = filename
429
+ @FileType = filetype
430
+ @FileURL = fileurl
431
+ @FilePath = filepath
432
+ @FileSize = filesize
433
+ @FileMd5 = filemd5
434
+ @Status = status
435
+ @Remark = remark
436
+ @CreateTime = createtime
437
+ @StartTime = starttime
438
+ @EndTime = endtime
439
+ @Message = message
440
+ @InstanceId = instanceid
441
+ @Action = action
442
+ end
443
+
444
+ def deserialize(params)
445
+ @FileName = params['FileName']
446
+ @FileType = params['FileType']
447
+ @FileURL = params['FileURL']
448
+ @FilePath = params['FilePath']
449
+ @FileSize = params['FileSize']
450
+ @FileMd5 = params['FileMd5']
451
+ @Status = params['Status']
452
+ @Remark = params['Remark']
453
+ @CreateTime = params['CreateTime']
454
+ @StartTime = params['StartTime']
455
+ @EndTime = params['EndTime']
456
+ @Message = params['Message']
457
+ @InstanceId = params['InstanceId']
458
+ unless params['Action'].nil?
459
+ @Action = FileAction.new
460
+ @Action.deserialize(params['Action'])
461
+ end
462
+ end
463
+ end
464
+
394
465
  # CloneDB请求参数结构体
395
466
  class CloneDBRequest < TencentCloud::Common::AbstractModel
396
467
  # @param InstanceId: 实例ID,形如mssql-j8kv137v
@@ -438,6 +509,49 @@ module TencentCloud
438
509
  end
439
510
  end
440
511
 
512
+ # CloseInterCommunication请求参数结构体
513
+ class CloseInterCommunicationRequest < TencentCloud::Common::AbstractModel
514
+ # @param InstanceIdSet: 关闭互通的实例ID集合
515
+ # @type InstanceIdSet: Array
516
+
517
+ attr_accessor :InstanceIdSet
518
+
519
+ def initialize(instanceidset=nil)
520
+ @InstanceIdSet = instanceidset
521
+ end
522
+
523
+ def deserialize(params)
524
+ @InstanceIdSet = params['InstanceIdSet']
525
+ end
526
+ end
527
+
528
+ # CloseInterCommunication返回参数结构体
529
+ class CloseInterCommunicationResponse < TencentCloud::Common::AbstractModel
530
+ # @param InterInstanceFlowSet: 实例和异步流程ID
531
+ # @type InterInstanceFlowSet: Array
532
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
533
+ # @type RequestId: String
534
+
535
+ attr_accessor :InterInstanceFlowSet, :RequestId
536
+
537
+ def initialize(interinstanceflowset=nil, requestid=nil)
538
+ @InterInstanceFlowSet = interinstanceflowset
539
+ @RequestId = requestid
540
+ end
541
+
542
+ def deserialize(params)
543
+ unless params['InterInstanceFlowSet'].nil?
544
+ @InterInstanceFlowSet = []
545
+ params['InterInstanceFlowSet'].each do |i|
546
+ interinstanceflow_tmp = InterInstanceFlow.new
547
+ interinstanceflow_tmp.deserialize(i)
548
+ @InterInstanceFlowSet << interinstanceflow_tmp
549
+ end
550
+ end
551
+ @RequestId = params['RequestId']
552
+ end
553
+ end
554
+
441
555
  # CompleteExpansion请求参数结构体
442
556
  class CompleteExpansionRequest < TencentCloud::Common::AbstractModel
443
557
  # @param InstanceId: 实例ID,形如mssql-j8kv137v
@@ -804,6 +918,153 @@ module TencentCloud
804
918
  end
805
919
  end
806
920
 
921
+ # CreateBusinessDBInstances请求参数结构体
922
+ class CreateBusinessDBInstancesRequest < TencentCloud::Common::AbstractModel
923
+ # @param Zone: 实例可用区,类似ap-guangzhou-1(广州一区);实例可售卖区域可以通过接口DescribeZones获取
924
+ # @type Zone: String
925
+ # @param Memory: 实例内存大小,单位GB
926
+ # @type Memory: Integer
927
+ # @param Storage: 实例磁盘大小,单位GB
928
+ # @type Storage: Integer
929
+ # @param Cpu: 预购买实例的CPU核心数
930
+ # @type Cpu: Integer
931
+ # @param MachineType: 购买实例的宿主机类型,CLOUD_PREMIUM-虚拟机高性能云盘,CLOUD_SSD-虚拟机SSD云盘
932
+ # @type MachineType: String
933
+ # @param ProjectId: 项目ID
934
+ # @type ProjectId: Integer
935
+ # @param GoodsNum: 本次购买几个实例,默认值为1
936
+ # @type GoodsNum: Integer
937
+ # @param SubnetId: VPC子网ID,形如subnet-bdoe83fa;SubnetId和VpcId需同时设置或者同时不设置
938
+ # @type SubnetId: String
939
+ # @param VpcId: VPC网络ID,形如vpc-dsp338hz;SubnetId和VpcId需同时设置或者同时不设置
940
+ # @type VpcId: String
941
+ # @param DBVersion: 商业智能服务器版本,目前只支持:201603(SQL Server 2016 Integration Services),201703(SQL Server 2017 Integration Services),201903(SQL Server 2019 Integration Services)版本。每个地域支持售卖的版本不同,可通过DescribeProductConfig接口来拉取每个地域可售卖的版本信息。不填,默认为版本201903。
942
+ # @type DBVersion: String
943
+ # @param SecurityGroupList: 安全组列表,填写形如sg-xxx的安全组ID
944
+ # @type SecurityGroupList: Array
945
+ # @param Weekly: 可维护时间窗配置,以周为单位,表示周几允许维护,1-7分别代表周一到周末
946
+ # @type Weekly: Array
947
+ # @param StartTime: 可维护时间窗配置,每天可维护的开始时间
948
+ # @type StartTime: String
949
+ # @param Span: 可维护时间窗配置,持续时间,单位:小时
950
+ # @type Span: Integer
951
+ # @param ResourceTags: 新建实例绑定的标签集合
952
+ # @type ResourceTags: Array
953
+
954
+ attr_accessor :Zone, :Memory, :Storage, :Cpu, :MachineType, :ProjectId, :GoodsNum, :SubnetId, :VpcId, :DBVersion, :SecurityGroupList, :Weekly, :StartTime, :Span, :ResourceTags
955
+
956
+ def initialize(zone=nil, memory=nil, storage=nil, cpu=nil, machinetype=nil, projectid=nil, goodsnum=nil, subnetid=nil, vpcid=nil, dbversion=nil, securitygrouplist=nil, weekly=nil, starttime=nil, span=nil, resourcetags=nil)
957
+ @Zone = zone
958
+ @Memory = memory
959
+ @Storage = storage
960
+ @Cpu = cpu
961
+ @MachineType = machinetype
962
+ @ProjectId = projectid
963
+ @GoodsNum = goodsnum
964
+ @SubnetId = subnetid
965
+ @VpcId = vpcid
966
+ @DBVersion = dbversion
967
+ @SecurityGroupList = securitygrouplist
968
+ @Weekly = weekly
969
+ @StartTime = starttime
970
+ @Span = span
971
+ @ResourceTags = resourcetags
972
+ end
973
+
974
+ def deserialize(params)
975
+ @Zone = params['Zone']
976
+ @Memory = params['Memory']
977
+ @Storage = params['Storage']
978
+ @Cpu = params['Cpu']
979
+ @MachineType = params['MachineType']
980
+ @ProjectId = params['ProjectId']
981
+ @GoodsNum = params['GoodsNum']
982
+ @SubnetId = params['SubnetId']
983
+ @VpcId = params['VpcId']
984
+ @DBVersion = params['DBVersion']
985
+ @SecurityGroupList = params['SecurityGroupList']
986
+ @Weekly = params['Weekly']
987
+ @StartTime = params['StartTime']
988
+ @Span = params['Span']
989
+ unless params['ResourceTags'].nil?
990
+ @ResourceTags = []
991
+ params['ResourceTags'].each do |i|
992
+ resourcetag_tmp = ResourceTag.new
993
+ resourcetag_tmp.deserialize(i)
994
+ @ResourceTags << resourcetag_tmp
995
+ end
996
+ end
997
+ end
998
+ end
999
+
1000
+ # CreateBusinessDBInstances返回参数结构体
1001
+ class CreateBusinessDBInstancesResponse < TencentCloud::Common::AbstractModel
1002
+ # @param DealName: 订单名称
1003
+ # @type DealName: String
1004
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1005
+ # @type RequestId: String
1006
+
1007
+ attr_accessor :DealName, :RequestId
1008
+
1009
+ def initialize(dealname=nil, requestid=nil)
1010
+ @DealName = dealname
1011
+ @RequestId = requestid
1012
+ end
1013
+
1014
+ def deserialize(params)
1015
+ @DealName = params['DealName']
1016
+ @RequestId = params['RequestId']
1017
+ end
1018
+ end
1019
+
1020
+ # CreateBusinessIntelligenceFile请求参数结构体
1021
+ class CreateBusinessIntelligenceFileRequest < TencentCloud::Common::AbstractModel
1022
+ # @param InstanceId: 实例ID
1023
+ # @type InstanceId: String
1024
+ # @param FileURL: COS_URL
1025
+ # @type FileURL: String
1026
+ # @param FileType: 文件类型 FLAT-作为数据源的平面文件, SSIS-ssis项目包
1027
+ # @type FileType: String
1028
+ # @param Remark: 备注
1029
+ # @type Remark: String
1030
+
1031
+ attr_accessor :InstanceId, :FileURL, :FileType, :Remark
1032
+
1033
+ def initialize(instanceid=nil, fileurl=nil, filetype=nil, remark=nil)
1034
+ @InstanceId = instanceid
1035
+ @FileURL = fileurl
1036
+ @FileType = filetype
1037
+ @Remark = remark
1038
+ end
1039
+
1040
+ def deserialize(params)
1041
+ @InstanceId = params['InstanceId']
1042
+ @FileURL = params['FileURL']
1043
+ @FileType = params['FileType']
1044
+ @Remark = params['Remark']
1045
+ end
1046
+ end
1047
+
1048
+ # CreateBusinessIntelligenceFile返回参数结构体
1049
+ class CreateBusinessIntelligenceFileResponse < TencentCloud::Common::AbstractModel
1050
+ # @param FileTaskId: 文件名称
1051
+ # @type FileTaskId: String
1052
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1053
+ # @type RequestId: String
1054
+
1055
+ attr_accessor :FileTaskId, :RequestId
1056
+
1057
+ def initialize(filetaskid=nil, requestid=nil)
1058
+ @FileTaskId = filetaskid
1059
+ @RequestId = requestid
1060
+ end
1061
+
1062
+ def deserialize(params)
1063
+ @FileTaskId = params['FileTaskId']
1064
+ @RequestId = params['RequestId']
1065
+ end
1066
+ end
1067
+
807
1068
  # CreateDBInstances请求参数结构体
808
1069
  class CreateDBInstancesRequest < TencentCloud::Common::AbstractModel
809
1070
  # @param Zone: 实例可用区,类似ap-guangzhou-1(广州一区);实例可售卖区域可以通过接口DescribeZones获取
@@ -1972,6 +2233,42 @@ module TencentCloud
1972
2233
  end
1973
2234
  end
1974
2235
 
2236
+ # DeleteBusinessIntelligenceFile请求参数结构体
2237
+ class DeleteBusinessIntelligenceFileRequest < TencentCloud::Common::AbstractModel
2238
+ # @param InstanceId: 实例ID
2239
+ # @type InstanceId: String
2240
+ # @param FileNameSet: 文件名称集合
2241
+ # @type FileNameSet: Array
2242
+
2243
+ attr_accessor :InstanceId, :FileNameSet
2244
+
2245
+ def initialize(instanceid=nil, filenameset=nil)
2246
+ @InstanceId = instanceid
2247
+ @FileNameSet = filenameset
2248
+ end
2249
+
2250
+ def deserialize(params)
2251
+ @InstanceId = params['InstanceId']
2252
+ @FileNameSet = params['FileNameSet']
2253
+ end
2254
+ end
2255
+
2256
+ # DeleteBusinessIntelligenceFile返回参数结构体
2257
+ class DeleteBusinessIntelligenceFileResponse < TencentCloud::Common::AbstractModel
2258
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2259
+ # @type RequestId: String
2260
+
2261
+ attr_accessor :RequestId
2262
+
2263
+ def initialize(requestid=nil)
2264
+ @RequestId = requestid
2265
+ end
2266
+
2267
+ def deserialize(params)
2268
+ @RequestId = params['RequestId']
2269
+ end
2270
+ end
2271
+
1975
2272
  # DeleteDBInstance请求参数结构体
1976
2273
  class DeleteDBInstanceRequest < TencentCloud::Common::AbstractModel
1977
2274
  # @param InstanceId: 实例ID,格式如:mssql-3l3fgqn7 或 mssqlro-3l3fgqn7
@@ -2654,6 +2951,81 @@ module TencentCloud
2654
2951
  end
2655
2952
  end
2656
2953
 
2954
+ # DescribeBusinessIntelligenceFile请求参数结构体
2955
+ class DescribeBusinessIntelligenceFileRequest < TencentCloud::Common::AbstractModel
2956
+ # @param InstanceId: 实例ID
2957
+ # @type InstanceId: String
2958
+ # @param FileName: 文件名称
2959
+ # @type FileName: String
2960
+ # @param StatusSet: 迁移任务状态集合,1-初始化待部署 2-部署中 3-部署成功 4-部署失败
2961
+ # @type StatusSet: Array
2962
+ # @param FileType: 文件类型 FLAT-平面文件,SSIS商业智能服务项目文件
2963
+ # @type FileType: String
2964
+ # @param Limit: 分页,页大小,范围1-100
2965
+ # @type Limit: Integer
2966
+ # @param Offset: 分页,页数,默认0
2967
+ # @type Offset: Integer
2968
+ # @param OrderBy: 排序字段,可选值file_name,create_time,start_time
2969
+ # @type OrderBy: String
2970
+ # @param OrderByType: 排序方式,desc,asc
2971
+ # @type OrderByType: String
2972
+
2973
+ attr_accessor :InstanceId, :FileName, :StatusSet, :FileType, :Limit, :Offset, :OrderBy, :OrderByType
2974
+
2975
+ def initialize(instanceid=nil, filename=nil, statusset=nil, filetype=nil, limit=nil, offset=nil, orderby=nil, orderbytype=nil)
2976
+ @InstanceId = instanceid
2977
+ @FileName = filename
2978
+ @StatusSet = statusset
2979
+ @FileType = filetype
2980
+ @Limit = limit
2981
+ @Offset = offset
2982
+ @OrderBy = orderby
2983
+ @OrderByType = orderbytype
2984
+ end
2985
+
2986
+ def deserialize(params)
2987
+ @InstanceId = params['InstanceId']
2988
+ @FileName = params['FileName']
2989
+ @StatusSet = params['StatusSet']
2990
+ @FileType = params['FileType']
2991
+ @Limit = params['Limit']
2992
+ @Offset = params['Offset']
2993
+ @OrderBy = params['OrderBy']
2994
+ @OrderByType = params['OrderByType']
2995
+ end
2996
+ end
2997
+
2998
+ # DescribeBusinessIntelligenceFile返回参数结构体
2999
+ class DescribeBusinessIntelligenceFileResponse < TencentCloud::Common::AbstractModel
3000
+ # @param TotalCount: 文件部署任务总数
3001
+ # @type TotalCount: Integer
3002
+ # @param BackupMigrationSet: 文件部署任务集合
3003
+ # @type BackupMigrationSet: Array
3004
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3005
+ # @type RequestId: String
3006
+
3007
+ attr_accessor :TotalCount, :BackupMigrationSet, :RequestId
3008
+
3009
+ def initialize(totalcount=nil, backupmigrationset=nil, requestid=nil)
3010
+ @TotalCount = totalcount
3011
+ @BackupMigrationSet = backupmigrationset
3012
+ @RequestId = requestid
3013
+ end
3014
+
3015
+ def deserialize(params)
3016
+ @TotalCount = params['TotalCount']
3017
+ unless params['BackupMigrationSet'].nil?
3018
+ @BackupMigrationSet = []
3019
+ params['BackupMigrationSet'].each do |i|
3020
+ businessintelligencefile_tmp = BusinessIntelligenceFile.new
3021
+ businessintelligencefile_tmp.deserialize(i)
3022
+ @BackupMigrationSet << businessintelligencefile_tmp
3023
+ end
3024
+ end
3025
+ @RequestId = params['RequestId']
3026
+ end
3027
+ end
3028
+
2657
3029
  # DescribeCrossRegionZone请求参数结构体
2658
3030
  class DescribeCrossRegionZoneRequest < TencentCloud::Common::AbstractModel
2659
3031
  # @param InstanceId: 实例ID,格式如:mssql-3l3fgqn7
@@ -2730,6 +3102,73 @@ module TencentCloud
2730
3102
  end
2731
3103
  end
2732
3104
 
3105
+ # DescribeDBInstanceInter请求参数结构体
3106
+ class DescribeDBInstanceInterRequest < TencentCloud::Common::AbstractModel
3107
+ # @param Limit: 分页,页大小,范围是1-100
3108
+ # @type Limit: Integer
3109
+ # @param InstanceId: 按照实例ID筛选
3110
+ # @type InstanceId: String
3111
+ # @param Status: 按照状态筛选 1-互通ip prot打开中;2-互通ip prot已经打开;3-加入到互通组中;4-已加入到互通组;5-互通ip prot回收中;6-互通ip prot已回收;7-从互通组移除中;8-已从互通组中移除
3112
+ # @type Status: Integer
3113
+ # @param VersionSet: 实例版本代号列表
3114
+ # @type VersionSet: Array
3115
+ # @param Zone: 实例所在可用区,格式如:ap-guangzhou-2
3116
+ # @type Zone: String
3117
+ # @param Offset: 分页,页数,默认是0
3118
+ # @type Offset: Integer
3119
+
3120
+ attr_accessor :Limit, :InstanceId, :Status, :VersionSet, :Zone, :Offset
3121
+
3122
+ def initialize(limit=nil, instanceid=nil, status=nil, versionset=nil, zone=nil, offset=nil)
3123
+ @Limit = limit
3124
+ @InstanceId = instanceid
3125
+ @Status = status
3126
+ @VersionSet = versionset
3127
+ @Zone = zone
3128
+ @Offset = offset
3129
+ end
3130
+
3131
+ def deserialize(params)
3132
+ @Limit = params['Limit']
3133
+ @InstanceId = params['InstanceId']
3134
+ @Status = params['Status']
3135
+ @VersionSet = params['VersionSet']
3136
+ @Zone = params['Zone']
3137
+ @Offset = params['Offset']
3138
+ end
3139
+ end
3140
+
3141
+ # DescribeDBInstanceInter返回参数结构体
3142
+ class DescribeDBInstanceInterResponse < TencentCloud::Common::AbstractModel
3143
+ # @param TotalCount: 互通组内总条数
3144
+ # @type TotalCount: Integer
3145
+ # @param InterInstanceSet: 互通组内实例信息详情
3146
+ # @type InterInstanceSet: Array
3147
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3148
+ # @type RequestId: String
3149
+
3150
+ attr_accessor :TotalCount, :InterInstanceSet, :RequestId
3151
+
3152
+ def initialize(totalcount=nil, interinstanceset=nil, requestid=nil)
3153
+ @TotalCount = totalcount
3154
+ @InterInstanceSet = interinstanceset
3155
+ @RequestId = requestid
3156
+ end
3157
+
3158
+ def deserialize(params)
3159
+ @TotalCount = params['TotalCount']
3160
+ unless params['InterInstanceSet'].nil?
3161
+ @InterInstanceSet = []
3162
+ params['InterInstanceSet'].each do |i|
3163
+ interinstance_tmp = InterInstance.new
3164
+ interinstance_tmp.deserialize(i)
3165
+ @InterInstanceSet << interinstance_tmp
3166
+ end
3167
+ end
3168
+ @RequestId = params['RequestId']
3169
+ end
3170
+ end
3171
+
2733
3172
  # DescribeDBInstances请求参数结构体
2734
3173
  class DescribeDBInstancesRequest < TencentCloud::Common::AbstractModel
2735
3174
  # @param ProjectId: 项目ID
@@ -4288,6 +4727,26 @@ module TencentCloud
4288
4727
  end
4289
4728
  end
4290
4729
 
4730
+ # 允许动作信息
4731
+ class FileAction < TencentCloud::Common::AbstractModel
4732
+ # @param AllAction: 支持的所有操作,值包括:view(查看列表) remark(修改备注),deploy(部署),delete(删除文件)
4733
+ # @type AllAction: Array
4734
+ # @param AllowedAction: 当前状态允许的操作,AllAction的子集,为空表示禁止所有操作
4735
+ # @type AllowedAction: Array
4736
+
4737
+ attr_accessor :AllAction, :AllowedAction
4738
+
4739
+ def initialize(allaction=nil, allowedaction=nil)
4740
+ @AllAction = allaction
4741
+ @AllowedAction = allowedaction
4742
+ end
4743
+
4744
+ def deserialize(params)
4745
+ @AllAction = params['AllAction']
4746
+ @AllowedAction = params['AllowedAction']
4747
+ end
4748
+ end
4749
+
4291
4750
  # InquiryPriceCreateDBInstances请求参数结构体
4292
4751
  class InquiryPriceCreateDBInstancesRequest < TencentCloud::Common::AbstractModel
4293
4752
  # @param Zone: 可用区ID。该参数可以通过调用 DescribeZones 接口的返回值中的Zone字段来获取。
@@ -4511,6 +4970,82 @@ module TencentCloud
4511
4970
  end
4512
4971
  end
4513
4972
 
4973
+ # 互通组内实例信息详情
4974
+ class InterInstance < TencentCloud::Common::AbstractModel
4975
+ # @param InstanceId: 实例ID
4976
+ # @type InstanceId: String
4977
+ # @param InterVip: 实例互通IP,用于加入互通组后访问
4978
+ # @type InterVip: String
4979
+ # @param InterPort: 实例互通端口,用于加入互通组后访问
4980
+ # @type InterPort: Integer
4981
+ # @param Status: 实例互通状态,1 -互通ipprot打开中 2 -互通ipprot已经打开 3 -已经打开互通ip的实例加入到互通组中 4 -已经打开互通ip的实例已加入到互通组 5 -互通ipprot回收中 6 -互通ipprot已回收 7 -已回收的实例从互通组中移除中 8 -已回收的实例从互通组中已经移除
4982
+ # @type Status: Integer
4983
+ # @param Region: 实例所在地域名称,如 ap-guangzhou
4984
+ # @type Region: String
4985
+ # @param Zone: 实例所在可用区名称,如 ap-guangzhou-1
4986
+ # @type Zone: String
4987
+ # @param Version: 实例版本代号
4988
+ # @type Version: String
4989
+ # @param VersionName: 实例版本
4990
+ # @type VersionName: String
4991
+ # @param Name: 实例名称
4992
+ # @type Name: String
4993
+ # @param Vip: 实例访问IP
4994
+ # @type Vip: String
4995
+ # @param Vport: 实例访问端口
4996
+ # @type Vport: Integer
4997
+
4998
+ attr_accessor :InstanceId, :InterVip, :InterPort, :Status, :Region, :Zone, :Version, :VersionName, :Name, :Vip, :Vport
4999
+
5000
+ def initialize(instanceid=nil, intervip=nil, interport=nil, status=nil, region=nil, zone=nil, version=nil, versionname=nil, name=nil, vip=nil, vport=nil)
5001
+ @InstanceId = instanceid
5002
+ @InterVip = intervip
5003
+ @InterPort = interport
5004
+ @Status = status
5005
+ @Region = region
5006
+ @Zone = zone
5007
+ @Version = version
5008
+ @VersionName = versionname
5009
+ @Name = name
5010
+ @Vip = vip
5011
+ @Vport = vport
5012
+ end
5013
+
5014
+ def deserialize(params)
5015
+ @InstanceId = params['InstanceId']
5016
+ @InterVip = params['InterVip']
5017
+ @InterPort = params['InterPort']
5018
+ @Status = params['Status']
5019
+ @Region = params['Region']
5020
+ @Zone = params['Zone']
5021
+ @Version = params['Version']
5022
+ @VersionName = params['VersionName']
5023
+ @Name = params['Name']
5024
+ @Vip = params['Vip']
5025
+ @Vport = params['Vport']
5026
+ end
5027
+ end
5028
+
5029
+ # 实例开通或者关闭互通组后的状态
5030
+ class InterInstanceFlow < TencentCloud::Common::AbstractModel
5031
+ # @param InstanceId: 实例ID,例如:mssql-sdf32n1d
5032
+ # @type InstanceId: String
5033
+ # @param FlowId: 实例开通或者关闭互通组的流程ID,FlowId小于0-开通或者关闭失败,反之则成功。
5034
+ # @type FlowId: Integer
5035
+
5036
+ attr_accessor :InstanceId, :FlowId
5037
+
5038
+ def initialize(instanceid=nil, flowid=nil)
5039
+ @InstanceId = instanceid
5040
+ @FlowId = flowid
5041
+ end
5042
+
5043
+ def deserialize(params)
5044
+ @InstanceId = params['InstanceId']
5045
+ @FlowId = params['FlowId']
5046
+ end
5047
+ end
5048
+
4514
5049
  # 需要迁移的DB列表
4515
5050
  class MigrateDB < TencentCloud::Common::AbstractModel
4516
5051
  # @param DBName: 迁移数据库的名称
@@ -5862,6 +6397,49 @@ module TencentCloud
5862
6397
  end
5863
6398
  end
5864
6399
 
6400
+ # OpenInterCommunication请求参数结构体
6401
+ class OpenInterCommunicationRequest < TencentCloud::Common::AbstractModel
6402
+ # @param InstanceIdSet: 打开互通组的实例ID集合
6403
+ # @type InstanceIdSet: Array
6404
+
6405
+ attr_accessor :InstanceIdSet
6406
+
6407
+ def initialize(instanceidset=nil)
6408
+ @InstanceIdSet = instanceidset
6409
+ end
6410
+
6411
+ def deserialize(params)
6412
+ @InstanceIdSet = params['InstanceIdSet']
6413
+ end
6414
+ end
6415
+
6416
+ # OpenInterCommunication返回参数结构体
6417
+ class OpenInterCommunicationResponse < TencentCloud::Common::AbstractModel
6418
+ # @param InterInstanceFlowSet: 实例和异步流程ID
6419
+ # @type InterInstanceFlowSet: Array
6420
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6421
+ # @type RequestId: String
6422
+
6423
+ attr_accessor :InterInstanceFlowSet, :RequestId
6424
+
6425
+ def initialize(interinstanceflowset=nil, requestid=nil)
6426
+ @InterInstanceFlowSet = interinstanceflowset
6427
+ @RequestId = requestid
6428
+ end
6429
+
6430
+ def deserialize(params)
6431
+ unless params['InterInstanceFlowSet'].nil?
6432
+ @InterInstanceFlowSet = []
6433
+ params['InterInstanceFlowSet'].each do |i|
6434
+ interinstanceflow_tmp = InterInstanceFlow.new
6435
+ interinstanceflow_tmp.deserialize(i)
6436
+ @InterInstanceFlowSet << interinstanceflow_tmp
6437
+ end
6438
+ end
6439
+ @RequestId = params['RequestId']
6440
+ end
6441
+ end
6442
+
5865
6443
  # 实例参数修改记录
5866
6444
  class ParamRecord < TencentCloud::Common::AbstractModel
5867
6445
  # @param InstanceId: 实例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.406
4
+ version: 3.0.407
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-09-08 00:00:00.000000000 Z
11
+ date: 2022-09-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common