tencentcloud-sdk-ckafka 1.0.311 → 1.0.312

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9264dc6da37355e30e2ab5790a5064f8c423e7f8
4
- data.tar.gz: 009cb979b6e69d49425eb225105a46f2804aac01
3
+ metadata.gz: b0a8d5806e1bbe76a29147947f4e53e43fb865bd
4
+ data.tar.gz: badc19f26591179cabf0bb38e8241da1627fc33c
5
5
  SHA512:
6
- metadata.gz: 0c7ca9cef4be5e0e3119587591c00a830da44819f15f41283f42657df0d9237ecb6b5a3d2a70745a2529f0ab8919a010e09d07960d733341b14b10ad48c22a44
7
- data.tar.gz: a314d4124c397c99a7b8f5b0a2d8ab3c026f212c5f2528557c85ba9811e6096441ebec696dcfbb558d21b2ff0f3bf6f659edc4e2d3d062297324745006e76d7b
6
+ metadata.gz: 6084f031327f751209b0efead9db65e21d9c1b4b1bdd292565ad3393a170ac811795f538ef362c860bc544f6356bc102ded57a196db46c4cc2c0aa4da1325d61
7
+ data.tar.gz: a945177e31f2a5b0b27e241a036fa421b244b7e617c870bf8d39022371f0351c40a83582f39ee0fa2977722bd4952b25d98e287bd81dfd88ff518af4c3953e48
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.311
1
+ 1.0.312
@@ -1086,6 +1086,30 @@ module TencentCloud
1086
1086
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1087
1087
  end
1088
1088
 
1089
+ # 预付费实例变配接口,调整磁盘,带宽
1090
+
1091
+ # @param request: Request instance for ModifyInstancePre.
1092
+ # @type request: :class:`Tencentcloud::ckafka::V20190819::ModifyInstancePreRequest`
1093
+ # @rtype: :class:`Tencentcloud::ckafka::V20190819::ModifyInstancePreResponse`
1094
+ def ModifyInstancePre(request)
1095
+ body = send_request('ModifyInstancePre', request.serialize)
1096
+ response = JSON.parse(body)
1097
+ if response['Response'].key?('Error') == false
1098
+ model = ModifyInstancePreResponse.new
1099
+ model.deserialize(response['Response'])
1100
+ model
1101
+ else
1102
+ code = response['Response']['Error']['Code']
1103
+ message = response['Response']['Error']['Message']
1104
+ reqid = response['Response']['RequestId']
1105
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1106
+ end
1107
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1108
+ raise e
1109
+ rescue StandardError => e
1110
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1111
+ end
1112
+
1089
1113
  # 修改密码
1090
1114
 
1091
1115
  # @param request: Request instance for ModifyPassword.
@@ -3950,6 +3950,57 @@ module TencentCloud
3950
3950
  end
3951
3951
  end
3952
3952
 
3953
+ # ModifyInstancePre请求参数结构体
3954
+ class ModifyInstancePreRequest < TencentCloud::Common::AbstractModel
3955
+ # @param InstanceId: 实例名称
3956
+ # @type InstanceId: String
3957
+ # @param DiskSize: 预计磁盘,根据磁盘步长,规格向上调整。
3958
+ # @type DiskSize: Integer
3959
+ # @param BandWidth: 预计带宽,根据带宽步长,规格向上调整。
3960
+ # @type BandWidth: Integer
3961
+ # @param Partition: 预计分区,根据带宽步长,规格向上调整。
3962
+ # @type Partition: Integer
3963
+
3964
+ attr_accessor :InstanceId, :DiskSize, :BandWidth, :Partition
3965
+
3966
+ def initialize(instanceid=nil, disksize=nil, bandwidth=nil, partition=nil)
3967
+ @InstanceId = instanceid
3968
+ @DiskSize = disksize
3969
+ @BandWidth = bandwidth
3970
+ @Partition = partition
3971
+ end
3972
+
3973
+ def deserialize(params)
3974
+ @InstanceId = params['InstanceId']
3975
+ @DiskSize = params['DiskSize']
3976
+ @BandWidth = params['BandWidth']
3977
+ @Partition = params['Partition']
3978
+ end
3979
+ end
3980
+
3981
+ # ModifyInstancePre返回参数结构体
3982
+ class ModifyInstancePreResponse < TencentCloud::Common::AbstractModel
3983
+ # @param Result: 变更预付费实例配置返回结构
3984
+ # @type Result: :class:`Tencentcloud::Ckafka.v20190819.models.CreateInstancePreResp`
3985
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3986
+ # @type RequestId: String
3987
+
3988
+ attr_accessor :Result, :RequestId
3989
+
3990
+ def initialize(result=nil, requestid=nil)
3991
+ @Result = result
3992
+ @RequestId = requestid
3993
+ end
3994
+
3995
+ def deserialize(params)
3996
+ unless params['Result'].nil?
3997
+ @Result = CreateInstancePreResp.new
3998
+ @Result.deserialize(params['Result'])
3999
+ end
4000
+ @RequestId = params['RequestId']
4001
+ end
4002
+ end
4003
+
3953
4004
  # ModifyPassword请求参数结构体
3954
4005
  class ModifyPasswordRequest < TencentCloud::Common::AbstractModel
3955
4006
  # @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: 1.0.311
4
+ version: 1.0.312
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-05-12 00:00:00.000000000 Z
11
+ date: 2022-05-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common