tencentcloud-sdk-ckafka 3.0.585 → 3.0.587

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: fcec047eda2ce16e1407396562d98aac6aa5ac55
4
- data.tar.gz: 171f93646a971260870c726303f3295f6dfdd2c2
3
+ metadata.gz: e3aaf3e0114bc9c0b8e222b4880dfa43bbddc297
4
+ data.tar.gz: 70ee83028f17e275fd2a3b39fb753918904cc07e
5
5
  SHA512:
6
- metadata.gz: 9c758efd8d69ea1233d3276c7eeefcc211a49f57af62c8175b9761fb2cb34f6dc1a45656921d451a89b10b35a4fcfb84a6837c0944cfe593b1e42c07110d1bb3
7
- data.tar.gz: 3fe923fcfe909167e8284a94de51e9093347227b231add8dbe45c8d141a63e8bbce26ed19a65a2e01bc48dc88defd41d872302d38dd386c37be9f4b0e38520f8
6
+ metadata.gz: 8f303cba6d3fe56ade3920dda2fff6098db7198006a90ca1ef6fb4511b8b3e7d1e79752d10c982b943080a2cfd8f50ea6a6345daf6e0e942da46dcaf156f9208
7
+ data.tar.gz: 6e5d72c3657a9d6a8720b74fedabb655db5e1bb7ec48980f7ab403203599e843967897e5ab65348000bcad7fd9192a0cb19bbb9418ff39383f460c9268305c43
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.585
1
+ 3.0.587
@@ -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`
@@ -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,vpc网络需要传该参数,基础网络可以不传
1927
+ # @param SubnetId: 子网id。创建实例默认接入点所在的子网对应的子网 id
1928
1928
  # @type SubnetId: String
1929
- # @param MsgRetentionTime: 可选。实例日志的最长保留时间,单位分钟,默认为10080(7天),最大30天,不填默认0,代表不开启日志保留时间回收策略
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 ZoneId: 可用区
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, :ClusterId
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, clusterid=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
 
@@ -2031,11 +2075,11 @@ module TencentCloud
2031
2075
  # @type KafkaVersion: String
2032
2076
  # @param SpecificationsType: 实例类型: [标准版实例]填写 standard(默认), [专业版实例]填写 profession
2033
2077
  # @type SpecificationsType: String
2034
- # @param DiskSize: 磁盘大小,专业版不填写默认最小磁盘,填写后根据磁盘带宽分区数弹性计算
2078
+ # @param DiskSize: 磁盘大小,专业版不填写默认最小磁盘,如果跟控制台规格配比不相符,则无法创建成功
2035
2079
  # @type DiskSize: Integer
2036
- # @param BandWidth: 带宽,专业版不填写默认最小带宽,填写后根据磁盘带宽分区数弹性计算
2080
+ # @param BandWidth: 带宽,专业版不填写默认最小带宽,如果跟控制台规格配比不相符,则无法创建成功
2037
2081
  # @type BandWidth: Integer
2038
- # @param Partition: 分区大小,专业版不填写默认最小分区数,填写后根据磁盘带宽分区数弹性计算
2082
+ # @param Partition: 分区大小,专业版不填写默认最小分区数,如果跟控制台规格配比不相符,则无法创建成功
2039
2083
  # @type Partition: Integer
2040
2084
  # @param Tags: 标签
2041
2085
  # @type Tags: Array
@@ -5067,15 +5111,19 @@ module TencentCloud
5067
5111
  class DescribeRouteRequest < TencentCloud::Common::AbstractModel
5068
5112
  # @param InstanceId: 实例唯一id
5069
5113
  # @type InstanceId: String
5114
+ # @param RouteId: 路由id
5115
+ # @type RouteId: Integer
5070
5116
 
5071
- attr_accessor :InstanceId
5117
+ attr_accessor :InstanceId, :RouteId
5072
5118
 
5073
- def initialize(instanceid=nil)
5119
+ def initialize(instanceid=nil, routeid=nil)
5074
5120
  @InstanceId = instanceid
5121
+ @RouteId = routeid
5075
5122
  end
5076
5123
 
5077
5124
  def deserialize(params)
5078
5125
  @InstanceId = params['InstanceId']
5126
+ @RouteId = params['RouteId']
5079
5127
  end
5080
5128
  end
5081
5129
 
@@ -9080,15 +9128,23 @@ module TencentCloud
9080
9128
  # @param FlowId: FlowId11
9081
9129
  # 注意:此字段可能返回 null,表示取不到有效值。
9082
9130
  # @type FlowId: Integer
9131
+ # @param RouteDTO: RouteIdDto
9132
+ # 注意:此字段可能返回 null,表示取不到有效值。
9133
+ # @type RouteDTO: :class:`Tencentcloud::Ckafka.v20190819.models.RouteDTO`
9083
9134
 
9084
- attr_accessor :FlowId
9135
+ attr_accessor :FlowId, :RouteDTO
9085
9136
 
9086
- def initialize(flowid=nil)
9137
+ def initialize(flowid=nil, routedto=nil)
9087
9138
  @FlowId = flowid
9139
+ @RouteDTO = routedto
9088
9140
  end
9089
9141
 
9090
9142
  def deserialize(params)
9091
9143
  @FlowId = params['FlowId']
9144
+ unless params['RouteDTO'].nil?
9145
+ @RouteDTO = RouteDTO.new
9146
+ @RouteDTO.deserialize(params['RouteDTO'])
9147
+ end
9092
9148
  end
9093
9149
  end
9094
9150
 
@@ -9608,6 +9664,23 @@ module TencentCloud
9608
9664
  end
9609
9665
  end
9610
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
+
9611
9684
  # 路由信息返回对象
9612
9685
  class RouteResponse < TencentCloud::Common::AbstractModel
9613
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.585
4
+ version: 3.0.587
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-06 00:00:00.000000000 Z
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