tencentcloud-sdk-cfs 3.0.1127 → 3.0.1162
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 -26
- data/lib/v20190719/models.rb +57 -49
- 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: 920da36111086c884dd58c616daa7a10bcd7a7f7
|
|
4
|
+
data.tar.gz: c57cc6ca6fe9c2b567da095edb507aa03770123c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1018d32625a965dd4016b7a169778e39bd6f66452f27d311828bacdb46adbff559888f4ad806b3935a16db26d167fbdb1f9558c8604c4b7f285c8e0bc2c0f91f
|
|
7
|
+
data.tar.gz: 8900745c6823998cedf8650630c88ab9b7b57115ddd792741a124d4e9a9241022d41d2389f2f4ff4312a074cd130c9ae745a6044e3f8725bb86a280d48423bdc
|
data/lib/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.0.
|
|
1
|
+
3.0.1162
|
data/lib/v20190719/client.rb
CHANGED
|
@@ -533,31 +533,6 @@ module TencentCloud
|
|
|
533
533
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
534
534
|
end
|
|
535
535
|
|
|
536
|
-
# 本接口(DeleteMountTarget)用于删除挂载点
|
|
537
|
-
# 说明:2022年6月1日之后创建的CFS文件系统删除时无需单独调用删除挂载点操作,此API仅适用老版本的CFS实例。
|
|
538
|
-
|
|
539
|
-
# @param request: Request instance for DeleteMountTarget.
|
|
540
|
-
# @type request: :class:`Tencentcloud::cfs::V20190719::DeleteMountTargetRequest`
|
|
541
|
-
# @rtype: :class:`Tencentcloud::cfs::V20190719::DeleteMountTargetResponse`
|
|
542
|
-
def DeleteMountTarget(request)
|
|
543
|
-
body = send_request('DeleteMountTarget', request.serialize)
|
|
544
|
-
response = JSON.parse(body)
|
|
545
|
-
if response['Response'].key?('Error') == false
|
|
546
|
-
model = DeleteMountTargetResponse.new
|
|
547
|
-
model.deserialize(response['Response'])
|
|
548
|
-
model
|
|
549
|
-
else
|
|
550
|
-
code = response['Response']['Error']['Code']
|
|
551
|
-
message = response['Response']['Error']['Message']
|
|
552
|
-
reqid = response['Response']['RequestId']
|
|
553
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
554
|
-
end
|
|
555
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
556
|
-
raise e
|
|
557
|
-
rescue StandardError => e
|
|
558
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
559
|
-
end
|
|
560
|
-
|
|
561
536
|
# 指定条件删除文件系统配额(仅部分Turbo实例能使用,若需要调用请提交工单与我们联系)
|
|
562
537
|
|
|
563
538
|
# @param request: Request instance for DeleteUserQuota.
|
|
@@ -846,7 +821,7 @@ module TencentCloud
|
|
|
846
821
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
847
822
|
end
|
|
848
823
|
|
|
849
|
-
#
|
|
824
|
+
# 查询生命周期任务的接口。仅支持查询最近三个月内的任务数据。
|
|
850
825
|
|
|
851
826
|
# @param request: Request instance for DescribeLifecycleDataTask.
|
|
852
827
|
# @type request: :class:`Tencentcloud::cfs::V20190719::DescribeLifecycleDataTaskRequest`
|
data/lib/v20190719/models.rb
CHANGED
|
@@ -855,10 +855,20 @@ module TencentCloud
|
|
|
855
855
|
# @type SecretKey: String
|
|
856
856
|
# @param DataFlowName: 数据流动名称;支持不超过64字符长度,支持中文、数字、_、-
|
|
857
857
|
# @type DataFlowName: String
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
858
|
+
# @param AutoRefresh: 0:不开启自动更新 1:开启自动更新
|
|
859
|
+
# @type AutoRefresh: Integer
|
|
860
|
+
# @param UserKafkaTopic: KafkaConsumer 消费时使用的Topic参数
|
|
861
|
+
# @type UserKafkaTopic: String
|
|
862
|
+
# @param ServerAddr: 服务地址 示例值:kafkaconsumer-ap-beijing.cls.tencentyun.com:9095
|
|
863
|
+
# @type ServerAddr: String
|
|
864
|
+
# @param UserName: Kafka消费用户名.示例值:name
|
|
865
|
+
# @type UserName: String
|
|
866
|
+
# @param Password: Kafka消费用户密码。默认${SecretId}#${SecretKey}。
|
|
867
|
+
# @type Password: String
|
|
868
|
+
|
|
869
|
+
attr_accessor :FileSystemId, :SourceStorageType, :SourceStorageAddress, :SourcePath, :TargetPath, :SecretId, :SecretKey, :DataFlowName, :AutoRefresh, :UserKafkaTopic, :ServerAddr, :UserName, :Password
|
|
870
|
+
|
|
871
|
+
def initialize(filesystemid=nil, sourcestoragetype=nil, sourcestorageaddress=nil, sourcepath=nil, targetpath=nil, secretid=nil, secretkey=nil, dataflowname=nil, autorefresh=nil, userkafkatopic=nil, serveraddr=nil, username=nil, password=nil)
|
|
862
872
|
@FileSystemId = filesystemid
|
|
863
873
|
@SourceStorageType = sourcestoragetype
|
|
864
874
|
@SourceStorageAddress = sourcestorageaddress
|
|
@@ -867,6 +877,11 @@ module TencentCloud
|
|
|
867
877
|
@SecretId = secretid
|
|
868
878
|
@SecretKey = secretkey
|
|
869
879
|
@DataFlowName = dataflowname
|
|
880
|
+
@AutoRefresh = autorefresh
|
|
881
|
+
@UserKafkaTopic = userkafkatopic
|
|
882
|
+
@ServerAddr = serveraddr
|
|
883
|
+
@UserName = username
|
|
884
|
+
@Password = password
|
|
870
885
|
end
|
|
871
886
|
|
|
872
887
|
def deserialize(params)
|
|
@@ -878,6 +893,11 @@ module TencentCloud
|
|
|
878
893
|
@SecretId = params['SecretId']
|
|
879
894
|
@SecretKey = params['SecretKey']
|
|
880
895
|
@DataFlowName = params['DataFlowName']
|
|
896
|
+
@AutoRefresh = params['AutoRefresh']
|
|
897
|
+
@UserKafkaTopic = params['UserKafkaTopic']
|
|
898
|
+
@ServerAddr = params['ServerAddr']
|
|
899
|
+
@UserName = params['UserName']
|
|
900
|
+
@Password = params['Password']
|
|
881
901
|
end
|
|
882
902
|
end
|
|
883
903
|
|
|
@@ -1480,42 +1500,6 @@ module TencentCloud
|
|
|
1480
1500
|
end
|
|
1481
1501
|
end
|
|
1482
1502
|
|
|
1483
|
-
# DeleteMountTarget请求参数结构体
|
|
1484
|
-
class DeleteMountTargetRequest < TencentCloud::Common::AbstractModel
|
|
1485
|
-
# @param FileSystemId: 文件系统 ID
|
|
1486
|
-
# @type FileSystemId: String
|
|
1487
|
-
# @param MountTargetId: 挂载点 ID
|
|
1488
|
-
# @type MountTargetId: String
|
|
1489
|
-
|
|
1490
|
-
attr_accessor :FileSystemId, :MountTargetId
|
|
1491
|
-
|
|
1492
|
-
def initialize(filesystemid=nil, mounttargetid=nil)
|
|
1493
|
-
@FileSystemId = filesystemid
|
|
1494
|
-
@MountTargetId = mounttargetid
|
|
1495
|
-
end
|
|
1496
|
-
|
|
1497
|
-
def deserialize(params)
|
|
1498
|
-
@FileSystemId = params['FileSystemId']
|
|
1499
|
-
@MountTargetId = params['MountTargetId']
|
|
1500
|
-
end
|
|
1501
|
-
end
|
|
1502
|
-
|
|
1503
|
-
# DeleteMountTarget返回参数结构体
|
|
1504
|
-
class DeleteMountTargetResponse < TencentCloud::Common::AbstractModel
|
|
1505
|
-
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1506
|
-
# @type RequestId: String
|
|
1507
|
-
|
|
1508
|
-
attr_accessor :RequestId
|
|
1509
|
-
|
|
1510
|
-
def initialize(requestid=nil)
|
|
1511
|
-
@RequestId = requestid
|
|
1512
|
-
end
|
|
1513
|
-
|
|
1514
|
-
def deserialize(params)
|
|
1515
|
-
@RequestId = params['RequestId']
|
|
1516
|
-
end
|
|
1517
|
-
end
|
|
1518
|
-
|
|
1519
1503
|
# DeleteUserQuota请求参数结构体
|
|
1520
1504
|
class DeleteUserQuotaRequest < TencentCloud::Common::AbstractModel
|
|
1521
1505
|
# @param FileSystemId: 文件系统ID,通过查询文件系统列表获取;[DescribeCfsFileSystems](https://cloud.tencent.com/document/product/582/38170)
|
|
@@ -2153,11 +2137,11 @@ module TencentCloud
|
|
|
2153
2137
|
|
|
2154
2138
|
# DescribeLifecycleDataTask请求参数结构体
|
|
2155
2139
|
class DescribeLifecycleDataTaskRequest < TencentCloud::Common::AbstractModel
|
|
2156
|
-
# @param StartTime:
|
|
2140
|
+
# @param StartTime: 开始时间。须早于 EndTime ,仅支持查询最近3个月内的任务数据。
|
|
2157
2141
|
# @type StartTime: String
|
|
2158
|
-
# @param EndTime:
|
|
2142
|
+
# @param EndTime: 结束时间。须晚于 StartTime ,仅支持查询最近3个月内的任务数据。
|
|
2159
2143
|
# @type EndTime: String
|
|
2160
|
-
# @param TaskId:
|
|
2144
|
+
# @param TaskId: 任务ID
|
|
2161
2145
|
# @type TaskId: String
|
|
2162
2146
|
# @param Offset: Offset 分页码
|
|
2163
2147
|
# @type Offset: Integer
|
|
@@ -2165,16 +2149,19 @@ module TencentCloud
|
|
|
2165
2149
|
# @type Limit: Integer
|
|
2166
2150
|
# @param Filters: 过滤条件,TaskName,FileSystemId,Type
|
|
2167
2151
|
# @type Filters: Array
|
|
2152
|
+
# @param CfsVersion: 文件系统版本;v3.1: pcfs/hifs v4.0:Turbo
|
|
2153
|
+
# @type CfsVersion: String
|
|
2168
2154
|
|
|
2169
|
-
attr_accessor :StartTime, :EndTime, :TaskId, :Offset, :Limit, :Filters
|
|
2155
|
+
attr_accessor :StartTime, :EndTime, :TaskId, :Offset, :Limit, :Filters, :CfsVersion
|
|
2170
2156
|
|
|
2171
|
-
def initialize(starttime=nil, endtime=nil, taskid=nil, offset=nil, limit=nil, filters=nil)
|
|
2157
|
+
def initialize(starttime=nil, endtime=nil, taskid=nil, offset=nil, limit=nil, filters=nil, cfsversion=nil)
|
|
2172
2158
|
@StartTime = starttime
|
|
2173
2159
|
@EndTime = endtime
|
|
2174
2160
|
@TaskId = taskid
|
|
2175
2161
|
@Offset = offset
|
|
2176
2162
|
@Limit = limit
|
|
2177
2163
|
@Filters = filters
|
|
2164
|
+
@CfsVersion = cfsversion
|
|
2178
2165
|
end
|
|
2179
2166
|
|
|
2180
2167
|
def deserialize(params)
|
|
@@ -2191,6 +2178,7 @@ module TencentCloud
|
|
|
2191
2178
|
@Filters << filter_tmp
|
|
2192
2179
|
end
|
|
2193
2180
|
end
|
|
2181
|
+
@CfsVersion = params['CfsVersion']
|
|
2194
2182
|
end
|
|
2195
2183
|
end
|
|
2196
2184
|
|
|
@@ -3162,15 +3150,30 @@ module TencentCloud
|
|
|
3162
3150
|
# @type SecretId: String
|
|
3163
3151
|
# @param SecretKey: 密钥 key
|
|
3164
3152
|
# @type SecretKey: String
|
|
3165
|
-
|
|
3166
|
-
|
|
3167
|
-
|
|
3168
|
-
|
|
3153
|
+
# @param UserKafkaTopic: KafkaConsumer 消费时使用的Topic参数
|
|
3154
|
+
# @type UserKafkaTopic: String
|
|
3155
|
+
# @param ServerAddr: 服务地址
|
|
3156
|
+
# @type ServerAddr: String
|
|
3157
|
+
# @param UserName: name
|
|
3158
|
+
# @type UserName: String
|
|
3159
|
+
# @param Password: Kafka消费用户密码
|
|
3160
|
+
# @type Password: String
|
|
3161
|
+
# @param AutoRefresh: 元数据增量更新开关;1开启,0关闭
|
|
3162
|
+
# @type AutoRefresh: Integer
|
|
3163
|
+
|
|
3164
|
+
attr_accessor :DataFlowId, :FileSystemId, :DataFlowName, :SecretId, :SecretKey, :UserKafkaTopic, :ServerAddr, :UserName, :Password, :AutoRefresh
|
|
3165
|
+
|
|
3166
|
+
def initialize(dataflowid=nil, filesystemid=nil, dataflowname=nil, secretid=nil, secretkey=nil, userkafkatopic=nil, serveraddr=nil, username=nil, password=nil, autorefresh=nil)
|
|
3169
3167
|
@DataFlowId = dataflowid
|
|
3170
3168
|
@FileSystemId = filesystemid
|
|
3171
3169
|
@DataFlowName = dataflowname
|
|
3172
3170
|
@SecretId = secretid
|
|
3173
3171
|
@SecretKey = secretkey
|
|
3172
|
+
@UserKafkaTopic = userkafkatopic
|
|
3173
|
+
@ServerAddr = serveraddr
|
|
3174
|
+
@UserName = username
|
|
3175
|
+
@Password = password
|
|
3176
|
+
@AutoRefresh = autorefresh
|
|
3174
3177
|
end
|
|
3175
3178
|
|
|
3176
3179
|
def deserialize(params)
|
|
@@ -3179,6 +3182,11 @@ module TencentCloud
|
|
|
3179
3182
|
@DataFlowName = params['DataFlowName']
|
|
3180
3183
|
@SecretId = params['SecretId']
|
|
3181
3184
|
@SecretKey = params['SecretKey']
|
|
3185
|
+
@UserKafkaTopic = params['UserKafkaTopic']
|
|
3186
|
+
@ServerAddr = params['ServerAddr']
|
|
3187
|
+
@UserName = params['UserName']
|
|
3188
|
+
@Password = params['Password']
|
|
3189
|
+
@AutoRefresh = params['AutoRefresh']
|
|
3182
3190
|
end
|
|
3183
3191
|
end
|
|
3184
3192
|
|
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.1162
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Tencent Cloud
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2025-
|
|
11
|
+
date: 2025-11-05 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: tencentcloud-sdk-common
|