tencentcloud-sdk-cfs 3.0.1097 → 3.0.1114

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.
@@ -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
@@ -1673,6 +2089,214 @@ module TencentCloud
1673
2089
  end
1674
2090
  end
1675
2091
 
2092
+ # DescribeDataFlow请求参数结构体
2093
+ class DescribeDataFlowRequest < TencentCloud::Common::AbstractModel
2094
+ # @param FileSystemId: 文件系统 ID ,通过查询文件系统 [DescribeCfsFileSystems](https://cloud.tencent.com/document/product/582/38170) 获取
2095
+ # @type FileSystemId: String
2096
+ # @param DataFlowId: 数据流动 ID ,由创建数据流动返回
2097
+ # @type DataFlowId: String
2098
+ # @param Limit: 每次查询返回值个数,默认20;最大100
2099
+ # @type Limit: Integer
2100
+ # @param Offset: 偏移量,默认为0
2101
+ # @type Offset: Integer
2102
+ # @param CfsVersion: 文件系统版本;版本号:v1.5,v3.0,v3.1,v4.0
2103
+ # @type CfsVersion: String
2104
+
2105
+ attr_accessor :FileSystemId, :DataFlowId, :Limit, :Offset, :CfsVersion
2106
+
2107
+ def initialize(filesystemid=nil, dataflowid=nil, limit=nil, offset=nil, cfsversion=nil)
2108
+ @FileSystemId = filesystemid
2109
+ @DataFlowId = dataflowid
2110
+ @Limit = limit
2111
+ @Offset = offset
2112
+ @CfsVersion = cfsversion
2113
+ end
2114
+
2115
+ def deserialize(params)
2116
+ @FileSystemId = params['FileSystemId']
2117
+ @DataFlowId = params['DataFlowId']
2118
+ @Limit = params['Limit']
2119
+ @Offset = params['Offset']
2120
+ @CfsVersion = params['CfsVersion']
2121
+ end
2122
+ end
2123
+
2124
+ # DescribeDataFlow返回参数结构体
2125
+ class DescribeDataFlowResponse < TencentCloud::Common::AbstractModel
2126
+ # @param TotalCount: 查询总数量
2127
+ # @type TotalCount: Integer
2128
+ # @param DataFlows: 无
2129
+ # @type DataFlows: Array
2130
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2131
+ # @type RequestId: String
2132
+
2133
+ attr_accessor :TotalCount, :DataFlows, :RequestId
2134
+
2135
+ def initialize(totalcount=nil, dataflows=nil, requestid=nil)
2136
+ @TotalCount = totalcount
2137
+ @DataFlows = dataflows
2138
+ @RequestId = requestid
2139
+ end
2140
+
2141
+ def deserialize(params)
2142
+ @TotalCount = params['TotalCount']
2143
+ unless params['DataFlows'].nil?
2144
+ @DataFlows = []
2145
+ params['DataFlows'].each do |i|
2146
+ dataflowinfo_tmp = DataFlowInfo.new
2147
+ dataflowinfo_tmp.deserialize(i)
2148
+ @DataFlows << dataflowinfo_tmp
2149
+ end
2150
+ end
2151
+ @RequestId = params['RequestId']
2152
+ end
2153
+ end
2154
+
2155
+ # DescribeLifecycleDataTask请求参数结构体
2156
+ class DescribeLifecycleDataTaskRequest < TencentCloud::Common::AbstractModel
2157
+ # @param StartTime: 开始时间
2158
+ # @type StartTime: String
2159
+ # @param EndTime: 结束时间
2160
+ # @type EndTime: String
2161
+ # @param TaskId: 任务ID
2162
+ # @type TaskId: String
2163
+ # @param Offset: Offset 分页码
2164
+ # @type Offset: Integer
2165
+ # @param Limit: Limit 页面大小
2166
+ # @type Limit: Integer
2167
+ # @param Filters: 过滤条件,TaskName,FileSystemId,Type
2168
+ # @type Filters: Array
2169
+
2170
+ attr_accessor :StartTime, :EndTime, :TaskId, :Offset, :Limit, :Filters
2171
+
2172
+ def initialize(starttime=nil, endtime=nil, taskid=nil, offset=nil, limit=nil, filters=nil)
2173
+ @StartTime = starttime
2174
+ @EndTime = endtime
2175
+ @TaskId = taskid
2176
+ @Offset = offset
2177
+ @Limit = limit
2178
+ @Filters = filters
2179
+ end
2180
+
2181
+ def deserialize(params)
2182
+ @StartTime = params['StartTime']
2183
+ @EndTime = params['EndTime']
2184
+ @TaskId = params['TaskId']
2185
+ @Offset = params['Offset']
2186
+ @Limit = params['Limit']
2187
+ unless params['Filters'].nil?
2188
+ @Filters = []
2189
+ params['Filters'].each do |i|
2190
+ filter_tmp = Filter.new
2191
+ filter_tmp.deserialize(i)
2192
+ @Filters << filter_tmp
2193
+ end
2194
+ end
2195
+ end
2196
+ end
2197
+
2198
+ # DescribeLifecycleDataTask返回参数结构体
2199
+ class DescribeLifecycleDataTaskResponse < TencentCloud::Common::AbstractModel
2200
+ # @param LifecycleDataTask: 任务数组
2201
+ # @type LifecycleDataTask: Array
2202
+ # @param TotalCount: 查询结果总数
2203
+ # @type TotalCount: Integer
2204
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2205
+ # @type RequestId: String
2206
+
2207
+ attr_accessor :LifecycleDataTask, :TotalCount, :RequestId
2208
+
2209
+ def initialize(lifecycledatatask=nil, totalcount=nil, requestid=nil)
2210
+ @LifecycleDataTask = lifecycledatatask
2211
+ @TotalCount = totalcount
2212
+ @RequestId = requestid
2213
+ end
2214
+
2215
+ def deserialize(params)
2216
+ unless params['LifecycleDataTask'].nil?
2217
+ @LifecycleDataTask = []
2218
+ params['LifecycleDataTask'].each do |i|
2219
+ lifecycledatataskinfo_tmp = LifecycleDataTaskInfo.new
2220
+ lifecycledatataskinfo_tmp.deserialize(i)
2221
+ @LifecycleDataTask << lifecycledatataskinfo_tmp
2222
+ end
2223
+ end
2224
+ @TotalCount = params['TotalCount']
2225
+ @RequestId = params['RequestId']
2226
+ end
2227
+ end
2228
+
2229
+ # DescribeLifecyclePolicies请求参数结构体
2230
+ class DescribeLifecyclePoliciesRequest < TencentCloud::Common::AbstractModel
2231
+ # @param LifecyclePolicyName: 生命周期管理策略名称
2232
+ # @type LifecyclePolicyName: String
2233
+ # @param PageSize: 每个分页包含的生命周期管理策略个数
2234
+ # @type PageSize: Integer
2235
+ # @param PageNumber: 列表的分页页码
2236
+ # @type PageNumber: Integer
2237
+ # @param FileSystemId: 文件系统ID
2238
+ # @type FileSystemId: String
2239
+ # @param LifecyclePolicyID: 生命周期管理策略ID
2240
+ # @type LifecyclePolicyID: String
2241
+
2242
+ attr_accessor :LifecyclePolicyName, :PageSize, :PageNumber, :FileSystemId, :LifecyclePolicyID
2243
+
2244
+ def initialize(lifecyclepolicyname=nil, pagesize=nil, pagenumber=nil, filesystemid=nil, lifecyclepolicyid=nil)
2245
+ @LifecyclePolicyName = lifecyclepolicyname
2246
+ @PageSize = pagesize
2247
+ @PageNumber = pagenumber
2248
+ @FileSystemId = filesystemid
2249
+ @LifecyclePolicyID = lifecyclepolicyid
2250
+ end
2251
+
2252
+ def deserialize(params)
2253
+ @LifecyclePolicyName = params['LifecyclePolicyName']
2254
+ @PageSize = params['PageSize']
2255
+ @PageNumber = params['PageNumber']
2256
+ @FileSystemId = params['FileSystemId']
2257
+ @LifecyclePolicyID = params['LifecyclePolicyID']
2258
+ end
2259
+ end
2260
+
2261
+ # DescribeLifecyclePolicies返回参数结构体
2262
+ class DescribeLifecyclePoliciesResponse < TencentCloud::Common::AbstractModel
2263
+ # @param PageNumber: 列表的分页页码
2264
+ # @type PageNumber: Integer
2265
+ # @param PageSize: 每个分页包含的生命周期管理策略个数
2266
+ # @type PageSize: Integer
2267
+ # @param TotalCount: 生命周期管理策略总数
2268
+ # @type TotalCount: Integer
2269
+ # @param LifecyclePolicies: 生命周期管理策略列表
2270
+ # @type LifecyclePolicies: Array
2271
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2272
+ # @type RequestId: String
2273
+
2274
+ attr_accessor :PageNumber, :PageSize, :TotalCount, :LifecyclePolicies, :RequestId
2275
+
2276
+ def initialize(pagenumber=nil, pagesize=nil, totalcount=nil, lifecyclepolicies=nil, requestid=nil)
2277
+ @PageNumber = pagenumber
2278
+ @PageSize = pagesize
2279
+ @TotalCount = totalcount
2280
+ @LifecyclePolicies = lifecyclepolicies
2281
+ @RequestId = requestid
2282
+ end
2283
+
2284
+ def deserialize(params)
2285
+ @PageNumber = params['PageNumber']
2286
+ @PageSize = params['PageSize']
2287
+ @TotalCount = params['TotalCount']
2288
+ unless params['LifecyclePolicies'].nil?
2289
+ @LifecyclePolicies = []
2290
+ params['LifecyclePolicies'].each do |i|
2291
+ lifecyclepolicy_tmp = LifecyclePolicy.new
2292
+ lifecyclepolicy_tmp.deserialize(i)
2293
+ @LifecyclePolicies << lifecyclepolicy_tmp
2294
+ end
2295
+ end
2296
+ @RequestId = params['RequestId']
2297
+ end
2298
+ end
2299
+
1676
2300
  # DescribeMigrationTasks请求参数结构体
1677
2301
  class DescribeMigrationTasksRequest < TencentCloud::Common::AbstractModel
1678
2302
  # @param Offset: 分页的偏移量,默认值为0。
@@ -1905,6 +2529,26 @@ module TencentCloud
1905
2529
  end
1906
2530
  end
1907
2531
 
2532
+ # 购买完额外性能之后的值
2533
+ class ExstraPerformanceInfo < TencentCloud::Common::AbstractModel
2534
+ # @param Type: fixed: 最终值固定
2535
+ # @type Type: String
2536
+ # @param Performance: 额外购买的CFS性能值,单位MB/s。
2537
+ # @type Performance: Integer
2538
+
2539
+ attr_accessor :Type, :Performance
2540
+
2541
+ def initialize(type=nil, performance=nil)
2542
+ @Type = type
2543
+ @Performance = performance
2544
+ end
2545
+
2546
+ def deserialize(params)
2547
+ @Type = params['Type']
2548
+ @Performance = params['Performance']
2549
+ end
2550
+ end
2551
+
1908
2552
  # 绑定快照策略的文件系统信息
1909
2553
  class FileSystemByPolicy < TencentCloud::Common::AbstractModel
1910
2554
  # @param CreationToken: 文件系统名称
@@ -2044,10 +2688,16 @@ module TencentCloud
2044
2688
  # @type AutoScaleUpRule: :class:`Tencentcloud::Cfs.v20190719.models.AutoScaleUpRule`
2045
2689
  # @param Version: 文件系统版本
2046
2690
  # @type Version: String
2691
+ # @param ExstraPerformanceInfo: 额外性能信息
2692
+ # 注意:此字段可能返回 null,表示取不到有效值。
2693
+ # @type ExstraPerformanceInfo: Array
2694
+ # @param MetaType: basic:标准版元数据类型
2695
+ # enhanced:增项版元数据类型
2696
+ # @type MetaType: String
2047
2697
 
2048
- attr_accessor :CreationTime, :CreationToken, :FileSystemId, :LifeCycleState, :SizeByte, :SizeLimit, :ZoneId, :Zone, :Protocol, :StorageType, :StorageResourcePkg, :BandwidthResourcePkg, :PGroup, :FsName, :Encrypted, :KmsKeyId, :AppId, :BandwidthLimit, :AutoSnapshotPolicyId, :SnapStatus, :Capacity, :Tags, :TieringState, :TieringDetail, :AutoScaleUpRule, :Version
2698
+ attr_accessor :CreationTime, :CreationToken, :FileSystemId, :LifeCycleState, :SizeByte, :SizeLimit, :ZoneId, :Zone, :Protocol, :StorageType, :StorageResourcePkg, :BandwidthResourcePkg, :PGroup, :FsName, :Encrypted, :KmsKeyId, :AppId, :BandwidthLimit, :AutoSnapshotPolicyId, :SnapStatus, :Capacity, :Tags, :TieringState, :TieringDetail, :AutoScaleUpRule, :Version, :ExstraPerformanceInfo, :MetaType
2049
2699
 
2050
- def initialize(creationtime=nil, creationtoken=nil, filesystemid=nil, lifecyclestate=nil, sizebyte=nil, sizelimit=nil, zoneid=nil, zone=nil, protocol=nil, storagetype=nil, storageresourcepkg=nil, bandwidthresourcepkg=nil, pgroup=nil, fsname=nil, encrypted=nil, kmskeyid=nil, appid=nil, bandwidthlimit=nil, autosnapshotpolicyid=nil, snapstatus=nil, capacity=nil, tags=nil, tieringstate=nil, tieringdetail=nil, autoscaleuprule=nil, version=nil)
2700
+ def initialize(creationtime=nil, creationtoken=nil, filesystemid=nil, lifecyclestate=nil, sizebyte=nil, sizelimit=nil, zoneid=nil, zone=nil, protocol=nil, storagetype=nil, storageresourcepkg=nil, bandwidthresourcepkg=nil, pgroup=nil, fsname=nil, encrypted=nil, kmskeyid=nil, appid=nil, bandwidthlimit=nil, autosnapshotpolicyid=nil, snapstatus=nil, capacity=nil, tags=nil, tieringstate=nil, tieringdetail=nil, autoscaleuprule=nil, version=nil, exstraperformanceinfo=nil, metatype=nil)
2051
2701
  @CreationTime = creationtime
2052
2702
  @CreationToken = creationtoken
2053
2703
  @FileSystemId = filesystemid
@@ -2074,6 +2724,8 @@ module TencentCloud
2074
2724
  @TieringDetail = tieringdetail
2075
2725
  @AutoScaleUpRule = autoscaleuprule
2076
2726
  @Version = version
2727
+ @ExstraPerformanceInfo = exstraperformanceinfo
2728
+ @MetaType = metatype
2077
2729
  end
2078
2730
 
2079
2731
  def deserialize(params)
@@ -2119,6 +2771,15 @@ module TencentCloud
2119
2771
  @AutoScaleUpRule.deserialize(params['AutoScaleUpRule'])
2120
2772
  end
2121
2773
  @Version = params['Version']
2774
+ unless params['ExstraPerformanceInfo'].nil?
2775
+ @ExstraPerformanceInfo = []
2776
+ params['ExstraPerformanceInfo'].each do |i|
2777
+ exstraperformanceinfo_tmp = ExstraPerformanceInfo.new
2778
+ exstraperformanceinfo_tmp.deserialize(i)
2779
+ @ExstraPerformanceInfo << exstraperformanceinfo_tmp
2780
+ end
2781
+ end
2782
+ @MetaType = params['MetaType']
2122
2783
  end
2123
2784
  end
2124
2785
 
@@ -2142,6 +2803,184 @@ module TencentCloud
2142
2803
  end
2143
2804
  end
2144
2805
 
2806
+ # 生命周期任务
2807
+ class LifecycleDataTaskInfo < TencentCloud::Common::AbstractModel
2808
+ # @param TaskId: 任务id
2809
+ # @type TaskId: String
2810
+ # @param TaskStatus: 任务状态.
2811
+ # init:未执行
2812
+ # running:执行中,finished:已完成
2813
+ # ,failed:失败
2814
+ # ,stopping:停止中,stopped:已停止
2815
+ # @type TaskStatus: String
2816
+ # @param CreationTime: 任务创建时间
2817
+ # @type CreationTime: String
2818
+ # @param FinishTime: 任务结束时间
2819
+ # @type FinishTime: String
2820
+ # @param FileTotalCount: 文件总数
2821
+ # @type FileTotalCount: Integer
2822
+ # @param FileSuccessedCount: 处理成功文件数量
2823
+ # @type FileSuccessedCount: Integer
2824
+ # @param FileFailedCount: 当前已经失败的文件数
2825
+ # @type FileFailedCount: Integer
2826
+ # @param FileTotalSize: 文件容量,单位Byte
2827
+
2828
+ # @type FileTotalSize: Integer
2829
+ # @param FileSuccessedSize: 已处理完成的文件容量,单位Byte
2830
+
2831
+ # @type FileSuccessedSize: Integer
2832
+ # @param FileFailedSize: 已处理失败文件容量,单位Byte
2833
+ # @type FileFailedSize: Integer
2834
+ # @param FileTotalList: 总文件列表
2835
+ # @type FileTotalList: String
2836
+ # @param FileSuccessedList: 成功的文件列表
2837
+ # @type FileSuccessedList: String
2838
+ # @param FileFailedList: 失败文件的列表
2839
+ # @type FileFailedList: String
2840
+ # @param FileSystemId: FileSystemId
2841
+ # @type FileSystemId: String
2842
+ # @param TaskName: 任务名称
2843
+ # @type TaskName: String
2844
+ # @param TaskPath: 任务路径
2845
+ # @type TaskPath: String
2846
+ # @param Type: 任务类型,archive:表示沉降任务,restore:表示拉取任务
2847
+ # @type Type: String
2848
+ # @param DataFlowId: 数据流动Id
2849
+ # @type DataFlowId: String
2850
+
2851
+ attr_accessor :TaskId, :TaskStatus, :CreationTime, :FinishTime, :FileTotalCount, :FileSuccessedCount, :FileFailedCount, :FileTotalSize, :FileSuccessedSize, :FileFailedSize, :FileTotalList, :FileSuccessedList, :FileFailedList, :FileSystemId, :TaskName, :TaskPath, :Type, :DataFlowId
2852
+
2853
+ 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)
2854
+ @TaskId = taskid
2855
+ @TaskStatus = taskstatus
2856
+ @CreationTime = creationtime
2857
+ @FinishTime = finishtime
2858
+ @FileTotalCount = filetotalcount
2859
+ @FileSuccessedCount = filesuccessedcount
2860
+ @FileFailedCount = filefailedcount
2861
+ @FileTotalSize = filetotalsize
2862
+ @FileSuccessedSize = filesuccessedsize
2863
+ @FileFailedSize = filefailedsize
2864
+ @FileTotalList = filetotallist
2865
+ @FileSuccessedList = filesuccessedlist
2866
+ @FileFailedList = filefailedlist
2867
+ @FileSystemId = filesystemid
2868
+ @TaskName = taskname
2869
+ @TaskPath = taskpath
2870
+ @Type = type
2871
+ @DataFlowId = dataflowid
2872
+ end
2873
+
2874
+ def deserialize(params)
2875
+ @TaskId = params['TaskId']
2876
+ @TaskStatus = params['TaskStatus']
2877
+ @CreationTime = params['CreationTime']
2878
+ @FinishTime = params['FinishTime']
2879
+ @FileTotalCount = params['FileTotalCount']
2880
+ @FileSuccessedCount = params['FileSuccessedCount']
2881
+ @FileFailedCount = params['FileFailedCount']
2882
+ @FileTotalSize = params['FileTotalSize']
2883
+ @FileSuccessedSize = params['FileSuccessedSize']
2884
+ @FileFailedSize = params['FileFailedSize']
2885
+ @FileTotalList = params['FileTotalList']
2886
+ @FileSuccessedList = params['FileSuccessedList']
2887
+ @FileFailedList = params['FileFailedList']
2888
+ @FileSystemId = params['FileSystemId']
2889
+ @TaskName = params['TaskName']
2890
+ @TaskPath = params['TaskPath']
2891
+ @Type = params['Type']
2892
+ @DataFlowId = params['DataFlowId']
2893
+ end
2894
+ end
2895
+
2896
+ # 生命周期管理策略信息
2897
+ class LifecyclePolicy < TencentCloud::Common::AbstractModel
2898
+ # @param CreateTime: 生命周期管理策略创建的时间
2899
+ # @type CreateTime: String
2900
+ # @param LifecyclePolicyID: 生命周期管理策略ID
2901
+ # @type LifecyclePolicyID: String
2902
+ # @param LifecyclePolicyName: 生命周期管理策略名称
2903
+ # 注意:此字段可能返回 null,表示取不到有效值。
2904
+ # @type LifecyclePolicyName: String
2905
+ # @param LifecycleRules: 生命周期管理策略关联的管理规则列表
2906
+ # 注意:此字段可能返回 null,表示取不到有效值。
2907
+ # @type LifecycleRules: Array
2908
+ # @param Paths: 生命周期管理策略关联目录的绝对路径列表
2909
+ # 注意:此字段可能返回 null,表示取不到有效值。
2910
+ # @type Paths: Array
2911
+
2912
+ attr_accessor :CreateTime, :LifecyclePolicyID, :LifecyclePolicyName, :LifecycleRules, :Paths
2913
+
2914
+ def initialize(createtime=nil, lifecyclepolicyid=nil, lifecyclepolicyname=nil, lifecyclerules=nil, paths=nil)
2915
+ @CreateTime = createtime
2916
+ @LifecyclePolicyID = lifecyclepolicyid
2917
+ @LifecyclePolicyName = lifecyclepolicyname
2918
+ @LifecycleRules = lifecyclerules
2919
+ @Paths = paths
2920
+ end
2921
+
2922
+ def deserialize(params)
2923
+ @CreateTime = params['CreateTime']
2924
+ @LifecyclePolicyID = params['LifecyclePolicyID']
2925
+ @LifecyclePolicyName = params['LifecyclePolicyName']
2926
+ unless params['LifecycleRules'].nil?
2927
+ @LifecycleRules = []
2928
+ params['LifecycleRules'].each do |i|
2929
+ lifecyclerule_tmp = LifecycleRule.new
2930
+ lifecyclerule_tmp.deserialize(i)
2931
+ @LifecycleRules << lifecyclerule_tmp
2932
+ end
2933
+ end
2934
+ unless params['Paths'].nil?
2935
+ @Paths = []
2936
+ params['Paths'].each do |i|
2937
+ pathinfo_tmp = PathInfo.new
2938
+ pathinfo_tmp.deserialize(i)
2939
+ @Paths << pathinfo_tmp
2940
+ end
2941
+ end
2942
+ end
2943
+ end
2944
+
2945
+ # 生命周期管理策略关联的管理规则
2946
+ class LifecycleRule < TencentCloud::Common::AbstractModel
2947
+ # @param StorageType: 数据转储后的存储类型
2948
+ # @type StorageType: String
2949
+ # @param FileType: 数据转储文件类型
2950
+ # @type FileType: String
2951
+ # @param Action: 数据转储行为
2952
+ # @type Action: String
2953
+ # @param Interval: 数据转储触发时间
2954
+ # 注意:此字段可能返回 null,表示取不到有效值。
2955
+ # @type Interval: String
2956
+ # @param FileMaxSize: 数据转储文件最大规格
2957
+ # 注意:此字段可能返回 null,表示取不到有效值。
2958
+ # @type FileMaxSize: String
2959
+ # @param FileMinSize: 数据转储文件最小规格
2960
+ # 注意:此字段可能返回 null,表示取不到有效值。
2961
+ # @type FileMinSize: String
2962
+
2963
+ attr_accessor :StorageType, :FileType, :Action, :Interval, :FileMaxSize, :FileMinSize
2964
+
2965
+ def initialize(storagetype=nil, filetype=nil, action=nil, interval=nil, filemaxsize=nil, fileminsize=nil)
2966
+ @StorageType = storagetype
2967
+ @FileType = filetype
2968
+ @Action = action
2969
+ @Interval = interval
2970
+ @FileMaxSize = filemaxsize
2971
+ @FileMinSize = fileminsize
2972
+ end
2973
+
2974
+ def deserialize(params)
2975
+ @StorageType = params['StorageType']
2976
+ @FileType = params['FileType']
2977
+ @Action = params['Action']
2978
+ @Interval = params['Interval']
2979
+ @FileMaxSize = params['FileMaxSize']
2980
+ @FileMinSize = params['FileMinSize']
2981
+ end
2982
+ end
2983
+
2145
2984
  # CFS数据迁移任务信息
2146
2985
  class MigrationTaskInfo < TencentCloud::Common::AbstractModel
2147
2986
  # @param TaskName: 迁移任务名称
@@ -2258,6 +3097,58 @@ module TencentCloud
2258
3097
  end
2259
3098
  end
2260
3099
 
3100
+ # ModifyDataFlow请求参数结构体
3101
+ class ModifyDataFlowRequest < TencentCloud::Common::AbstractModel
3102
+ # @param DataFlowId: 数据流动管理 ID ,通过查询数据流动接口获取
3103
+ # @type DataFlowId: String
3104
+ # @param FileSystemId: 文件系统 ID ,通过查询文件系统 [DescribeCfsFileSystems](https://cloud.tencent.com/document/product/582/38170) 获取
3105
+ # @type FileSystemId: String
3106
+ # @param DataFlowName: 数据流动名称;支持不超过64字符长度,支持中文、数字、_、-
3107
+ # @type DataFlowName: String
3108
+ # @param SecretId: 密钥 ID
3109
+ # @type SecretId: String
3110
+ # @param SecretKey: 密钥 key
3111
+ # @type SecretKey: String
3112
+
3113
+ attr_accessor :DataFlowId, :FileSystemId, :DataFlowName, :SecretId, :SecretKey
3114
+
3115
+ def initialize(dataflowid=nil, filesystemid=nil, dataflowname=nil, secretid=nil, secretkey=nil)
3116
+ @DataFlowId = dataflowid
3117
+ @FileSystemId = filesystemid
3118
+ @DataFlowName = dataflowname
3119
+ @SecretId = secretid
3120
+ @SecretKey = secretkey
3121
+ end
3122
+
3123
+ def deserialize(params)
3124
+ @DataFlowId = params['DataFlowId']
3125
+ @FileSystemId = params['FileSystemId']
3126
+ @DataFlowName = params['DataFlowName']
3127
+ @SecretId = params['SecretId']
3128
+ @SecretKey = params['SecretKey']
3129
+ end
3130
+ end
3131
+
3132
+ # ModifyDataFlow返回参数结构体
3133
+ class ModifyDataFlowResponse < TencentCloud::Common::AbstractModel
3134
+ # @param DataFlowId: 数据流动管理 ID
3135
+ # @type DataFlowId: String
3136
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3137
+ # @type RequestId: String
3138
+
3139
+ attr_accessor :DataFlowId, :RequestId
3140
+
3141
+ def initialize(dataflowid=nil, requestid=nil)
3142
+ @DataFlowId = dataflowid
3143
+ @RequestId = requestid
3144
+ end
3145
+
3146
+ def deserialize(params)
3147
+ @DataFlowId = params['DataFlowId']
3148
+ @RequestId = params['RequestId']
3149
+ end
3150
+ end
3151
+
2261
3152
  # ModifyFileSystemAutoScaleUpRule请求参数结构体
2262
3153
  class ModifyFileSystemAutoScaleUpRuleRequest < TencentCloud::Common::AbstractModel
2263
3154
  # @param FileSystemId: 文件系统 ID,通过查询文件系统列表获取;[DescribeCfsFileSystems](https://cloud.tencent.com/document/product/582/38170)
@@ -2318,6 +3209,57 @@ module TencentCloud
2318
3209
  end
2319
3210
  end
2320
3211
 
3212
+ # ModifyLifecyclePolicy请求参数结构体
3213
+ class ModifyLifecyclePolicyRequest < TencentCloud::Common::AbstractModel
3214
+ # @param LifecyclePolicyName: 生命周期管理策略名称,中文/英文/数字/下划线/中划线的组合,不超过64个字符
3215
+ # @type LifecyclePolicyName: String
3216
+ # @param LifecycleRules: 生命周期管理策略关联的管理规则列表
3217
+ # @type LifecycleRules: Array
3218
+ # @param LifecyclePolicyID: 生命周期管理策略ID
3219
+ # @type LifecyclePolicyID: String
3220
+
3221
+ attr_accessor :LifecyclePolicyName, :LifecycleRules, :LifecyclePolicyID
3222
+
3223
+ def initialize(lifecyclepolicyname=nil, lifecyclerules=nil, lifecyclepolicyid=nil)
3224
+ @LifecyclePolicyName = lifecyclepolicyname
3225
+ @LifecycleRules = lifecyclerules
3226
+ @LifecyclePolicyID = lifecyclepolicyid
3227
+ end
3228
+
3229
+ def deserialize(params)
3230
+ @LifecyclePolicyName = params['LifecyclePolicyName']
3231
+ unless params['LifecycleRules'].nil?
3232
+ @LifecycleRules = []
3233
+ params['LifecycleRules'].each do |i|
3234
+ lifecyclerule_tmp = LifecycleRule.new
3235
+ lifecyclerule_tmp.deserialize(i)
3236
+ @LifecycleRules << lifecyclerule_tmp
3237
+ end
3238
+ end
3239
+ @LifecyclePolicyID = params['LifecyclePolicyID']
3240
+ end
3241
+ end
3242
+
3243
+ # ModifyLifecyclePolicy返回参数结构体
3244
+ class ModifyLifecyclePolicyResponse < TencentCloud::Common::AbstractModel
3245
+ # @param LifecyclePolicyID: 生命周期管理策略ID
3246
+ # @type LifecyclePolicyID: String
3247
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3248
+ # @type RequestId: String
3249
+
3250
+ attr_accessor :LifecyclePolicyID, :RequestId
3251
+
3252
+ def initialize(lifecyclepolicyid=nil, requestid=nil)
3253
+ @LifecyclePolicyID = lifecyclepolicyid
3254
+ @RequestId = requestid
3255
+ end
3256
+
3257
+ def deserialize(params)
3258
+ @LifecyclePolicyID = params['LifecyclePolicyID']
3259
+ @RequestId = params['RequestId']
3260
+ end
3261
+ end
3262
+
2321
3263
  # 挂载点信息
2322
3264
  class MountInfo < TencentCloud::Common::AbstractModel
2323
3265
  # @param FileSystemId: 文件系统 ID
@@ -2467,6 +3409,26 @@ module TencentCloud
2467
3409
  end
2468
3410
  end
2469
3411
 
3412
+ # 生命周期管理策略关联目录的绝对路径
3413
+ class PathInfo < TencentCloud::Common::AbstractModel
3414
+ # @param FileSystemId: 文件系统ID
3415
+ # @type FileSystemId: String
3416
+ # @param Path: 目录绝对路径
3417
+ # @type Path: String
3418
+
3419
+ attr_accessor :FileSystemId, :Path
3420
+
3421
+ def initialize(filesystemid=nil, path=nil)
3422
+ @FileSystemId = filesystemid
3423
+ @Path = path
3424
+ end
3425
+
3426
+ def deserialize(params)
3427
+ @FileSystemId = params['FileSystemId']
3428
+ @Path = params['Path']
3429
+ end
3430
+ end
3431
+
2470
3432
  # ScaleUpFileSystem请求参数结构体
2471
3433
  class ScaleUpFileSystemRequest < TencentCloud::Common::AbstractModel
2472
3434
  # @param FileSystemId: 文件系统Id,该参数通过查询文件系统列表接口获取
@@ -2743,6 +3705,38 @@ module TencentCloud
2743
3705
  end
2744
3706
  end
2745
3707
 
3708
+ # StopLifecycleDataTask请求参数结构体
3709
+ class StopLifecycleDataTaskRequest < TencentCloud::Common::AbstractModel
3710
+ # @param TaskId: 任务ID
3711
+ # @type TaskId: String
3712
+
3713
+ attr_accessor :TaskId
3714
+
3715
+ def initialize(taskid=nil)
3716
+ @TaskId = taskid
3717
+ end
3718
+
3719
+ def deserialize(params)
3720
+ @TaskId = params['TaskId']
3721
+ end
3722
+ end
3723
+
3724
+ # StopLifecycleDataTask返回参数结构体
3725
+ class StopLifecycleDataTaskResponse < TencentCloud::Common::AbstractModel
3726
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3727
+ # @type RequestId: String
3728
+
3729
+ attr_accessor :RequestId
3730
+
3731
+ def initialize(requestid=nil)
3732
+ @RequestId = requestid
3733
+ end
3734
+
3735
+ def deserialize(params)
3736
+ @RequestId = params['RequestId']
3737
+ end
3738
+ end
3739
+
2746
3740
  # StopMigrationTask请求参数结构体
2747
3741
  class StopMigrationTaskRequest < TencentCloud::Common::AbstractModel
2748
3742
  # @param TaskId: 迁移任务Id