tencentcloud-sdk-ckafka 3.0.658 → 3.0.659
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/v20190819/client.rb +24 -0
- data/lib/v20190819/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: 5b59e9fd6daa42e1a5f60d407b43e968b740b738
|
4
|
+
data.tar.gz: 15b8558d558502d0169183c1fcfc9a6c2060f833
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7cfc025af3292d902889a1cbd0790f4a6deff268e664ee156ace37dc37fcfe8cf7d13583190f40ea454e486689eb77ee83676dfafabbb4af41c34c1cb0ba6d07
|
7
|
+
data.tar.gz: bcb951e25456b7459292352a21a67b70355b3bd804855a5b8aea8e5eaaf07e0070c7988c8166bf85db0ec437b1d247ee28f55187f9d457b3139171f7d4ac8365
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.659
|
data/lib/v20190819/client.rb
CHANGED
@@ -701,6 +701,30 @@ module TencentCloud
|
|
701
701
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
702
702
|
end
|
703
703
|
|
704
|
+
# 删除后付费实例
|
705
|
+
|
706
|
+
# @param request: Request instance for DeleteInstancePost.
|
707
|
+
# @type request: :class:`Tencentcloud::ckafka::V20190819::DeleteInstancePostRequest`
|
708
|
+
# @rtype: :class:`Tencentcloud::ckafka::V20190819::DeleteInstancePostResponse`
|
709
|
+
def DeleteInstancePost(request)
|
710
|
+
body = send_request('DeleteInstancePost', request.serialize)
|
711
|
+
response = JSON.parse(body)
|
712
|
+
if response['Response'].key?('Error') == false
|
713
|
+
model = DeleteInstancePostResponse.new
|
714
|
+
model.deserialize(response['Response'])
|
715
|
+
model
|
716
|
+
else
|
717
|
+
code = response['Response']['Error']['Code']
|
718
|
+
message = response['Response']['Error']['Message']
|
719
|
+
reqid = response['Response']['RequestId']
|
720
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
721
|
+
end
|
722
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
723
|
+
raise e
|
724
|
+
rescue StandardError => e
|
725
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
726
|
+
end
|
727
|
+
|
704
728
|
# 删除预付费实例
|
705
729
|
|
706
730
|
# @param request: Request instance for DeleteInstancePre.
|
data/lib/v20190819/models.rb
CHANGED
@@ -3576,6 +3576,45 @@ module TencentCloud
|
|
3576
3576
|
end
|
3577
3577
|
end
|
3578
3578
|
|
3579
|
+
# DeleteInstancePost请求参数结构体
|
3580
|
+
class DeleteInstancePostRequest < TencentCloud::Common::AbstractModel
|
3581
|
+
# @param InstanceId: 实例ID
|
3582
|
+
# @type InstanceId: String
|
3583
|
+
|
3584
|
+
attr_accessor :InstanceId
|
3585
|
+
|
3586
|
+
def initialize(instanceid=nil)
|
3587
|
+
@InstanceId = instanceid
|
3588
|
+
end
|
3589
|
+
|
3590
|
+
def deserialize(params)
|
3591
|
+
@InstanceId = params['InstanceId']
|
3592
|
+
end
|
3593
|
+
end
|
3594
|
+
|
3595
|
+
# DeleteInstancePost返回参数结构体
|
3596
|
+
class DeleteInstancePostResponse < TencentCloud::Common::AbstractModel
|
3597
|
+
# @param Result: 返回的结果集
|
3598
|
+
# @type Result: :class:`Tencentcloud::Ckafka.v20190819.models.InstanceDeleteResponse`
|
3599
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3600
|
+
# @type RequestId: String
|
3601
|
+
|
3602
|
+
attr_accessor :Result, :RequestId
|
3603
|
+
|
3604
|
+
def initialize(result=nil, requestid=nil)
|
3605
|
+
@Result = result
|
3606
|
+
@RequestId = requestid
|
3607
|
+
end
|
3608
|
+
|
3609
|
+
def deserialize(params)
|
3610
|
+
unless params['Result'].nil?
|
3611
|
+
@Result = InstanceDeleteResponse.new
|
3612
|
+
@Result.deserialize(params['Result'])
|
3613
|
+
end
|
3614
|
+
@RequestId = params['RequestId']
|
3615
|
+
end
|
3616
|
+
end
|
3617
|
+
|
3579
3618
|
# DeleteInstancePre请求参数结构体
|
3580
3619
|
class DeleteInstancePreRequest < TencentCloud::Common::AbstractModel
|
3581
3620
|
# @param InstanceId: 实例id
|
@@ -7777,6 +7816,23 @@ module TencentCloud
|
|
7777
7816
|
end
|
7778
7817
|
end
|
7779
7818
|
|
7819
|
+
# 删除实例返回任务
|
7820
|
+
class InstanceDeleteResponse < TencentCloud::Common::AbstractModel
|
7821
|
+
# @param FlowId: 删除实例返回的任务Id
|
7822
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7823
|
+
# @type FlowId: Integer
|
7824
|
+
|
7825
|
+
attr_accessor :FlowId
|
7826
|
+
|
7827
|
+
def initialize(flowid=nil)
|
7828
|
+
@FlowId = flowid
|
7829
|
+
end
|
7830
|
+
|
7831
|
+
def deserialize(params)
|
7832
|
+
@FlowId = params['FlowId']
|
7833
|
+
end
|
7834
|
+
end
|
7835
|
+
|
7780
7836
|
# 实例详情
|
7781
7837
|
class InstanceDetail < TencentCloud::Common::AbstractModel
|
7782
7838
|
# @param InstanceId: 实例id
|
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: 3.0.
|
4
|
+
version: 3.0.659
|
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-09-
|
11
|
+
date: 2023-09-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|