tencentcloud-sdk-tdmq 3.0.528 → 3.0.529
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/v20200217/client.rb +24 -0
- data/lib/v20200217/models.rb +45 -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: 534c1916c337310d344fe101f41a803d102d28b9
|
4
|
+
data.tar.gz: df91d86fd9389b39c0c023dc8942641145c5aabc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e6da11ef31eed0a9f4692bfd65c063105828334aa2ed518c9cae600ea01474754b66fd022d866d87d728b701b9fb281c9a55667f63dc53f3f1f58a360e52d7a0
|
7
|
+
data.tar.gz: c7905681a09a46ac71e3b0bfd812fdc8ee539b22634171469bc6a49ad1570f12a68b829d2f3cd4c3c2f370b22dc18429c4c398054fec369bca6030221cd8fd39
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.529
|
data/lib/v20200217/client.rb
CHANGED
@@ -2155,6 +2155,30 @@ module TencentCloud
|
|
2155
2155
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2156
2156
|
end
|
2157
2157
|
|
2158
|
+
# 修改RabbitMQ专享版实例
|
2159
|
+
|
2160
|
+
# @param request: Request instance for ModifyRabbitMQVipInstance.
|
2161
|
+
# @type request: :class:`Tencentcloud::tdmq::V20200217::ModifyRabbitMQVipInstanceRequest`
|
2162
|
+
# @rtype: :class:`Tencentcloud::tdmq::V20200217::ModifyRabbitMQVipInstanceResponse`
|
2163
|
+
def ModifyRabbitMQVipInstance(request)
|
2164
|
+
body = send_request('ModifyRabbitMQVipInstance', request.serialize)
|
2165
|
+
response = JSON.parse(body)
|
2166
|
+
if response['Response'].key?('Error') == false
|
2167
|
+
model = ModifyRabbitMQVipInstanceResponse.new
|
2168
|
+
model.deserialize(response['Response'])
|
2169
|
+
model
|
2170
|
+
else
|
2171
|
+
code = response['Response']['Error']['Code']
|
2172
|
+
message = response['Response']['Error']['Message']
|
2173
|
+
reqid = response['Response']['RequestId']
|
2174
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2175
|
+
end
|
2176
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2177
|
+
raise e
|
2178
|
+
rescue StandardError => e
|
2179
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2180
|
+
end
|
2181
|
+
|
2158
2182
|
# 更新RocketMQ集群信息
|
2159
2183
|
|
2160
2184
|
# @param request: Request instance for ModifyRocketMQCluster.
|
data/lib/v20200217/models.rb
CHANGED
@@ -6257,6 +6257,51 @@ module TencentCloud
|
|
6257
6257
|
end
|
6258
6258
|
end
|
6259
6259
|
|
6260
|
+
# ModifyRabbitMQVipInstance请求参数结构体
|
6261
|
+
class ModifyRabbitMQVipInstanceRequest < TencentCloud::Common::AbstractModel
|
6262
|
+
# @param InstanceId: 实例Id
|
6263
|
+
# @type InstanceId: String
|
6264
|
+
# @param ClusterName: 集群名称
|
6265
|
+
# @type ClusterName: String
|
6266
|
+
# @param Remark: 备注
|
6267
|
+
# @type Remark: String
|
6268
|
+
|
6269
|
+
attr_accessor :InstanceId, :ClusterName, :Remark
|
6270
|
+
|
6271
|
+
def initialize(instanceid=nil, clustername=nil, remark=nil)
|
6272
|
+
@InstanceId = instanceid
|
6273
|
+
@ClusterName = clustername
|
6274
|
+
@Remark = remark
|
6275
|
+
end
|
6276
|
+
|
6277
|
+
def deserialize(params)
|
6278
|
+
@InstanceId = params['InstanceId']
|
6279
|
+
@ClusterName = params['ClusterName']
|
6280
|
+
@Remark = params['Remark']
|
6281
|
+
end
|
6282
|
+
end
|
6283
|
+
|
6284
|
+
# ModifyRabbitMQVipInstance返回参数结构体
|
6285
|
+
class ModifyRabbitMQVipInstanceResponse < TencentCloud::Common::AbstractModel
|
6286
|
+
# @param InstanceId: 实例id
|
6287
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6288
|
+
# @type InstanceId: String
|
6289
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
6290
|
+
# @type RequestId: String
|
6291
|
+
|
6292
|
+
attr_accessor :InstanceId, :RequestId
|
6293
|
+
|
6294
|
+
def initialize(instanceid=nil, requestid=nil)
|
6295
|
+
@InstanceId = instanceid
|
6296
|
+
@RequestId = requestid
|
6297
|
+
end
|
6298
|
+
|
6299
|
+
def deserialize(params)
|
6300
|
+
@InstanceId = params['InstanceId']
|
6301
|
+
@RequestId = params['RequestId']
|
6302
|
+
end
|
6303
|
+
end
|
6304
|
+
|
6260
6305
|
# ModifyRocketMQCluster请求参数结构体
|
6261
6306
|
class ModifyRocketMQClusterRequest < TencentCloud::Common::AbstractModel
|
6262
6307
|
# @param ClusterId: RocketMQ集群ID
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-tdmq
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.529
|
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-03-
|
11
|
+
date: 2023-03-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|