tencentcloud-sdk-ckafka 1.0.219 → 1.0.223

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8e8c3d615ba54538c307382f3548e637db44c23f
4
- data.tar.gz: aa954c76765e54ee57df1c2ece853b0032f53138
3
+ metadata.gz: f46e41c4b3ee17e81b7eb01b7d1e6b0d950e086c
4
+ data.tar.gz: d821c5d0cad1197a73d676114bfd8ecf9cd437a7
5
5
  SHA512:
6
- metadata.gz: cea357cf8fb15d55a5ddfc019e557f9d2ae346aba05fb09e170f047a70c0b8c3f41e5346212266ca110d57cec1d6ac9b47dec30b6b7cdf06da9bb3623185e19d
7
- data.tar.gz: 55c732e7e3b92707c9cc723bb736dad59187b5d3c3dd8201c09daaf1a30b57b0235e3de0e821ba5d771ac4d204b790850b0f237ebb8342091ec593d0ce5a2a2e
6
+ metadata.gz: 35a9f19faecca79f85b1adef2091c01a769a489009e36d6cc4ca245c0782240db2219328c4e1ef4b6376438086076cdca3c42bf2d2f7478485086a9bdf97d204
7
+ data.tar.gz: 33c87687a2ff97514cb63795b96088bab0f1bc210ef1131890e62b7986ec32fc491491d5d76e45a33c47d59229770413265d70e0669c3677e0c77fc9715a3284
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.219
1
+ 1.0.223
@@ -245,6 +245,30 @@ module TencentCloud
245
245
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
246
246
  end
247
247
 
248
+ # 删除预付费实例
249
+
250
+ # @param request: Request instance for DeleteInstancePre.
251
+ # @type request: :class:`Tencentcloud::ckafka::V20190819::DeleteInstancePreRequest`
252
+ # @rtype: :class:`Tencentcloud::ckafka::V20190819::DeleteInstancePreResponse`
253
+ def DeleteInstancePre(request)
254
+ body = send_request('DeleteInstancePre', request.serialize)
255
+ response = JSON.parse(body)
256
+ if response['Response'].key?('Error') == false
257
+ model = DeleteInstancePreResponse.new
258
+ model.deserialize(response['Response'])
259
+ model
260
+ else
261
+ code = response['Response']['Error']['Code']
262
+ message = response['Response']['Error']['Message']
263
+ reqid = response['Response']['RequestId']
264
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
265
+ end
266
+ rescue TencentCloud::Common::TencentCloudSDKException => e
267
+ raise e
268
+ rescue StandardError => e
269
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
270
+ end
271
+
248
272
  # 修改删除路由延迟触发时间
249
273
 
250
274
  # @param request: Request instance for DeleteRouteTriggerTime.
@@ -1155,6 +1155,45 @@ module TencentCloud
1155
1155
  end
1156
1156
  end
1157
1157
 
1158
+ # DeleteInstancePre请求参数结构体
1159
+ class DeleteInstancePreRequest < TencentCloud::Common::AbstractModel
1160
+ # @param InstanceId: 实例id
1161
+ # @type InstanceId: String
1162
+
1163
+ attr_accessor :InstanceId
1164
+
1165
+ def initialize(instanceid=nil)
1166
+ @InstanceId = instanceid
1167
+ end
1168
+
1169
+ def deserialize(params)
1170
+ @InstanceId = params['InstanceId']
1171
+ end
1172
+ end
1173
+
1174
+ # DeleteInstancePre返回参数结构体
1175
+ class DeleteInstancePreResponse < TencentCloud::Common::AbstractModel
1176
+ # @param Result: 返回结果
1177
+ # @type Result: :class:`Tencentcloud::Ckafka.v20190819.models.CreateInstancePreResp`
1178
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1179
+ # @type RequestId: String
1180
+
1181
+ attr_accessor :Result, :RequestId
1182
+
1183
+ def initialize(result=nil, requestid=nil)
1184
+ @Result = result
1185
+ @RequestId = requestid
1186
+ end
1187
+
1188
+ def deserialize(params)
1189
+ unless params['Result'].nil?
1190
+ @Result = CreateInstancePreResp.new
1191
+ @Result.deserialize(params['Result'])
1192
+ end
1193
+ @RequestId = params['RequestId']
1194
+ end
1195
+ end
1196
+
1158
1197
  # DeleteRouteTriggerTime请求参数结构体
1159
1198
  class DeleteRouteTriggerTimeRequest < TencentCloud::Common::AbstractModel
1160
1199
  # @param DelayTime: 修改时间
@@ -1810,7 +1849,7 @@ module TencentCloud
1810
1849
  # @type Offset: Integer
1811
1850
  # @param Limit: 返回数量,不填则默认10,最大值100
1812
1851
  # @type Limit: Integer
1813
- # @param TagKey: 匹配标签key值。
1852
+ # @param TagKey: 已废弃。匹配标签key值。
1814
1853
  # @type TagKey: String
1815
1854
 
1816
1855
  attr_accessor :InstanceId, :SearchWord, :Status, :Offset, :Limit, :TagKey
@@ -2711,10 +2750,16 @@ module TencentCloud
2711
2750
  # @param DeleteRouteTimestamp: 时间
2712
2751
  # 注意:此字段可能返回 null,表示取不到有效值。
2713
2752
  # @type DeleteRouteTimestamp: String
2753
+ # @param RemainingPartitions: 剩余创建分区数
2754
+ # 注意:此字段可能返回 null,表示取不到有效值。
2755
+ # @type RemainingPartitions: Integer
2756
+ # @param RemainingTopics: 剩余创建主题数
2757
+ # 注意:此字段可能返回 null,表示取不到有效值。
2758
+ # @type RemainingTopics: Integer
2714
2759
 
2715
- attr_accessor :InstanceId, :InstanceName, :VipList, :Vip, :Vport, :Status, :Bandwidth, :DiskSize, :ZoneId, :VpcId, :SubnetId, :Healthy, :HealthyMessage, :CreateTime, :MsgRetentionTime, :Config, :RemainderPartitions, :RemainderTopics, :CreatedPartitions, :CreatedTopics, :Tags, :ExpireTime, :ZoneIds, :Version, :MaxGroupNum, :Cvm, :InstanceType, :Features, :RetentionTimeConfig, :MaxConnection, :PublicNetwork, :DeleteRouteTimestamp
2760
+ attr_accessor :InstanceId, :InstanceName, :VipList, :Vip, :Vport, :Status, :Bandwidth, :DiskSize, :ZoneId, :VpcId, :SubnetId, :Healthy, :HealthyMessage, :CreateTime, :MsgRetentionTime, :Config, :RemainderPartitions, :RemainderTopics, :CreatedPartitions, :CreatedTopics, :Tags, :ExpireTime, :ZoneIds, :Version, :MaxGroupNum, :Cvm, :InstanceType, :Features, :RetentionTimeConfig, :MaxConnection, :PublicNetwork, :DeleteRouteTimestamp, :RemainingPartitions, :RemainingTopics
2716
2761
 
2717
- def initialize(instanceid=nil, instancename=nil, viplist=nil, vip=nil, vport=nil, status=nil, bandwidth=nil, disksize=nil, zoneid=nil, vpcid=nil, subnetid=nil, healthy=nil, healthymessage=nil, createtime=nil, msgretentiontime=nil, config=nil, remainderpartitions=nil, remaindertopics=nil, createdpartitions=nil, createdtopics=nil, tags=nil, expiretime=nil, zoneids=nil, version=nil, maxgroupnum=nil, cvm=nil, instancetype=nil, features=nil, retentiontimeconfig=nil, maxconnection=nil, publicnetwork=nil, deleteroutetimestamp=nil)
2762
+ def initialize(instanceid=nil, instancename=nil, viplist=nil, vip=nil, vport=nil, status=nil, bandwidth=nil, disksize=nil, zoneid=nil, vpcid=nil, subnetid=nil, healthy=nil, healthymessage=nil, createtime=nil, msgretentiontime=nil, config=nil, remainderpartitions=nil, remaindertopics=nil, createdpartitions=nil, createdtopics=nil, tags=nil, expiretime=nil, zoneids=nil, version=nil, maxgroupnum=nil, cvm=nil, instancetype=nil, features=nil, retentiontimeconfig=nil, maxconnection=nil, publicnetwork=nil, deleteroutetimestamp=nil, remainingpartitions=nil, remainingtopics=nil)
2718
2763
  @InstanceId = instanceid
2719
2764
  @InstanceName = instancename
2720
2765
  @VipList = viplist
@@ -2747,6 +2792,8 @@ module TencentCloud
2747
2792
  @MaxConnection = maxconnection
2748
2793
  @PublicNetwork = publicnetwork
2749
2794
  @DeleteRouteTimestamp = deleteroutetimestamp
2795
+ @RemainingPartitions = remainingpartitions
2796
+ @RemainingTopics = remainingtopics
2750
2797
  end
2751
2798
 
2752
2799
  def deserialize(params)
@@ -2802,6 +2849,8 @@ module TencentCloud
2802
2849
  @MaxConnection = params['MaxConnection']
2803
2850
  @PublicNetwork = params['PublicNetwork']
2804
2851
  @DeleteRouteTimestamp = params['DeleteRouteTimestamp']
2852
+ @RemainingPartitions = params['RemainingPartitions']
2853
+ @RemainingTopics = params['RemainingTopics']
2805
2854
  end
2806
2855
  end
2807
2856
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-ckafka
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.219
4
+ version: 1.0.223
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-12-08 00:00:00.000000000 Z
11
+ date: 2021-12-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common