tencentcloud-sdk-cfs 3.0.1114 → 3.0.1120
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 +24 -0
- data/lib/v20190719/models.rb +56 -9
- 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: f4606f3684098c47fb02f5f3229a8723216303cc
|
4
|
+
data.tar.gz: c353f08d7db77ccc069ae45dae77114836dffb7e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4d38442c7141849a9499bc8fc7a2270e55478a85a0a2a6d5d94490b2ca88fdbafffbcb3b5e7db21c1e5fe5da01114e39ac9b9b0254cd57866955697545a74db9
|
7
|
+
data.tar.gz: 9990983d652029be63dc3eef815a4b14300a748584e91e0d2dbe5c9cca729b1f55d36c0279ebbdf7c01385c03e3136d1a375a0180dd921c644c259398c8afdc5
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1120
|
data/lib/v20190719/client.rb
CHANGED
@@ -991,6 +991,30 @@ module TencentCloud
|
|
991
991
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
992
992
|
end
|
993
993
|
|
994
|
+
# 文件系统目录操作接口
|
995
|
+
|
996
|
+
# @param request: Request instance for DoDirectoryOperation.
|
997
|
+
# @type request: :class:`Tencentcloud::cfs::V20190719::DoDirectoryOperationRequest`
|
998
|
+
# @rtype: :class:`Tencentcloud::cfs::V20190719::DoDirectoryOperationResponse`
|
999
|
+
def DoDirectoryOperation(request)
|
1000
|
+
body = send_request('DoDirectoryOperation', request.serialize)
|
1001
|
+
response = JSON.parse(body)
|
1002
|
+
if response['Response'].key?('Error') == false
|
1003
|
+
model = DoDirectoryOperationResponse.new
|
1004
|
+
model.deserialize(response['Response'])
|
1005
|
+
model
|
1006
|
+
else
|
1007
|
+
code = response['Response']['Error']['Code']
|
1008
|
+
message = response['Response']['Error']['Message']
|
1009
|
+
reqid = response['Response']['RequestId']
|
1010
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1011
|
+
end
|
1012
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1013
|
+
raise e
|
1014
|
+
rescue StandardError => e
|
1015
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1016
|
+
end
|
1017
|
+
|
994
1018
|
# 修改数据流动相关参数
|
995
1019
|
|
996
1020
|
# @param request: Request instance for ModifyDataFlow.
|
data/lib/v20190719/models.rb
CHANGED
@@ -2001,9 +2001,9 @@ module TencentCloud
|
|
2001
2001
|
|
2002
2002
|
# DescribeCfsSnapshots请求参数结构体
|
2003
2003
|
class DescribeCfsSnapshotsRequest < TencentCloud::Common::AbstractModel
|
2004
|
-
# @param FileSystemId: 文件系统ID
|
2004
|
+
# @param FileSystemId: 文件系统 ID,通过查询文件系统 [DescribeCfsFileSystems](https://cloud.tencent.com/document/product/582/38170) 获取
|
2005
2005
|
# @type FileSystemId: String
|
2006
|
-
# @param SnapshotId: 快照ID
|
2006
|
+
# @param SnapshotId: 快照 ID
|
2007
2007
|
# @type SnapshotId: String
|
2008
2008
|
# @param Offset: 分页起始位置,默认为0
|
2009
2009
|
# @type Offset: Integer
|
@@ -2014,14 +2014,13 @@ module TencentCloud
|
|
2014
2014
|
# <br>SnapshotName - Array of String - 是否必填:否 -(过滤条件)按照快照名称过滤。
|
2015
2015
|
# <br>FileSystemId - Array of String - 是否必填:否 -(过滤条件)按文件系统ID过滤。
|
2016
2016
|
# <br>FsName - Array of String - 是否必填:否 -(过滤条件)按文件系统名过滤。
|
2017
|
-
# <br>Status - Array of String - 是否必填:否
|
2018
|
-
# (creating:创建中 | available:运行中| deleting: 删除中 | rollbacking_new:由快照创建新文件系统中| create-failed 创建失败)
|
2017
|
+
# <br>Status - Array of String - 是否必填:否 -(过滤条件)按照快照状态过滤。状态分类:creating:创建中 | available:运行中 | deleting:删除中 | rollbacking_new:由快照创建新文件系统中 | create-failed:创建失败。
|
2019
2018
|
# <br>tag-key - Array of String - 是否必填:否 -(过滤条件)按照标签键进行过滤。
|
2020
|
-
# <br>tag:tag-key - Array of String - 是否必填:否 -(过滤条件)按照标签键值对进行过滤。 tag-key使用具体的标签键进行替换。
|
2019
|
+
# <br>tag:tag-key - Array of String - 是否必填:否 -(过滤条件)按照标签键值对进行过滤。 tag-key 使用具体的标签键进行替换。
|
2021
2020
|
# @type Filters: Array
|
2022
2021
|
# @param OrderField: 按创建时间排序取值
|
2023
2022
|
# @type OrderField: String
|
2024
|
-
# @param Order:
|
2023
|
+
# @param Order: 排序;升序或者降序
|
2025
2024
|
# @type Order: String
|
2026
2025
|
|
2027
2026
|
attr_accessor :FileSystemId, :SnapshotId, :Offset, :Limit, :Filters, :OrderField, :Order
|
@@ -2529,6 +2528,54 @@ module TencentCloud
|
|
2529
2528
|
end
|
2530
2529
|
end
|
2531
2530
|
|
2531
|
+
# DoDirectoryOperation请求参数结构体
|
2532
|
+
class DoDirectoryOperationRequest < TencentCloud::Common::AbstractModel
|
2533
|
+
# @param FileSystemId: 文件系统Id
|
2534
|
+
# @type FileSystemId: String
|
2535
|
+
# @param OpetationType: create:创建目录 check:确认目录是否存在
|
2536
|
+
# @type OpetationType: String
|
2537
|
+
# @param DirectoryPath: 目录的绝对路径 默认递归创建(即如果目录中有子目录不存在,则先创建出对应子目录)
|
2538
|
+
# @type DirectoryPath: String
|
2539
|
+
# @param Mode: 创建目录的权限,若不传,默认为0755 若Operation Type为check,此值无实际意义
|
2540
|
+
# @type Mode: String
|
2541
|
+
|
2542
|
+
attr_accessor :FileSystemId, :OpetationType, :DirectoryPath, :Mode
|
2543
|
+
|
2544
|
+
def initialize(filesystemid=nil, opetationtype=nil, directorypath=nil, mode=nil)
|
2545
|
+
@FileSystemId = filesystemid
|
2546
|
+
@OpetationType = opetationtype
|
2547
|
+
@DirectoryPath = directorypath
|
2548
|
+
@Mode = mode
|
2549
|
+
end
|
2550
|
+
|
2551
|
+
def deserialize(params)
|
2552
|
+
@FileSystemId = params['FileSystemId']
|
2553
|
+
@OpetationType = params['OpetationType']
|
2554
|
+
@DirectoryPath = params['DirectoryPath']
|
2555
|
+
@Mode = params['Mode']
|
2556
|
+
end
|
2557
|
+
end
|
2558
|
+
|
2559
|
+
# DoDirectoryOperation返回参数结构体
|
2560
|
+
class DoDirectoryOperationResponse < TencentCloud::Common::AbstractModel
|
2561
|
+
# @param Result: 1:成功 0:失败 创建目录的操作,1表示创建成功,0表示创建失败。 确认目录是否存在的操作,1表示目录存在,0表示目录不存在。 说明:创建目录操作若目录已存在,也会返回创建成功。
|
2562
|
+
# @type Result: Integer
|
2563
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
2564
|
+
# @type RequestId: String
|
2565
|
+
|
2566
|
+
attr_accessor :Result, :RequestId
|
2567
|
+
|
2568
|
+
def initialize(result=nil, requestid=nil)
|
2569
|
+
@Result = result
|
2570
|
+
@RequestId = requestid
|
2571
|
+
end
|
2572
|
+
|
2573
|
+
def deserialize(params)
|
2574
|
+
@Result = params['Result']
|
2575
|
+
@RequestId = params['RequestId']
|
2576
|
+
end
|
2577
|
+
end
|
2578
|
+
|
2532
2579
|
# 购买完额外性能之后的值
|
2533
2580
|
class ExstraPerformanceInfo < TencentCloud::Common::AbstractModel
|
2534
2581
|
# @param Type: fixed: 最终值固定
|
@@ -3568,7 +3615,7 @@ module TencentCloud
|
|
3568
3615
|
# @type SnapshotName: String
|
3569
3616
|
# @param SnapshotId: 快照ID
|
3570
3617
|
# @type SnapshotId: String
|
3571
|
-
# @param Status: 快照状态,
|
3618
|
+
# @param Status: 快照状态,creating-创建中;available-运行中;deleting-删除中;rollbacking-new 创建新文件系统中;create-failed 创建失败
|
3572
3619
|
# @type Status: String
|
3573
3620
|
# @param RegionName: 地域名称
|
3574
3621
|
# @type RegionName: String
|
@@ -3588,10 +3635,10 @@ module TencentCloud
|
|
3588
3635
|
# @type FsName: String
|
3589
3636
|
# @param Tags: 快照标签
|
3590
3637
|
# @type Tags: Array
|
3591
|
-
# @param SnapshotType:
|
3638
|
+
# @param SnapshotType: 快照类型,general为通用系列快照,turbo为Turbo系列快照
|
3592
3639
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
3593
3640
|
# @type SnapshotType: String
|
3594
|
-
# @param SnapshotTime:
|
3641
|
+
# @param SnapshotTime: 实际快照时间,反映快照对应文件系统某个时刻的数据。
|
3595
3642
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
3596
3643
|
# @type SnapshotTime: String
|
3597
3644
|
|
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.1120
|
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-08-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|