tencentcloud-sdk-ckafka 3.0.588 → 3.0.590

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20190819/models.rb +46 -8
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f1e0908436ec5c9a65f3a1bc4782eb569ec830e4
4
- data.tar.gz: 15b054efefc5a56430e7e1deb1ce4c603eb50ab6
3
+ metadata.gz: 47520117f36227fce01e47359b922f1647baaf90
4
+ data.tar.gz: 508f76ac44fd0b5f3559bad3397f208ced434afa
5
5
  SHA512:
6
- metadata.gz: 1edbc51e3d8296d2615dc1f483f3c0417bdf0e2c479608bb35ad24e153456e308c6fb55353de628acecde2d71eb31380bfe8a83d309d5dd92349e04b5802dc01
7
- data.tar.gz: 08fe28faada18fb515edc9271af97bae77a84d973344f1d9d04397462ca5a80519d9e8c4b569cea481b23047e2d66e92b64a3b3d4c7449cde26658c8c95a38ae
6
+ metadata.gz: e51ddf6917069bdfb23223015ec253745e38114d775ca1992aeaeec1f01a96b9deaf9231be1f7ea69e359ca13d2bfaab65255bef6e7e558ff5054325f9aab3cd
7
+ data.tar.gz: 03df74b1ccfa6a67d2e5505355f8c3713f1db191d2393550d5413f32998f90f7239059244e59eb21fb2e29eab389e463562f3c97acd7992d39de8352fac2ab2a
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.588
1
+ 3.0.590
@@ -1944,7 +1944,7 @@ module TencentCloud
1944
1944
  # @type Partition: Integer
1945
1945
  # @param TopicNum: 实例最大 topic 数量,需要满足当前实例的计费规格
1946
1946
  # @type TopicNum: Integer
1947
- # @param ZoneId: 实例所在的可用区。当创建多可用区实例时,该参数为创建的默认接入点所在的子网
1947
+ # @param ZoneId: 实例所在的可用区。当创建多可用区实例时,该参数为创建的默认接入点所在子网的可用区 id
1948
1948
  # @type ZoneId: Integer
1949
1949
  # @param MultiZoneFlag: 当前实例是否为多可用区实例。
1950
1950
  # @type MultiZoneFlag: Boolean
@@ -2031,22 +2031,34 @@ module TencentCloud
2031
2031
  # @param DealNames: 订单号列表
2032
2032
  # 注意:此字段可能返回 null,表示取不到有效值。
2033
2033
  # @type DealNames: Array
2034
- # @param InstanceId: 实例Id
2034
+ # @param InstanceId: 实例Id,当购买多个实例时,默认返回购买的第一个实例 id
2035
2035
  # 注意:此字段可能返回 null,表示取不到有效值。
2036
2036
  # @type InstanceId: String
2037
+ # @param DealNameInstanceIdMapping: 订单和购买实例对应映射列表
2038
+ # 注意:此字段可能返回 null,表示取不到有效值。
2039
+ # @type DealNameInstanceIdMapping: Array
2037
2040
 
2038
- attr_accessor :FlowId, :DealNames, :InstanceId
2041
+ attr_accessor :FlowId, :DealNames, :InstanceId, :DealNameInstanceIdMapping
2039
2042
 
2040
- def initialize(flowid=nil, dealnames=nil, instanceid=nil)
2043
+ def initialize(flowid=nil, dealnames=nil, instanceid=nil, dealnameinstanceidmapping=nil)
2041
2044
  @FlowId = flowid
2042
2045
  @DealNames = dealnames
2043
2046
  @InstanceId = instanceid
2047
+ @DealNameInstanceIdMapping = dealnameinstanceidmapping
2044
2048
  end
2045
2049
 
2046
2050
  def deserialize(params)
2047
2051
  @FlowId = params['FlowId']
2048
2052
  @DealNames = params['DealNames']
2049
2053
  @InstanceId = params['InstanceId']
2054
+ unless params['DealNameInstanceIdMapping'].nil?
2055
+ @DealNameInstanceIdMapping = []
2056
+ params['DealNameInstanceIdMapping'].each do |i|
2057
+ dealinstancedto_tmp = DealInstanceDTO.new
2058
+ dealinstancedto_tmp.deserialize(i)
2059
+ @DealNameInstanceIdMapping << dealinstancedto_tmp
2060
+ end
2061
+ end
2050
2062
  end
2051
2063
  end
2052
2064
 
@@ -2089,10 +2101,12 @@ module TencentCloud
2089
2101
  # @type MultiZoneFlag: Boolean
2090
2102
  # @param ZoneIds: 可用区列表,购买多可用区实例时为必填项
2091
2103
  # @type ZoneIds: Array
2104
+ # @param PublicNetworkMonthly: 公网带宽大小,单位 Mbps。默认是没有加上免费 3Mbps 带宽。例如总共需要 3Mbps 公网带宽,此处传 0;总共需要 4Mbps 公网带宽,此处传 1。默认值为 0
2105
+ # @type PublicNetworkMonthly: Integer
2092
2106
 
2093
- attr_accessor :InstanceName, :ZoneId, :Period, :InstanceType, :VpcId, :SubnetId, :MsgRetentionTime, :ClusterId, :RenewFlag, :KafkaVersion, :SpecificationsType, :DiskSize, :BandWidth, :Partition, :Tags, :DiskType, :MultiZoneFlag, :ZoneIds
2107
+ attr_accessor :InstanceName, :ZoneId, :Period, :InstanceType, :VpcId, :SubnetId, :MsgRetentionTime, :ClusterId, :RenewFlag, :KafkaVersion, :SpecificationsType, :DiskSize, :BandWidth, :Partition, :Tags, :DiskType, :MultiZoneFlag, :ZoneIds, :PublicNetworkMonthly
2094
2108
 
2095
- def initialize(instancename=nil, zoneid=nil, period=nil, instancetype=nil, vpcid=nil, subnetid=nil, msgretentiontime=nil, clusterid=nil, renewflag=nil, kafkaversion=nil, specificationstype=nil, disksize=nil, bandwidth=nil, partition=nil, tags=nil, disktype=nil, multizoneflag=nil, zoneids=nil)
2109
+ def initialize(instancename=nil, zoneid=nil, period=nil, instancetype=nil, vpcid=nil, subnetid=nil, msgretentiontime=nil, clusterid=nil, renewflag=nil, kafkaversion=nil, specificationstype=nil, disksize=nil, bandwidth=nil, partition=nil, tags=nil, disktype=nil, multizoneflag=nil, zoneids=nil, publicnetworkmonthly=nil)
2096
2110
  @InstanceName = instancename
2097
2111
  @ZoneId = zoneid
2098
2112
  @Period = period
@@ -2111,6 +2125,7 @@ module TencentCloud
2111
2125
  @DiskType = disktype
2112
2126
  @MultiZoneFlag = multizoneflag
2113
2127
  @ZoneIds = zoneids
2128
+ @PublicNetworkMonthly = publicnetworkmonthly
2114
2129
  end
2115
2130
 
2116
2131
  def deserialize(params)
@@ -2139,10 +2154,11 @@ module TencentCloud
2139
2154
  @DiskType = params['DiskType']
2140
2155
  @MultiZoneFlag = params['MultiZoneFlag']
2141
2156
  @ZoneIds = params['ZoneIds']
2157
+ @PublicNetworkMonthly = params['PublicNetworkMonthly']
2142
2158
  end
2143
2159
  end
2144
2160
 
2145
- # 创建预付费实例返回结构
2161
+ # 预付费实例相关接口返回结构
2146
2162
  class CreateInstancePreResp < TencentCloud::Common::AbstractModel
2147
2163
  # @param ReturnCode: 返回的code,0为正常,非0为错误
2148
2164
  # @type ReturnCode: String
@@ -2151,7 +2167,7 @@ module TencentCloud
2151
2167
  # @param Data: 操作型返回的Data数据
2152
2168
  # 注意:此字段可能返回 null,表示取不到有效值。
2153
2169
  # @type Data: :class:`Tencentcloud::Ckafka.v20190819.models.CreateInstancePreData`
2154
- # @param DeleteRouteTimestamp: 删除是时间
2170
+ # @param DeleteRouteTimestamp: 删除时间。目前该参数字段已废弃,将会在未来被删除
2155
2171
  # 注意:此字段可能返回 null,表示取不到有效值。
2156
2172
  # @type DeleteRouteTimestamp: String
2157
2173
 
@@ -3003,6 +3019,28 @@ module TencentCloud
3003
3019
  end
3004
3020
  end
3005
3021
 
3022
+ # 预付费/后付费接口中,订单和 CKafka 实例映射数据结构
3023
+ class DealInstanceDTO < TencentCloud::Common::AbstractModel
3024
+ # @param DealName: 订单流水
3025
+ # 注意:此字段可能返回 null,表示取不到有效值。
3026
+ # @type DealName: String
3027
+ # @param InstanceIdList: 订单流水对应购买的 CKafka 实例 id 列表
3028
+ # 注意:此字段可能返回 null,表示取不到有效值。
3029
+ # @type InstanceIdList: Array
3030
+
3031
+ attr_accessor :DealName, :InstanceIdList
3032
+
3033
+ def initialize(dealname=nil, instanceidlist=nil)
3034
+ @DealName = dealname
3035
+ @InstanceIdList = instanceidlist
3036
+ end
3037
+
3038
+ def deserialize(params)
3039
+ @DealName = params['DealName']
3040
+ @InstanceIdList = params['InstanceIdList']
3041
+ end
3042
+ end
3043
+
3006
3044
  # DeleteAcl请求参数结构体
3007
3045
  class DeleteAclRequest < TencentCloud::Common::AbstractModel
3008
3046
  # @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.588
4
+ version: 3.0.590
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-08 00:00:00.000000000 Z
11
+ date: 2023-06-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common