tencentcloud-sdk-ckafka 3.0.586 → 3.0.588
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 +1 -1
- data/lib/v20190819/models.rb +82 -13
- 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: f1e0908436ec5c9a65f3a1bc4782eb569ec830e4
|
4
|
+
data.tar.gz: 15b054efefc5a56430e7e1deb1ce4c603eb50ab6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1edbc51e3d8296d2615dc1f483f3c0417bdf0e2c479608bb35ad24e153456e308c6fb55353de628acecde2d71eb31380bfe8a83d309d5dd92349e04b5802dc01
|
7
|
+
data.tar.gz: 08fe28faada18fb515edc9271af97bae77a84d973344f1d9d04397462ca5a80519d9e8c4b569cea481b23047e2d66e92b64a3b3d4c7449cde26658c8c95a38ae
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.588
|
data/lib/v20190819/client.rb
CHANGED
@@ -341,7 +341,7 @@ module TencentCloud
|
|
341
341
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
342
342
|
end
|
343
343
|
|
344
|
-
#
|
344
|
+
# 由于出参需要更新,当前接口将会在未来版本中废弃,建议用户迁移使用 CreatePostPaidInstance 接口。创建按量计费实例。通常用于 SDK 或云 API 控制台调用接口,创建后付费 CKafka 实例。调用接口与在 CKafka 控制台购买按量付费实例效果相同。
|
345
345
|
|
346
346
|
# @param request: Request instance for CreateInstancePost.
|
347
347
|
# @type request: :class:`Tencentcloud::ckafka::V20190819::CreateInstancePostRequest`
|
data/lib/v20190819/models.rb
CHANGED
@@ -1920,29 +1920,62 @@ module TencentCloud
|
|
1920
1920
|
class CreateInstancePostRequest < TencentCloud::Common::AbstractModel
|
1921
1921
|
# @param InstanceName: 实例名称,是一个不超过 64 个字符的字符串,必须以字母为首字符,剩余部分可以包含字母、数字和横划线(-)
|
1922
1922
|
# @type InstanceName: String
|
1923
|
-
# @param BandWidth:
|
1923
|
+
# @param BandWidth: 实例内网峰值带宽。单位 MB/s。标准版需传入当前实例规格所对应的峰值带宽。注意如果创建的实例为专业版实例,峰值带宽,分区数等参数配置需要满足专业版的计费规格。
|
1924
1924
|
# @type BandWidth: Integer
|
1925
|
-
# @param VpcId: vpcId
|
1925
|
+
# @param VpcId: 创建的实例默认接入点所在的 vpc 对应 vpcId。目前不支持创建基础网络实例,因此该参数必填
|
1926
1926
|
# @type VpcId: String
|
1927
|
-
# @param SubnetId: 子网id
|
1927
|
+
# @param SubnetId: 子网id。创建实例默认接入点所在的子网对应的子网 id
|
1928
1928
|
# @type SubnetId: String
|
1929
|
-
# @param
|
1929
|
+
# @param InstanceType: 实例规格。当创建标准版实例时必填,创建专业版实例时不需要填写。1:入门型;2:标准型;3:进阶型;4:容量型;5:高阶型1;6:高阶性2;7:高阶型3;8:高阶型4;9 :独占型
|
1930
|
+
# @type InstanceType: Integer
|
1931
|
+
# @param MsgRetentionTime: 实例日志的默认最长保留时间,单位分钟。不传入该参数时默认为 1440 分钟(1天),最大30天。当 topic 显式设置消息保留时间时,以 topic 保留时间为准
|
1930
1932
|
# @type MsgRetentionTime: Integer
|
1931
|
-
# @param
|
1932
|
-
# @type ZoneId: Integer
|
1933
|
-
# @param ClusterId: 创建实例时可以选择集群Id, 该入参表示集群Id
|
1933
|
+
# @param ClusterId: 创建实例时可以选择集群Id, 该入参表示集群Id。不指定实例所在集群则不传入该参数
|
1934
1934
|
# @type ClusterId: Integer
|
1935
|
+
# @param KafkaVersion: 实例版本。目前支持 "0.10.2","1.1.1","2.4.2","2.8.1"
|
1936
|
+
# @type KafkaVersion: String
|
1937
|
+
# @param SpecificationsType: 实例类型。"standard":标准版,"profession":专业版
|
1938
|
+
# @type SpecificationsType: String
|
1939
|
+
# @param DiskType: 实例硬盘类型,"CLOUD_BASIC":云硬盘,"CLOUD_SSD":高速云硬盘。不传默认为 "CLOUD_BASIC"
|
1940
|
+
# @type DiskType: String
|
1941
|
+
# @param DiskSize: 实例硬盘大小,需要满足当前实例的计费规格
|
1942
|
+
# @type DiskSize: Integer
|
1943
|
+
# @param Partition: 实例最大分区数量,需要满足当前实例的计费规格
|
1944
|
+
# @type Partition: Integer
|
1945
|
+
# @param TopicNum: 实例最大 topic 数量,需要满足当前实例的计费规格
|
1946
|
+
# @type TopicNum: Integer
|
1947
|
+
# @param ZoneId: 实例所在的可用区。当创建多可用区实例时,该参数为创建的默认接入点所在的子网
|
1948
|
+
# @type ZoneId: Integer
|
1949
|
+
# @param MultiZoneFlag: 当前实例是否为多可用区实例。
|
1950
|
+
# @type MultiZoneFlag: Boolean
|
1951
|
+
# @param ZoneIds: 当实例为多可用区实例时,多可用区 id 列表。注意参数 ZoneId 对应的多可用区需要包含在该参数数组中
|
1952
|
+
# @type ZoneIds: Array
|
1953
|
+
# @param InstanceNum: 购买实例数量。非必填,默认值为 1。当传入该参数时,会创建多个 instanceName 加后缀区分的实例
|
1954
|
+
# @type InstanceNum: Integer
|
1955
|
+
# @param PublicNetworkMonthly: 公网带宽大小,单位 Mbps。默认是没有加上免费 3Mbps 带宽。例如总共需要 3Mbps 公网带宽,此处传 0;总共需要 4Mbps 公网带宽,此处传 1
|
1956
|
+
# @type PublicNetworkMonthly: Integer
|
1935
1957
|
|
1936
|
-
attr_accessor :InstanceName, :BandWidth, :VpcId, :SubnetId, :MsgRetentionTime, :ZoneId, :
|
1958
|
+
attr_accessor :InstanceName, :BandWidth, :VpcId, :SubnetId, :InstanceType, :MsgRetentionTime, :ClusterId, :KafkaVersion, :SpecificationsType, :DiskType, :DiskSize, :Partition, :TopicNum, :ZoneId, :MultiZoneFlag, :ZoneIds, :InstanceNum, :PublicNetworkMonthly
|
1937
1959
|
|
1938
|
-
def initialize(instancename=nil, bandwidth=nil, vpcid=nil, subnetid=nil, msgretentiontime=nil, zoneid=nil,
|
1960
|
+
def initialize(instancename=nil, bandwidth=nil, vpcid=nil, subnetid=nil, instancetype=nil, msgretentiontime=nil, clusterid=nil, kafkaversion=nil, specificationstype=nil, disktype=nil, disksize=nil, partition=nil, topicnum=nil, zoneid=nil, multizoneflag=nil, zoneids=nil, instancenum=nil, publicnetworkmonthly=nil)
|
1939
1961
|
@InstanceName = instancename
|
1940
1962
|
@BandWidth = bandwidth
|
1941
1963
|
@VpcId = vpcid
|
1942
1964
|
@SubnetId = subnetid
|
1965
|
+
@InstanceType = instancetype
|
1943
1966
|
@MsgRetentionTime = msgretentiontime
|
1944
|
-
@ZoneId = zoneid
|
1945
1967
|
@ClusterId = clusterid
|
1968
|
+
@KafkaVersion = kafkaversion
|
1969
|
+
@SpecificationsType = specificationstype
|
1970
|
+
@DiskType = disktype
|
1971
|
+
@DiskSize = disksize
|
1972
|
+
@Partition = partition
|
1973
|
+
@TopicNum = topicnum
|
1974
|
+
@ZoneId = zoneid
|
1975
|
+
@MultiZoneFlag = multizoneflag
|
1976
|
+
@ZoneIds = zoneids
|
1977
|
+
@InstanceNum = instancenum
|
1978
|
+
@PublicNetworkMonthly = publicnetworkmonthly
|
1946
1979
|
end
|
1947
1980
|
|
1948
1981
|
def deserialize(params)
|
@@ -1950,9 +1983,20 @@ module TencentCloud
|
|
1950
1983
|
@BandWidth = params['BandWidth']
|
1951
1984
|
@VpcId = params['VpcId']
|
1952
1985
|
@SubnetId = params['SubnetId']
|
1986
|
+
@InstanceType = params['InstanceType']
|
1953
1987
|
@MsgRetentionTime = params['MsgRetentionTime']
|
1954
|
-
@ZoneId = params['ZoneId']
|
1955
1988
|
@ClusterId = params['ClusterId']
|
1989
|
+
@KafkaVersion = params['KafkaVersion']
|
1990
|
+
@SpecificationsType = params['SpecificationsType']
|
1991
|
+
@DiskType = params['DiskType']
|
1992
|
+
@DiskSize = params['DiskSize']
|
1993
|
+
@Partition = params['Partition']
|
1994
|
+
@TopicNum = params['TopicNum']
|
1995
|
+
@ZoneId = params['ZoneId']
|
1996
|
+
@MultiZoneFlag = params['MultiZoneFlag']
|
1997
|
+
@ZoneIds = params['ZoneIds']
|
1998
|
+
@InstanceNum = params['InstanceNum']
|
1999
|
+
@PublicNetworkMonthly = params['PublicNetworkMonthly']
|
1956
2000
|
end
|
1957
2001
|
end
|
1958
2002
|
|
@@ -9084,15 +9128,23 @@ module TencentCloud
|
|
9084
9128
|
# @param FlowId: FlowId11
|
9085
9129
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
9086
9130
|
# @type FlowId: Integer
|
9131
|
+
# @param RouteDTO: RouteIdDto
|
9132
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
9133
|
+
# @type RouteDTO: :class:`Tencentcloud::Ckafka.v20190819.models.RouteDTO`
|
9087
9134
|
|
9088
|
-
attr_accessor :FlowId
|
9135
|
+
attr_accessor :FlowId, :RouteDTO
|
9089
9136
|
|
9090
|
-
def initialize(flowid=nil)
|
9137
|
+
def initialize(flowid=nil, routedto=nil)
|
9091
9138
|
@FlowId = flowid
|
9139
|
+
@RouteDTO = routedto
|
9092
9140
|
end
|
9093
9141
|
|
9094
9142
|
def deserialize(params)
|
9095
9143
|
@FlowId = params['FlowId']
|
9144
|
+
unless params['RouteDTO'].nil?
|
9145
|
+
@RouteDTO = RouteDTO.new
|
9146
|
+
@RouteDTO.deserialize(params['RouteDTO'])
|
9147
|
+
end
|
9096
9148
|
end
|
9097
9149
|
end
|
9098
9150
|
|
@@ -9612,6 +9664,23 @@ module TencentCloud
|
|
9612
9664
|
end
|
9613
9665
|
end
|
9614
9666
|
|
9667
|
+
# RouteDTO
|
9668
|
+
class RouteDTO < TencentCloud::Common::AbstractModel
|
9669
|
+
# @param RouteId: RouteId11
|
9670
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
9671
|
+
# @type RouteId: Integer
|
9672
|
+
|
9673
|
+
attr_accessor :RouteId
|
9674
|
+
|
9675
|
+
def initialize(routeid=nil)
|
9676
|
+
@RouteId = routeid
|
9677
|
+
end
|
9678
|
+
|
9679
|
+
def deserialize(params)
|
9680
|
+
@RouteId = params['RouteId']
|
9681
|
+
end
|
9682
|
+
end
|
9683
|
+
|
9615
9684
|
# 路由信息返回对象
|
9616
9685
|
class RouteResponse < TencentCloud::Common::AbstractModel
|
9617
9686
|
# @param Routers: 路由信息列表
|
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.588
|
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-06-
|
11
|
+
date: 2023-06-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|