tencentcloud-sdk-cfs 3.0.556 → 3.0.558

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 709f9f0631aee5dd5f84de0b879336661557057e
4
- data.tar.gz: ad290d5b25987d7746c903103efe33b0879ee638
3
+ metadata.gz: a0d08230a846caedbb88ba76ace0320a561c314f
4
+ data.tar.gz: aa52233253b6593b1a46f7b44f28963eab3bb65e
5
5
  SHA512:
6
- metadata.gz: 3e8526b4e5cebee2984169a263bd7d918d865bb5f74d0a906f9e4e85bb5eaf0878329bb26413edbc8ac01ed054c37541ec76bc47ae9739ac552074e0a6ecf24f
7
- data.tar.gz: a0e35f16603b495ba0c92ded688ea99b13989025f5a4d2e4e172b2979423183db66171e35abcf42be343c9dc2b72ffb8a4c19e00919a2ea4b274a60454b0125a
6
+ metadata.gz: c681c166b762416819386618759a6dbf622beb8d98c9c237815d42fa8a7108e49dc3024db2535eaf1e3d3d6b7e8e6ee064e7ea1d5647cd1806d49c2f32517e8a
7
+ data.tar.gz: c82624e079bb3ac370b6d6b3c5dbe6d7ffe5f9029d11ff7b6c0f59b8cde4ff2f4eb35ea5f2590c0da878c1f478f9f42102add97e9b0dbe5bf2a8e413d13dd00b
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.556
1
+ 3.0.558
@@ -729,6 +729,30 @@ module TencentCloud
729
729
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
730
730
  end
731
731
 
732
+ # 该接口用于对turbo 文件系统扩容使用
733
+
734
+ # @param request: Request instance for ScaleUpFileSystem.
735
+ # @type request: :class:`Tencentcloud::cfs::V20190719::ScaleUpFileSystemRequest`
736
+ # @rtype: :class:`Tencentcloud::cfs::V20190719::ScaleUpFileSystemResponse`
737
+ def ScaleUpFileSystem(request)
738
+ body = send_request('ScaleUpFileSystem', request.serialize)
739
+ response = JSON.parse(body)
740
+ if response['Response'].key?('Error') == false
741
+ model = ScaleUpFileSystemResponse.new
742
+ model.deserialize(response['Response'])
743
+ model
744
+ else
745
+ code = response['Response']['Error']['Code']
746
+ message = response['Response']['Error']['Message']
747
+ reqid = response['Response']['RequestId']
748
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
749
+ end
750
+ rescue TencentCloud::Common::TencentCloudSDKException => e
751
+ raise e
752
+ rescue StandardError => e
753
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
754
+ end
755
+
732
756
  # 设置文件系统配额,提供UID/GID的配额设置的接口
733
757
 
734
758
  # @param request: Request instance for SetUserQuota.
@@ -2269,6 +2269,50 @@ module TencentCloud
2269
2269
  end
2270
2270
  end
2271
2271
 
2272
+ # ScaleUpFileSystem请求参数结构体
2273
+ class ScaleUpFileSystemRequest < TencentCloud::Common::AbstractModel
2274
+ # @param FileSystemId: 文件系统Id
2275
+ # @type FileSystemId: String
2276
+ # @param TargetCapacity: 扩容的目标容量
2277
+ # @type TargetCapacity: Integer
2278
+
2279
+ attr_accessor :FileSystemId, :TargetCapacity
2280
+
2281
+ def initialize(filesystemid=nil, targetcapacity=nil)
2282
+ @FileSystemId = filesystemid
2283
+ @TargetCapacity = targetcapacity
2284
+ end
2285
+
2286
+ def deserialize(params)
2287
+ @FileSystemId = params['FileSystemId']
2288
+ @TargetCapacity = params['TargetCapacity']
2289
+ end
2290
+ end
2291
+
2292
+ # ScaleUpFileSystem返回参数结构体
2293
+ class ScaleUpFileSystemResponse < TencentCloud::Common::AbstractModel
2294
+ # @param FileSystemId: 文件系统Id
2295
+ # @type FileSystemId: String
2296
+ # @param TargetCapacity: 扩容的目标容量
2297
+ # @type TargetCapacity: Integer
2298
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2299
+ # @type RequestId: String
2300
+
2301
+ attr_accessor :FileSystemId, :TargetCapacity, :RequestId
2302
+
2303
+ def initialize(filesystemid=nil, targetcapacity=nil, requestid=nil)
2304
+ @FileSystemId = filesystemid
2305
+ @TargetCapacity = targetcapacity
2306
+ @RequestId = requestid
2307
+ end
2308
+
2309
+ def deserialize(params)
2310
+ @FileSystemId = params['FileSystemId']
2311
+ @TargetCapacity = params['TargetCapacity']
2312
+ @RequestId = params['RequestId']
2313
+ end
2314
+ end
2315
+
2272
2316
  # SetUserQuota请求参数结构体
2273
2317
  class SetUserQuotaRequest < TencentCloud::Common::AbstractModel
2274
2318
  # @param FileSystemId: 文件系统 ID
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.556
4
+ version: 3.0.558
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-04-20 00:00:00.000000000 Z
11
+ date: 2023-04-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common