tencentcloud-sdk-cfs 3.0.1197 → 3.0.1207
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 +1 -1
- data/lib/v20190719/models.rb +51 -12
- 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: 7f293e0c4410c9e2d70651c8e80f93285c1f5753
|
|
4
|
+
data.tar.gz: 47cfbba94749fcd10da4e3c93adf9874d6b9b654
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 28fe4e46ceef37a3075a58cfe6d4ffdcffb9fe1690ceb3d14122a3b35582083b74608372c83d1a36fe72c9b15e4d7c5b01e003afd4742c61591ac347a79b5738
|
|
7
|
+
data.tar.gz: ababd765bb60d1fc9727629dcfed0412e12ecc1bea599204b9c28df01fc89ddcce28567e3d0f01f6392d7bb950849b2ee824601fcf464d27d895842a6383a5d5
|
data/lib/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.0.
|
|
1
|
+
3.0.1207
|
data/lib/v20190719/client.rb
CHANGED
|
@@ -966,7 +966,7 @@ module TencentCloud
|
|
|
966
966
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
967
967
|
end
|
|
968
968
|
|
|
969
|
-
#
|
|
969
|
+
# 文件系统目录操作接口。当前仅 Turbo 系列文件系统支持调用此接口进行目录操作,通用系列文件系统(含增强型)不支持调用。
|
|
970
970
|
|
|
971
971
|
# @param request: Request instance for DoDirectoryOperation.
|
|
972
972
|
# @type request: :class:`Tencentcloud::cfs::V20190719::DoDirectoryOperationRequest`
|
data/lib/v20190719/models.rb
CHANGED
|
@@ -955,15 +955,18 @@ module TencentCloud
|
|
|
955
955
|
# @type TaskName: String
|
|
956
956
|
# @param DataFlowId: 数据流动 ID ,该接口可以通过 DescribeDataFlow 查询
|
|
957
957
|
# @type DataFlowId: String
|
|
958
|
+
# @param IsOverwrite: 当CFSTurbo内的文件和外置存储存在同名情况时,是否覆盖。 ture:覆盖 false:不覆盖(同时也不会释放热存数据) 为空时,默认为false
|
|
959
|
+
# @type IsOverwrite: Boolean
|
|
958
960
|
|
|
959
|
-
attr_accessor :FileSystemId, :Type, :TaskPath, :TaskName, :DataFlowId
|
|
961
|
+
attr_accessor :FileSystemId, :Type, :TaskPath, :TaskName, :DataFlowId, :IsOverwrite
|
|
960
962
|
|
|
961
|
-
def initialize(filesystemid=nil, type=nil, taskpath=nil, taskname=nil, dataflowid=nil)
|
|
963
|
+
def initialize(filesystemid=nil, type=nil, taskpath=nil, taskname=nil, dataflowid=nil, isoverwrite=nil)
|
|
962
964
|
@FileSystemId = filesystemid
|
|
963
965
|
@Type = type
|
|
964
966
|
@TaskPath = taskpath
|
|
965
967
|
@TaskName = taskname
|
|
966
968
|
@DataFlowId = dataflowid
|
|
969
|
+
@IsOverwrite = isoverwrite
|
|
967
970
|
end
|
|
968
971
|
|
|
969
972
|
def deserialize(params)
|
|
@@ -972,6 +975,7 @@ module TencentCloud
|
|
|
972
975
|
@TaskPath = params['TaskPath']
|
|
973
976
|
@TaskName = params['TaskName']
|
|
974
977
|
@DataFlowId = params['DataFlowId']
|
|
978
|
+
@IsOverwrite = params['IsOverwrite']
|
|
975
979
|
end
|
|
976
980
|
end
|
|
977
981
|
|
|
@@ -2568,7 +2572,7 @@ module TencentCloud
|
|
|
2568
2572
|
|
|
2569
2573
|
# DoDirectoryOperation请求参数结构体
|
|
2570
2574
|
class DoDirectoryOperationRequest < TencentCloud::Common::AbstractModel
|
|
2571
|
-
# @param FileSystemId: 文件系统
|
|
2575
|
+
# @param FileSystemId: 文件系统 ID。当前仅 Turbo 系列文件系统支持调用此接口,通用系列文件系统(含增强型)不支持调用。
|
|
2572
2576
|
# @type FileSystemId: String
|
|
2573
2577
|
# @param OpetationType: create:创建目录,等同于mkdir。
|
|
2574
2578
|
# check:确认目录是否存在,等同于stat。
|
|
@@ -2576,9 +2580,9 @@ module TencentCloud
|
|
|
2576
2580
|
# @type OpetationType: String
|
|
2577
2581
|
# @param DirectoryPath: 目录的绝对路径 默认递归创建(即如果目录中有子目录不存在,则先创建出对应子目录)
|
|
2578
2582
|
# @type DirectoryPath: String
|
|
2579
|
-
# @param Mode: 创建目录的权限,若不传,默认为0755
|
|
2583
|
+
# @param Mode: 创建目录的权限,若不传,默认为0755。若OperationType为 check,此值无实际意义。
|
|
2580
2584
|
# @type Mode: String
|
|
2581
|
-
# @param DestPath: mv
|
|
2585
|
+
# @param DestPath: mv 操作的目标目录名称。路径必须以/cfs/开头
|
|
2582
2586
|
# @type DestPath: String
|
|
2583
2587
|
|
|
2584
2588
|
attr_accessor :FileSystemId, :OpetationType, :DirectoryPath, :Mode, :DestPath
|
|
@@ -2602,7 +2606,7 @@ module TencentCloud
|
|
|
2602
2606
|
|
|
2603
2607
|
# DoDirectoryOperation返回参数结构体
|
|
2604
2608
|
class DoDirectoryOperationResponse < TencentCloud::Common::AbstractModel
|
|
2605
|
-
# @param Result: 1:成功
|
|
2609
|
+
# @param Result: 1:成功 0:失败。创建目录的操作,1表示创建成功,0表示创建失败。 确认目录是否存在的操作,1表示目录存在,0表示目录不存在。此外,创建目录操作若目录已存在,也会返回创建成功。
|
|
2606
2610
|
# @type Result: Integer
|
|
2607
2611
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2608
2612
|
# @type RequestId: String
|
|
@@ -2938,10 +2942,17 @@ module TencentCloud
|
|
|
2938
2942
|
# @type Type: String
|
|
2939
2943
|
# @param DataFlowId: 数据流动Id
|
|
2940
2944
|
# @type DataFlowId: String
|
|
2945
|
+
# @param IsOverwrite: 当CFSTurbo内的文件和外置存储存在同名情况时,是否覆盖。
|
|
2946
|
+
|
|
2947
|
+
# ture:覆盖
|
|
2941
2948
|
|
|
2942
|
-
|
|
2949
|
+
# false:不覆盖(同时也不会释放热存数据)
|
|
2950
|
+
# 为空时,默认为false
|
|
2951
|
+
# @type IsOverwrite: Boolean
|
|
2943
2952
|
|
|
2944
|
-
|
|
2953
|
+
attr_accessor :TaskId, :TaskStatus, :CreationTime, :FinishTime, :FileTotalCount, :FileSuccessedCount, :FileFailedCount, :FileTotalSize, :FileSuccessedSize, :FileFailedSize, :FileTotalList, :FileSuccessedList, :FileFailedList, :FileSystemId, :TaskName, :TaskPath, :Type, :DataFlowId, :IsOverwrite
|
|
2954
|
+
|
|
2955
|
+
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, isoverwrite=nil)
|
|
2945
2956
|
@TaskId = taskid
|
|
2946
2957
|
@TaskStatus = taskstatus
|
|
2947
2958
|
@CreationTime = creationtime
|
|
@@ -2960,6 +2971,7 @@ module TencentCloud
|
|
|
2960
2971
|
@TaskPath = taskpath
|
|
2961
2972
|
@Type = type
|
|
2962
2973
|
@DataFlowId = dataflowid
|
|
2974
|
+
@IsOverwrite = isoverwrite
|
|
2963
2975
|
end
|
|
2964
2976
|
|
|
2965
2977
|
def deserialize(params)
|
|
@@ -2981,6 +2993,7 @@ module TencentCloud
|
|
|
2981
2993
|
@TaskPath = params['TaskPath']
|
|
2982
2994
|
@Type = params['Type']
|
|
2983
2995
|
@DataFlowId = params['DataFlowId']
|
|
2996
|
+
@IsOverwrite = params['IsOverwrite']
|
|
2984
2997
|
end
|
|
2985
2998
|
end
|
|
2986
2999
|
|
|
@@ -3050,16 +3063,34 @@ module TencentCloud
|
|
|
3050
3063
|
# @param FileMinSize: 数据转储文件最小规格。其数值需使用“数字+单位”格式进行表示,单位支持K(KiB)、M(MiB)、G(GiB)。
|
|
3051
3064
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
3052
3065
|
# @type FileMinSize: String
|
|
3066
|
+
# @param PolicyType: 策略类型
|
|
3067
|
+
# @type PolicyType: String
|
|
3068
|
+
# @param ExpireThreshold: 阈值范围[10-90]
|
|
3069
|
+
# @type ExpireThreshold: Integer
|
|
3070
|
+
# @param TargetThreshold: 阈值范围[10-90]
|
|
3071
|
+
# @type TargetThreshold: Integer
|
|
3072
|
+
# @param IsOverwrite: 当CFSTurbo内的文件和外置存储存在同名情况时,是否覆盖。
|
|
3073
|
+
|
|
3074
|
+
# ture:覆盖
|
|
3075
|
+
|
|
3076
|
+
# false:不覆盖(同时也不会释放热存数据)
|
|
3077
|
+
|
|
3078
|
+
# 为空时,默认为false
|
|
3079
|
+
# @type IsOverwrite: Boolean
|
|
3053
3080
|
|
|
3054
|
-
attr_accessor :StorageType, :FileType, :Action, :Interval, :FileMaxSize, :FileMinSize
|
|
3081
|
+
attr_accessor :StorageType, :FileType, :Action, :Interval, :FileMaxSize, :FileMinSize, :PolicyType, :ExpireThreshold, :TargetThreshold, :IsOverwrite
|
|
3055
3082
|
|
|
3056
|
-
def initialize(storagetype=nil, filetype=nil, action=nil, interval=nil, filemaxsize=nil, fileminsize=nil)
|
|
3083
|
+
def initialize(storagetype=nil, filetype=nil, action=nil, interval=nil, filemaxsize=nil, fileminsize=nil, policytype=nil, expirethreshold=nil, targetthreshold=nil, isoverwrite=nil)
|
|
3057
3084
|
@StorageType = storagetype
|
|
3058
3085
|
@FileType = filetype
|
|
3059
3086
|
@Action = action
|
|
3060
3087
|
@Interval = interval
|
|
3061
3088
|
@FileMaxSize = filemaxsize
|
|
3062
3089
|
@FileMinSize = fileminsize
|
|
3090
|
+
@PolicyType = policytype
|
|
3091
|
+
@ExpireThreshold = expirethreshold
|
|
3092
|
+
@TargetThreshold = targetthreshold
|
|
3093
|
+
@IsOverwrite = isoverwrite
|
|
3063
3094
|
end
|
|
3064
3095
|
|
|
3065
3096
|
def deserialize(params)
|
|
@@ -3069,6 +3100,10 @@ module TencentCloud
|
|
|
3069
3100
|
@Interval = params['Interval']
|
|
3070
3101
|
@FileMaxSize = params['FileMaxSize']
|
|
3071
3102
|
@FileMinSize = params['FileMinSize']
|
|
3103
|
+
@PolicyType = params['PolicyType']
|
|
3104
|
+
@ExpireThreshold = params['ExpireThreshold']
|
|
3105
|
+
@TargetThreshold = params['TargetThreshold']
|
|
3106
|
+
@IsOverwrite = params['IsOverwrite']
|
|
3072
3107
|
end
|
|
3073
3108
|
end
|
|
3074
3109
|
|
|
@@ -3526,17 +3561,21 @@ module TencentCloud
|
|
|
3526
3561
|
# @type FileSystemId: String
|
|
3527
3562
|
# @param Path: 目录绝对路径
|
|
3528
3563
|
# @type Path: String
|
|
3564
|
+
# @param DataFlowId: 数据流动Id
|
|
3565
|
+
# @type DataFlowId: String
|
|
3529
3566
|
|
|
3530
|
-
attr_accessor :FileSystemId, :Path
|
|
3567
|
+
attr_accessor :FileSystemId, :Path, :DataFlowId
|
|
3531
3568
|
|
|
3532
|
-
def initialize(filesystemid=nil, path=nil)
|
|
3569
|
+
def initialize(filesystemid=nil, path=nil, dataflowid=nil)
|
|
3533
3570
|
@FileSystemId = filesystemid
|
|
3534
3571
|
@Path = path
|
|
3572
|
+
@DataFlowId = dataflowid
|
|
3535
3573
|
end
|
|
3536
3574
|
|
|
3537
3575
|
def deserialize(params)
|
|
3538
3576
|
@FileSystemId = params['FileSystemId']
|
|
3539
3577
|
@Path = params['Path']
|
|
3578
|
+
@DataFlowId = params['DataFlowId']
|
|
3540
3579
|
end
|
|
3541
3580
|
end
|
|
3542
3581
|
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: tencentcloud-sdk-cfs
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.0.
|
|
4
|
+
version: 3.0.1207
|
|
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-25 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: tencentcloud-sdk-common
|