tencentcloud-sdk-cfs 3.0.695 → 3.0.696
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20190719/client.rb +24 -0
- data/lib/v20190719/models.rb +36 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7f364c148cf2f8b746d2496b72155e2d1a20ebb3
|
4
|
+
data.tar.gz: 9140d349246eb964c26cadce9b768686b086b783
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 841158bf2541c455617a7fcfba6bb2971baee898e2d7c1a6954aeb04bf552126d5d9c842f35e6809901bf4eb62f5d89ea1f32738cdac11ca5f13bdaf658bc7a6
|
7
|
+
data.tar.gz: f7773ba2096f0f902ebca817b13fb8d0d34611be33ac48770f61602f922c65282d10a7b05fe15627ef0bccfa002a35058d432924576ebcb25407519cc963f313
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.696
|
data/lib/v20190719/client.rb
CHANGED
@@ -1042,6 +1042,30 @@ module TencentCloud
|
|
1042
1042
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1043
1043
|
end
|
1044
1044
|
|
1045
|
+
# 更新文件系统带宽
|
1046
|
+
|
1047
|
+
# @param request: Request instance for UpdateFileSystemBandwidthLimit.
|
1048
|
+
# @type request: :class:`Tencentcloud::cfs::V20190719::UpdateFileSystemBandwidthLimitRequest`
|
1049
|
+
# @rtype: :class:`Tencentcloud::cfs::V20190719::UpdateFileSystemBandwidthLimitResponse`
|
1050
|
+
def UpdateFileSystemBandwidthLimit(request)
|
1051
|
+
body = send_request('UpdateFileSystemBandwidthLimit', request.serialize)
|
1052
|
+
response = JSON.parse(body)
|
1053
|
+
if response['Response'].key?('Error') == false
|
1054
|
+
model = UpdateFileSystemBandwidthLimitResponse.new
|
1055
|
+
model.deserialize(response['Response'])
|
1056
|
+
model
|
1057
|
+
else
|
1058
|
+
code = response['Response']['Error']['Code']
|
1059
|
+
message = response['Response']['Error']['Message']
|
1060
|
+
reqid = response['Response']['RequestId']
|
1061
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1062
|
+
end
|
1063
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1064
|
+
raise e
|
1065
|
+
rescue StandardError => e
|
1066
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1067
|
+
end
|
1068
|
+
|
1045
1069
|
|
1046
1070
|
end
|
1047
1071
|
end
|
data/lib/v20190719/models.rb
CHANGED
@@ -3116,6 +3116,42 @@ module TencentCloud
|
|
3116
3116
|
end
|
3117
3117
|
end
|
3118
3118
|
|
3119
|
+
# UpdateFileSystemBandwidthLimit请求参数结构体
|
3120
|
+
class UpdateFileSystemBandwidthLimitRequest < TencentCloud::Common::AbstractModel
|
3121
|
+
# @param FileSystemId: 文件系统 ID
|
3122
|
+
# @type FileSystemId: String
|
3123
|
+
# @param BandwidthLimit: 文件系统带宽,仅吞吐型可填。单位MiB/s,最小为1GiB/s,最大200GiB/s。
|
3124
|
+
# @type BandwidthLimit: Integer
|
3125
|
+
|
3126
|
+
attr_accessor :FileSystemId, :BandwidthLimit
|
3127
|
+
|
3128
|
+
def initialize(filesystemid=nil, bandwidthlimit=nil)
|
3129
|
+
@FileSystemId = filesystemid
|
3130
|
+
@BandwidthLimit = bandwidthlimit
|
3131
|
+
end
|
3132
|
+
|
3133
|
+
def deserialize(params)
|
3134
|
+
@FileSystemId = params['FileSystemId']
|
3135
|
+
@BandwidthLimit = params['BandwidthLimit']
|
3136
|
+
end
|
3137
|
+
end
|
3138
|
+
|
3139
|
+
# UpdateFileSystemBandwidthLimit返回参数结构体
|
3140
|
+
class UpdateFileSystemBandwidthLimitResponse < TencentCloud::Common::AbstractModel
|
3141
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3142
|
+
# @type RequestId: String
|
3143
|
+
|
3144
|
+
attr_accessor :RequestId
|
3145
|
+
|
3146
|
+
def initialize(requestid=nil)
|
3147
|
+
@RequestId = requestid
|
3148
|
+
end
|
3149
|
+
|
3150
|
+
def deserialize(params)
|
3151
|
+
@RequestId = params['RequestId']
|
3152
|
+
end
|
3153
|
+
end
|
3154
|
+
|
3119
3155
|
# 文件系统配额信息
|
3120
3156
|
class UserQuota < TencentCloud::Common::AbstractModel
|
3121
3157
|
# @param UserType: 指定配额类型,包括Uid、Gid
|
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.696
|
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-11-
|
11
|
+
date: 2023-11-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|
@@ -34,8 +34,8 @@ extensions: []
|
|
34
34
|
extra_rdoc_files: []
|
35
35
|
files:
|
36
36
|
- lib/tencentcloud-sdk-cfs.rb
|
37
|
-
- lib/v20190719/models.rb
|
38
37
|
- lib/v20190719/client.rb
|
38
|
+
- lib/v20190719/models.rb
|
39
39
|
- lib/VERSION
|
40
40
|
homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
|
41
41
|
licenses:
|