tencentcloud-sdk-trocket 3.0.849 → 3.0.850

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: 31fa0ac513eafd6a7d19e5988d364760c5154361
4
- data.tar.gz: 6db09d809fac21a3611f480acbad576b8332fc4a
3
+ metadata.gz: 940c604d9fdcb41f77e6bbcccfd92b86041afa9a
4
+ data.tar.gz: f22f79003c61e3db7d0eeccebf38716cecd8313e
5
5
  SHA512:
6
- metadata.gz: 09c4588efda6273724b8acc0e7e857873372679380b945b3552e1dc0e91844e95f6bb07d138e4b33d7c1063113fc44fd696cb31d35b6e6c19de2272b2ee8dbad
7
- data.tar.gz: 87cd84ac2c5d6a44d7f58f9449340d20c5e90e23ac644d6150cc3e9f57529e669d75c3fa82738691de9e318e53667879d1d97e6240198102ecc03e1298e5d880
6
+ metadata.gz: d691d8eada7f22a222160b126ed278b3bad59f3ef300ce7ecb7e558d5380c6ee161c52bb49945b2deb0821508ba1b42a7a197b8db785889101c9cb259970293d
7
+ data.tar.gz: 2702a110110515628672d98be8517810db1202779329089ba5770dd9e287d46a87fc8d4381638cb60d37e3a8d5477f7c46ec0136dfcd3a54098791730bb66da8
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.849
1
+ 3.0.850
@@ -846,6 +846,30 @@ module TencentCloud
846
846
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
847
847
  end
848
848
 
849
+ # 查询产品售卖规格,针对 RocketMQ 5.x 集群。
850
+
851
+ # @param request: Request instance for DescribeProductSKUs.
852
+ # @type request: :class:`Tencentcloud::trocket::V20230308::DescribeProductSKUsRequest`
853
+ # @rtype: :class:`Tencentcloud::trocket::V20230308::DescribeProductSKUsResponse`
854
+ def DescribeProductSKUs(request)
855
+ body = send_request('DescribeProductSKUs', request.serialize)
856
+ response = JSON.parse(body)
857
+ if response['Response'].key?('Error') == false
858
+ model = DescribeProductSKUsResponse.new
859
+ model.deserialize(response['Response'])
860
+ model
861
+ else
862
+ code = response['Response']['Error']['Code']
863
+ message = response['Response']['Error']['Message']
864
+ reqid = response['Response']['RequestId']
865
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
866
+ end
867
+ rescue TencentCloud::Common::TencentCloudSDKException => e
868
+ raise e
869
+ rescue StandardError => e
870
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
871
+ end
872
+
849
873
  # 查询角色列表,Filter参数使用说明如下:
850
874
 
851
875
  # 1. RoleName,角色名称模糊搜索
@@ -2164,6 +2164,45 @@ module TencentCloud
2164
2164
  end
2165
2165
  end
2166
2166
 
2167
+ # DescribeProductSKUs请求参数结构体
2168
+ class DescribeProductSKUsRequest < TencentCloud::Common::AbstractModel
2169
+
2170
+
2171
+ def initialize()
2172
+ end
2173
+
2174
+ def deserialize(params)
2175
+ end
2176
+ end
2177
+
2178
+ # DescribeProductSKUs返回参数结构体
2179
+ class DescribeProductSKUsResponse < TencentCloud::Common::AbstractModel
2180
+ # @param Data: 商品配置信息
2181
+ # 注意:此字段可能返回 null,表示取不到有效值。
2182
+ # @type Data: Array
2183
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2184
+ # @type RequestId: String
2185
+
2186
+ attr_accessor :Data, :RequestId
2187
+
2188
+ def initialize(data=nil, requestid=nil)
2189
+ @Data = data
2190
+ @RequestId = requestid
2191
+ end
2192
+
2193
+ def deserialize(params)
2194
+ unless params['Data'].nil?
2195
+ @Data = []
2196
+ params['Data'].each do |i|
2197
+ productsku_tmp = ProductSKU.new
2198
+ productsku_tmp.deserialize(i)
2199
+ @Data << productsku_tmp
2200
+ end
2201
+ end
2202
+ @RequestId = params['RequestId']
2203
+ end
2204
+ end
2205
+
2167
2206
  # DescribeRoleList请求参数结构体
2168
2207
  class DescribeRoleListRequest < TencentCloud::Common::AbstractModel
2169
2208
  # @param InstanceId: 实例ID
@@ -3685,6 +3724,111 @@ module TencentCloud
3685
3724
  end
3686
3725
  end
3687
3726
 
3727
+ # 价格标签信息
3728
+ class PriceTag < TencentCloud::Common::AbstractModel
3729
+ # @param Name: 计价名称
3730
+ # @type Name: String
3731
+ # @param Step: 步长
3732
+ # 注意:此字段可能返回 null,表示取不到有效值。
3733
+ # @type Step: Integer
3734
+
3735
+ attr_accessor :Name, :Step
3736
+
3737
+ def initialize(name=nil, step=nil)
3738
+ @Name = name
3739
+ @Step = step
3740
+ end
3741
+
3742
+ def deserialize(params)
3743
+ @Name = params['Name']
3744
+ @Step = params['Step']
3745
+ end
3746
+ end
3747
+
3748
+ # 商品售卖信息
3749
+ class ProductSKU < TencentCloud::Common::AbstractModel
3750
+ # @param InstanceType: 产品类型,
3751
+ # EXPERIMENT,体验版
3752
+ # BASIC,基础版
3753
+ # PRO,专业版
3754
+ # PLATINUM,铂金版
3755
+ # @type InstanceType: String
3756
+ # @param SkuCode: 规格代码
3757
+ # @type SkuCode: String
3758
+ # @param TpsLimit: TPS上限
3759
+ # 注意:此字段可能返回 null,表示取不到有效值。
3760
+ # @type TpsLimit: Integer
3761
+ # @param ScaledTpsLimit: 弹性TPS上限
3762
+ # 注意:此字段可能返回 null,表示取不到有效值。
3763
+ # @type ScaledTpsLimit: Integer
3764
+ # @param TopicNumLimit: 主题数量上限默认值
3765
+ # 注意:此字段可能返回 null,表示取不到有效值。
3766
+ # @type TopicNumLimit: Integer
3767
+ # @param GroupNumLimit: 消费组数量上限
3768
+ # 注意:此字段可能返回 null,表示取不到有效值。
3769
+ # @type GroupNumLimit: Integer
3770
+ # @param DefaultRetention: 默认消息保留时间,小时为单位
3771
+ # 注意:此字段可能返回 null,表示取不到有效值。
3772
+ # @type DefaultRetention: Integer
3773
+ # @param RetentionUpperLimit: 可调整消息保留时间上限,小时为单位
3774
+ # 注意:此字段可能返回 null,表示取不到有效值。
3775
+ # @type RetentionUpperLimit: Integer
3776
+ # @param RetentionLowerLimit: 可调整消息保留时间下限,小时为单位
3777
+ # 注意:此字段可能返回 null,表示取不到有效值。
3778
+ # @type RetentionLowerLimit: Integer
3779
+ # @param MaxMessageDelay: 延时消息最大时长,小时为单位
3780
+ # 注意:此字段可能返回 null,表示取不到有效值。
3781
+ # @type MaxMessageDelay: Integer
3782
+ # @param OnSale: 是否可购买
3783
+ # @type OnSale: Boolean
3784
+ # @param PriceTags: 计费项信息
3785
+ # @type PriceTags: Array
3786
+ # @param TopicNumUpperLimit: 主题数量上限默认最大值
3787
+ # 注意:此字段可能返回 null,表示取不到有效值。
3788
+ # @type TopicNumUpperLimit: Integer
3789
+
3790
+ attr_accessor :InstanceType, :SkuCode, :TpsLimit, :ScaledTpsLimit, :TopicNumLimit, :GroupNumLimit, :DefaultRetention, :RetentionUpperLimit, :RetentionLowerLimit, :MaxMessageDelay, :OnSale, :PriceTags, :TopicNumUpperLimit
3791
+
3792
+ def initialize(instancetype=nil, skucode=nil, tpslimit=nil, scaledtpslimit=nil, topicnumlimit=nil, groupnumlimit=nil, defaultretention=nil, retentionupperlimit=nil, retentionlowerlimit=nil, maxmessagedelay=nil, onsale=nil, pricetags=nil, topicnumupperlimit=nil)
3793
+ @InstanceType = instancetype
3794
+ @SkuCode = skucode
3795
+ @TpsLimit = tpslimit
3796
+ @ScaledTpsLimit = scaledtpslimit
3797
+ @TopicNumLimit = topicnumlimit
3798
+ @GroupNumLimit = groupnumlimit
3799
+ @DefaultRetention = defaultretention
3800
+ @RetentionUpperLimit = retentionupperlimit
3801
+ @RetentionLowerLimit = retentionlowerlimit
3802
+ @MaxMessageDelay = maxmessagedelay
3803
+ @OnSale = onsale
3804
+ @PriceTags = pricetags
3805
+ @TopicNumUpperLimit = topicnumupperlimit
3806
+ end
3807
+
3808
+ def deserialize(params)
3809
+ @InstanceType = params['InstanceType']
3810
+ @SkuCode = params['SkuCode']
3811
+ @TpsLimit = params['TpsLimit']
3812
+ @ScaledTpsLimit = params['ScaledTpsLimit']
3813
+ @TopicNumLimit = params['TopicNumLimit']
3814
+ @GroupNumLimit = params['GroupNumLimit']
3815
+ @DefaultRetention = params['DefaultRetention']
3816
+ @RetentionUpperLimit = params['RetentionUpperLimit']
3817
+ @RetentionLowerLimit = params['RetentionLowerLimit']
3818
+ @MaxMessageDelay = params['MaxMessageDelay']
3819
+ @OnSale = params['OnSale']
3820
+ unless params['PriceTags'].nil?
3821
+ @PriceTags = []
3822
+ params['PriceTags'].each do |i|
3823
+ pricetag_tmp = PriceTag.new
3824
+ pricetag_tmp.deserialize(i)
3825
+ @PriceTags << pricetag_tmp
3826
+ end
3827
+ end
3828
+ @TopicNumUpperLimit = params['TopicNumUpperLimit']
3829
+ end
3830
+ end
3831
+
3688
3832
  # 公网访问安全规则
3689
3833
  class PublicAccessRule < TencentCloud::Common::AbstractModel
3690
3834
  # @param IpRule: ip网段信息
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-trocket
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.849
4
+ version: 3.0.850
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-06-23 00:00:00.000000000 Z
11
+ date: 2024-06-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common