tencentcloud-sdk-cfs 3.0.695 → 3.0.697
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 +25 -0
- data/lib/v20190719/models.rb +39 -2
- 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: 5030eab6656e1cb56855b9490277d309a2dedd86
|
4
|
+
data.tar.gz: d79e44c3535a6e68fe9b72965db5f2b70f596daa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f0a73f68137bba203afc88fa062d27cc89a0db42c59f82e13829ff563b3eed9bb0c30d6774177aaffa7e0df2a70d6fd8e4a2fef92854a631ab9b6c72f5fb1185
|
7
|
+
data.tar.gz: efd3e3eb3ca0884dc07967d3b9b3d687d427915f4054041d155b39e668a1194c5c90e6ced9494fa88fb2b2f9c9285ccf4f7031482ce892e7edef31dd015f4aaa
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.697
|
data/lib/v20190719/client.rb
CHANGED
@@ -1042,6 +1042,31 @@ module TencentCloud
|
|
1042
1042
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1043
1043
|
end
|
1044
1044
|
|
1045
|
+
# 更新文件系统带宽
|
1046
|
+
# 仅吞吐型支持此接口
|
1047
|
+
|
1048
|
+
# @param request: Request instance for UpdateFileSystemBandwidthLimit.
|
1049
|
+
# @type request: :class:`Tencentcloud::cfs::V20190719::UpdateFileSystemBandwidthLimitRequest`
|
1050
|
+
# @rtype: :class:`Tencentcloud::cfs::V20190719::UpdateFileSystemBandwidthLimitResponse`
|
1051
|
+
def UpdateFileSystemBandwidthLimit(request)
|
1052
|
+
body = send_request('UpdateFileSystemBandwidthLimit', request.serialize)
|
1053
|
+
response = JSON.parse(body)
|
1054
|
+
if response['Response'].key?('Error') == false
|
1055
|
+
model = UpdateFileSystemBandwidthLimitResponse.new
|
1056
|
+
model.deserialize(response['Response'])
|
1057
|
+
model
|
1058
|
+
else
|
1059
|
+
code = response['Response']['Error']['Code']
|
1060
|
+
message = response['Response']['Error']['Message']
|
1061
|
+
reqid = response['Response']['RequestId']
|
1062
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1063
|
+
end
|
1064
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1065
|
+
raise e
|
1066
|
+
rescue StandardError => e
|
1067
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1068
|
+
end
|
1069
|
+
|
1045
1070
|
|
1046
1071
|
end
|
1047
1072
|
end
|
data/lib/v20190719/models.rb
CHANGED
@@ -1909,9 +1909,9 @@ module TencentCloud
|
|
1909
1909
|
# - unserviced:停服中
|
1910
1910
|
# - upgrading:升级中
|
1911
1911
|
# @type LifeCycleState: String
|
1912
|
-
# @param SizeByte:
|
1912
|
+
# @param SizeByte: 文件系统已使用容量。单位:Byte
|
1913
1913
|
# @type SizeByte: Integer
|
1914
|
-
# @param SizeLimit:
|
1914
|
+
# @param SizeLimit: 文件系统最大空间限制。单位:GiB
|
1915
1915
|
# @type SizeLimit: Integer
|
1916
1916
|
# @param ZoneId: 区域 ID
|
1917
1917
|
# @type ZoneId: Integer
|
@@ -1938,6 +1938,7 @@ module TencentCloud
|
|
1938
1938
|
# @param BandwidthLimit: 文件系统吞吐上限,吞吐上限是根据文件系统当前已使用存储量、绑定的存储资源包以及吞吐资源包一同确定. 单位MiB/s
|
1939
1939
|
# @type BandwidthLimit: Float
|
1940
1940
|
# @param Capacity: 文件系统总容量
|
1941
|
+
# 单位:GiB
|
1941
1942
|
# @type Capacity: Integer
|
1942
1943
|
# @param Tags: 文件系统标签列表
|
1943
1944
|
# @type Tags: Array
|
@@ -3116,6 +3117,42 @@ module TencentCloud
|
|
3116
3117
|
end
|
3117
3118
|
end
|
3118
3119
|
|
3120
|
+
# UpdateFileSystemBandwidthLimit请求参数结构体
|
3121
|
+
class UpdateFileSystemBandwidthLimitRequest < TencentCloud::Common::AbstractModel
|
3122
|
+
# @param FileSystemId: 文件系统 ID
|
3123
|
+
# @type FileSystemId: String
|
3124
|
+
# @param BandwidthLimit: 文件系统带宽,仅吞吐型可填。单位MiB/s,最小为1GiB/s,最大200GiB/s。
|
3125
|
+
# @type BandwidthLimit: Integer
|
3126
|
+
|
3127
|
+
attr_accessor :FileSystemId, :BandwidthLimit
|
3128
|
+
|
3129
|
+
def initialize(filesystemid=nil, bandwidthlimit=nil)
|
3130
|
+
@FileSystemId = filesystemid
|
3131
|
+
@BandwidthLimit = bandwidthlimit
|
3132
|
+
end
|
3133
|
+
|
3134
|
+
def deserialize(params)
|
3135
|
+
@FileSystemId = params['FileSystemId']
|
3136
|
+
@BandwidthLimit = params['BandwidthLimit']
|
3137
|
+
end
|
3138
|
+
end
|
3139
|
+
|
3140
|
+
# UpdateFileSystemBandwidthLimit返回参数结构体
|
3141
|
+
class UpdateFileSystemBandwidthLimitResponse < TencentCloud::Common::AbstractModel
|
3142
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3143
|
+
# @type RequestId: String
|
3144
|
+
|
3145
|
+
attr_accessor :RequestId
|
3146
|
+
|
3147
|
+
def initialize(requestid=nil)
|
3148
|
+
@RequestId = requestid
|
3149
|
+
end
|
3150
|
+
|
3151
|
+
def deserialize(params)
|
3152
|
+
@RequestId = params['RequestId']
|
3153
|
+
end
|
3154
|
+
end
|
3155
|
+
|
3119
3156
|
# 文件系统配额信息
|
3120
3157
|
class UserQuota < TencentCloud::Common::AbstractModel
|
3121
3158
|
# @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.697
|
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-09 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:
|