tencentcloud-sdk-ckafka 3.0.587 → 3.0.589

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 +45 -7
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e3aaf3e0114bc9c0b8e222b4880dfa43bbddc297
4
- data.tar.gz: 70ee83028f17e275fd2a3b39fb753918904cc07e
3
+ metadata.gz: 562fe72c34f621f56c57d98d125ce43fe5656e71
4
+ data.tar.gz: 56a68a121fad3a6fb888905e5c04419eb20923f6
5
5
  SHA512:
6
- metadata.gz: 8f303cba6d3fe56ade3920dda2fff6098db7198006a90ca1ef6fb4511b8b3e7d1e79752d10c982b943080a2cfd8f50ea6a6345daf6e0e942da46dcaf156f9208
7
- data.tar.gz: 6e5d72c3657a9d6a8720b74fedabb655db5e1bb7ec48980f7ab403203599e843967897e5ab65348000bcad7fd9192a0cb19bbb9418ff39383f460c9268305c43
6
+ metadata.gz: 97b769b9a147d28d8e91305b29552c19ef329e3b1318cec6c76a6e9b4be2bb2ae5bd50d57138b8914dd9fb6bc349f18ccbadd93d5d790e5d79d0ed1926fac725
7
+ data.tar.gz: a2580dbde7403f8eacaa13ff98d589066342bcecf3717f7f630c5663bf7774a76e38041f91aeec2d4a14a2e509a17ee780a1d08ee73d2d1a6925c846279f388e
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.587
1
+ 3.0.589
@@ -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.587
4
+ version: 3.0.589
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-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common