tencentcloud-sdk-trocket 3.0.992 → 3.0.994
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/v20230308/client.rb +24 -0
- data/lib/v20230308/models.rb +56 -0
- 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: 626e11722a8fdf52523d9e3c0d1f4f368a90a32a
|
4
|
+
data.tar.gz: d6b1af6b60a22c32fea30aa1b2205c7ad96ed396
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 80721d88328d5232a7b8da3bb05bc49d0611f3c393c63cfd0f05aa8fb2073462a9e4b9ee9955b74a699025f80db4ce45a4d1a28ed83368f0ec68b12b7e9d0429
|
7
|
+
data.tar.gz: ec3603026332363969d683d6bea2d6fdb15d23db8fc1ca3fbcbeb820364c0d52267b00fd8e18f791dc1cf3fd915e0781601a5651d0215d04c5c3a56c6b7e925e
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.994
|
data/lib/v20230308/client.rb
CHANGED
@@ -1191,6 +1191,30 @@ module TencentCloud
|
|
1191
1191
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1192
1192
|
end
|
1193
1193
|
|
1194
|
+
# 修改 RocketMQ 5.x 集群接入点。
|
1195
|
+
|
1196
|
+
# @param request: Request instance for ModifyInstanceEndpoint.
|
1197
|
+
# @type request: :class:`Tencentcloud::trocket::V20230308::ModifyInstanceEndpointRequest`
|
1198
|
+
# @rtype: :class:`Tencentcloud::trocket::V20230308::ModifyInstanceEndpointResponse`
|
1199
|
+
def ModifyInstanceEndpoint(request)
|
1200
|
+
body = send_request('ModifyInstanceEndpoint', request.serialize)
|
1201
|
+
response = JSON.parse(body)
|
1202
|
+
if response['Response'].key?('Error') == false
|
1203
|
+
model = ModifyInstanceEndpointResponse.new
|
1204
|
+
model.deserialize(response['Response'])
|
1205
|
+
model
|
1206
|
+
else
|
1207
|
+
code = response['Response']['Error']['Code']
|
1208
|
+
message = response['Response']['Error']['Message']
|
1209
|
+
reqid = response['Response']['RequestId']
|
1210
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1211
|
+
end
|
1212
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1213
|
+
raise e
|
1214
|
+
rescue StandardError => e
|
1215
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1216
|
+
end
|
1217
|
+
|
1194
1218
|
# 更新MQTT实例公网接入点
|
1195
1219
|
|
1196
1220
|
# @param request: Request instance for ModifyMQTTInsPublicEndpoint.
|
data/lib/v20230308/models.rb
CHANGED
@@ -3948,6 +3948,62 @@ module TencentCloud
|
|
3948
3948
|
end
|
3949
3949
|
end
|
3950
3950
|
|
3951
|
+
# ModifyInstanceEndpoint请求参数结构体
|
3952
|
+
class ModifyInstanceEndpointRequest < TencentCloud::Common::AbstractModel
|
3953
|
+
# @param InstanceId: 集群ID
|
3954
|
+
# @type InstanceId: String
|
3955
|
+
# @param Type: 接入点类型,
|
3956
|
+
# PUBLIC 公网
|
3957
|
+
# @type Type: String
|
3958
|
+
# @param Bandwidth: 公网带宽,Mbps为单位
|
3959
|
+
# @type Bandwidth: Integer
|
3960
|
+
# @param IpRules: 公网安全组信息
|
3961
|
+
# @type IpRules: Array
|
3962
|
+
# @param BillingFlow: 公网是否按流量计费
|
3963
|
+
# @type BillingFlow: Boolean
|
3964
|
+
|
3965
|
+
attr_accessor :InstanceId, :Type, :Bandwidth, :IpRules, :BillingFlow
|
3966
|
+
|
3967
|
+
def initialize(instanceid=nil, type=nil, bandwidth=nil, iprules=nil, billingflow=nil)
|
3968
|
+
@InstanceId = instanceid
|
3969
|
+
@Type = type
|
3970
|
+
@Bandwidth = bandwidth
|
3971
|
+
@IpRules = iprules
|
3972
|
+
@BillingFlow = billingflow
|
3973
|
+
end
|
3974
|
+
|
3975
|
+
def deserialize(params)
|
3976
|
+
@InstanceId = params['InstanceId']
|
3977
|
+
@Type = params['Type']
|
3978
|
+
@Bandwidth = params['Bandwidth']
|
3979
|
+
unless params['IpRules'].nil?
|
3980
|
+
@IpRules = []
|
3981
|
+
params['IpRules'].each do |i|
|
3982
|
+
iprule_tmp = IpRule.new
|
3983
|
+
iprule_tmp.deserialize(i)
|
3984
|
+
@IpRules << iprule_tmp
|
3985
|
+
end
|
3986
|
+
end
|
3987
|
+
@BillingFlow = params['BillingFlow']
|
3988
|
+
end
|
3989
|
+
end
|
3990
|
+
|
3991
|
+
# ModifyInstanceEndpoint返回参数结构体
|
3992
|
+
class ModifyInstanceEndpointResponse < TencentCloud::Common::AbstractModel
|
3993
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
3994
|
+
# @type RequestId: String
|
3995
|
+
|
3996
|
+
attr_accessor :RequestId
|
3997
|
+
|
3998
|
+
def initialize(requestid=nil)
|
3999
|
+
@RequestId = requestid
|
4000
|
+
end
|
4001
|
+
|
4002
|
+
def deserialize(params)
|
4003
|
+
@RequestId = params['RequestId']
|
4004
|
+
end
|
4005
|
+
end
|
4006
|
+
|
3951
4007
|
# ModifyInstance请求参数结构体
|
3952
4008
|
class ModifyInstanceRequest < TencentCloud::Common::AbstractModel
|
3953
4009
|
# @param InstanceId: 集群ID
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-trocket
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.994
|
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-02-
|
11
|
+
date: 2025-02-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|