tencentcloud-sdk-cynosdb 3.0.1201 → 3.0.1209
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/v20190107/client.rb +96 -0
- data/lib/v20190107/models.rb +503 -13
- 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: 5517bfeaeb0086d16a847dbf5465670cbd17c025
|
|
4
|
+
data.tar.gz: 93cd6262b0af6ad13bb4149bde8d6de51c07dc4b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9934e5509d984de2511cb5b18ec6c33710c72b4512f75397f46eb3b045f5ecad6ef9859eb26c4ec75ddea8005fb802e2db6368237b6c77558c3933d796fffbd4
|
|
7
|
+
data.tar.gz: 025acd7836054bbce321877f450683946a2f7cb9562e43d9355c130f5d67acf4e44a6aa1ce0840d80ac5a47459d9b134c9d5107049c0a121061ae838f2774b2c
|
data/lib/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.0.
|
|
1
|
+
3.0.1209
|
data/lib/v20190107/client.rb
CHANGED
|
@@ -749,6 +749,30 @@ module TencentCloud
|
|
|
749
749
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
750
750
|
end
|
|
751
751
|
|
|
752
|
+
# 本接口(DeleteClusterSaveBackup)用于为集群删除遗留备份
|
|
753
|
+
|
|
754
|
+
# @param request: Request instance for DeleteClusterSaveBackup.
|
|
755
|
+
# @type request: :class:`Tencentcloud::cynosdb::V20190107::DeleteClusterSaveBackupRequest`
|
|
756
|
+
# @rtype: :class:`Tencentcloud::cynosdb::V20190107::DeleteClusterSaveBackupResponse`
|
|
757
|
+
def DeleteClusterSaveBackup(request)
|
|
758
|
+
body = send_request('DeleteClusterSaveBackup', request.serialize)
|
|
759
|
+
response = JSON.parse(body)
|
|
760
|
+
if response['Response'].key?('Error') == false
|
|
761
|
+
model = DeleteClusterSaveBackupResponse.new
|
|
762
|
+
model.deserialize(response['Response'])
|
|
763
|
+
model
|
|
764
|
+
else
|
|
765
|
+
code = response['Response']['Error']['Code']
|
|
766
|
+
message = response['Response']['Error']['Message']
|
|
767
|
+
reqid = response['Response']['RequestId']
|
|
768
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
769
|
+
end
|
|
770
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
771
|
+
raise e
|
|
772
|
+
rescue StandardError => e
|
|
773
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
774
|
+
end
|
|
775
|
+
|
|
752
776
|
# 本接口(DeleteParamTemplate)用于删除用户创建的参数模板。
|
|
753
777
|
|
|
754
778
|
# @param request: Request instance for DeleteParamTemplate.
|
|
@@ -1949,6 +1973,30 @@ module TencentCloud
|
|
|
1949
1973
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
1950
1974
|
end
|
|
1951
1975
|
|
|
1976
|
+
# 本接口(DescribeRedoLogs)用于查询redo日志列表。
|
|
1977
|
+
|
|
1978
|
+
# @param request: Request instance for DescribeRedoLogs.
|
|
1979
|
+
# @type request: :class:`Tencentcloud::cynosdb::V20190107::DescribeRedoLogsRequest`
|
|
1980
|
+
# @rtype: :class:`Tencentcloud::cynosdb::V20190107::DescribeRedoLogsResponse`
|
|
1981
|
+
def DescribeRedoLogs(request)
|
|
1982
|
+
body = send_request('DescribeRedoLogs', request.serialize)
|
|
1983
|
+
response = JSON.parse(body)
|
|
1984
|
+
if response['Response'].key?('Error') == false
|
|
1985
|
+
model = DescribeRedoLogsResponse.new
|
|
1986
|
+
model.deserialize(response['Response'])
|
|
1987
|
+
model
|
|
1988
|
+
else
|
|
1989
|
+
code = response['Response']['Error']['Code']
|
|
1990
|
+
message = response['Response']['Error']['Message']
|
|
1991
|
+
reqid = response['Response']['RequestId']
|
|
1992
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
1993
|
+
end
|
|
1994
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
1995
|
+
raise e
|
|
1996
|
+
rescue StandardError => e
|
|
1997
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
1998
|
+
end
|
|
1999
|
+
|
|
1952
2000
|
# 本接口(DescribeResourcePackageDetail)用于查询资源包使用详情。
|
|
1953
2001
|
|
|
1954
2002
|
# @param request: Request instance for DescribeResourcePackageDetail.
|
|
@@ -2093,6 +2141,30 @@ module TencentCloud
|
|
|
2093
2141
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
2094
2142
|
end
|
|
2095
2143
|
|
|
2144
|
+
# 本接口(DescribeSaveBackupClusters)用于查询遗留备份集群信息。
|
|
2145
|
+
|
|
2146
|
+
# @param request: Request instance for DescribeSaveBackupClusters.
|
|
2147
|
+
# @type request: :class:`Tencentcloud::cynosdb::V20190107::DescribeSaveBackupClustersRequest`
|
|
2148
|
+
# @rtype: :class:`Tencentcloud::cynosdb::V20190107::DescribeSaveBackupClustersResponse`
|
|
2149
|
+
def DescribeSaveBackupClusters(request)
|
|
2150
|
+
body = send_request('DescribeSaveBackupClusters', request.serialize)
|
|
2151
|
+
response = JSON.parse(body)
|
|
2152
|
+
if response['Response'].key?('Error') == false
|
|
2153
|
+
model = DescribeSaveBackupClustersResponse.new
|
|
2154
|
+
model.deserialize(response['Response'])
|
|
2155
|
+
model
|
|
2156
|
+
else
|
|
2157
|
+
code = response['Response']['Error']['Code']
|
|
2158
|
+
message = response['Response']['Error']['Message']
|
|
2159
|
+
reqid = response['Response']['RequestId']
|
|
2160
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
2161
|
+
end
|
|
2162
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
2163
|
+
raise e
|
|
2164
|
+
rescue StandardError => e
|
|
2165
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
2166
|
+
end
|
|
2167
|
+
|
|
2096
2168
|
# 查询Serverless实例可选规格
|
|
2097
2169
|
|
|
2098
2170
|
# @param request: Request instance for DescribeServerlessInstanceSpecs.
|
|
@@ -3269,6 +3341,30 @@ module TencentCloud
|
|
|
3269
3341
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
3270
3342
|
end
|
|
3271
3343
|
|
|
3344
|
+
# 本接口(ModifySnapBackupCrossRegionConfig)用于修改指定集群的快照备份跨地域配置。
|
|
3345
|
+
|
|
3346
|
+
# @param request: Request instance for ModifySnapBackupCrossRegionConfig.
|
|
3347
|
+
# @type request: :class:`Tencentcloud::cynosdb::V20190107::ModifySnapBackupCrossRegionConfigRequest`
|
|
3348
|
+
# @rtype: :class:`Tencentcloud::cynosdb::V20190107::ModifySnapBackupCrossRegionConfigResponse`
|
|
3349
|
+
def ModifySnapBackupCrossRegionConfig(request)
|
|
3350
|
+
body = send_request('ModifySnapBackupCrossRegionConfig', request.serialize)
|
|
3351
|
+
response = JSON.parse(body)
|
|
3352
|
+
if response['Response'].key?('Error') == false
|
|
3353
|
+
model = ModifySnapBackupCrossRegionConfigResponse.new
|
|
3354
|
+
model.deserialize(response['Response'])
|
|
3355
|
+
model
|
|
3356
|
+
else
|
|
3357
|
+
code = response['Response']['Error']['Code']
|
|
3358
|
+
message = response['Response']['Error']['Message']
|
|
3359
|
+
reqid = response['Response']['RequestId']
|
|
3360
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
3361
|
+
end
|
|
3362
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
3363
|
+
raise e
|
|
3364
|
+
rescue StandardError => e
|
|
3365
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
3366
|
+
end
|
|
3367
|
+
|
|
3272
3368
|
# 本接口(ModifyVipVport)用于修改实例组ip,端口。
|
|
3273
3369
|
|
|
3274
3370
|
# @param request: Request instance for ModifyVipVport.
|
data/lib/v20190107/models.rb
CHANGED
|
@@ -761,6 +761,58 @@ module TencentCloud
|
|
|
761
761
|
end
|
|
762
762
|
end
|
|
763
763
|
|
|
764
|
+
# 备份设置
|
|
765
|
+
class BackupConfigInfo < TencentCloud::Common::AbstractModel
|
|
766
|
+
# @param BackupCustomAutoTime: 系统自动时间
|
|
767
|
+
# @type BackupCustomAutoTime: Boolean
|
|
768
|
+
# @param BackupTimeBeg: 表示全备开始时间,[0-24*3600], 如0:00, 1:00, 2:00 分别为 0,3600, 7200
|
|
769
|
+
# @type BackupTimeBeg: Integer
|
|
770
|
+
# @param BackupTimeEnd: 表示全备结束时间,[0-24*3600], 如0:00, 1:00, 2:00 分别为 0,3600, 7200
|
|
771
|
+
# @type BackupTimeEnd: Integer
|
|
772
|
+
# @param BackupWeekDays: 该参数目前不支持修改,无需填写。备份频率,长度为7的数组,分别对应周日到周六的备份方式,full-全量备份,increment-增量备份
|
|
773
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
774
|
+
# @type BackupWeekDays: Array
|
|
775
|
+
# @param BackupIntervalTime: 间隔时间
|
|
776
|
+
# @type BackupIntervalTime: Integer
|
|
777
|
+
# @param ReserveDuration: 表示保留备份时长, 单位秒,超过该时间将被清理, 七天表示为3600247=604800,最大为158112000
|
|
778
|
+
# @type ReserveDuration: Integer
|
|
779
|
+
# @param CrossRegionsEnable: 跨地域备份开启
|
|
780
|
+
# yes-开启
|
|
781
|
+
# no-关闭
|
|
782
|
+
# @type CrossRegionsEnable: String
|
|
783
|
+
# @param CrossRegions: 跨地域备份地域
|
|
784
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
785
|
+
# @type CrossRegions: Array
|
|
786
|
+
# @param BackupTriggerStrategy: 动数据备份触发策略,periodically:自动周期备份,frequent:高频备份
|
|
787
|
+
# @type BackupTriggerStrategy: String
|
|
788
|
+
|
|
789
|
+
attr_accessor :BackupCustomAutoTime, :BackupTimeBeg, :BackupTimeEnd, :BackupWeekDays, :BackupIntervalTime, :ReserveDuration, :CrossRegionsEnable, :CrossRegions, :BackupTriggerStrategy
|
|
790
|
+
|
|
791
|
+
def initialize(backupcustomautotime=nil, backuptimebeg=nil, backuptimeend=nil, backupweekdays=nil, backupintervaltime=nil, reserveduration=nil, crossregionsenable=nil, crossregions=nil, backuptriggerstrategy=nil)
|
|
792
|
+
@BackupCustomAutoTime = backupcustomautotime
|
|
793
|
+
@BackupTimeBeg = backuptimebeg
|
|
794
|
+
@BackupTimeEnd = backuptimeend
|
|
795
|
+
@BackupWeekDays = backupweekdays
|
|
796
|
+
@BackupIntervalTime = backupintervaltime
|
|
797
|
+
@ReserveDuration = reserveduration
|
|
798
|
+
@CrossRegionsEnable = crossregionsenable
|
|
799
|
+
@CrossRegions = crossregions
|
|
800
|
+
@BackupTriggerStrategy = backuptriggerstrategy
|
|
801
|
+
end
|
|
802
|
+
|
|
803
|
+
def deserialize(params)
|
|
804
|
+
@BackupCustomAutoTime = params['BackupCustomAutoTime']
|
|
805
|
+
@BackupTimeBeg = params['BackupTimeBeg']
|
|
806
|
+
@BackupTimeEnd = params['BackupTimeEnd']
|
|
807
|
+
@BackupWeekDays = params['BackupWeekDays']
|
|
808
|
+
@BackupIntervalTime = params['BackupIntervalTime']
|
|
809
|
+
@ReserveDuration = params['ReserveDuration']
|
|
810
|
+
@CrossRegionsEnable = params['CrossRegionsEnable']
|
|
811
|
+
@CrossRegions = params['CrossRegions']
|
|
812
|
+
@BackupTriggerStrategy = params['BackupTriggerStrategy']
|
|
813
|
+
end
|
|
814
|
+
end
|
|
815
|
+
|
|
764
816
|
# 备份文件信息
|
|
765
817
|
class BackupFileInfo < TencentCloud::Common::AbstractModel
|
|
766
818
|
# @param SnapshotId: 快照文件ID,已废弃,请使用BackupId
|
|
@@ -905,6 +957,26 @@ module TencentCloud
|
|
|
905
957
|
end
|
|
906
958
|
end
|
|
907
959
|
|
|
960
|
+
# 备份文件所在地域及ID
|
|
961
|
+
class BackupRegionAndIds < TencentCloud::Common::AbstractModel
|
|
962
|
+
# @param BackupRegion: 备份地域
|
|
963
|
+
# @type BackupRegion: String
|
|
964
|
+
# @param BackupId: 备份ID
|
|
965
|
+
# @type BackupId: Integer
|
|
966
|
+
|
|
967
|
+
attr_accessor :BackupRegion, :BackupId
|
|
968
|
+
|
|
969
|
+
def initialize(backupregion=nil, backupid=nil)
|
|
970
|
+
@BackupRegion = backupregion
|
|
971
|
+
@BackupId = backupid
|
|
972
|
+
end
|
|
973
|
+
|
|
974
|
+
def deserialize(params)
|
|
975
|
+
@BackupRegion = params['BackupRegion']
|
|
976
|
+
@BackupId = params['BackupId']
|
|
977
|
+
end
|
|
978
|
+
end
|
|
979
|
+
|
|
908
980
|
# 计费资源信息
|
|
909
981
|
class BillingResourceInfo < TencentCloud::Common::AbstractModel
|
|
910
982
|
# @param ClusterId: 集群ID
|
|
@@ -3527,10 +3599,12 @@ module TencentCloud
|
|
|
3527
3599
|
# @type ArchiveStatus: String
|
|
3528
3600
|
# @param ArchiveProgress: 归档进度,百分比。
|
|
3529
3601
|
# @type ArchiveProgress: Integer
|
|
3602
|
+
# @param IsOpenTDE: 是否开启透明加密
|
|
3603
|
+
# @type IsOpenTDE: Boolean
|
|
3530
3604
|
|
|
3531
|
-
attr_accessor :ClusterId, :ClusterName, :Region, :Zone, :PhysicalZone, :Status, :StatusDesc, :ServerlessStatus, :StorageId, :Storage, :MaxStorageSize, :MinStorageSize, :StoragePayMode, :VpcName, :VpcId, :SubnetName, :SubnetId, :Charset, :CreateTime, :DbType, :DbMode, :DbVersion, :StorageLimit, :UsedStorage, :Vip, :Vport, :RoAddr, :Ability, :CynosVersion, :BusinessType, :HasSlaveZone, :IsFreeze, :Tasks, :MasterZone, :SlaveZones, :InstanceSet, :PayMode, :PeriodEndTime, :ProjectID, :ResourceTags, :ProxyStatus, :LogBin, :IsSkipTrade, :PitrType, :IsOpenPasswordComplexity, :NetworkStatus, :ResourcePackages, :RenewFlag, :NetworkType, :SlaveZoneAttr, :CynosVersionTag, :GdnId, :GdnRole, :UsedArchiveStorage, :ArchiveStatus, :ArchiveProgress
|
|
3605
|
+
attr_accessor :ClusterId, :ClusterName, :Region, :Zone, :PhysicalZone, :Status, :StatusDesc, :ServerlessStatus, :StorageId, :Storage, :MaxStorageSize, :MinStorageSize, :StoragePayMode, :VpcName, :VpcId, :SubnetName, :SubnetId, :Charset, :CreateTime, :DbType, :DbMode, :DbVersion, :StorageLimit, :UsedStorage, :Vip, :Vport, :RoAddr, :Ability, :CynosVersion, :BusinessType, :HasSlaveZone, :IsFreeze, :Tasks, :MasterZone, :SlaveZones, :InstanceSet, :PayMode, :PeriodEndTime, :ProjectID, :ResourceTags, :ProxyStatus, :LogBin, :IsSkipTrade, :PitrType, :IsOpenPasswordComplexity, :NetworkStatus, :ResourcePackages, :RenewFlag, :NetworkType, :SlaveZoneAttr, :CynosVersionTag, :GdnId, :GdnRole, :UsedArchiveStorage, :ArchiveStatus, :ArchiveProgress, :IsOpenTDE
|
|
3532
3606
|
|
|
3533
|
-
def initialize(clusterid=nil, clustername=nil, region=nil, zone=nil, physicalzone=nil, status=nil, statusdesc=nil, serverlessstatus=nil, storageid=nil, storage=nil, maxstoragesize=nil, minstoragesize=nil, storagepaymode=nil, vpcname=nil, vpcid=nil, subnetname=nil, subnetid=nil, charset=nil, createtime=nil, dbtype=nil, dbmode=nil, dbversion=nil, storagelimit=nil, usedstorage=nil, vip=nil, vport=nil, roaddr=nil, ability=nil, cynosversion=nil, businesstype=nil, hasslavezone=nil, isfreeze=nil, tasks=nil, masterzone=nil, slavezones=nil, instanceset=nil, paymode=nil, periodendtime=nil, projectid=nil, resourcetags=nil, proxystatus=nil, logbin=nil, isskiptrade=nil, pitrtype=nil, isopenpasswordcomplexity=nil, networkstatus=nil, resourcepackages=nil, renewflag=nil, networktype=nil, slavezoneattr=nil, cynosversiontag=nil, gdnid=nil, gdnrole=nil, usedarchivestorage=nil, archivestatus=nil, archiveprogress=nil)
|
|
3607
|
+
def initialize(clusterid=nil, clustername=nil, region=nil, zone=nil, physicalzone=nil, status=nil, statusdesc=nil, serverlessstatus=nil, storageid=nil, storage=nil, maxstoragesize=nil, minstoragesize=nil, storagepaymode=nil, vpcname=nil, vpcid=nil, subnetname=nil, subnetid=nil, charset=nil, createtime=nil, dbtype=nil, dbmode=nil, dbversion=nil, storagelimit=nil, usedstorage=nil, vip=nil, vport=nil, roaddr=nil, ability=nil, cynosversion=nil, businesstype=nil, hasslavezone=nil, isfreeze=nil, tasks=nil, masterzone=nil, slavezones=nil, instanceset=nil, paymode=nil, periodendtime=nil, projectid=nil, resourcetags=nil, proxystatus=nil, logbin=nil, isskiptrade=nil, pitrtype=nil, isopenpasswordcomplexity=nil, networkstatus=nil, resourcepackages=nil, renewflag=nil, networktype=nil, slavezoneattr=nil, cynosversiontag=nil, gdnid=nil, gdnrole=nil, usedarchivestorage=nil, archivestatus=nil, archiveprogress=nil, isopentde=nil)
|
|
3534
3608
|
@ClusterId = clusterid
|
|
3535
3609
|
@ClusterName = clustername
|
|
3536
3610
|
@Region = region
|
|
@@ -3587,6 +3661,7 @@ module TencentCloud
|
|
|
3587
3661
|
@UsedArchiveStorage = usedarchivestorage
|
|
3588
3662
|
@ArchiveStatus = archivestatus
|
|
3589
3663
|
@ArchiveProgress = archiveprogress
|
|
3664
|
+
@IsOpenTDE = isopentde
|
|
3590
3665
|
end
|
|
3591
3666
|
|
|
3592
3667
|
def deserialize(params)
|
|
@@ -3691,6 +3766,7 @@ module TencentCloud
|
|
|
3691
3766
|
@UsedArchiveStorage = params['UsedArchiveStorage']
|
|
3692
3767
|
@ArchiveStatus = params['ArchiveStatus']
|
|
3693
3768
|
@ArchiveProgress = params['ArchiveProgress']
|
|
3769
|
+
@IsOpenTDE = params['IsOpenTDE']
|
|
3694
3770
|
end
|
|
3695
3771
|
end
|
|
3696
3772
|
|
|
@@ -4754,6 +4830,46 @@ module TencentCloud
|
|
|
4754
4830
|
end
|
|
4755
4831
|
end
|
|
4756
4832
|
|
|
4833
|
+
# DeleteClusterSaveBackup请求参数结构体
|
|
4834
|
+
class DeleteClusterSaveBackupRequest < TencentCloud::Common::AbstractModel
|
|
4835
|
+
# @param ClusterId: 集群ID
|
|
4836
|
+
# @type ClusterId: String
|
|
4837
|
+
# @param SaveBackupId: 保留备份文件ID,推荐使用
|
|
4838
|
+
# @type SaveBackupId: Integer
|
|
4839
|
+
|
|
4840
|
+
attr_accessor :ClusterId, :SaveBackupId
|
|
4841
|
+
|
|
4842
|
+
def initialize(clusterid=nil, savebackupid=nil)
|
|
4843
|
+
@ClusterId = clusterid
|
|
4844
|
+
@SaveBackupId = savebackupid
|
|
4845
|
+
end
|
|
4846
|
+
|
|
4847
|
+
def deserialize(params)
|
|
4848
|
+
@ClusterId = params['ClusterId']
|
|
4849
|
+
@SaveBackupId = params['SaveBackupId']
|
|
4850
|
+
end
|
|
4851
|
+
end
|
|
4852
|
+
|
|
4853
|
+
# DeleteClusterSaveBackup返回参数结构体
|
|
4854
|
+
class DeleteClusterSaveBackupResponse < TencentCloud::Common::AbstractModel
|
|
4855
|
+
# @param TaskId: 任务ID
|
|
4856
|
+
# @type TaskId: Integer
|
|
4857
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
4858
|
+
# @type RequestId: String
|
|
4859
|
+
|
|
4860
|
+
attr_accessor :TaskId, :RequestId
|
|
4861
|
+
|
|
4862
|
+
def initialize(taskid=nil, requestid=nil)
|
|
4863
|
+
@TaskId = taskid
|
|
4864
|
+
@RequestId = requestid
|
|
4865
|
+
end
|
|
4866
|
+
|
|
4867
|
+
def deserialize(params)
|
|
4868
|
+
@TaskId = params['TaskId']
|
|
4869
|
+
@RequestId = params['RequestId']
|
|
4870
|
+
end
|
|
4871
|
+
end
|
|
4872
|
+
|
|
4757
4873
|
# DeleteParamTemplate请求参数结构体
|
|
4758
4874
|
class DeleteParamTemplateRequest < TencentCloud::Common::AbstractModel
|
|
4759
4875
|
# @param TemplateId: 参数模板ID
|
|
@@ -5386,12 +5502,15 @@ module TencentCloud
|
|
|
5386
5502
|
# @type LogicCrossRegionsConfigUpdateTime: String
|
|
5387
5503
|
# @param LogicBackupConfig: 自动逻辑备份配置
|
|
5388
5504
|
# @type LogicBackupConfig: :class:`Tencentcloud::Cynosdb.v20190107.models.LogicBackupConfigInfo`
|
|
5505
|
+
# @param SnapshotSecondaryBackupConfig: 二级快照备份配置信息
|
|
5506
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
5507
|
+
# @type SnapshotSecondaryBackupConfig: :class:`Tencentcloud::Cynosdb.v20190107.models.BackupConfigInfo`
|
|
5389
5508
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
5390
5509
|
# @type RequestId: String
|
|
5391
5510
|
|
|
5392
|
-
attr_accessor :BackupTimeBeg, :BackupTimeEnd, :ReserveDuration, :BackupFreq, :BackupType, :LogicCrossRegionsConfigUpdateTime, :LogicBackupConfig, :RequestId
|
|
5511
|
+
attr_accessor :BackupTimeBeg, :BackupTimeEnd, :ReserveDuration, :BackupFreq, :BackupType, :LogicCrossRegionsConfigUpdateTime, :LogicBackupConfig, :SnapshotSecondaryBackupConfig, :RequestId
|
|
5393
5512
|
|
|
5394
|
-
def initialize(backuptimebeg=nil, backuptimeend=nil, reserveduration=nil, backupfreq=nil, backuptype=nil, logiccrossregionsconfigupdatetime=nil, logicbackupconfig=nil, requestid=nil)
|
|
5513
|
+
def initialize(backuptimebeg=nil, backuptimeend=nil, reserveduration=nil, backupfreq=nil, backuptype=nil, logiccrossregionsconfigupdatetime=nil, logicbackupconfig=nil, snapshotsecondarybackupconfig=nil, requestid=nil)
|
|
5395
5514
|
@BackupTimeBeg = backuptimebeg
|
|
5396
5515
|
@BackupTimeEnd = backuptimeend
|
|
5397
5516
|
@ReserveDuration = reserveduration
|
|
@@ -5399,6 +5518,7 @@ module TencentCloud
|
|
|
5399
5518
|
@BackupType = backuptype
|
|
5400
5519
|
@LogicCrossRegionsConfigUpdateTime = logiccrossregionsconfigupdatetime
|
|
5401
5520
|
@LogicBackupConfig = logicbackupconfig
|
|
5521
|
+
@SnapshotSecondaryBackupConfig = snapshotsecondarybackupconfig
|
|
5402
5522
|
@RequestId = requestid
|
|
5403
5523
|
end
|
|
5404
5524
|
|
|
@@ -5413,6 +5533,10 @@ module TencentCloud
|
|
|
5413
5533
|
@LogicBackupConfig = LogicBackupConfigInfo.new
|
|
5414
5534
|
@LogicBackupConfig.deserialize(params['LogicBackupConfig'])
|
|
5415
5535
|
end
|
|
5536
|
+
unless params['SnapshotSecondaryBackupConfig'].nil?
|
|
5537
|
+
@SnapshotSecondaryBackupConfig = BackupConfigInfo.new
|
|
5538
|
+
@SnapshotSecondaryBackupConfig.deserialize(params['SnapshotSecondaryBackupConfig'])
|
|
5539
|
+
end
|
|
5416
5540
|
@RequestId = params['RequestId']
|
|
5417
5541
|
end
|
|
5418
5542
|
end
|
|
@@ -7681,7 +7805,7 @@ module TencentCloud
|
|
|
7681
7805
|
# <li> ASC:升序排序 </li>
|
|
7682
7806
|
# <li> DESC:降序排序 </li>
|
|
7683
7807
|
# @type OrderByType: String
|
|
7684
|
-
# @param Filters: 搜索条件,若存在多个Filter时,Filter间的关系为逻辑与(AND
|
|
7808
|
+
# @param Filters: 搜索条件,若存在多个Filter时,Filter间的关系为逻辑与(AND)关系。目前支持的搜索字段:Status、ProxyNodeId、ClusterId、OssProxyNodeName。
|
|
7685
7809
|
# @type Filters: Array
|
|
7686
7810
|
|
|
7687
7811
|
attr_accessor :Limit, :Offset, :OrderBy, :OrderByType, :Filters
|
|
@@ -7784,6 +7908,73 @@ module TencentCloud
|
|
|
7784
7908
|
end
|
|
7785
7909
|
end
|
|
7786
7910
|
|
|
7911
|
+
# DescribeRedoLogs请求参数结构体
|
|
7912
|
+
class DescribeRedoLogsRequest < TencentCloud::Common::AbstractModel
|
|
7913
|
+
# @param ClusterId: 集群id
|
|
7914
|
+
# @type ClusterId: String
|
|
7915
|
+
# @param Limit: 每页条数
|
|
7916
|
+
# @type Limit: Integer
|
|
7917
|
+
# @param Offset: 偏移量
|
|
7918
|
+
# @type Offset: Integer
|
|
7919
|
+
# @param StartTime: 开始时间
|
|
7920
|
+
# @type StartTime: String
|
|
7921
|
+
# @param EndTime: 结束时间
|
|
7922
|
+
# @type EndTime: String
|
|
7923
|
+
# @param FileNames: redolog文件名
|
|
7924
|
+
# @type FileNames: Array
|
|
7925
|
+
|
|
7926
|
+
attr_accessor :ClusterId, :Limit, :Offset, :StartTime, :EndTime, :FileNames
|
|
7927
|
+
|
|
7928
|
+
def initialize(clusterid=nil, limit=nil, offset=nil, starttime=nil, endtime=nil, filenames=nil)
|
|
7929
|
+
@ClusterId = clusterid
|
|
7930
|
+
@Limit = limit
|
|
7931
|
+
@Offset = offset
|
|
7932
|
+
@StartTime = starttime
|
|
7933
|
+
@EndTime = endtime
|
|
7934
|
+
@FileNames = filenames
|
|
7935
|
+
end
|
|
7936
|
+
|
|
7937
|
+
def deserialize(params)
|
|
7938
|
+
@ClusterId = params['ClusterId']
|
|
7939
|
+
@Limit = params['Limit']
|
|
7940
|
+
@Offset = params['Offset']
|
|
7941
|
+
@StartTime = params['StartTime']
|
|
7942
|
+
@EndTime = params['EndTime']
|
|
7943
|
+
@FileNames = params['FileNames']
|
|
7944
|
+
end
|
|
7945
|
+
end
|
|
7946
|
+
|
|
7947
|
+
# DescribeRedoLogs返回参数结构体
|
|
7948
|
+
class DescribeRedoLogsResponse < TencentCloud::Common::AbstractModel
|
|
7949
|
+
# @param TotalCount: 总条数
|
|
7950
|
+
# @type TotalCount: Integer
|
|
7951
|
+
# @param RedoLogs: redo日志信息
|
|
7952
|
+
# @type RedoLogs: Array
|
|
7953
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
7954
|
+
# @type RequestId: String
|
|
7955
|
+
|
|
7956
|
+
attr_accessor :TotalCount, :RedoLogs, :RequestId
|
|
7957
|
+
|
|
7958
|
+
def initialize(totalcount=nil, redologs=nil, requestid=nil)
|
|
7959
|
+
@TotalCount = totalcount
|
|
7960
|
+
@RedoLogs = redologs
|
|
7961
|
+
@RequestId = requestid
|
|
7962
|
+
end
|
|
7963
|
+
|
|
7964
|
+
def deserialize(params)
|
|
7965
|
+
@TotalCount = params['TotalCount']
|
|
7966
|
+
unless params['RedoLogs'].nil?
|
|
7967
|
+
@RedoLogs = []
|
|
7968
|
+
params['RedoLogs'].each do |i|
|
|
7969
|
+
redologitem_tmp = RedoLogItem.new
|
|
7970
|
+
redologitem_tmp.deserialize(i)
|
|
7971
|
+
@RedoLogs << redologitem_tmp
|
|
7972
|
+
end
|
|
7973
|
+
end
|
|
7974
|
+
@RequestId = params['RequestId']
|
|
7975
|
+
end
|
|
7976
|
+
end
|
|
7977
|
+
|
|
7787
7978
|
# DescribeResourcePackageDetail请求参数结构体
|
|
7788
7979
|
class DescribeResourcePackageDetailRequest < TencentCloud::Common::AbstractModel
|
|
7789
7980
|
# @param PackageId: 资源包唯一ID
|
|
@@ -8154,6 +8345,68 @@ module TencentCloud
|
|
|
8154
8345
|
end
|
|
8155
8346
|
end
|
|
8156
8347
|
|
|
8348
|
+
# DescribeSaveBackupClusters请求参数结构体
|
|
8349
|
+
class DescribeSaveBackupClustersRequest < TencentCloud::Common::AbstractModel
|
|
8350
|
+
# @param Limit: 每页条数
|
|
8351
|
+
# @type Limit: Integer
|
|
8352
|
+
# @param Offset: 偏移量
|
|
8353
|
+
# @type Offset: Integer
|
|
8354
|
+
# @param Filters: 检索条件
|
|
8355
|
+
# @type Filters: Array
|
|
8356
|
+
|
|
8357
|
+
attr_accessor :Limit, :Offset, :Filters
|
|
8358
|
+
|
|
8359
|
+
def initialize(limit=nil, offset=nil, filters=nil)
|
|
8360
|
+
@Limit = limit
|
|
8361
|
+
@Offset = offset
|
|
8362
|
+
@Filters = filters
|
|
8363
|
+
end
|
|
8364
|
+
|
|
8365
|
+
def deserialize(params)
|
|
8366
|
+
@Limit = params['Limit']
|
|
8367
|
+
@Offset = params['Offset']
|
|
8368
|
+
unless params['Filters'].nil?
|
|
8369
|
+
@Filters = []
|
|
8370
|
+
params['Filters'].each do |i|
|
|
8371
|
+
querysimplefilter_tmp = QuerySimpleFilter.new
|
|
8372
|
+
querysimplefilter_tmp.deserialize(i)
|
|
8373
|
+
@Filters << querysimplefilter_tmp
|
|
8374
|
+
end
|
|
8375
|
+
end
|
|
8376
|
+
end
|
|
8377
|
+
end
|
|
8378
|
+
|
|
8379
|
+
# DescribeSaveBackupClusters返回参数结构体
|
|
8380
|
+
class DescribeSaveBackupClustersResponse < TencentCloud::Common::AbstractModel
|
|
8381
|
+
# @param TotalCount: 总条数
|
|
8382
|
+
# @type TotalCount: Integer
|
|
8383
|
+
# @param SaveBackupClusterInfos: 遗留备份信息
|
|
8384
|
+
# @type SaveBackupClusterInfos: Array
|
|
8385
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
8386
|
+
# @type RequestId: String
|
|
8387
|
+
|
|
8388
|
+
attr_accessor :TotalCount, :SaveBackupClusterInfos, :RequestId
|
|
8389
|
+
|
|
8390
|
+
def initialize(totalcount=nil, savebackupclusterinfos=nil, requestid=nil)
|
|
8391
|
+
@TotalCount = totalcount
|
|
8392
|
+
@SaveBackupClusterInfos = savebackupclusterinfos
|
|
8393
|
+
@RequestId = requestid
|
|
8394
|
+
end
|
|
8395
|
+
|
|
8396
|
+
def deserialize(params)
|
|
8397
|
+
@TotalCount = params['TotalCount']
|
|
8398
|
+
unless params['SaveBackupClusterInfos'].nil?
|
|
8399
|
+
@SaveBackupClusterInfos = []
|
|
8400
|
+
params['SaveBackupClusterInfos'].each do |i|
|
|
8401
|
+
savebackupclusterinfo_tmp = SaveBackupClusterInfo.new
|
|
8402
|
+
savebackupclusterinfo_tmp.deserialize(i)
|
|
8403
|
+
@SaveBackupClusterInfos << savebackupclusterinfo_tmp
|
|
8404
|
+
end
|
|
8405
|
+
end
|
|
8406
|
+
@RequestId = params['RequestId']
|
|
8407
|
+
end
|
|
8408
|
+
end
|
|
8409
|
+
|
|
8157
8410
|
# DescribeServerlessInstanceSpecs请求参数结构体
|
|
8158
8411
|
class DescribeServerlessInstanceSpecsRequest < TencentCloud::Common::AbstractModel
|
|
8159
8412
|
# @param Zone: 可用区
|
|
@@ -9850,14 +10103,17 @@ module TencentCloud
|
|
|
9850
10103
|
# @type IsolateReasonTypes: Array
|
|
9851
10104
|
# @param IsolateReason: 实例退还原因补充
|
|
9852
10105
|
# @type IsolateReason: String
|
|
10106
|
+
# @param SaveBackup: 保留备份,true-保留(会产生费用)
|
|
10107
|
+
# @type SaveBackup: Boolean
|
|
9853
10108
|
|
|
9854
|
-
attr_accessor :ClusterId, :DbType, :IsolateReasonTypes, :IsolateReason
|
|
10109
|
+
attr_accessor :ClusterId, :DbType, :IsolateReasonTypes, :IsolateReason, :SaveBackup
|
|
9855
10110
|
|
|
9856
|
-
def initialize(clusterid=nil, dbtype=nil, isolatereasontypes=nil, isolatereason=nil)
|
|
10111
|
+
def initialize(clusterid=nil, dbtype=nil, isolatereasontypes=nil, isolatereason=nil, savebackup=nil)
|
|
9857
10112
|
@ClusterId = clusterid
|
|
9858
10113
|
@DbType = dbtype
|
|
9859
10114
|
@IsolateReasonTypes = isolatereasontypes
|
|
9860
10115
|
@IsolateReason = isolatereason
|
|
10116
|
+
@SaveBackup = savebackup
|
|
9861
10117
|
end
|
|
9862
10118
|
|
|
9863
10119
|
def deserialize(params)
|
|
@@ -9865,6 +10121,7 @@ module TencentCloud
|
|
|
9865
10121
|
@DbType = params['DbType']
|
|
9866
10122
|
@IsolateReasonTypes = params['IsolateReasonTypes']
|
|
9867
10123
|
@IsolateReason = params['IsolateReason']
|
|
10124
|
+
@SaveBackup = params['SaveBackup']
|
|
9868
10125
|
end
|
|
9869
10126
|
end
|
|
9870
10127
|
|
|
@@ -9905,15 +10162,18 @@ module TencentCloud
|
|
|
9905
10162
|
# @type IsolateReasonTypes: Array
|
|
9906
10163
|
# @param IsolateReason: 实例退还原因补充
|
|
9907
10164
|
# @type IsolateReason: String
|
|
10165
|
+
# @param SaveBackup: 保留备份
|
|
10166
|
+
# @type SaveBackup: Boolean
|
|
9908
10167
|
|
|
9909
|
-
attr_accessor :ClusterId, :InstanceIdList, :DbType, :IsolateReasonTypes, :IsolateReason
|
|
10168
|
+
attr_accessor :ClusterId, :InstanceIdList, :DbType, :IsolateReasonTypes, :IsolateReason, :SaveBackup
|
|
9910
10169
|
|
|
9911
|
-
def initialize(clusterid=nil, instanceidlist=nil, dbtype=nil, isolatereasontypes=nil, isolatereason=nil)
|
|
10170
|
+
def initialize(clusterid=nil, instanceidlist=nil, dbtype=nil, isolatereasontypes=nil, isolatereason=nil, savebackup=nil)
|
|
9912
10171
|
@ClusterId = clusterid
|
|
9913
10172
|
@InstanceIdList = instanceidlist
|
|
9914
10173
|
@DbType = dbtype
|
|
9915
10174
|
@IsolateReasonTypes = isolatereasontypes
|
|
9916
10175
|
@IsolateReason = isolatereason
|
|
10176
|
+
@SaveBackup = savebackup
|
|
9917
10177
|
end
|
|
9918
10178
|
|
|
9919
10179
|
def deserialize(params)
|
|
@@ -9922,6 +10182,7 @@ module TencentCloud
|
|
|
9922
10182
|
@DbType = params['DbType']
|
|
9923
10183
|
@IsolateReasonTypes = params['IsolateReasonTypes']
|
|
9924
10184
|
@IsolateReason = params['IsolateReason']
|
|
10185
|
+
@SaveBackup = params['SaveBackup']
|
|
9925
10186
|
end
|
|
9926
10187
|
end
|
|
9927
10188
|
|
|
@@ -10407,10 +10668,12 @@ module TencentCloud
|
|
|
10407
10668
|
# @type LogicBackupConfig: :class:`Tencentcloud::Cynosdb.v20190107.models.LogicBackupConfigInfo`
|
|
10408
10669
|
# @param DeleteAutoLogicBackup: 是否删除自动逻辑备份
|
|
10409
10670
|
# @type DeleteAutoLogicBackup: Boolean
|
|
10671
|
+
# @param SnapshotSecondaryBackupConfig: 二级快照备份参数
|
|
10672
|
+
# @type SnapshotSecondaryBackupConfig: :class:`Tencentcloud::Cynosdb.v20190107.models.SnapshotBackupConfig`
|
|
10410
10673
|
|
|
10411
|
-
attr_accessor :ClusterId, :BackupTimeBeg, :BackupTimeEnd, :ReserveDuration, :BackupFreq, :BackupType, :LogicBackupConfig, :DeleteAutoLogicBackup
|
|
10674
|
+
attr_accessor :ClusterId, :BackupTimeBeg, :BackupTimeEnd, :ReserveDuration, :BackupFreq, :BackupType, :LogicBackupConfig, :DeleteAutoLogicBackup, :SnapshotSecondaryBackupConfig
|
|
10412
10675
|
|
|
10413
|
-
def initialize(clusterid=nil, backuptimebeg=nil, backuptimeend=nil, reserveduration=nil, backupfreq=nil, backuptype=nil, logicbackupconfig=nil, deleteautologicbackup=nil)
|
|
10676
|
+
def initialize(clusterid=nil, backuptimebeg=nil, backuptimeend=nil, reserveduration=nil, backupfreq=nil, backuptype=nil, logicbackupconfig=nil, deleteautologicbackup=nil, snapshotsecondarybackupconfig=nil)
|
|
10414
10677
|
@ClusterId = clusterid
|
|
10415
10678
|
@BackupTimeBeg = backuptimebeg
|
|
10416
10679
|
@BackupTimeEnd = backuptimeend
|
|
@@ -10419,6 +10682,7 @@ module TencentCloud
|
|
|
10419
10682
|
@BackupType = backuptype
|
|
10420
10683
|
@LogicBackupConfig = logicbackupconfig
|
|
10421
10684
|
@DeleteAutoLogicBackup = deleteautologicbackup
|
|
10685
|
+
@SnapshotSecondaryBackupConfig = snapshotsecondarybackupconfig
|
|
10422
10686
|
end
|
|
10423
10687
|
|
|
10424
10688
|
def deserialize(params)
|
|
@@ -10433,6 +10697,10 @@ module TencentCloud
|
|
|
10433
10697
|
@LogicBackupConfig.deserialize(params['LogicBackupConfig'])
|
|
10434
10698
|
end
|
|
10435
10699
|
@DeleteAutoLogicBackup = params['DeleteAutoLogicBackup']
|
|
10700
|
+
unless params['SnapshotSecondaryBackupConfig'].nil?
|
|
10701
|
+
@SnapshotSecondaryBackupConfig = SnapshotBackupConfig.new
|
|
10702
|
+
@SnapshotSecondaryBackupConfig.deserialize(params['SnapshotSecondaryBackupConfig'])
|
|
10703
|
+
end
|
|
10436
10704
|
end
|
|
10437
10705
|
end
|
|
10438
10706
|
|
|
@@ -11874,6 +12142,50 @@ module TencentCloud
|
|
|
11874
12142
|
end
|
|
11875
12143
|
end
|
|
11876
12144
|
|
|
12145
|
+
# ModifySnapBackupCrossRegionConfig请求参数结构体
|
|
12146
|
+
class ModifySnapBackupCrossRegionConfigRequest < TencentCloud::Common::AbstractModel
|
|
12147
|
+
# @param ClusterId: 集群ID
|
|
12148
|
+
# @type ClusterId: String
|
|
12149
|
+
# @param CrossRegionsEnable: 是否开启跨地域快照备份ON/OFF
|
|
12150
|
+
# @type CrossRegionsEnable: String
|
|
12151
|
+
# @param CrossRegions: 快照备份所跨地域
|
|
12152
|
+
# @type CrossRegions: Array
|
|
12153
|
+
|
|
12154
|
+
attr_accessor :ClusterId, :CrossRegionsEnable, :CrossRegions
|
|
12155
|
+
|
|
12156
|
+
def initialize(clusterid=nil, crossregionsenable=nil, crossregions=nil)
|
|
12157
|
+
@ClusterId = clusterid
|
|
12158
|
+
@CrossRegionsEnable = crossregionsenable
|
|
12159
|
+
@CrossRegions = crossregions
|
|
12160
|
+
end
|
|
12161
|
+
|
|
12162
|
+
def deserialize(params)
|
|
12163
|
+
@ClusterId = params['ClusterId']
|
|
12164
|
+
@CrossRegionsEnable = params['CrossRegionsEnable']
|
|
12165
|
+
@CrossRegions = params['CrossRegions']
|
|
12166
|
+
end
|
|
12167
|
+
end
|
|
12168
|
+
|
|
12169
|
+
# ModifySnapBackupCrossRegionConfig返回参数结构体
|
|
12170
|
+
class ModifySnapBackupCrossRegionConfigResponse < TencentCloud::Common::AbstractModel
|
|
12171
|
+
# @param TaskId: 任务id
|
|
12172
|
+
# @type TaskId: Integer
|
|
12173
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
12174
|
+
# @type RequestId: String
|
|
12175
|
+
|
|
12176
|
+
attr_accessor :TaskId, :RequestId
|
|
12177
|
+
|
|
12178
|
+
def initialize(taskid=nil, requestid=nil)
|
|
12179
|
+
@TaskId = taskid
|
|
12180
|
+
@RequestId = requestid
|
|
12181
|
+
end
|
|
12182
|
+
|
|
12183
|
+
def deserialize(params)
|
|
12184
|
+
@TaskId = params['TaskId']
|
|
12185
|
+
@RequestId = params['RequestId']
|
|
12186
|
+
end
|
|
12187
|
+
end
|
|
12188
|
+
|
|
11877
12189
|
# ModifyVipVport请求参数结构体
|
|
11878
12190
|
class ModifyVipVportRequest < TencentCloud::Common::AbstractModel
|
|
11879
12191
|
# @param ClusterId: 集群id
|
|
@@ -13638,6 +13950,81 @@ module TencentCloud
|
|
|
13638
13950
|
end
|
|
13639
13951
|
end
|
|
13640
13952
|
|
|
13953
|
+
# 模糊查询过滤器
|
|
13954
|
+
class QuerySimpleFilter < TencentCloud::Common::AbstractModel
|
|
13955
|
+
# @param Names: 字段名称
|
|
13956
|
+
# @type Names: Array
|
|
13957
|
+
# @param Values: 字段值
|
|
13958
|
+
# @type Values: Array
|
|
13959
|
+
# @param ExactMatch: 模糊匹配,true-是,false否
|
|
13960
|
+
# @type ExactMatch: Boolean
|
|
13961
|
+
|
|
13962
|
+
attr_accessor :Names, :Values, :ExactMatch
|
|
13963
|
+
|
|
13964
|
+
def initialize(names=nil, values=nil, exactmatch=nil)
|
|
13965
|
+
@Names = names
|
|
13966
|
+
@Values = values
|
|
13967
|
+
@ExactMatch = exactmatch
|
|
13968
|
+
end
|
|
13969
|
+
|
|
13970
|
+
def deserialize(params)
|
|
13971
|
+
@Names = params['Names']
|
|
13972
|
+
@Values = params['Values']
|
|
13973
|
+
@ExactMatch = params['ExactMatch']
|
|
13974
|
+
end
|
|
13975
|
+
end
|
|
13976
|
+
|
|
13977
|
+
# redo日志详情
|
|
13978
|
+
class RedoLogItem < TencentCloud::Common::AbstractModel
|
|
13979
|
+
# @param FileName: 文件名
|
|
13980
|
+
# @type FileName: String
|
|
13981
|
+
# @param FileSize: 文件大小
|
|
13982
|
+
# @type FileSize: Integer
|
|
13983
|
+
# @param BackupTime: 备份时间
|
|
13984
|
+
# @type BackupTime: String
|
|
13985
|
+
# @param RedoLogId: redoLogId
|
|
13986
|
+
# @type RedoLogId: Integer
|
|
13987
|
+
# @param RedoCrossRegions: 跨地域信息
|
|
13988
|
+
# @type RedoCrossRegions: Array
|
|
13989
|
+
# @param Status: 状态
|
|
13990
|
+
# @type Status: String
|
|
13991
|
+
# @param StartTime: 开始时间
|
|
13992
|
+
# @type StartTime: String
|
|
13993
|
+
# @param FinishTime: 完成时间
|
|
13994
|
+
# @type FinishTime: String
|
|
13995
|
+
|
|
13996
|
+
attr_accessor :FileName, :FileSize, :BackupTime, :RedoLogId, :RedoCrossRegions, :Status, :StartTime, :FinishTime
|
|
13997
|
+
|
|
13998
|
+
def initialize(filename=nil, filesize=nil, backuptime=nil, redologid=nil, redocrossregions=nil, status=nil, starttime=nil, finishtime=nil)
|
|
13999
|
+
@FileName = filename
|
|
14000
|
+
@FileSize = filesize
|
|
14001
|
+
@BackupTime = backuptime
|
|
14002
|
+
@RedoLogId = redologid
|
|
14003
|
+
@RedoCrossRegions = redocrossregions
|
|
14004
|
+
@Status = status
|
|
14005
|
+
@StartTime = starttime
|
|
14006
|
+
@FinishTime = finishtime
|
|
14007
|
+
end
|
|
14008
|
+
|
|
14009
|
+
def deserialize(params)
|
|
14010
|
+
@FileName = params['FileName']
|
|
14011
|
+
@FileSize = params['FileSize']
|
|
14012
|
+
@BackupTime = params['BackupTime']
|
|
14013
|
+
@RedoLogId = params['RedoLogId']
|
|
14014
|
+
unless params['RedoCrossRegions'].nil?
|
|
14015
|
+
@RedoCrossRegions = []
|
|
14016
|
+
params['RedoCrossRegions'].each do |i|
|
|
14017
|
+
backupregionandids_tmp = BackupRegionAndIds.new
|
|
14018
|
+
backupregionandids_tmp.deserialize(i)
|
|
14019
|
+
@RedoCrossRegions << backupregionandids_tmp
|
|
14020
|
+
end
|
|
14021
|
+
end
|
|
14022
|
+
@Status = params['Status']
|
|
14023
|
+
@StartTime = params['StartTime']
|
|
14024
|
+
@FinishTime = params['FinishTime']
|
|
14025
|
+
end
|
|
14026
|
+
end
|
|
14027
|
+
|
|
13641
14028
|
# RefundResourcePackage请求参数结构体
|
|
13642
14029
|
class RefundResourcePackageRequest < TencentCloud::Common::AbstractModel
|
|
13643
14030
|
# @param PackageId: 资源包唯一ID
|
|
@@ -14551,10 +14938,12 @@ module TencentCloud
|
|
|
14551
14938
|
# @type ProjectId: Integer
|
|
14552
14939
|
# @param AutoArchive: 是否开启归档,可选范围<li>yes</li><li>no</li>默认值:yes
|
|
14553
14940
|
# @type AutoArchive: String
|
|
14941
|
+
# @param FromSaveBackup: 是否从保存备份中恢复
|
|
14942
|
+
# @type FromSaveBackup: Boolean
|
|
14554
14943
|
|
|
14555
|
-
attr_accessor :Zone, :OriginalClusterId, :UniqVpcId, :UniqSubnetId, :ClusterName, :RollbackId, :ExpectTime, :AutoVoucher, :ResourceTags, :DbMode, :MinCpu, :MaxCpu, :AutoPause, :AutoPauseDelay, :SecurityGroupIds, :AlarmPolicyIds, :ClusterParams, :ParamTemplateId, :InstanceInitInfos, :DealMode, :PayMode, :TimeSpan, :TimeUnit, :RollbackDatabases, :RollbackTables, :OriginalROInstanceList, :ProjectId, :AutoArchive
|
|
14944
|
+
attr_accessor :Zone, :OriginalClusterId, :UniqVpcId, :UniqSubnetId, :ClusterName, :RollbackId, :ExpectTime, :AutoVoucher, :ResourceTags, :DbMode, :MinCpu, :MaxCpu, :AutoPause, :AutoPauseDelay, :SecurityGroupIds, :AlarmPolicyIds, :ClusterParams, :ParamTemplateId, :InstanceInitInfos, :DealMode, :PayMode, :TimeSpan, :TimeUnit, :RollbackDatabases, :RollbackTables, :OriginalROInstanceList, :ProjectId, :AutoArchive, :FromSaveBackup
|
|
14556
14945
|
|
|
14557
|
-
def initialize(zone=nil, originalclusterid=nil, uniqvpcid=nil, uniqsubnetid=nil, clustername=nil, rollbackid=nil, expecttime=nil, autovoucher=nil, resourcetags=nil, dbmode=nil, mincpu=nil, maxcpu=nil, autopause=nil, autopausedelay=nil, securitygroupids=nil, alarmpolicyids=nil, clusterparams=nil, paramtemplateid=nil, instanceinitinfos=nil, dealmode=nil, paymode=nil, timespan=nil, timeunit=nil, rollbackdatabases=nil, rollbacktables=nil, originalroinstancelist=nil, projectid=nil, autoarchive=nil)
|
|
14946
|
+
def initialize(zone=nil, originalclusterid=nil, uniqvpcid=nil, uniqsubnetid=nil, clustername=nil, rollbackid=nil, expecttime=nil, autovoucher=nil, resourcetags=nil, dbmode=nil, mincpu=nil, maxcpu=nil, autopause=nil, autopausedelay=nil, securitygroupids=nil, alarmpolicyids=nil, clusterparams=nil, paramtemplateid=nil, instanceinitinfos=nil, dealmode=nil, paymode=nil, timespan=nil, timeunit=nil, rollbackdatabases=nil, rollbacktables=nil, originalroinstancelist=nil, projectid=nil, autoarchive=nil, fromsavebackup=nil)
|
|
14558
14947
|
@Zone = zone
|
|
14559
14948
|
@OriginalClusterId = originalclusterid
|
|
14560
14949
|
@UniqVpcId = uniqvpcid
|
|
@@ -14583,6 +14972,7 @@ module TencentCloud
|
|
|
14583
14972
|
@OriginalROInstanceList = originalroinstancelist
|
|
14584
14973
|
@ProjectId = projectid
|
|
14585
14974
|
@AutoArchive = autoarchive
|
|
14975
|
+
@FromSaveBackup = fromsavebackup
|
|
14586
14976
|
end
|
|
14587
14977
|
|
|
14588
14978
|
def deserialize(params)
|
|
@@ -14649,6 +15039,7 @@ module TencentCloud
|
|
|
14649
15039
|
@OriginalROInstanceList = params['OriginalROInstanceList']
|
|
14650
15040
|
@ProjectId = params['ProjectId']
|
|
14651
15041
|
@AutoArchive = params['AutoArchive']
|
|
15042
|
+
@FromSaveBackup = params['FromSaveBackup']
|
|
14652
15043
|
end
|
|
14653
15044
|
end
|
|
14654
15045
|
|
|
@@ -14897,6 +15288,65 @@ module TencentCloud
|
|
|
14897
15288
|
end
|
|
14898
15289
|
end
|
|
14899
15290
|
|
|
15291
|
+
# 遗留备份列表
|
|
15292
|
+
class SaveBackupClusterInfo < TencentCloud::Common::AbstractModel
|
|
15293
|
+
# @param BackupId: 遗照备份id
|
|
15294
|
+
# @type BackupId: Integer
|
|
15295
|
+
# @param ClusterId: 集群id
|
|
15296
|
+
# @type ClusterId: String
|
|
15297
|
+
# @param ClusterName: 集群名称
|
|
15298
|
+
# @type ClusterName: String
|
|
15299
|
+
# @param Region: 地域
|
|
15300
|
+
# @type Region: String
|
|
15301
|
+
# @param Zone: 可用区
|
|
15302
|
+
# @type Zone: String
|
|
15303
|
+
# @param BackupTime: 备份时间
|
|
15304
|
+
# @type BackupTime: String
|
|
15305
|
+
# @param DbVersion: 数据库版本
|
|
15306
|
+
# @type DbVersion: String
|
|
15307
|
+
# @param DbMode: Db类型(NORMAL, SERVERLESS)
|
|
15308
|
+
# @type DbMode: String
|
|
15309
|
+
# @param ClusterStatus: 集群状态
|
|
15310
|
+
# @type ClusterStatus: String
|
|
15311
|
+
# @param Tasks: 任务列表
|
|
15312
|
+
# @type Tasks: Array
|
|
15313
|
+
|
|
15314
|
+
attr_accessor :BackupId, :ClusterId, :ClusterName, :Region, :Zone, :BackupTime, :DbVersion, :DbMode, :ClusterStatus, :Tasks
|
|
15315
|
+
|
|
15316
|
+
def initialize(backupid=nil, clusterid=nil, clustername=nil, region=nil, zone=nil, backuptime=nil, dbversion=nil, dbmode=nil, clusterstatus=nil, tasks=nil)
|
|
15317
|
+
@BackupId = backupid
|
|
15318
|
+
@ClusterId = clusterid
|
|
15319
|
+
@ClusterName = clustername
|
|
15320
|
+
@Region = region
|
|
15321
|
+
@Zone = zone
|
|
15322
|
+
@BackupTime = backuptime
|
|
15323
|
+
@DbVersion = dbversion
|
|
15324
|
+
@DbMode = dbmode
|
|
15325
|
+
@ClusterStatus = clusterstatus
|
|
15326
|
+
@Tasks = tasks
|
|
15327
|
+
end
|
|
15328
|
+
|
|
15329
|
+
def deserialize(params)
|
|
15330
|
+
@BackupId = params['BackupId']
|
|
15331
|
+
@ClusterId = params['ClusterId']
|
|
15332
|
+
@ClusterName = params['ClusterName']
|
|
15333
|
+
@Region = params['Region']
|
|
15334
|
+
@Zone = params['Zone']
|
|
15335
|
+
@BackupTime = params['BackupTime']
|
|
15336
|
+
@DbVersion = params['DbVersion']
|
|
15337
|
+
@DbMode = params['DbMode']
|
|
15338
|
+
@ClusterStatus = params['ClusterStatus']
|
|
15339
|
+
unless params['Tasks'].nil?
|
|
15340
|
+
@Tasks = []
|
|
15341
|
+
params['Tasks'].each do |i|
|
|
15342
|
+
objecttask_tmp = ObjectTask.new
|
|
15343
|
+
objecttask_tmp.deserialize(i)
|
|
15344
|
+
@Tasks << objecttask_tmp
|
|
15345
|
+
end
|
|
15346
|
+
end
|
|
15347
|
+
end
|
|
15348
|
+
end
|
|
15349
|
+
|
|
14900
15350
|
# SearchClusterDatabases请求参数结构体
|
|
14901
15351
|
class SearchClusterDatabasesRequest < TencentCloud::Common::AbstractModel
|
|
14902
15352
|
# @param ClusterId: 集群id
|
|
@@ -15318,6 +15768,46 @@ module TencentCloud
|
|
|
15318
15768
|
end
|
|
15319
15769
|
end
|
|
15320
15770
|
|
|
15771
|
+
# 快照备份设置
|
|
15772
|
+
class SnapshotBackupConfig < TencentCloud::Common::AbstractModel
|
|
15773
|
+
# @param BackupCustomAutoTime: 系统自动时间
|
|
15774
|
+
# @type BackupCustomAutoTime: Boolean
|
|
15775
|
+
# @param BackupTimeBeg: 表示全备开始时间,[0-24*3600], 如0:00, 1:00, 2:00 分别为 0,3600, 7200
|
|
15776
|
+
# @type BackupTimeBeg: Integer
|
|
15777
|
+
# @param BackupTimeEnd: 表示全备结束时间,[0-24*3600], 如0:00, 1:00, 2:00 分别为 0,3600, 7200
|
|
15778
|
+
# @type BackupTimeEnd: Integer
|
|
15779
|
+
# @param BackupWeekDays: 该参数目前不支持修改,无需填写。备份频率,长度为7的数组,分别对应周日到周六的备份方式,full-全量备份,increment-增量备份
|
|
15780
|
+
# @type BackupWeekDays: Array
|
|
15781
|
+
# @param BackupIntervalTime: 间隔时间
|
|
15782
|
+
# @type BackupIntervalTime: Integer
|
|
15783
|
+
# @param ReserveDuration: 表示保留备份时长, 单位秒,超过该时间将被清理, 七天表示为3600247=604800,最大为158112000
|
|
15784
|
+
# @type ReserveDuration: Integer
|
|
15785
|
+
# @param BackupTriggerStrategy: 动数据备份触发策略,periodically:自动周期备份,frequent:高频备份
|
|
15786
|
+
# @type BackupTriggerStrategy: String
|
|
15787
|
+
|
|
15788
|
+
attr_accessor :BackupCustomAutoTime, :BackupTimeBeg, :BackupTimeEnd, :BackupWeekDays, :BackupIntervalTime, :ReserveDuration, :BackupTriggerStrategy
|
|
15789
|
+
|
|
15790
|
+
def initialize(backupcustomautotime=nil, backuptimebeg=nil, backuptimeend=nil, backupweekdays=nil, backupintervaltime=nil, reserveduration=nil, backuptriggerstrategy=nil)
|
|
15791
|
+
@BackupCustomAutoTime = backupcustomautotime
|
|
15792
|
+
@BackupTimeBeg = backuptimebeg
|
|
15793
|
+
@BackupTimeEnd = backuptimeend
|
|
15794
|
+
@BackupWeekDays = backupweekdays
|
|
15795
|
+
@BackupIntervalTime = backupintervaltime
|
|
15796
|
+
@ReserveDuration = reserveduration
|
|
15797
|
+
@BackupTriggerStrategy = backuptriggerstrategy
|
|
15798
|
+
end
|
|
15799
|
+
|
|
15800
|
+
def deserialize(params)
|
|
15801
|
+
@BackupCustomAutoTime = params['BackupCustomAutoTime']
|
|
15802
|
+
@BackupTimeBeg = params['BackupTimeBeg']
|
|
15803
|
+
@BackupTimeEnd = params['BackupTimeEnd']
|
|
15804
|
+
@BackupWeekDays = params['BackupWeekDays']
|
|
15805
|
+
@BackupIntervalTime = params['BackupIntervalTime']
|
|
15806
|
+
@ReserveDuration = params['ReserveDuration']
|
|
15807
|
+
@BackupTriggerStrategy = params['BackupTriggerStrategy']
|
|
15808
|
+
end
|
|
15809
|
+
end
|
|
15810
|
+
|
|
15321
15811
|
# StartCLSDelivery请求参数结构体
|
|
15322
15812
|
class StartCLSDeliveryRequest < TencentCloud::Common::AbstractModel
|
|
15323
15813
|
# @param InstanceId: 实例id
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: tencentcloud-sdk-cynosdb
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.0.
|
|
4
|
+
version: 3.0.1209
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Tencent Cloud
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-01-
|
|
11
|
+
date: 2026-01-27 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: tencentcloud-sdk-common
|