tencentcloud-sdk-tdmq 3.0.1119 → 3.0.1125
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/v20200217/client.rb +24 -0
- data/lib/v20200217/models.rb +34 -7
- 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: 8cc5959a3236b1183a54d4c834252b78fd3ece32
|
4
|
+
data.tar.gz: 847f0924239fe9785c7eb2016cff4b1fae0753c9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 98453247f62053cb9de8aa69282ca8a442aba30823d81e8ab523f738f7f85b51a440a017e670768cda3785557ad1cc443389e9cc92330564acf09534c7ee05aa
|
7
|
+
data.tar.gz: f743fd5503dff826cb8bbf0da20eb3a641add5ebe306133e29f98fbf2c4a442fe448c1c10197c94bf6e116fad296e8935d01f33d7703d3f86f7480263657d58e
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1125
|
data/lib/v20200217/client.rb
CHANGED
@@ -2653,6 +2653,30 @@ module TencentCloud
|
|
2653
2653
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2654
2654
|
end
|
2655
2655
|
|
2656
|
+
# 执行域名异地访问切换,域名的访问指向将切换至备份集群。
|
2657
|
+
|
2658
|
+
# @param request: Request instance for ExecuteDisasterRecovery.
|
2659
|
+
# @type request: :class:`Tencentcloud::tdmq::V20200217::ExecuteDisasterRecoveryRequest`
|
2660
|
+
# @rtype: :class:`Tencentcloud::tdmq::V20200217::ExecuteDisasterRecoveryResponse`
|
2661
|
+
def ExecuteDisasterRecovery(request)
|
2662
|
+
body = send_request('ExecuteDisasterRecovery', request.serialize)
|
2663
|
+
response = JSON.parse(body)
|
2664
|
+
if response['Response'].key?('Error') == false
|
2665
|
+
model = ExecuteDisasterRecoveryResponse.new
|
2666
|
+
model.deserialize(response['Response'])
|
2667
|
+
model
|
2668
|
+
else
|
2669
|
+
code = response['Response']['Error']['Code']
|
2670
|
+
message = response['Response']['Error']['Message']
|
2671
|
+
reqid = response['Response']['RequestId']
|
2672
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2673
|
+
end
|
2674
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2675
|
+
raise e
|
2676
|
+
rescue StandardError => e
|
2677
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2678
|
+
end
|
2679
|
+
|
2656
2680
|
# 导出RocketMQ消息详情
|
2657
2681
|
|
2658
2682
|
# @param request: Request instance for ExportRocketMQMessageDetail.
|
data/lib/v20200217/models.rb
CHANGED
@@ -4174,14 +4174,14 @@ module TencentCloud
|
|
4174
4174
|
|
4175
4175
|
# DescribeEnvironmentRoles请求参数结构体
|
4176
4176
|
class DescribeEnvironmentRolesRequest < TencentCloud::Common::AbstractModel
|
4177
|
-
# @param
|
4177
|
+
# @param ClusterId: Pulsar 集群的ID
|
4178
|
+
# @type ClusterId: String
|
4179
|
+
# @param EnvironmentId: 环境(命名空间)名称。
|
4178
4180
|
# @type EnvironmentId: String
|
4179
4181
|
# @param Offset: 起始下标,不填默认为0。
|
4180
4182
|
# @type Offset: Integer
|
4181
4183
|
# @param Limit: 返回数量,不填则默认为10,最大值为20。
|
4182
4184
|
# @type Limit: Integer
|
4183
|
-
# @param ClusterId: 必填字段,Pulsar 集群的ID
|
4184
|
-
# @type ClusterId: String
|
4185
4185
|
# @param RoleName: 角色名称
|
4186
4186
|
# @type RoleName: String
|
4187
4187
|
# @param Filters: * RoleName
|
@@ -4190,22 +4190,22 @@ module TencentCloud
|
|
4190
4190
|
# 必选:否
|
4191
4191
|
# @type Filters: Array
|
4192
4192
|
|
4193
|
-
attr_accessor :EnvironmentId, :Offset, :Limit, :
|
4193
|
+
attr_accessor :ClusterId, :EnvironmentId, :Offset, :Limit, :RoleName, :Filters
|
4194
4194
|
|
4195
|
-
def initialize(
|
4195
|
+
def initialize(clusterid=nil, environmentid=nil, offset=nil, limit=nil, rolename=nil, filters=nil)
|
4196
|
+
@ClusterId = clusterid
|
4196
4197
|
@EnvironmentId = environmentid
|
4197
4198
|
@Offset = offset
|
4198
4199
|
@Limit = limit
|
4199
|
-
@ClusterId = clusterid
|
4200
4200
|
@RoleName = rolename
|
4201
4201
|
@Filters = filters
|
4202
4202
|
end
|
4203
4203
|
|
4204
4204
|
def deserialize(params)
|
4205
|
+
@ClusterId = params['ClusterId']
|
4205
4206
|
@EnvironmentId = params['EnvironmentId']
|
4206
4207
|
@Offset = params['Offset']
|
4207
4208
|
@Limit = params['Limit']
|
4208
|
-
@ClusterId = params['ClusterId']
|
4209
4209
|
@RoleName = params['RoleName']
|
4210
4210
|
unless params['Filters'].nil?
|
4211
4211
|
@Filters = []
|
@@ -8222,6 +8222,33 @@ module TencentCloud
|
|
8222
8222
|
end
|
8223
8223
|
end
|
8224
8224
|
|
8225
|
+
# ExecuteDisasterRecovery请求参数结构体
|
8226
|
+
class ExecuteDisasterRecoveryRequest < TencentCloud::Common::AbstractModel
|
8227
|
+
|
8228
|
+
|
8229
|
+
def initialize()
|
8230
|
+
end
|
8231
|
+
|
8232
|
+
def deserialize(params)
|
8233
|
+
end
|
8234
|
+
end
|
8235
|
+
|
8236
|
+
# ExecuteDisasterRecovery返回参数结构体
|
8237
|
+
class ExecuteDisasterRecoveryResponse < TencentCloud::Common::AbstractModel
|
8238
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
8239
|
+
# @type RequestId: String
|
8240
|
+
|
8241
|
+
attr_accessor :RequestId
|
8242
|
+
|
8243
|
+
def initialize(requestid=nil)
|
8244
|
+
@RequestId = requestid
|
8245
|
+
end
|
8246
|
+
|
8247
|
+
def deserialize(params)
|
8248
|
+
@RequestId = params['RequestId']
|
8249
|
+
end
|
8250
|
+
end
|
8251
|
+
|
8225
8252
|
# ExportRocketMQMessageDetail请求参数结构体
|
8226
8253
|
class ExportRocketMQMessageDetailRequest < TencentCloud::Common::AbstractModel
|
8227
8254
|
# @param ClusterId: 集群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.1125
|
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-08-
|
11
|
+
date: 2025-08-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|