tencentcloud-sdk-trocket 3.0.1085 → 3.0.1087
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/v20230308/client.rb +35 -2
- data/lib/v20230308/models.rb +206 -56
- 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: 56b1ae10ad36193d5ec988b755f4ac8a38805009
|
4
|
+
data.tar.gz: 5258189129d5fabcf2309ca719f273fa6ca88b80
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 380857a256d58aa757251df56d4d309183dfe22f23ef266d37ab4deb2f43e8d0bddc20e432c4e166456ed0c4be98d65a362064e22baf42182d81048c4a1ccf3d
|
7
|
+
data.tar.gz: 6b5c8606f33a3331d0d34dcf27eebb5538682b3f9de765c3ccef121e5aaa3e403846f498b3b9831f3ce852f496a8ba3a031600d1b685a709d44ccedb656bf142
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1087
|
data/lib/v20230308/client.rb
CHANGED
@@ -1039,7 +1039,10 @@ module TencentCloud
|
|
1039
1039
|
|
1040
1040
|
# 查询Topic迁移状态列表
|
1041
1041
|
|
1042
|
-
#
|
1042
|
+
# Filters字段为查询过滤器,支持以下条件:
|
1043
|
+
# TopicName 主题名称,支持模糊查询,
|
1044
|
+
# MigrationStatus 迁移状态,可参考MigratingTopic数据结构,
|
1045
|
+
# Namespace 命名空间,仅4.x集群有效,
|
1043
1046
|
|
1044
1047
|
# @param request: Request instance for DescribeMigratingTopicList.
|
1045
1048
|
# @type request: :class:`Tencentcloud::trocket::V20230308::DescribeMigratingTopicListRequest`
|
@@ -1166,9 +1169,39 @@ module TencentCloud
|
|
1166
1169
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1167
1170
|
end
|
1168
1171
|
|
1172
|
+
# 用于查询平滑迁移任务列表
|
1173
|
+
|
1174
|
+
# 查询参数Filters, 支持的字段如下:
|
1175
|
+
# TaskStatus, 任务状态,支持多选
|
1176
|
+
# ConnectionType,网络连接类型,支持多选
|
1177
|
+
# InstanceId,实例ID,精确搜索
|
1178
|
+
# TaskName,任务名称,支持模糊搜索
|
1179
|
+
|
1180
|
+
# @param request: Request instance for DescribeSmoothMigrationTaskList.
|
1181
|
+
# @type request: :class:`Tencentcloud::trocket::V20230308::DescribeSmoothMigrationTaskListRequest`
|
1182
|
+
# @rtype: :class:`Tencentcloud::trocket::V20230308::DescribeSmoothMigrationTaskListResponse`
|
1183
|
+
def DescribeSmoothMigrationTaskList(request)
|
1184
|
+
body = send_request('DescribeSmoothMigrationTaskList', request.serialize)
|
1185
|
+
response = JSON.parse(body)
|
1186
|
+
if response['Response'].key?('Error') == false
|
1187
|
+
model = DescribeSmoothMigrationTaskListResponse.new
|
1188
|
+
model.deserialize(response['Response'])
|
1189
|
+
model
|
1190
|
+
else
|
1191
|
+
code = response['Response']['Error']['Code']
|
1192
|
+
message = response['Response']['Error']['Message']
|
1193
|
+
reqid = response['Response']['RequestId']
|
1194
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1195
|
+
end
|
1196
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1197
|
+
raise e
|
1198
|
+
rescue StandardError => e
|
1199
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1200
|
+
end
|
1201
|
+
|
1169
1202
|
# 平滑迁移过程获取源集群group列表接口
|
1170
1203
|
|
1171
|
-
#
|
1204
|
+
# Filters字段为查询过滤器,支持以下字段:
|
1172
1205
|
# GroupName,消费组名称模糊搜索
|
1173
1206
|
# Imported,是否已导入
|
1174
1207
|
# ImportStatus,导入状态
|
data/lib/v20230308/models.rb
CHANGED
@@ -19,11 +19,11 @@ module TencentCloud
|
|
19
19
|
module V20230308
|
20
20
|
# ChangeMigratingTopicToNextStage请求参数结构体
|
21
21
|
class ChangeMigratingTopicToNextStageRequest < TencentCloud::Common::AbstractModel
|
22
|
-
# @param TaskId: 任务ID
|
22
|
+
# @param TaskId: 任务ID,可在[DescribeSmoothMigrationTaskList](https://cloud.tencent.com/document/api/1493/119997)接口返回的[SmoothMigrationTaskItem](https://cloud.tencent.com/document/api/1493/96031#SmoothMigrationTaskItem)或控制台中获得。
|
23
23
|
# @type TaskId: String
|
24
|
-
# @param TopicNameList:
|
24
|
+
# @param TopicNameList: 主题名称列表,主题名称可在[DescribeMigratingTopicList](https://cloud.tencent.com/document/api/1493/118007)接口返回的[MigratingTopic](https://cloud.tencent.com/document/api/1493/96031#MigratingTopic)数据结构中获得。
|
25
25
|
# @type TopicNameList: Array
|
26
|
-
# @param NamespaceList: 命名空间列表,仅4.x集群有效,与TopicNameList
|
26
|
+
# @param NamespaceList: 命名空间列表,仅4.x集群有效,与TopicNameList一一对应,可在[DescribeMigratingTopicList](https://cloud.tencent.com/document/api/1493/118007)接口返回的[MigratingTopic](https://cloud.tencent.com/document/api/1493/96031#MigratingTopic)数据结构中获得。
|
27
27
|
# @type NamespaceList: Array
|
28
28
|
|
29
29
|
attr_accessor :TaskId, :TopicNameList, :NamespaceList
|
@@ -1043,7 +1043,7 @@ module TencentCloud
|
|
1043
1043
|
|
1044
1044
|
# DeleteSmoothMigrationTask请求参数结构体
|
1045
1045
|
class DeleteSmoothMigrationTaskRequest < TencentCloud::Common::AbstractModel
|
1046
|
-
# @param TaskId: 任务ID
|
1046
|
+
# @param TaskId: 任务ID,可在[DescribeSmoothMigrationTaskList](https://cloud.tencent.com/document/api/1493/119997)接口返回的[SmoothMigrationTaskItem](https://cloud.tencent.com/document/api/1493/96031#SmoothMigrationTaskItem)或控制台中获得。
|
1047
1047
|
# @type TaskId: String
|
1048
1048
|
|
1049
1049
|
attr_accessor :TaskId
|
@@ -2763,11 +2763,11 @@ module TencentCloud
|
|
2763
2763
|
|
2764
2764
|
# DescribeMigratingGroupStats请求参数结构体
|
2765
2765
|
class DescribeMigratingGroupStatsRequest < TencentCloud::Common::AbstractModel
|
2766
|
-
# @param TaskId:
|
2766
|
+
# @param TaskId: 任务ID,可在[DescribeSmoothMigrationTaskList](https://cloud.tencent.com/document/api/1493/119997)接口返回的[SmoothMigrationTaskItem](https://cloud.tencent.com/document/api/1493/96031#SmoothMigrationTaskItem)或控制台中获得。
|
2767
2767
|
# @type TaskId: String
|
2768
|
-
# @param GroupName:
|
2768
|
+
# @param GroupName: 消费组名称,可在[DescribeSourceClusterGroupList](https://cloud.tencent.com/document/api/1493/118006)接口返回的[SourceClusterGroupConfig](https://cloud.tencent.com/document/api/1493/96031#SourceClusterGroupConfig)或控制台中获取。
|
2769
2769
|
# @type GroupName: String
|
2770
|
-
# @param Namespace:
|
2770
|
+
# @param Namespace: 命名空间,仅迁移至4.x集群有效,可在[DescribeSourceClusterGroupList](https://cloud.tencent.com/document/api/1493/118006)接口返回的[SourceClusterGroupConfig](https://cloud.tencent.com/document/api/1493/96031#SourceClusterGroupConfig)或控制台中获取。
|
2771
2771
|
# @type Namespace: String
|
2772
2772
|
|
2773
2773
|
attr_accessor :TaskId, :GroupName, :Namespace
|
@@ -2833,26 +2833,28 @@ module TencentCloud
|
|
2833
2833
|
|
2834
2834
|
# DescribeMigratingTopicList请求参数结构体
|
2835
2835
|
class DescribeMigratingTopicListRequest < TencentCloud::Common::AbstractModel
|
2836
|
-
# @param TaskId: 任务ID
|
2836
|
+
# @param TaskId: 任务ID,可在[DescribeSmoothMigrationTaskList](https://cloud.tencent.com/document/api/1493/119997)接口返回的[SmoothMigrationTaskItem](https://cloud.tencent.com/document/api/1493/96031#SmoothMigrationTaskItem)或控制台中获得。
|
2837
2837
|
# @type TaskId: String
|
2838
|
-
# @param
|
2839
|
-
# @type Filters: Array
|
2840
|
-
# @param Offset: 查询起始位置
|
2841
|
-
# @type Offset: Integer
|
2842
|
-
# @param Limit: 查询结果限制数量
|
2838
|
+
# @param Limit: 查询结果限制数量,默认20。
|
2843
2839
|
# @type Limit: Integer
|
2840
|
+
# @param Offset: 查询起始位置,默认为0。
|
2841
|
+
# @type Offset: Integer
|
2842
|
+
# @param Filters: 过滤查询条件列表,请在引用此参数的API说明中了解使用方法。
|
2843
|
+
# @type Filters: Array
|
2844
2844
|
|
2845
|
-
attr_accessor :TaskId, :
|
2845
|
+
attr_accessor :TaskId, :Limit, :Offset, :Filters
|
2846
2846
|
|
2847
|
-
def initialize(taskid=nil,
|
2847
|
+
def initialize(taskid=nil, limit=nil, offset=nil, filters=nil)
|
2848
2848
|
@TaskId = taskid
|
2849
|
-
@Filters = filters
|
2850
|
-
@Offset = offset
|
2851
2849
|
@Limit = limit
|
2850
|
+
@Offset = offset
|
2851
|
+
@Filters = filters
|
2852
2852
|
end
|
2853
2853
|
|
2854
2854
|
def deserialize(params)
|
2855
2855
|
@TaskId = params['TaskId']
|
2856
|
+
@Limit = params['Limit']
|
2857
|
+
@Offset = params['Offset']
|
2856
2858
|
unless params['Filters'].nil?
|
2857
2859
|
@Filters = []
|
2858
2860
|
params['Filters'].each do |i|
|
@@ -2861,8 +2863,6 @@ module TencentCloud
|
|
2861
2863
|
@Filters << filter_tmp
|
2862
2864
|
end
|
2863
2865
|
end
|
2864
|
-
@Offset = params['Offset']
|
2865
|
-
@Limit = params['Limit']
|
2866
2866
|
end
|
2867
2867
|
end
|
2868
2868
|
|
@@ -2899,11 +2899,11 @@ module TencentCloud
|
|
2899
2899
|
|
2900
2900
|
# DescribeMigratingTopicStats请求参数结构体
|
2901
2901
|
class DescribeMigratingTopicStatsRequest < TencentCloud::Common::AbstractModel
|
2902
|
-
# @param TaskId: 任务ID
|
2902
|
+
# @param TaskId: 任务ID,可在[DescribeSmoothMigrationTaskList](https://cloud.tencent.com/document/api/1493/119997)接口返回的[SmoothMigrationTaskItem](https://cloud.tencent.com/document/api/1493/96031#SmoothMigrationTaskItem)或控制台中获得。
|
2903
2903
|
# @type TaskId: String
|
2904
|
-
# @param TopicName:
|
2904
|
+
# @param TopicName: 主题名称,可在[DescribeMigratingTopicList](https://cloud.tencent.com/document/api/1493/118007)接口返回的[MigratingTopic](https://cloud.tencent.com/document/api/1493/96031#MigratingTopic)数据结构中获得。
|
2905
2905
|
# @type TopicName: String
|
2906
|
-
# @param Namespace:
|
2906
|
+
# @param Namespace: 命名空间,仅迁移至4.x集群有效,可在[DescribeMigratingTopicList](https://cloud.tencent.com/document/api/1493/118007)接口返回的[MigratingTopic](https://cloud.tencent.com/document/api/1493/96031#MigratingTopic)数据结构中获得。
|
2907
2907
|
# @type Namespace: String
|
2908
2908
|
|
2909
2909
|
attr_accessor :TaskId, :TopicName, :Namespace
|
@@ -3121,28 +3121,93 @@ module TencentCloud
|
|
3121
3121
|
end
|
3122
3122
|
end
|
3123
3123
|
|
3124
|
+
# DescribeSmoothMigrationTaskList请求参数结构体
|
3125
|
+
class DescribeSmoothMigrationTaskListRequest < TencentCloud::Common::AbstractModel
|
3126
|
+
# @param Limit: 查询结果限制数量,默认20。
|
3127
|
+
# @type Limit: Integer
|
3128
|
+
# @param Offset: 查询起始位置,默认为0。
|
3129
|
+
# @type Offset: Integer
|
3130
|
+
# @param Filters: 过滤查询条件列表,请在引用此参数的API说明中了解使用方法。
|
3131
|
+
# @type Filters: Array
|
3132
|
+
|
3133
|
+
attr_accessor :Limit, :Offset, :Filters
|
3134
|
+
|
3135
|
+
def initialize(limit=nil, offset=nil, filters=nil)
|
3136
|
+
@Limit = limit
|
3137
|
+
@Offset = offset
|
3138
|
+
@Filters = filters
|
3139
|
+
end
|
3140
|
+
|
3141
|
+
def deserialize(params)
|
3142
|
+
@Limit = params['Limit']
|
3143
|
+
@Offset = params['Offset']
|
3144
|
+
unless params['Filters'].nil?
|
3145
|
+
@Filters = []
|
3146
|
+
params['Filters'].each do |i|
|
3147
|
+
filter_tmp = Filter.new
|
3148
|
+
filter_tmp.deserialize(i)
|
3149
|
+
@Filters << filter_tmp
|
3150
|
+
end
|
3151
|
+
end
|
3152
|
+
end
|
3153
|
+
end
|
3154
|
+
|
3155
|
+
# DescribeSmoothMigrationTaskList返回参数结构体
|
3156
|
+
class DescribeSmoothMigrationTaskListResponse < TencentCloud::Common::AbstractModel
|
3157
|
+
# @param TotalCount: 查询总数
|
3158
|
+
# @type TotalCount: Integer
|
3159
|
+
# @param Data: 任务列表
|
3160
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3161
|
+
# @type Data: Array
|
3162
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
3163
|
+
# @type RequestId: String
|
3164
|
+
|
3165
|
+
attr_accessor :TotalCount, :Data, :RequestId
|
3166
|
+
|
3167
|
+
def initialize(totalcount=nil, data=nil, requestid=nil)
|
3168
|
+
@TotalCount = totalcount
|
3169
|
+
@Data = data
|
3170
|
+
@RequestId = requestid
|
3171
|
+
end
|
3172
|
+
|
3173
|
+
def deserialize(params)
|
3174
|
+
@TotalCount = params['TotalCount']
|
3175
|
+
unless params['Data'].nil?
|
3176
|
+
@Data = []
|
3177
|
+
params['Data'].each do |i|
|
3178
|
+
smoothmigrationtaskitem_tmp = SmoothMigrationTaskItem.new
|
3179
|
+
smoothmigrationtaskitem_tmp.deserialize(i)
|
3180
|
+
@Data << smoothmigrationtaskitem_tmp
|
3181
|
+
end
|
3182
|
+
end
|
3183
|
+
@RequestId = params['RequestId']
|
3184
|
+
end
|
3185
|
+
end
|
3186
|
+
|
3124
3187
|
# DescribeSourceClusterGroupList请求参数结构体
|
3125
3188
|
class DescribeSourceClusterGroupListRequest < TencentCloud::Common::AbstractModel
|
3126
|
-
# @param TaskId: 任务ID
|
3189
|
+
# @param TaskId: 任务ID,可在[DescribeSmoothMigrationTaskList](https://cloud.tencent.com/document/api/1493/119997)接口返回的[SmoothMigrationTaskItem](https://cloud.tencent.com/document/api/1493/96031#SmoothMigrationTaskItem)或控制台中获得。
|
3127
3190
|
# @type TaskId: String
|
3128
|
-
# @param
|
3129
|
-
# @type Filters: Array
|
3130
|
-
# @param Offset: 查询起始位置
|
3131
|
-
# @type Offset: Integer
|
3132
|
-
# @param Limit: 查询结果限制数量
|
3191
|
+
# @param Limit: 查询结果限制数量,默认20。
|
3133
3192
|
# @type Limit: Integer
|
3193
|
+
# @param Offset: 查询起始位置,默认为0。
|
3194
|
+
# @type Offset: Integer
|
3195
|
+
# @param Filters: 过滤查询条件列表,请在引用此参数的API说明中了解使用方法。
|
3196
|
+
# @type Filters: Array
|
3134
3197
|
|
3135
|
-
attr_accessor :TaskId, :
|
3198
|
+
attr_accessor :TaskId, :Limit, :Offset, :Filters
|
3136
3199
|
|
3137
|
-
def initialize(taskid=nil,
|
3200
|
+
def initialize(taskid=nil, limit=nil, offset=nil, filters=nil)
|
3138
3201
|
@TaskId = taskid
|
3139
|
-
@Filters = filters
|
3140
|
-
@Offset = offset
|
3141
3202
|
@Limit = limit
|
3203
|
+
@Offset = offset
|
3204
|
+
@Filters = filters
|
3142
3205
|
end
|
3143
3206
|
|
3144
3207
|
def deserialize(params)
|
3145
3208
|
@TaskId = params['TaskId']
|
3209
|
+
@Limit = params['Limit']
|
3210
|
+
@Offset = params['Offset']
|
3146
3211
|
unless params['Filters'].nil?
|
3147
3212
|
@Filters = []
|
3148
3213
|
params['Filters'].each do |i|
|
@@ -3151,8 +3216,6 @@ module TencentCloud
|
|
3151
3216
|
@Filters << filter_tmp
|
3152
3217
|
end
|
3153
3218
|
end
|
3154
|
-
@Offset = params['Offset']
|
3155
|
-
@Limit = params['Limit']
|
3156
3219
|
end
|
3157
3220
|
end
|
3158
3221
|
|
@@ -3460,13 +3523,13 @@ module TencentCloud
|
|
3460
3523
|
|
3461
3524
|
# DoHealthCheckOnMigratingTopic请求参数结构体
|
3462
3525
|
class DoHealthCheckOnMigratingTopicRequest < TencentCloud::Common::AbstractModel
|
3463
|
-
# @param TaskId: 任务ID
|
3526
|
+
# @param TaskId: 任务ID,可在[DescribeSmoothMigrationTaskList](https://cloud.tencent.com/document/api/1493/119997)接口返回的[SmoothMigrationTaskItem](https://cloud.tencent.com/document/api/1493/96031#SmoothMigrationTaskItem)或控制台中获得。
|
3464
3527
|
# @type TaskId: String
|
3465
|
-
# @param TopicName:
|
3528
|
+
# @param TopicName: 主题名称,可在[DescribeMigratingTopicList](https://cloud.tencent.com/document/api/1493/118007)接口返回的[MigratingTopic](https://cloud.tencent.com/document/api/1493/96031#MigratingTopic)数据结构中获得。
|
3466
3529
|
# @type TopicName: String
|
3467
|
-
# @param IgnoreCheck:
|
3530
|
+
# @param IgnoreCheck: 必填,是否忽略当前检查
|
3468
3531
|
# @type IgnoreCheck: Boolean
|
3469
|
-
# @param Namespace:
|
3532
|
+
# @param Namespace: 命名空间,仅迁移至4.x集群有效,可在[DescribeMigratingTopicList](https://cloud.tencent.com/document/api/1493/118007)接口返回的[MigratingTopic](https://cloud.tencent.com/document/api/1493/96031#MigratingTopic)数据结构中获得。
|
3470
3533
|
# @type Namespace: String
|
3471
3534
|
|
3472
3535
|
attr_accessor :TaskId, :TopicName, :IgnoreCheck, :Namespace
|
@@ -3491,7 +3554,18 @@ module TencentCloud
|
|
3491
3554
|
# @param Passed: 是否通过
|
3492
3555
|
# @type Passed: Boolean
|
3493
3556
|
# @param Reason: 健康检查返回的错误信息
|
3494
|
-
# NotChecked 未执行检查,
|
3557
|
+
# NotChecked 未执行检查,
|
3558
|
+
# Unknown 未知错误,
|
3559
|
+
# TopicNotImported 主题未导入,
|
3560
|
+
# TopicNotExistsInSourceCluster 主题在源集群中不存在,
|
3561
|
+
# TopicNotExistsInTargetCluster 主题在目标集群中不存在,
|
3562
|
+
# ConsumerConnectedOnTarget 目标集群上存在消费者连接,
|
3563
|
+
# SourceTopicHasNewMessagesIn5Minutes 源集群主题前5分钟内有新消息写入,
|
3564
|
+
# TargetTopicHasNewMessagesIn5Minutes 目标集群主题前5分钟内有新消息写入,
|
3565
|
+
# SourceTopicHasNoMessagesIn5Minutes 源集群前5分钟内没有新消息写入,
|
3566
|
+
# TargetTopicHasNoMessagesIn5Minutes 源集群前5分钟内没有新消息写入,
|
3567
|
+
# ConsumerGroupCountNotMatch 订阅组数量不一致,
|
3568
|
+
# SourceTopicHasUnconsumedMessages 源集群主题存在未消费消息。
|
3495
3569
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
3496
3570
|
# @type Reason: String
|
3497
3571
|
# @param ReasonList: 健康检查返回的错误信息列表
|
@@ -3680,10 +3754,12 @@ module TencentCloud
|
|
3680
3754
|
# @param ZoneIds: 所属可用区列表
|
3681
3755
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
3682
3756
|
# @type ZoneIds: Array
|
3757
|
+
# @param EnableDeletionProtection: 是否开启删除保护
|
3758
|
+
# @type EnableDeletionProtection: Boolean
|
3683
3759
|
|
3684
|
-
attr_accessor :InstanceId, :InstanceName, :Version, :InstanceType, :InstanceStatus, :TopicNumLimit, :GroupNumLimit, :PayMode, :ExpiryTime, :Remark, :TopicNum, :GroupNum, :TagList, :SkuCode, :TpsLimit, :ScaledTpsLimit, :MessageRetention, :MaxMessageDelay, :RenewFlag, :InstanceItemExtraInfo, :DestroyTime, :ZoneIds
|
3760
|
+
attr_accessor :InstanceId, :InstanceName, :Version, :InstanceType, :InstanceStatus, :TopicNumLimit, :GroupNumLimit, :PayMode, :ExpiryTime, :Remark, :TopicNum, :GroupNum, :TagList, :SkuCode, :TpsLimit, :ScaledTpsLimit, :MessageRetention, :MaxMessageDelay, :RenewFlag, :InstanceItemExtraInfo, :DestroyTime, :ZoneIds, :EnableDeletionProtection
|
3685
3761
|
|
3686
|
-
def initialize(instanceid=nil, instancename=nil, version=nil, instancetype=nil, instancestatus=nil, topicnumlimit=nil, groupnumlimit=nil, paymode=nil, expirytime=nil, remark=nil, topicnum=nil, groupnum=nil, taglist=nil, skucode=nil, tpslimit=nil, scaledtpslimit=nil, messageretention=nil, maxmessagedelay=nil, renewflag=nil, instanceitemextrainfo=nil, destroytime=nil, zoneids=nil)
|
3762
|
+
def initialize(instanceid=nil, instancename=nil, version=nil, instancetype=nil, instancestatus=nil, topicnumlimit=nil, groupnumlimit=nil, paymode=nil, expirytime=nil, remark=nil, topicnum=nil, groupnum=nil, taglist=nil, skucode=nil, tpslimit=nil, scaledtpslimit=nil, messageretention=nil, maxmessagedelay=nil, renewflag=nil, instanceitemextrainfo=nil, destroytime=nil, zoneids=nil, enabledeletionprotection=nil)
|
3687
3763
|
@InstanceId = instanceid
|
3688
3764
|
@InstanceName = instancename
|
3689
3765
|
@Version = version
|
@@ -3706,6 +3782,7 @@ module TencentCloud
|
|
3706
3782
|
@InstanceItemExtraInfo = instanceitemextrainfo
|
3707
3783
|
@DestroyTime = destroytime
|
3708
3784
|
@ZoneIds = zoneids
|
3785
|
+
@EnableDeletionProtection = enabledeletionprotection
|
3709
3786
|
end
|
3710
3787
|
|
3711
3788
|
def deserialize(params)
|
@@ -3741,12 +3818,13 @@ module TencentCloud
|
|
3741
3818
|
end
|
3742
3819
|
@DestroyTime = params['DestroyTime']
|
3743
3820
|
@ZoneIds = params['ZoneIds']
|
3821
|
+
@EnableDeletionProtection = params['EnableDeletionProtection']
|
3744
3822
|
end
|
3745
3823
|
end
|
3746
3824
|
|
3747
3825
|
# ImportSourceClusterConsumerGroups请求参数结构体
|
3748
3826
|
class ImportSourceClusterConsumerGroupsRequest < TencentCloud::Common::AbstractModel
|
3749
|
-
# @param TaskId: 任务ID
|
3827
|
+
# @param TaskId: 任务ID,可在[DescribeSmoothMigrationTaskList](https://cloud.tencent.com/document/api/1493/119997)接口返回的[SmoothMigrationTaskItem](https://cloud.tencent.com/document/api/1493/96031#SmoothMigrationTaskItem)或控制台中获得。
|
3750
3828
|
# @type TaskId: String
|
3751
3829
|
# @param GroupList: 待导入的消费组列表
|
3752
3830
|
# @type GroupList: Array
|
@@ -3789,7 +3867,7 @@ module TencentCloud
|
|
3789
3867
|
|
3790
3868
|
# ImportSourceClusterTopics请求参数结构体
|
3791
3869
|
class ImportSourceClusterTopicsRequest < TencentCloud::Common::AbstractModel
|
3792
|
-
# @param TaskId: 任务ID
|
3870
|
+
# @param TaskId: 任务ID,可在[DescribeSmoothMigrationTaskList](https://cloud.tencent.com/document/api/1493/119997)接口返回的[SmoothMigrationTaskItem](https://cloud.tencent.com/document/api/1493/96031#SmoothMigrationTaskItem)或控制台中获得。
|
3793
3871
|
# @type TaskId: String
|
3794
3872
|
# @param TopicList: 待导入的主题列表
|
3795
3873
|
# @type TopicList: Array
|
@@ -4693,10 +4771,12 @@ module TencentCloud
|
|
4693
4771
|
# @type MaxTopicNum: Integer
|
4694
4772
|
# @param ExtraTopicNum: 免费额度之外的主题个数
|
4695
4773
|
# @type ExtraTopicNum: String
|
4774
|
+
# @param EnableDeletionProtection: 是否开启删除保护
|
4775
|
+
# @type EnableDeletionProtection: Boolean
|
4696
4776
|
|
4697
|
-
attr_accessor :InstanceId, :Name, :Remark, :SendReceiveRatio, :SkuCode, :MessageRetention, :ScaledTpsEnabled, :AclEnabled, :MaxTopicNum, :ExtraTopicNum
|
4777
|
+
attr_accessor :InstanceId, :Name, :Remark, :SendReceiveRatio, :SkuCode, :MessageRetention, :ScaledTpsEnabled, :AclEnabled, :MaxTopicNum, :ExtraTopicNum, :EnableDeletionProtection
|
4698
4778
|
|
4699
|
-
def initialize(instanceid=nil, name=nil, remark=nil, sendreceiveratio=nil, skucode=nil, messageretention=nil, scaledtpsenabled=nil, aclenabled=nil, maxtopicnum=nil, extratopicnum=nil)
|
4779
|
+
def initialize(instanceid=nil, name=nil, remark=nil, sendreceiveratio=nil, skucode=nil, messageretention=nil, scaledtpsenabled=nil, aclenabled=nil, maxtopicnum=nil, extratopicnum=nil, enabledeletionprotection=nil)
|
4700
4780
|
@InstanceId = instanceid
|
4701
4781
|
@Name = name
|
4702
4782
|
@Remark = remark
|
@@ -4707,6 +4787,7 @@ module TencentCloud
|
|
4707
4787
|
@AclEnabled = aclenabled
|
4708
4788
|
@MaxTopicNum = maxtopicnum
|
4709
4789
|
@ExtraTopicNum = extratopicnum
|
4790
|
+
@EnableDeletionProtection = enabledeletionprotection
|
4710
4791
|
end
|
4711
4792
|
|
4712
4793
|
def deserialize(params)
|
@@ -4720,6 +4801,7 @@ module TencentCloud
|
|
4720
4801
|
@AclEnabled = params['AclEnabled']
|
4721
4802
|
@MaxTopicNum = params['MaxTopicNum']
|
4722
4803
|
@ExtraTopicNum = params['ExtraTopicNum']
|
4804
|
+
@EnableDeletionProtection = params['EnableDeletionProtection']
|
4723
4805
|
end
|
4724
4806
|
end
|
4725
4807
|
|
@@ -5092,11 +5174,11 @@ module TencentCloud
|
|
5092
5174
|
end
|
5093
5175
|
end
|
5094
5176
|
|
5095
|
-
#
|
5177
|
+
# 价格标签信息,一个完整的价格标签包含计价类别和计费项标签。
|
5096
5178
|
class PriceTag < TencentCloud::Common::AbstractModel
|
5097
|
-
# @param Name:
|
5179
|
+
# @param Name: 计价名称(枚举值:tps:TPS基础价;stepTps:TPS步长)
|
5098
5180
|
# @type Name: String
|
5099
|
-
# @param Step:
|
5181
|
+
# @param Step: 计费项对应的步长数
|
5100
5182
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
5101
5183
|
# @type Step: Integer
|
5102
5184
|
|
@@ -5226,11 +5308,11 @@ module TencentCloud
|
|
5226
5308
|
|
5227
5309
|
# RemoveMigratingTopic请求参数结构体
|
5228
5310
|
class RemoveMigratingTopicRequest < TencentCloud::Common::AbstractModel
|
5229
|
-
# @param TaskId: 任务ID
|
5311
|
+
# @param TaskId: 任务ID,可在[DescribeSmoothMigrationTaskList](https://cloud.tencent.com/document/api/1493/119997)接口返回的[SmoothMigrationTaskItem](https://cloud.tencent.com/document/api/1493/96031#SmoothMigrationTaskItem)或控制台中获得。
|
5230
5312
|
# @type TaskId: String
|
5231
|
-
# @param TopicName:
|
5313
|
+
# @param TopicName: 消费组名称,可在[DescribeSourceClusterGroupList](https://cloud.tencent.com/document/api/1493/118006)接口返回的[SourceClusterGroupConfig](https://cloud.tencent.com/document/api/1493/96031#SourceClusterGroupConfig)或控制台中获取。
|
5232
5314
|
# @type TopicName: String
|
5233
|
-
# @param Namespace: 命名空间,仅迁移至4.x
|
5315
|
+
# @param Namespace: 命名空间,仅迁移至4.x集群有效,可在[DescribeMigratingTopicList](https://cloud.tencent.com/document/api/1493/118007)接口返回的[MigratingTopic](https://cloud.tencent.com/document/api/1493/96031#MigratingTopic)数据结构中获得。
|
5234
5316
|
# @type Namespace: String
|
5235
5317
|
|
5236
5318
|
attr_accessor :TaskId, :TopicName, :Namespace
|
@@ -5415,11 +5497,11 @@ module TencentCloud
|
|
5415
5497
|
|
5416
5498
|
# RollbackMigratingTopicStage请求参数结构体
|
5417
5499
|
class RollbackMigratingTopicStageRequest < TencentCloud::Common::AbstractModel
|
5418
|
-
# @param TaskId: 任务ID
|
5500
|
+
# @param TaskId: 任务ID,可在[DescribeSmoothMigrationTaskList](https://cloud.tencent.com/document/api/1493/119997)接口返回的[SmoothMigrationTaskItem](https://cloud.tencent.com/document/api/1493/96031#SmoothMigrationTaskItem)或控制台中获得。
|
5419
5501
|
# @type TaskId: String
|
5420
|
-
# @param TopicName:
|
5502
|
+
# @param TopicName: 主题名称,可在[DescribeMigratingTopicList](https://cloud.tencent.com/document/api/1493/118007)接口返回的[MigratingTopic](https://cloud.tencent.com/document/api/1493/96031#MigratingTopic)数据结构中获得。
|
5421
5503
|
# @type TopicName: String
|
5422
|
-
# @param Namespace:
|
5504
|
+
# @param Namespace: 命名空间,仅迁移至4.x集群有效,可在[DescribeMigratingTopicList](https://cloud.tencent.com/document/api/1493/118007)接口返回的[MigratingTopic](https://cloud.tencent.com/document/api/1493/96031#MigratingTopic)数据结构中获得。
|
5423
5505
|
# @type Namespace: String
|
5424
5506
|
|
5425
5507
|
attr_accessor :TaskId, :TopicName, :Namespace
|
@@ -5453,9 +5535,73 @@ module TencentCloud
|
|
5453
5535
|
end
|
5454
5536
|
end
|
5455
5537
|
|
5538
|
+
# 平滑迁移任务
|
5539
|
+
class SmoothMigrationTaskItem < TencentCloud::Common::AbstractModel
|
5540
|
+
# @param TaskId: 任务ID
|
5541
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5542
|
+
# @type TaskId: String
|
5543
|
+
# @param TaskName: 任务名称
|
5544
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5545
|
+
# @type TaskName: String
|
5546
|
+
# @param SourceClusterName: 源集群名称
|
5547
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5548
|
+
# @type SourceClusterName: String
|
5549
|
+
# @param InstanceId: 目标集群实例ID
|
5550
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5551
|
+
# @type InstanceId: String
|
5552
|
+
# @param ConnectionType: 网络连接类型,
|
5553
|
+
# PUBLIC 公网
|
5554
|
+
# VPC 私有网络
|
5555
|
+
# OTHER 其他
|
5556
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5557
|
+
# @type ConnectionType: String
|
5558
|
+
# @param SourceNameServer: 源集群NameServer地址
|
5559
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5560
|
+
# @type SourceNameServer: String
|
5561
|
+
# @param TaskStatus: 任务状态:
|
5562
|
+
# Configuration 迁移配置,
|
5563
|
+
# SourceConnecting 连接源集群中,
|
5564
|
+
# MetaDataImport 元数据导入,
|
5565
|
+
# EndpointSetup 切换接入点,
|
5566
|
+
# ServiceMigration 切流中,
|
5567
|
+
# Completed 已完成,
|
5568
|
+
# Cancelled 已取消
|
5569
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5570
|
+
# @type TaskStatus: String
|
5571
|
+
# @param InstanceVersion: 目标集群实例版本,
|
5572
|
+
# 4 表示4.x版本
|
5573
|
+
# 5 表示5.x版本
|
5574
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5575
|
+
# @type InstanceVersion: String
|
5576
|
+
|
5577
|
+
attr_accessor :TaskId, :TaskName, :SourceClusterName, :InstanceId, :ConnectionType, :SourceNameServer, :TaskStatus, :InstanceVersion
|
5578
|
+
|
5579
|
+
def initialize(taskid=nil, taskname=nil, sourceclustername=nil, instanceid=nil, connectiontype=nil, sourcenameserver=nil, taskstatus=nil, instanceversion=nil)
|
5580
|
+
@TaskId = taskid
|
5581
|
+
@TaskName = taskname
|
5582
|
+
@SourceClusterName = sourceclustername
|
5583
|
+
@InstanceId = instanceid
|
5584
|
+
@ConnectionType = connectiontype
|
5585
|
+
@SourceNameServer = sourcenameserver
|
5586
|
+
@TaskStatus = taskstatus
|
5587
|
+
@InstanceVersion = instanceversion
|
5588
|
+
end
|
5589
|
+
|
5590
|
+
def deserialize(params)
|
5591
|
+
@TaskId = params['TaskId']
|
5592
|
+
@TaskName = params['TaskName']
|
5593
|
+
@SourceClusterName = params['SourceClusterName']
|
5594
|
+
@InstanceId = params['InstanceId']
|
5595
|
+
@ConnectionType = params['ConnectionType']
|
5596
|
+
@SourceNameServer = params['SourceNameServer']
|
5597
|
+
@TaskStatus = params['TaskStatus']
|
5598
|
+
@InstanceVersion = params['InstanceVersion']
|
5599
|
+
end
|
5600
|
+
end
|
5601
|
+
|
5456
5602
|
# 消费组配置信息
|
5457
5603
|
class SourceClusterGroupConfig < TencentCloud::Common::AbstractModel
|
5458
|
-
# @param GroupName:
|
5604
|
+
# @param GroupName: 消费组名称,可在[DescribeSourceClusterGroupList](https://cloud.tencent.com/document/api/1493/118006)接口返回的[SourceClusterGroupConfig](https://cloud.tencent.com/document/api/1493/96031#SourceClusterGroupConfig)数据中获取。
|
5459
5605
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
5460
5606
|
# @type GroupName: String
|
5461
5607
|
# @param Remark: 备注信息
|
@@ -5472,6 +5618,8 @@ module TencentCloud
|
|
5472
5618
|
# Success 成功
|
5473
5619
|
# Failure 失败
|
5474
5620
|
# AlreadyExists 已存在
|
5621
|
+
|
5622
|
+
# 仅作为出参时使用
|
5475
5623
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
5476
5624
|
# @type ImportStatus: String
|
5477
5625
|
# @param NamespaceV4: 4.x的命名空间,出参使用
|
@@ -5516,7 +5664,7 @@ module TencentCloud
|
|
5516
5664
|
|
5517
5665
|
# 源集群主题配置
|
5518
5666
|
class SourceClusterTopicConfig < TencentCloud::Common::AbstractModel
|
5519
|
-
# @param TopicName:
|
5667
|
+
# @param TopicName: 主题名称,可在[DescribeMigratingTopicList](https://cloud.tencent.com/document/api/1493/118007)接口返回的[MigratingTopic](https://cloud.tencent.com/document/api/1493/96031#MigratingTopic)数据结构中获得。
|
5520
5668
|
# @type TopicName: String
|
5521
5669
|
# @param TopicType: 主题类型,
|
5522
5670
|
# 5.x版本
|
@@ -5545,6 +5693,8 @@ module TencentCloud
|
|
5545
5693
|
# AlreadyExists 已存在,
|
5546
5694
|
# Success 成功,
|
5547
5695
|
# Failure 失败
|
5696
|
+
|
5697
|
+
# 仅作为出参可用
|
5548
5698
|
# @type ImportStatus: String
|
5549
5699
|
# @param NamespaceV4: 4.x的命名空间,出参使用
|
5550
5700
|
# @type NamespaceV4: String
|
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.1087
|
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-06-
|
11
|
+
date: 2025-06-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|