tencentcloud-sdk-cfs 3.0.1103 → 3.0.1115
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/v20190719/client.rb +312 -0
- data/lib/v20190719/models.rb +965 -9
- metadata +2 -2
data/lib/v20190719/models.rb
CHANGED
@@ -17,6 +17,61 @@
|
|
17
17
|
module TencentCloud
|
18
18
|
module Cfs
|
19
19
|
module V20190719
|
20
|
+
# ApplyPathLifecyclePolicy请求参数结构体
|
21
|
+
class ApplyPathLifecyclePolicyRequest < TencentCloud::Common::AbstractModel
|
22
|
+
# @param LifecyclePolicyID: 生命周期管理策略ID
|
23
|
+
# @type LifecyclePolicyID: String
|
24
|
+
# @param Paths: 生命周期管理策略关联目录的绝对路径列表
|
25
|
+
# @type Paths: Array
|
26
|
+
|
27
|
+
attr_accessor :LifecyclePolicyID, :Paths
|
28
|
+
|
29
|
+
def initialize(lifecyclepolicyid=nil, paths=nil)
|
30
|
+
@LifecyclePolicyID = lifecyclepolicyid
|
31
|
+
@Paths = paths
|
32
|
+
end
|
33
|
+
|
34
|
+
def deserialize(params)
|
35
|
+
@LifecyclePolicyID = params['LifecyclePolicyID']
|
36
|
+
unless params['Paths'].nil?
|
37
|
+
@Paths = []
|
38
|
+
params['Paths'].each do |i|
|
39
|
+
pathinfo_tmp = PathInfo.new
|
40
|
+
pathinfo_tmp.deserialize(i)
|
41
|
+
@Paths << pathinfo_tmp
|
42
|
+
end
|
43
|
+
end
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
# ApplyPathLifecyclePolicy返回参数结构体
|
48
|
+
class ApplyPathLifecyclePolicyResponse < TencentCloud::Common::AbstractModel
|
49
|
+
# @param CheckResults: 有规则冲突时返回的已有冲突规则信息
|
50
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
51
|
+
# @type CheckResults: Array
|
52
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
53
|
+
# @type RequestId: String
|
54
|
+
|
55
|
+
attr_accessor :CheckResults, :RequestId
|
56
|
+
|
57
|
+
def initialize(checkresults=nil, requestid=nil)
|
58
|
+
@CheckResults = checkresults
|
59
|
+
@RequestId = requestid
|
60
|
+
end
|
61
|
+
|
62
|
+
def deserialize(params)
|
63
|
+
unless params['CheckResults'].nil?
|
64
|
+
@CheckResults = []
|
65
|
+
params['CheckResults'].each do |i|
|
66
|
+
checkresult_tmp = CheckResult.new
|
67
|
+
checkresult_tmp.deserialize(i)
|
68
|
+
@CheckResults << checkresult_tmp
|
69
|
+
end
|
70
|
+
end
|
71
|
+
@RequestId = params['RequestId']
|
72
|
+
end
|
73
|
+
end
|
74
|
+
|
20
75
|
# 自动扩容规则
|
21
76
|
class AutoScaleUpRule < TencentCloud::Common::AbstractModel
|
22
77
|
# @param Status: 自动扩容策略开启,关闭
|
@@ -316,6 +371,45 @@ module TencentCloud
|
|
316
371
|
end
|
317
372
|
end
|
318
373
|
|
374
|
+
# 有规则冲突时返回的已有冲突规则信息列表
|
375
|
+
class CheckResult < TencentCloud::Common::AbstractModel
|
376
|
+
# @param LifecyclePolicyID: 生命周期管理策略ID
|
377
|
+
# @type LifecyclePolicyID: String
|
378
|
+
# @param FileSystemId: 文件系统ID
|
379
|
+
# @type FileSystemId: String
|
380
|
+
# @param Path: 目录绝对路径
|
381
|
+
# @type Path: String
|
382
|
+
# @param LifecycleRules: 生命周期管理策略关联的管理规则列表
|
383
|
+
# @type LifecycleRules: Array
|
384
|
+
# @param TargetPath: 目标路径
|
385
|
+
# @type TargetPath: String
|
386
|
+
|
387
|
+
attr_accessor :LifecyclePolicyID, :FileSystemId, :Path, :LifecycleRules, :TargetPath
|
388
|
+
|
389
|
+
def initialize(lifecyclepolicyid=nil, filesystemid=nil, path=nil, lifecyclerules=nil, targetpath=nil)
|
390
|
+
@LifecyclePolicyID = lifecyclepolicyid
|
391
|
+
@FileSystemId = filesystemid
|
392
|
+
@Path = path
|
393
|
+
@LifecycleRules = lifecyclerules
|
394
|
+
@TargetPath = targetpath
|
395
|
+
end
|
396
|
+
|
397
|
+
def deserialize(params)
|
398
|
+
@LifecyclePolicyID = params['LifecyclePolicyID']
|
399
|
+
@FileSystemId = params['FileSystemId']
|
400
|
+
@Path = params['Path']
|
401
|
+
unless params['LifecycleRules'].nil?
|
402
|
+
@LifecycleRules = []
|
403
|
+
params['LifecycleRules'].each do |i|
|
404
|
+
lifecyclerule_tmp = LifecycleRule.new
|
405
|
+
lifecyclerule_tmp.deserialize(i)
|
406
|
+
@LifecycleRules << lifecyclerule_tmp
|
407
|
+
end
|
408
|
+
end
|
409
|
+
@TargetPath = params['TargetPath']
|
410
|
+
end
|
411
|
+
end
|
412
|
+
|
319
413
|
# CreateAccessCert请求参数结构体
|
320
414
|
class CreateAccessCertRequest < TencentCloud::Common::AbstractModel
|
321
415
|
# @param CertDesc: 证书描述,不超过64字符
|
@@ -743,6 +837,209 @@ module TencentCloud
|
|
743
837
|
end
|
744
838
|
end
|
745
839
|
|
840
|
+
# CreateDataFlow请求参数结构体
|
841
|
+
class CreateDataFlowRequest < TencentCloud::Common::AbstractModel
|
842
|
+
# @param FileSystemId: 文件系统 ID ,通过查询文件系统 [DescribeCfsFileSystems](https://cloud.tencent.com/document/product/582/38170) 获取
|
843
|
+
# @type FileSystemId: String
|
844
|
+
# @param SourceStorageType: 源端数据类型;包含S3_COS,S3_L5
|
845
|
+
# @type SourceStorageType: String
|
846
|
+
# @param SourceStorageAddress: 源端存储地址
|
847
|
+
# @type SourceStorageAddress: String
|
848
|
+
# @param SourcePath: 源端路径
|
849
|
+
# @type SourcePath: String
|
850
|
+
# @param TargetPath: 文件系统内目标路径
|
851
|
+
# @type TargetPath: String
|
852
|
+
# @param SecretId: 密钥 ID
|
853
|
+
# @type SecretId: String
|
854
|
+
# @param SecretKey: 密钥 key
|
855
|
+
# @type SecretKey: String
|
856
|
+
# @param DataFlowName: 数据流动名称;支持不超过64字符长度,支持中文、数字、_、-
|
857
|
+
# @type DataFlowName: String
|
858
|
+
|
859
|
+
attr_accessor :FileSystemId, :SourceStorageType, :SourceStorageAddress, :SourcePath, :TargetPath, :SecretId, :SecretKey, :DataFlowName
|
860
|
+
|
861
|
+
def initialize(filesystemid=nil, sourcestoragetype=nil, sourcestorageaddress=nil, sourcepath=nil, targetpath=nil, secretid=nil, secretkey=nil, dataflowname=nil)
|
862
|
+
@FileSystemId = filesystemid
|
863
|
+
@SourceStorageType = sourcestoragetype
|
864
|
+
@SourceStorageAddress = sourcestorageaddress
|
865
|
+
@SourcePath = sourcepath
|
866
|
+
@TargetPath = targetpath
|
867
|
+
@SecretId = secretid
|
868
|
+
@SecretKey = secretkey
|
869
|
+
@DataFlowName = dataflowname
|
870
|
+
end
|
871
|
+
|
872
|
+
def deserialize(params)
|
873
|
+
@FileSystemId = params['FileSystemId']
|
874
|
+
@SourceStorageType = params['SourceStorageType']
|
875
|
+
@SourceStorageAddress = params['SourceStorageAddress']
|
876
|
+
@SourcePath = params['SourcePath']
|
877
|
+
@TargetPath = params['TargetPath']
|
878
|
+
@SecretId = params['SecretId']
|
879
|
+
@SecretKey = params['SecretKey']
|
880
|
+
@DataFlowName = params['DataFlowName']
|
881
|
+
end
|
882
|
+
end
|
883
|
+
|
884
|
+
# CreateDataFlow返回参数结构体
|
885
|
+
class CreateDataFlowResponse < TencentCloud::Common::AbstractModel
|
886
|
+
# @param DataFlowId: 数据流动管理 ID
|
887
|
+
# @type DataFlowId: String
|
888
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
889
|
+
# @type RequestId: String
|
890
|
+
|
891
|
+
attr_accessor :DataFlowId, :RequestId
|
892
|
+
|
893
|
+
def initialize(dataflowid=nil, requestid=nil)
|
894
|
+
@DataFlowId = dataflowid
|
895
|
+
@RequestId = requestid
|
896
|
+
end
|
897
|
+
|
898
|
+
def deserialize(params)
|
899
|
+
@DataFlowId = params['DataFlowId']
|
900
|
+
@RequestId = params['RequestId']
|
901
|
+
end
|
902
|
+
end
|
903
|
+
|
904
|
+
# CreateLifecycleDataTask请求参数结构体
|
905
|
+
class CreateLifecycleDataTaskRequest < TencentCloud::Common::AbstractModel
|
906
|
+
# @param FileSystemId: 文件系统唯一 ID
|
907
|
+
# @type FileSystemId: String
|
908
|
+
# @param Type: 生命周期任务类型;archive:沉降;restore:预热;release:数据释放;metaload:元数据加载
|
909
|
+
# @type Type: String
|
910
|
+
# @param TaskPath: 需要沉降的路径或文件,仅支持传入1个路径,不允许为空。
|
911
|
+
# @type TaskPath: String
|
912
|
+
# @param TaskName: 任务名称
|
913
|
+
# @type TaskName: String
|
914
|
+
# @param DataFlowId: 数据流动 ID ,该接口可以通过 DescribeDataFlow 查询
|
915
|
+
# @type DataFlowId: String
|
916
|
+
|
917
|
+
attr_accessor :FileSystemId, :Type, :TaskPath, :TaskName, :DataFlowId
|
918
|
+
|
919
|
+
def initialize(filesystemid=nil, type=nil, taskpath=nil, taskname=nil, dataflowid=nil)
|
920
|
+
@FileSystemId = filesystemid
|
921
|
+
@Type = type
|
922
|
+
@TaskPath = taskpath
|
923
|
+
@TaskName = taskname
|
924
|
+
@DataFlowId = dataflowid
|
925
|
+
end
|
926
|
+
|
927
|
+
def deserialize(params)
|
928
|
+
@FileSystemId = params['FileSystemId']
|
929
|
+
@Type = params['Type']
|
930
|
+
@TaskPath = params['TaskPath']
|
931
|
+
@TaskName = params['TaskName']
|
932
|
+
@DataFlowId = params['DataFlowId']
|
933
|
+
end
|
934
|
+
end
|
935
|
+
|
936
|
+
# CreateLifecycleDataTask返回参数结构体
|
937
|
+
class CreateLifecycleDataTaskResponse < TencentCloud::Common::AbstractModel
|
938
|
+
# @param TaskId: 任务 ID
|
939
|
+
# @type TaskId: String
|
940
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
941
|
+
# @type RequestId: String
|
942
|
+
|
943
|
+
attr_accessor :TaskId, :RequestId
|
944
|
+
|
945
|
+
def initialize(taskid=nil, requestid=nil)
|
946
|
+
@TaskId = taskid
|
947
|
+
@RequestId = requestid
|
948
|
+
end
|
949
|
+
|
950
|
+
def deserialize(params)
|
951
|
+
@TaskId = params['TaskId']
|
952
|
+
@RequestId = params['RequestId']
|
953
|
+
end
|
954
|
+
end
|
955
|
+
|
956
|
+
# CreateLifecyclePolicyDownloadTask请求参数结构体
|
957
|
+
class CreateLifecyclePolicyDownloadTaskRequest < TencentCloud::Common::AbstractModel
|
958
|
+
# @param TaskId: 任务Id
|
959
|
+
# @type TaskId: String
|
960
|
+
# @param Type: 下载文件的类型,包含 FileSuccessList,FileTotalList,FileFailedList
|
961
|
+
# @type Type: String
|
962
|
+
|
963
|
+
attr_accessor :TaskId, :Type
|
964
|
+
|
965
|
+
def initialize(taskid=nil, type=nil)
|
966
|
+
@TaskId = taskid
|
967
|
+
@Type = type
|
968
|
+
end
|
969
|
+
|
970
|
+
def deserialize(params)
|
971
|
+
@TaskId = params['TaskId']
|
972
|
+
@Type = params['Type']
|
973
|
+
end
|
974
|
+
end
|
975
|
+
|
976
|
+
# CreateLifecyclePolicyDownloadTask返回参数结构体
|
977
|
+
class CreateLifecyclePolicyDownloadTaskResponse < TencentCloud::Common::AbstractModel
|
978
|
+
# @param DownloadAddress: 下载路径
|
979
|
+
# @type DownloadAddress: String
|
980
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
981
|
+
# @type RequestId: String
|
982
|
+
|
983
|
+
attr_accessor :DownloadAddress, :RequestId
|
984
|
+
|
985
|
+
def initialize(downloadaddress=nil, requestid=nil)
|
986
|
+
@DownloadAddress = downloadaddress
|
987
|
+
@RequestId = requestid
|
988
|
+
end
|
989
|
+
|
990
|
+
def deserialize(params)
|
991
|
+
@DownloadAddress = params['DownloadAddress']
|
992
|
+
@RequestId = params['RequestId']
|
993
|
+
end
|
994
|
+
end
|
995
|
+
|
996
|
+
# CreateLifecyclePolicy请求参数结构体
|
997
|
+
class CreateLifecyclePolicyRequest < TencentCloud::Common::AbstractModel
|
998
|
+
# @param LifecyclePolicyName: 生命周期管理策略名称,中文/英文/数字/下划线/中划线的组合,不超过64个字符
|
999
|
+
# @type LifecyclePolicyName: String
|
1000
|
+
# @param LifecycleRules: 生命周期管理策略关联的管理规则列表
|
1001
|
+
# @type LifecycleRules: Array
|
1002
|
+
|
1003
|
+
attr_accessor :LifecyclePolicyName, :LifecycleRules
|
1004
|
+
|
1005
|
+
def initialize(lifecyclepolicyname=nil, lifecyclerules=nil)
|
1006
|
+
@LifecyclePolicyName = lifecyclepolicyname
|
1007
|
+
@LifecycleRules = lifecyclerules
|
1008
|
+
end
|
1009
|
+
|
1010
|
+
def deserialize(params)
|
1011
|
+
@LifecyclePolicyName = params['LifecyclePolicyName']
|
1012
|
+
unless params['LifecycleRules'].nil?
|
1013
|
+
@LifecycleRules = []
|
1014
|
+
params['LifecycleRules'].each do |i|
|
1015
|
+
lifecyclerule_tmp = LifecycleRule.new
|
1016
|
+
lifecyclerule_tmp.deserialize(i)
|
1017
|
+
@LifecycleRules << lifecyclerule_tmp
|
1018
|
+
end
|
1019
|
+
end
|
1020
|
+
end
|
1021
|
+
end
|
1022
|
+
|
1023
|
+
# CreateLifecyclePolicy返回参数结构体
|
1024
|
+
class CreateLifecyclePolicyResponse < TencentCloud::Common::AbstractModel
|
1025
|
+
# @param LifecyclePolicyID: 生命周期管理策略ID
|
1026
|
+
# @type LifecyclePolicyID: String
|
1027
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1028
|
+
# @type RequestId: String
|
1029
|
+
|
1030
|
+
attr_accessor :LifecyclePolicyID, :RequestId
|
1031
|
+
|
1032
|
+
def initialize(lifecyclepolicyid=nil, requestid=nil)
|
1033
|
+
@LifecyclePolicyID = lifecyclepolicyid
|
1034
|
+
@RequestId = requestid
|
1035
|
+
end
|
1036
|
+
|
1037
|
+
def deserialize(params)
|
1038
|
+
@LifecyclePolicyID = params['LifecyclePolicyID']
|
1039
|
+
@RequestId = params['RequestId']
|
1040
|
+
end
|
1041
|
+
end
|
1042
|
+
|
746
1043
|
# CreateMigrationTask请求参数结构体
|
747
1044
|
class CreateMigrationTaskRequest < TencentCloud::Common::AbstractModel
|
748
1045
|
# @param TaskName: 迁移任务名称
|
@@ -839,6 +1136,57 @@ module TencentCloud
|
|
839
1136
|
end
|
840
1137
|
end
|
841
1138
|
|
1139
|
+
# 数据流动信息
|
1140
|
+
class DataFlowInfo < TencentCloud::Common::AbstractModel
|
1141
|
+
# @param DataFlowId: 数据流动管理 ID
|
1142
|
+
# @type DataFlowId: String
|
1143
|
+
# @param DataFlowName: 数据流动名称
|
1144
|
+
# @type DataFlowName: String
|
1145
|
+
# @param SourceStorageType: 源端数据类型
|
1146
|
+
# @type SourceStorageType: String
|
1147
|
+
# @param SourceStorageAddress: 源端存储地址
|
1148
|
+
# @type SourceStorageAddress: String
|
1149
|
+
# @param SourcePath: 源端路径
|
1150
|
+
# @type SourcePath: String
|
1151
|
+
# @param TargetPath: 目录路径
|
1152
|
+
# @type TargetPath: String
|
1153
|
+
# @param Status: available:已生效
|
1154
|
+
# pending:配置中
|
1155
|
+
# unavailable:失效
|
1156
|
+
# deleting:删除中
|
1157
|
+
# @type Status: String
|
1158
|
+
# @param CreationTime: 创建时间
|
1159
|
+
# @type CreationTime: String
|
1160
|
+
# @param FileSystemId: 文件系统 ID
|
1161
|
+
# @type FileSystemId: String
|
1162
|
+
|
1163
|
+
attr_accessor :DataFlowId, :DataFlowName, :SourceStorageType, :SourceStorageAddress, :SourcePath, :TargetPath, :Status, :CreationTime, :FileSystemId
|
1164
|
+
|
1165
|
+
def initialize(dataflowid=nil, dataflowname=nil, sourcestoragetype=nil, sourcestorageaddress=nil, sourcepath=nil, targetpath=nil, status=nil, creationtime=nil, filesystemid=nil)
|
1166
|
+
@DataFlowId = dataflowid
|
1167
|
+
@DataFlowName = dataflowname
|
1168
|
+
@SourceStorageType = sourcestoragetype
|
1169
|
+
@SourceStorageAddress = sourcestorageaddress
|
1170
|
+
@SourcePath = sourcepath
|
1171
|
+
@TargetPath = targetpath
|
1172
|
+
@Status = status
|
1173
|
+
@CreationTime = creationtime
|
1174
|
+
@FileSystemId = filesystemid
|
1175
|
+
end
|
1176
|
+
|
1177
|
+
def deserialize(params)
|
1178
|
+
@DataFlowId = params['DataFlowId']
|
1179
|
+
@DataFlowName = params['DataFlowName']
|
1180
|
+
@SourceStorageType = params['SourceStorageType']
|
1181
|
+
@SourceStorageAddress = params['SourceStorageAddress']
|
1182
|
+
@SourcePath = params['SourcePath']
|
1183
|
+
@TargetPath = params['TargetPath']
|
1184
|
+
@Status = params['Status']
|
1185
|
+
@CreationTime = params['CreationTime']
|
1186
|
+
@FileSystemId = params['FileSystemId']
|
1187
|
+
end
|
1188
|
+
end
|
1189
|
+
|
842
1190
|
# DeleteAutoSnapshotPolicy请求参数结构体
|
843
1191
|
class DeleteAutoSnapshotPolicyRequest < TencentCloud::Common::AbstractModel
|
844
1192
|
# @param AutoSnapshotPolicyId: 快照策略ID,查询快照策略接口获取,[DescribeAutoSnapshotPolicies](https://cloud.tencent.com/document/api/582/80208)
|
@@ -1032,6 +1380,74 @@ module TencentCloud
|
|
1032
1380
|
end
|
1033
1381
|
end
|
1034
1382
|
|
1383
|
+
# DeleteDataFlow请求参数结构体
|
1384
|
+
class DeleteDataFlowRequest < TencentCloud::Common::AbstractModel
|
1385
|
+
# @param DataFlowId: 数据流动管理 ID
|
1386
|
+
# @type DataFlowId: String
|
1387
|
+
# @param FileSystemId: 文件系统 ID ,通过查询文件系统 [DescribeCfsFileSystems](https://cloud.tencent.com/document/product/582/38170) 获取
|
1388
|
+
# @type FileSystemId: String
|
1389
|
+
|
1390
|
+
attr_accessor :DataFlowId, :FileSystemId
|
1391
|
+
|
1392
|
+
def initialize(dataflowid=nil, filesystemid=nil)
|
1393
|
+
@DataFlowId = dataflowid
|
1394
|
+
@FileSystemId = filesystemid
|
1395
|
+
end
|
1396
|
+
|
1397
|
+
def deserialize(params)
|
1398
|
+
@DataFlowId = params['DataFlowId']
|
1399
|
+
@FileSystemId = params['FileSystemId']
|
1400
|
+
end
|
1401
|
+
end
|
1402
|
+
|
1403
|
+
# DeleteDataFlow返回参数结构体
|
1404
|
+
class DeleteDataFlowResponse < TencentCloud::Common::AbstractModel
|
1405
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1406
|
+
# @type RequestId: String
|
1407
|
+
|
1408
|
+
attr_accessor :RequestId
|
1409
|
+
|
1410
|
+
def initialize(requestid=nil)
|
1411
|
+
@RequestId = requestid
|
1412
|
+
end
|
1413
|
+
|
1414
|
+
def deserialize(params)
|
1415
|
+
@RequestId = params['RequestId']
|
1416
|
+
end
|
1417
|
+
end
|
1418
|
+
|
1419
|
+
# DeleteLifecyclePolicy请求参数结构体
|
1420
|
+
class DeleteLifecyclePolicyRequest < TencentCloud::Common::AbstractModel
|
1421
|
+
# @param LifecyclePolicyID: 生命周期管理策略ID
|
1422
|
+
# @type LifecyclePolicyID: String
|
1423
|
+
|
1424
|
+
attr_accessor :LifecyclePolicyID
|
1425
|
+
|
1426
|
+
def initialize(lifecyclepolicyid=nil)
|
1427
|
+
@LifecyclePolicyID = lifecyclepolicyid
|
1428
|
+
end
|
1429
|
+
|
1430
|
+
def deserialize(params)
|
1431
|
+
@LifecyclePolicyID = params['LifecyclePolicyID']
|
1432
|
+
end
|
1433
|
+
end
|
1434
|
+
|
1435
|
+
# DeleteLifecyclePolicy返回参数结构体
|
1436
|
+
class DeleteLifecyclePolicyResponse < TencentCloud::Common::AbstractModel
|
1437
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1438
|
+
# @type RequestId: String
|
1439
|
+
|
1440
|
+
attr_accessor :RequestId
|
1441
|
+
|
1442
|
+
def initialize(requestid=nil)
|
1443
|
+
@RequestId = requestid
|
1444
|
+
end
|
1445
|
+
|
1446
|
+
def deserialize(params)
|
1447
|
+
@RequestId = params['RequestId']
|
1448
|
+
end
|
1449
|
+
end
|
1450
|
+
|
1035
1451
|
# DeleteMigrationTask请求参数结构体
|
1036
1452
|
class DeleteMigrationTaskRequest < TencentCloud::Common::AbstractModel
|
1037
1453
|
# @param TaskId: 迁移任务ID
|
@@ -1585,9 +2001,9 @@ module TencentCloud
|
|
1585
2001
|
|
1586
2002
|
# DescribeCfsSnapshots请求参数结构体
|
1587
2003
|
class DescribeCfsSnapshotsRequest < TencentCloud::Common::AbstractModel
|
1588
|
-
# @param FileSystemId: 文件系统ID
|
2004
|
+
# @param FileSystemId: 文件系统 ID,通过查询文件系统 [DescribeCfsFileSystems](https://cloud.tencent.com/document/product/582/38170) 获取
|
1589
2005
|
# @type FileSystemId: String
|
1590
|
-
# @param SnapshotId: 快照ID
|
2006
|
+
# @param SnapshotId: 快照 ID
|
1591
2007
|
# @type SnapshotId: String
|
1592
2008
|
# @param Offset: 分页起始位置,默认为0
|
1593
2009
|
# @type Offset: Integer
|
@@ -1598,14 +2014,13 @@ module TencentCloud
|
|
1598
2014
|
# <br>SnapshotName - Array of String - 是否必填:否 -(过滤条件)按照快照名称过滤。
|
1599
2015
|
# <br>FileSystemId - Array of String - 是否必填:否 -(过滤条件)按文件系统ID过滤。
|
1600
2016
|
# <br>FsName - Array of String - 是否必填:否 -(过滤条件)按文件系统名过滤。
|
1601
|
-
# <br>Status - Array of String - 是否必填:否
|
1602
|
-
# (creating:创建中 | available:运行中| deleting: 删除中 | rollbacking_new:由快照创建新文件系统中| create-failed 创建失败)
|
2017
|
+
# <br>Status - Array of String - 是否必填:否 -(过滤条件)按照快照状态过滤。状态分类:creating:创建中 | available:运行中 | deleting:删除中 | rollbacking_new:由快照创建新文件系统中 | create-failed:创建失败。
|
1603
2018
|
# <br>tag-key - Array of String - 是否必填:否 -(过滤条件)按照标签键进行过滤。
|
1604
|
-
# <br>tag:tag-key - Array of String - 是否必填:否 -(过滤条件)按照标签键值对进行过滤。 tag-key使用具体的标签键进行替换。
|
2019
|
+
# <br>tag:tag-key - Array of String - 是否必填:否 -(过滤条件)按照标签键值对进行过滤。 tag-key 使用具体的标签键进行替换。
|
1605
2020
|
# @type Filters: Array
|
1606
2021
|
# @param OrderField: 按创建时间排序取值
|
1607
2022
|
# @type OrderField: String
|
1608
|
-
# @param Order:
|
2023
|
+
# @param Order: 排序;升序或者降序
|
1609
2024
|
# @type Order: String
|
1610
2025
|
|
1611
2026
|
attr_accessor :FileSystemId, :SnapshotId, :Offset, :Limit, :Filters, :OrderField, :Order
|
@@ -1673,6 +2088,214 @@ module TencentCloud
|
|
1673
2088
|
end
|
1674
2089
|
end
|
1675
2090
|
|
2091
|
+
# DescribeDataFlow请求参数结构体
|
2092
|
+
class DescribeDataFlowRequest < TencentCloud::Common::AbstractModel
|
2093
|
+
# @param FileSystemId: 文件系统 ID ,通过查询文件系统 [DescribeCfsFileSystems](https://cloud.tencent.com/document/product/582/38170) 获取
|
2094
|
+
# @type FileSystemId: String
|
2095
|
+
# @param DataFlowId: 数据流动 ID ,由创建数据流动返回
|
2096
|
+
# @type DataFlowId: String
|
2097
|
+
# @param Limit: 每次查询返回值个数,默认20;最大100
|
2098
|
+
# @type Limit: Integer
|
2099
|
+
# @param Offset: 偏移量,默认为0
|
2100
|
+
# @type Offset: Integer
|
2101
|
+
# @param CfsVersion: 文件系统版本;版本号:v1.5,v3.0,v3.1,v4.0
|
2102
|
+
# @type CfsVersion: String
|
2103
|
+
|
2104
|
+
attr_accessor :FileSystemId, :DataFlowId, :Limit, :Offset, :CfsVersion
|
2105
|
+
|
2106
|
+
def initialize(filesystemid=nil, dataflowid=nil, limit=nil, offset=nil, cfsversion=nil)
|
2107
|
+
@FileSystemId = filesystemid
|
2108
|
+
@DataFlowId = dataflowid
|
2109
|
+
@Limit = limit
|
2110
|
+
@Offset = offset
|
2111
|
+
@CfsVersion = cfsversion
|
2112
|
+
end
|
2113
|
+
|
2114
|
+
def deserialize(params)
|
2115
|
+
@FileSystemId = params['FileSystemId']
|
2116
|
+
@DataFlowId = params['DataFlowId']
|
2117
|
+
@Limit = params['Limit']
|
2118
|
+
@Offset = params['Offset']
|
2119
|
+
@CfsVersion = params['CfsVersion']
|
2120
|
+
end
|
2121
|
+
end
|
2122
|
+
|
2123
|
+
# DescribeDataFlow返回参数结构体
|
2124
|
+
class DescribeDataFlowResponse < TencentCloud::Common::AbstractModel
|
2125
|
+
# @param TotalCount: 查询总数量
|
2126
|
+
# @type TotalCount: Integer
|
2127
|
+
# @param DataFlows: 无
|
2128
|
+
# @type DataFlows: Array
|
2129
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
2130
|
+
# @type RequestId: String
|
2131
|
+
|
2132
|
+
attr_accessor :TotalCount, :DataFlows, :RequestId
|
2133
|
+
|
2134
|
+
def initialize(totalcount=nil, dataflows=nil, requestid=nil)
|
2135
|
+
@TotalCount = totalcount
|
2136
|
+
@DataFlows = dataflows
|
2137
|
+
@RequestId = requestid
|
2138
|
+
end
|
2139
|
+
|
2140
|
+
def deserialize(params)
|
2141
|
+
@TotalCount = params['TotalCount']
|
2142
|
+
unless params['DataFlows'].nil?
|
2143
|
+
@DataFlows = []
|
2144
|
+
params['DataFlows'].each do |i|
|
2145
|
+
dataflowinfo_tmp = DataFlowInfo.new
|
2146
|
+
dataflowinfo_tmp.deserialize(i)
|
2147
|
+
@DataFlows << dataflowinfo_tmp
|
2148
|
+
end
|
2149
|
+
end
|
2150
|
+
@RequestId = params['RequestId']
|
2151
|
+
end
|
2152
|
+
end
|
2153
|
+
|
2154
|
+
# DescribeLifecycleDataTask请求参数结构体
|
2155
|
+
class DescribeLifecycleDataTaskRequest < TencentCloud::Common::AbstractModel
|
2156
|
+
# @param StartTime: 开始时间
|
2157
|
+
# @type StartTime: String
|
2158
|
+
# @param EndTime: 结束时间
|
2159
|
+
# @type EndTime: String
|
2160
|
+
# @param TaskId: 任务ID
|
2161
|
+
# @type TaskId: String
|
2162
|
+
# @param Offset: Offset 分页码
|
2163
|
+
# @type Offset: Integer
|
2164
|
+
# @param Limit: Limit 页面大小
|
2165
|
+
# @type Limit: Integer
|
2166
|
+
# @param Filters: 过滤条件,TaskName,FileSystemId,Type
|
2167
|
+
# @type Filters: Array
|
2168
|
+
|
2169
|
+
attr_accessor :StartTime, :EndTime, :TaskId, :Offset, :Limit, :Filters
|
2170
|
+
|
2171
|
+
def initialize(starttime=nil, endtime=nil, taskid=nil, offset=nil, limit=nil, filters=nil)
|
2172
|
+
@StartTime = starttime
|
2173
|
+
@EndTime = endtime
|
2174
|
+
@TaskId = taskid
|
2175
|
+
@Offset = offset
|
2176
|
+
@Limit = limit
|
2177
|
+
@Filters = filters
|
2178
|
+
end
|
2179
|
+
|
2180
|
+
def deserialize(params)
|
2181
|
+
@StartTime = params['StartTime']
|
2182
|
+
@EndTime = params['EndTime']
|
2183
|
+
@TaskId = params['TaskId']
|
2184
|
+
@Offset = params['Offset']
|
2185
|
+
@Limit = params['Limit']
|
2186
|
+
unless params['Filters'].nil?
|
2187
|
+
@Filters = []
|
2188
|
+
params['Filters'].each do |i|
|
2189
|
+
filter_tmp = Filter.new
|
2190
|
+
filter_tmp.deserialize(i)
|
2191
|
+
@Filters << filter_tmp
|
2192
|
+
end
|
2193
|
+
end
|
2194
|
+
end
|
2195
|
+
end
|
2196
|
+
|
2197
|
+
# DescribeLifecycleDataTask返回参数结构体
|
2198
|
+
class DescribeLifecycleDataTaskResponse < TencentCloud::Common::AbstractModel
|
2199
|
+
# @param LifecycleDataTask: 任务数组
|
2200
|
+
# @type LifecycleDataTask: Array
|
2201
|
+
# @param TotalCount: 查询结果总数
|
2202
|
+
# @type TotalCount: Integer
|
2203
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
2204
|
+
# @type RequestId: String
|
2205
|
+
|
2206
|
+
attr_accessor :LifecycleDataTask, :TotalCount, :RequestId
|
2207
|
+
|
2208
|
+
def initialize(lifecycledatatask=nil, totalcount=nil, requestid=nil)
|
2209
|
+
@LifecycleDataTask = lifecycledatatask
|
2210
|
+
@TotalCount = totalcount
|
2211
|
+
@RequestId = requestid
|
2212
|
+
end
|
2213
|
+
|
2214
|
+
def deserialize(params)
|
2215
|
+
unless params['LifecycleDataTask'].nil?
|
2216
|
+
@LifecycleDataTask = []
|
2217
|
+
params['LifecycleDataTask'].each do |i|
|
2218
|
+
lifecycledatataskinfo_tmp = LifecycleDataTaskInfo.new
|
2219
|
+
lifecycledatataskinfo_tmp.deserialize(i)
|
2220
|
+
@LifecycleDataTask << lifecycledatataskinfo_tmp
|
2221
|
+
end
|
2222
|
+
end
|
2223
|
+
@TotalCount = params['TotalCount']
|
2224
|
+
@RequestId = params['RequestId']
|
2225
|
+
end
|
2226
|
+
end
|
2227
|
+
|
2228
|
+
# DescribeLifecyclePolicies请求参数结构体
|
2229
|
+
class DescribeLifecyclePoliciesRequest < TencentCloud::Common::AbstractModel
|
2230
|
+
# @param LifecyclePolicyName: 生命周期管理策略名称
|
2231
|
+
# @type LifecyclePolicyName: String
|
2232
|
+
# @param PageSize: 每个分页包含的生命周期管理策略个数
|
2233
|
+
# @type PageSize: Integer
|
2234
|
+
# @param PageNumber: 列表的分页页码
|
2235
|
+
# @type PageNumber: Integer
|
2236
|
+
# @param FileSystemId: 文件系统ID
|
2237
|
+
# @type FileSystemId: String
|
2238
|
+
# @param LifecyclePolicyID: 生命周期管理策略ID
|
2239
|
+
# @type LifecyclePolicyID: String
|
2240
|
+
|
2241
|
+
attr_accessor :LifecyclePolicyName, :PageSize, :PageNumber, :FileSystemId, :LifecyclePolicyID
|
2242
|
+
|
2243
|
+
def initialize(lifecyclepolicyname=nil, pagesize=nil, pagenumber=nil, filesystemid=nil, lifecyclepolicyid=nil)
|
2244
|
+
@LifecyclePolicyName = lifecyclepolicyname
|
2245
|
+
@PageSize = pagesize
|
2246
|
+
@PageNumber = pagenumber
|
2247
|
+
@FileSystemId = filesystemid
|
2248
|
+
@LifecyclePolicyID = lifecyclepolicyid
|
2249
|
+
end
|
2250
|
+
|
2251
|
+
def deserialize(params)
|
2252
|
+
@LifecyclePolicyName = params['LifecyclePolicyName']
|
2253
|
+
@PageSize = params['PageSize']
|
2254
|
+
@PageNumber = params['PageNumber']
|
2255
|
+
@FileSystemId = params['FileSystemId']
|
2256
|
+
@LifecyclePolicyID = params['LifecyclePolicyID']
|
2257
|
+
end
|
2258
|
+
end
|
2259
|
+
|
2260
|
+
# DescribeLifecyclePolicies返回参数结构体
|
2261
|
+
class DescribeLifecyclePoliciesResponse < TencentCloud::Common::AbstractModel
|
2262
|
+
# @param PageNumber: 列表的分页页码
|
2263
|
+
# @type PageNumber: Integer
|
2264
|
+
# @param PageSize: 每个分页包含的生命周期管理策略个数
|
2265
|
+
# @type PageSize: Integer
|
2266
|
+
# @param TotalCount: 生命周期管理策略总数
|
2267
|
+
# @type TotalCount: Integer
|
2268
|
+
# @param LifecyclePolicies: 生命周期管理策略列表
|
2269
|
+
# @type LifecyclePolicies: Array
|
2270
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
2271
|
+
# @type RequestId: String
|
2272
|
+
|
2273
|
+
attr_accessor :PageNumber, :PageSize, :TotalCount, :LifecyclePolicies, :RequestId
|
2274
|
+
|
2275
|
+
def initialize(pagenumber=nil, pagesize=nil, totalcount=nil, lifecyclepolicies=nil, requestid=nil)
|
2276
|
+
@PageNumber = pagenumber
|
2277
|
+
@PageSize = pagesize
|
2278
|
+
@TotalCount = totalcount
|
2279
|
+
@LifecyclePolicies = lifecyclepolicies
|
2280
|
+
@RequestId = requestid
|
2281
|
+
end
|
2282
|
+
|
2283
|
+
def deserialize(params)
|
2284
|
+
@PageNumber = params['PageNumber']
|
2285
|
+
@PageSize = params['PageSize']
|
2286
|
+
@TotalCount = params['TotalCount']
|
2287
|
+
unless params['LifecyclePolicies'].nil?
|
2288
|
+
@LifecyclePolicies = []
|
2289
|
+
params['LifecyclePolicies'].each do |i|
|
2290
|
+
lifecyclepolicy_tmp = LifecyclePolicy.new
|
2291
|
+
lifecyclepolicy_tmp.deserialize(i)
|
2292
|
+
@LifecyclePolicies << lifecyclepolicy_tmp
|
2293
|
+
end
|
2294
|
+
end
|
2295
|
+
@RequestId = params['RequestId']
|
2296
|
+
end
|
2297
|
+
end
|
2298
|
+
|
1676
2299
|
# DescribeMigrationTasks请求参数结构体
|
1677
2300
|
class DescribeMigrationTasksRequest < TencentCloud::Common::AbstractModel
|
1678
2301
|
# @param Offset: 分页的偏移量,默认值为0。
|
@@ -2179,6 +2802,184 @@ module TencentCloud
|
|
2179
2802
|
end
|
2180
2803
|
end
|
2181
2804
|
|
2805
|
+
# 生命周期任务
|
2806
|
+
class LifecycleDataTaskInfo < TencentCloud::Common::AbstractModel
|
2807
|
+
# @param TaskId: 任务id
|
2808
|
+
# @type TaskId: String
|
2809
|
+
# @param TaskStatus: 任务状态.
|
2810
|
+
# init:未执行
|
2811
|
+
# running:执行中,finished:已完成
|
2812
|
+
# ,failed:失败
|
2813
|
+
# ,stopping:停止中,stopped:已停止
|
2814
|
+
# @type TaskStatus: String
|
2815
|
+
# @param CreationTime: 任务创建时间
|
2816
|
+
# @type CreationTime: String
|
2817
|
+
# @param FinishTime: 任务结束时间
|
2818
|
+
# @type FinishTime: String
|
2819
|
+
# @param FileTotalCount: 文件总数
|
2820
|
+
# @type FileTotalCount: Integer
|
2821
|
+
# @param FileSuccessedCount: 处理成功文件数量
|
2822
|
+
# @type FileSuccessedCount: Integer
|
2823
|
+
# @param FileFailedCount: 当前已经失败的文件数
|
2824
|
+
# @type FileFailedCount: Integer
|
2825
|
+
# @param FileTotalSize: 文件容量,单位Byte
|
2826
|
+
|
2827
|
+
# @type FileTotalSize: Integer
|
2828
|
+
# @param FileSuccessedSize: 已处理完成的文件容量,单位Byte
|
2829
|
+
|
2830
|
+
# @type FileSuccessedSize: Integer
|
2831
|
+
# @param FileFailedSize: 已处理失败文件容量,单位Byte
|
2832
|
+
# @type FileFailedSize: Integer
|
2833
|
+
# @param FileTotalList: 总文件列表
|
2834
|
+
# @type FileTotalList: String
|
2835
|
+
# @param FileSuccessedList: 成功的文件列表
|
2836
|
+
# @type FileSuccessedList: String
|
2837
|
+
# @param FileFailedList: 失败文件的列表
|
2838
|
+
# @type FileFailedList: String
|
2839
|
+
# @param FileSystemId: FileSystemId
|
2840
|
+
# @type FileSystemId: String
|
2841
|
+
# @param TaskName: 任务名称
|
2842
|
+
# @type TaskName: String
|
2843
|
+
# @param TaskPath: 任务路径
|
2844
|
+
# @type TaskPath: String
|
2845
|
+
# @param Type: 任务类型,archive:表示沉降任务,restore:表示拉取任务
|
2846
|
+
# @type Type: String
|
2847
|
+
# @param DataFlowId: 数据流动Id
|
2848
|
+
# @type DataFlowId: String
|
2849
|
+
|
2850
|
+
attr_accessor :TaskId, :TaskStatus, :CreationTime, :FinishTime, :FileTotalCount, :FileSuccessedCount, :FileFailedCount, :FileTotalSize, :FileSuccessedSize, :FileFailedSize, :FileTotalList, :FileSuccessedList, :FileFailedList, :FileSystemId, :TaskName, :TaskPath, :Type, :DataFlowId
|
2851
|
+
|
2852
|
+
def initialize(taskid=nil, taskstatus=nil, creationtime=nil, finishtime=nil, filetotalcount=nil, filesuccessedcount=nil, filefailedcount=nil, filetotalsize=nil, filesuccessedsize=nil, filefailedsize=nil, filetotallist=nil, filesuccessedlist=nil, filefailedlist=nil, filesystemid=nil, taskname=nil, taskpath=nil, type=nil, dataflowid=nil)
|
2853
|
+
@TaskId = taskid
|
2854
|
+
@TaskStatus = taskstatus
|
2855
|
+
@CreationTime = creationtime
|
2856
|
+
@FinishTime = finishtime
|
2857
|
+
@FileTotalCount = filetotalcount
|
2858
|
+
@FileSuccessedCount = filesuccessedcount
|
2859
|
+
@FileFailedCount = filefailedcount
|
2860
|
+
@FileTotalSize = filetotalsize
|
2861
|
+
@FileSuccessedSize = filesuccessedsize
|
2862
|
+
@FileFailedSize = filefailedsize
|
2863
|
+
@FileTotalList = filetotallist
|
2864
|
+
@FileSuccessedList = filesuccessedlist
|
2865
|
+
@FileFailedList = filefailedlist
|
2866
|
+
@FileSystemId = filesystemid
|
2867
|
+
@TaskName = taskname
|
2868
|
+
@TaskPath = taskpath
|
2869
|
+
@Type = type
|
2870
|
+
@DataFlowId = dataflowid
|
2871
|
+
end
|
2872
|
+
|
2873
|
+
def deserialize(params)
|
2874
|
+
@TaskId = params['TaskId']
|
2875
|
+
@TaskStatus = params['TaskStatus']
|
2876
|
+
@CreationTime = params['CreationTime']
|
2877
|
+
@FinishTime = params['FinishTime']
|
2878
|
+
@FileTotalCount = params['FileTotalCount']
|
2879
|
+
@FileSuccessedCount = params['FileSuccessedCount']
|
2880
|
+
@FileFailedCount = params['FileFailedCount']
|
2881
|
+
@FileTotalSize = params['FileTotalSize']
|
2882
|
+
@FileSuccessedSize = params['FileSuccessedSize']
|
2883
|
+
@FileFailedSize = params['FileFailedSize']
|
2884
|
+
@FileTotalList = params['FileTotalList']
|
2885
|
+
@FileSuccessedList = params['FileSuccessedList']
|
2886
|
+
@FileFailedList = params['FileFailedList']
|
2887
|
+
@FileSystemId = params['FileSystemId']
|
2888
|
+
@TaskName = params['TaskName']
|
2889
|
+
@TaskPath = params['TaskPath']
|
2890
|
+
@Type = params['Type']
|
2891
|
+
@DataFlowId = params['DataFlowId']
|
2892
|
+
end
|
2893
|
+
end
|
2894
|
+
|
2895
|
+
# 生命周期管理策略信息
|
2896
|
+
class LifecyclePolicy < TencentCloud::Common::AbstractModel
|
2897
|
+
# @param CreateTime: 生命周期管理策略创建的时间
|
2898
|
+
# @type CreateTime: String
|
2899
|
+
# @param LifecyclePolicyID: 生命周期管理策略ID
|
2900
|
+
# @type LifecyclePolicyID: String
|
2901
|
+
# @param LifecyclePolicyName: 生命周期管理策略名称
|
2902
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2903
|
+
# @type LifecyclePolicyName: String
|
2904
|
+
# @param LifecycleRules: 生命周期管理策略关联的管理规则列表
|
2905
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2906
|
+
# @type LifecycleRules: Array
|
2907
|
+
# @param Paths: 生命周期管理策略关联目录的绝对路径列表
|
2908
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2909
|
+
# @type Paths: Array
|
2910
|
+
|
2911
|
+
attr_accessor :CreateTime, :LifecyclePolicyID, :LifecyclePolicyName, :LifecycleRules, :Paths
|
2912
|
+
|
2913
|
+
def initialize(createtime=nil, lifecyclepolicyid=nil, lifecyclepolicyname=nil, lifecyclerules=nil, paths=nil)
|
2914
|
+
@CreateTime = createtime
|
2915
|
+
@LifecyclePolicyID = lifecyclepolicyid
|
2916
|
+
@LifecyclePolicyName = lifecyclepolicyname
|
2917
|
+
@LifecycleRules = lifecyclerules
|
2918
|
+
@Paths = paths
|
2919
|
+
end
|
2920
|
+
|
2921
|
+
def deserialize(params)
|
2922
|
+
@CreateTime = params['CreateTime']
|
2923
|
+
@LifecyclePolicyID = params['LifecyclePolicyID']
|
2924
|
+
@LifecyclePolicyName = params['LifecyclePolicyName']
|
2925
|
+
unless params['LifecycleRules'].nil?
|
2926
|
+
@LifecycleRules = []
|
2927
|
+
params['LifecycleRules'].each do |i|
|
2928
|
+
lifecyclerule_tmp = LifecycleRule.new
|
2929
|
+
lifecyclerule_tmp.deserialize(i)
|
2930
|
+
@LifecycleRules << lifecyclerule_tmp
|
2931
|
+
end
|
2932
|
+
end
|
2933
|
+
unless params['Paths'].nil?
|
2934
|
+
@Paths = []
|
2935
|
+
params['Paths'].each do |i|
|
2936
|
+
pathinfo_tmp = PathInfo.new
|
2937
|
+
pathinfo_tmp.deserialize(i)
|
2938
|
+
@Paths << pathinfo_tmp
|
2939
|
+
end
|
2940
|
+
end
|
2941
|
+
end
|
2942
|
+
end
|
2943
|
+
|
2944
|
+
# 生命周期管理策略关联的管理规则
|
2945
|
+
class LifecycleRule < TencentCloud::Common::AbstractModel
|
2946
|
+
# @param StorageType: 数据转储后的存储类型
|
2947
|
+
# @type StorageType: String
|
2948
|
+
# @param FileType: 数据转储文件类型
|
2949
|
+
# @type FileType: String
|
2950
|
+
# @param Action: 数据转储行为
|
2951
|
+
# @type Action: String
|
2952
|
+
# @param Interval: 数据转储触发时间
|
2953
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2954
|
+
# @type Interval: String
|
2955
|
+
# @param FileMaxSize: 数据转储文件最大规格
|
2956
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2957
|
+
# @type FileMaxSize: String
|
2958
|
+
# @param FileMinSize: 数据转储文件最小规格
|
2959
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2960
|
+
# @type FileMinSize: String
|
2961
|
+
|
2962
|
+
attr_accessor :StorageType, :FileType, :Action, :Interval, :FileMaxSize, :FileMinSize
|
2963
|
+
|
2964
|
+
def initialize(storagetype=nil, filetype=nil, action=nil, interval=nil, filemaxsize=nil, fileminsize=nil)
|
2965
|
+
@StorageType = storagetype
|
2966
|
+
@FileType = filetype
|
2967
|
+
@Action = action
|
2968
|
+
@Interval = interval
|
2969
|
+
@FileMaxSize = filemaxsize
|
2970
|
+
@FileMinSize = fileminsize
|
2971
|
+
end
|
2972
|
+
|
2973
|
+
def deserialize(params)
|
2974
|
+
@StorageType = params['StorageType']
|
2975
|
+
@FileType = params['FileType']
|
2976
|
+
@Action = params['Action']
|
2977
|
+
@Interval = params['Interval']
|
2978
|
+
@FileMaxSize = params['FileMaxSize']
|
2979
|
+
@FileMinSize = params['FileMinSize']
|
2980
|
+
end
|
2981
|
+
end
|
2982
|
+
|
2182
2983
|
# CFS数据迁移任务信息
|
2183
2984
|
class MigrationTaskInfo < TencentCloud::Common::AbstractModel
|
2184
2985
|
# @param TaskName: 迁移任务名称
|
@@ -2295,6 +3096,58 @@ module TencentCloud
|
|
2295
3096
|
end
|
2296
3097
|
end
|
2297
3098
|
|
3099
|
+
# ModifyDataFlow请求参数结构体
|
3100
|
+
class ModifyDataFlowRequest < TencentCloud::Common::AbstractModel
|
3101
|
+
# @param DataFlowId: 数据流动管理 ID ,通过查询数据流动接口获取
|
3102
|
+
# @type DataFlowId: String
|
3103
|
+
# @param FileSystemId: 文件系统 ID ,通过查询文件系统 [DescribeCfsFileSystems](https://cloud.tencent.com/document/product/582/38170) 获取
|
3104
|
+
# @type FileSystemId: String
|
3105
|
+
# @param DataFlowName: 数据流动名称;支持不超过64字符长度,支持中文、数字、_、-
|
3106
|
+
# @type DataFlowName: String
|
3107
|
+
# @param SecretId: 密钥 ID
|
3108
|
+
# @type SecretId: String
|
3109
|
+
# @param SecretKey: 密钥 key
|
3110
|
+
# @type SecretKey: String
|
3111
|
+
|
3112
|
+
attr_accessor :DataFlowId, :FileSystemId, :DataFlowName, :SecretId, :SecretKey
|
3113
|
+
|
3114
|
+
def initialize(dataflowid=nil, filesystemid=nil, dataflowname=nil, secretid=nil, secretkey=nil)
|
3115
|
+
@DataFlowId = dataflowid
|
3116
|
+
@FileSystemId = filesystemid
|
3117
|
+
@DataFlowName = dataflowname
|
3118
|
+
@SecretId = secretid
|
3119
|
+
@SecretKey = secretkey
|
3120
|
+
end
|
3121
|
+
|
3122
|
+
def deserialize(params)
|
3123
|
+
@DataFlowId = params['DataFlowId']
|
3124
|
+
@FileSystemId = params['FileSystemId']
|
3125
|
+
@DataFlowName = params['DataFlowName']
|
3126
|
+
@SecretId = params['SecretId']
|
3127
|
+
@SecretKey = params['SecretKey']
|
3128
|
+
end
|
3129
|
+
end
|
3130
|
+
|
3131
|
+
# ModifyDataFlow返回参数结构体
|
3132
|
+
class ModifyDataFlowResponse < TencentCloud::Common::AbstractModel
|
3133
|
+
# @param DataFlowId: 数据流动管理 ID
|
3134
|
+
# @type DataFlowId: String
|
3135
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
3136
|
+
# @type RequestId: String
|
3137
|
+
|
3138
|
+
attr_accessor :DataFlowId, :RequestId
|
3139
|
+
|
3140
|
+
def initialize(dataflowid=nil, requestid=nil)
|
3141
|
+
@DataFlowId = dataflowid
|
3142
|
+
@RequestId = requestid
|
3143
|
+
end
|
3144
|
+
|
3145
|
+
def deserialize(params)
|
3146
|
+
@DataFlowId = params['DataFlowId']
|
3147
|
+
@RequestId = params['RequestId']
|
3148
|
+
end
|
3149
|
+
end
|
3150
|
+
|
2298
3151
|
# ModifyFileSystemAutoScaleUpRule请求参数结构体
|
2299
3152
|
class ModifyFileSystemAutoScaleUpRuleRequest < TencentCloud::Common::AbstractModel
|
2300
3153
|
# @param FileSystemId: 文件系统 ID,通过查询文件系统列表获取;[DescribeCfsFileSystems](https://cloud.tencent.com/document/product/582/38170)
|
@@ -2355,6 +3208,57 @@ module TencentCloud
|
|
2355
3208
|
end
|
2356
3209
|
end
|
2357
3210
|
|
3211
|
+
# ModifyLifecyclePolicy请求参数结构体
|
3212
|
+
class ModifyLifecyclePolicyRequest < TencentCloud::Common::AbstractModel
|
3213
|
+
# @param LifecyclePolicyName: 生命周期管理策略名称,中文/英文/数字/下划线/中划线的组合,不超过64个字符
|
3214
|
+
# @type LifecyclePolicyName: String
|
3215
|
+
# @param LifecycleRules: 生命周期管理策略关联的管理规则列表
|
3216
|
+
# @type LifecycleRules: Array
|
3217
|
+
# @param LifecyclePolicyID: 生命周期管理策略ID
|
3218
|
+
# @type LifecyclePolicyID: String
|
3219
|
+
|
3220
|
+
attr_accessor :LifecyclePolicyName, :LifecycleRules, :LifecyclePolicyID
|
3221
|
+
|
3222
|
+
def initialize(lifecyclepolicyname=nil, lifecyclerules=nil, lifecyclepolicyid=nil)
|
3223
|
+
@LifecyclePolicyName = lifecyclepolicyname
|
3224
|
+
@LifecycleRules = lifecyclerules
|
3225
|
+
@LifecyclePolicyID = lifecyclepolicyid
|
3226
|
+
end
|
3227
|
+
|
3228
|
+
def deserialize(params)
|
3229
|
+
@LifecyclePolicyName = params['LifecyclePolicyName']
|
3230
|
+
unless params['LifecycleRules'].nil?
|
3231
|
+
@LifecycleRules = []
|
3232
|
+
params['LifecycleRules'].each do |i|
|
3233
|
+
lifecyclerule_tmp = LifecycleRule.new
|
3234
|
+
lifecyclerule_tmp.deserialize(i)
|
3235
|
+
@LifecycleRules << lifecyclerule_tmp
|
3236
|
+
end
|
3237
|
+
end
|
3238
|
+
@LifecyclePolicyID = params['LifecyclePolicyID']
|
3239
|
+
end
|
3240
|
+
end
|
3241
|
+
|
3242
|
+
# ModifyLifecyclePolicy返回参数结构体
|
3243
|
+
class ModifyLifecyclePolicyResponse < TencentCloud::Common::AbstractModel
|
3244
|
+
# @param LifecyclePolicyID: 生命周期管理策略ID
|
3245
|
+
# @type LifecyclePolicyID: String
|
3246
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
3247
|
+
# @type RequestId: String
|
3248
|
+
|
3249
|
+
attr_accessor :LifecyclePolicyID, :RequestId
|
3250
|
+
|
3251
|
+
def initialize(lifecyclepolicyid=nil, requestid=nil)
|
3252
|
+
@LifecyclePolicyID = lifecyclepolicyid
|
3253
|
+
@RequestId = requestid
|
3254
|
+
end
|
3255
|
+
|
3256
|
+
def deserialize(params)
|
3257
|
+
@LifecyclePolicyID = params['LifecyclePolicyID']
|
3258
|
+
@RequestId = params['RequestId']
|
3259
|
+
end
|
3260
|
+
end
|
3261
|
+
|
2358
3262
|
# 挂载点信息
|
2359
3263
|
class MountInfo < TencentCloud::Common::AbstractModel
|
2360
3264
|
# @param FileSystemId: 文件系统 ID
|
@@ -2504,6 +3408,26 @@ module TencentCloud
|
|
2504
3408
|
end
|
2505
3409
|
end
|
2506
3410
|
|
3411
|
+
# 生命周期管理策略关联目录的绝对路径
|
3412
|
+
class PathInfo < TencentCloud::Common::AbstractModel
|
3413
|
+
# @param FileSystemId: 文件系统ID
|
3414
|
+
# @type FileSystemId: String
|
3415
|
+
# @param Path: 目录绝对路径
|
3416
|
+
# @type Path: String
|
3417
|
+
|
3418
|
+
attr_accessor :FileSystemId, :Path
|
3419
|
+
|
3420
|
+
def initialize(filesystemid=nil, path=nil)
|
3421
|
+
@FileSystemId = filesystemid
|
3422
|
+
@Path = path
|
3423
|
+
end
|
3424
|
+
|
3425
|
+
def deserialize(params)
|
3426
|
+
@FileSystemId = params['FileSystemId']
|
3427
|
+
@Path = params['Path']
|
3428
|
+
end
|
3429
|
+
end
|
3430
|
+
|
2507
3431
|
# ScaleUpFileSystem请求参数结构体
|
2508
3432
|
class ScaleUpFileSystemRequest < TencentCloud::Common::AbstractModel
|
2509
3433
|
# @param FileSystemId: 文件系统Id,该参数通过查询文件系统列表接口获取
|
@@ -2643,7 +3567,7 @@ module TencentCloud
|
|
2643
3567
|
# @type SnapshotName: String
|
2644
3568
|
# @param SnapshotId: 快照ID
|
2645
3569
|
# @type SnapshotId: String
|
2646
|
-
# @param Status: 快照状态,
|
3570
|
+
# @param Status: 快照状态,creating-创建中;available-运行中;deleting-删除中;rollbacking-new 创建新文件系统中;create-failed 创建失败
|
2647
3571
|
# @type Status: String
|
2648
3572
|
# @param RegionName: 地域名称
|
2649
3573
|
# @type RegionName: String
|
@@ -2663,10 +3587,10 @@ module TencentCloud
|
|
2663
3587
|
# @type FsName: String
|
2664
3588
|
# @param Tags: 快照标签
|
2665
3589
|
# @type Tags: Array
|
2666
|
-
# @param SnapshotType:
|
3590
|
+
# @param SnapshotType: 快照类型,general为通用系列快照,turbo为Turbo系列快照
|
2667
3591
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
2668
3592
|
# @type SnapshotType: String
|
2669
|
-
# @param SnapshotTime:
|
3593
|
+
# @param SnapshotTime: 实际快照时间,反映快照对应文件系统某个时刻的数据。
|
2670
3594
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
2671
3595
|
# @type SnapshotTime: String
|
2672
3596
|
|
@@ -2780,6 +3704,38 @@ module TencentCloud
|
|
2780
3704
|
end
|
2781
3705
|
end
|
2782
3706
|
|
3707
|
+
# StopLifecycleDataTask请求参数结构体
|
3708
|
+
class StopLifecycleDataTaskRequest < TencentCloud::Common::AbstractModel
|
3709
|
+
# @param TaskId: 任务ID
|
3710
|
+
# @type TaskId: String
|
3711
|
+
|
3712
|
+
attr_accessor :TaskId
|
3713
|
+
|
3714
|
+
def initialize(taskid=nil)
|
3715
|
+
@TaskId = taskid
|
3716
|
+
end
|
3717
|
+
|
3718
|
+
def deserialize(params)
|
3719
|
+
@TaskId = params['TaskId']
|
3720
|
+
end
|
3721
|
+
end
|
3722
|
+
|
3723
|
+
# StopLifecycleDataTask返回参数结构体
|
3724
|
+
class StopLifecycleDataTaskResponse < TencentCloud::Common::AbstractModel
|
3725
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
3726
|
+
# @type RequestId: String
|
3727
|
+
|
3728
|
+
attr_accessor :RequestId
|
3729
|
+
|
3730
|
+
def initialize(requestid=nil)
|
3731
|
+
@RequestId = requestid
|
3732
|
+
end
|
3733
|
+
|
3734
|
+
def deserialize(params)
|
3735
|
+
@RequestId = params['RequestId']
|
3736
|
+
end
|
3737
|
+
end
|
3738
|
+
|
2783
3739
|
# StopMigrationTask请求参数结构体
|
2784
3740
|
class StopMigrationTaskRequest < TencentCloud::Common::AbstractModel
|
2785
3741
|
# @param TaskId: 迁移任务Id
|