tencentcloud-sdk-tdmq 3.0.415 → 3.0.416
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/v20200217/client.rb +24 -0
- data/lib/v20200217/models.rb +132 -0
- 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: 29804c6e30b86e095fdfcd6eaa4554928b0263cc
|
4
|
+
data.tar.gz: 67d409ee3b69c176bc1c0cc6728726b1323529db
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c2e5057ef5c6edd50c53becd7208bebf7c7d6b0a83e4f97d476a7d902879a1d4f005f8edcdc2131b083e8f4daf574843218dd7139e4d5445e1905cd2f0e3bc7c
|
7
|
+
data.tar.gz: 819c98623c7119a313fd94230cb36b951d275b3e427a2022e07ce22fdf4a2d070a703f95d538e605ffeea3f5ec5d892ad9f4c554fcb14ea4d61d6ca9191ebdee
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.416
|
data/lib/v20200217/client.rb
CHANGED
@@ -1685,6 +1685,30 @@ module TencentCloud
|
|
1685
1685
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1686
1686
|
end
|
1687
1687
|
|
1688
|
+
# 查询用户已购的RocketMQ专享实例列表
|
1689
|
+
|
1690
|
+
# @param request: Request instance for DescribeRocketMQVipInstances.
|
1691
|
+
# @type request: :class:`Tencentcloud::tdmq::V20200217::DescribeRocketMQVipInstancesRequest`
|
1692
|
+
# @rtype: :class:`Tencentcloud::tdmq::V20200217::DescribeRocketMQVipInstancesResponse`
|
1693
|
+
def DescribeRocketMQVipInstances(request)
|
1694
|
+
body = send_request('DescribeRocketMQVipInstances', request.serialize)
|
1695
|
+
response = JSON.parse(body)
|
1696
|
+
if response['Response'].key?('Error') == false
|
1697
|
+
model = DescribeRocketMQVipInstancesResponse.new
|
1698
|
+
model.deserialize(response['Response'])
|
1699
|
+
model
|
1700
|
+
else
|
1701
|
+
code = response['Response']['Error']['Code']
|
1702
|
+
message = response['Response']['Error']['Message']
|
1703
|
+
reqid = response['Response']['RequestId']
|
1704
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1705
|
+
end
|
1706
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1707
|
+
raise e
|
1708
|
+
rescue StandardError => e
|
1709
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1710
|
+
end
|
1711
|
+
|
1688
1712
|
# 获取角色列表
|
1689
1713
|
|
1690
1714
|
# @param request: Request instance for DescribeRoles.
|
data/lib/v20200217/models.rb
CHANGED
@@ -4864,6 +4864,68 @@ module TencentCloud
|
|
4864
4864
|
end
|
4865
4865
|
end
|
4866
4866
|
|
4867
|
+
# DescribeRocketMQVipInstances请求参数结构体
|
4868
|
+
class DescribeRocketMQVipInstancesRequest < TencentCloud::Common::AbstractModel
|
4869
|
+
# @param Filters: 查询条件过滤器
|
4870
|
+
# @type Filters: Array
|
4871
|
+
# @param Limit: 查询数目上限,默认20
|
4872
|
+
# @type Limit: Integer
|
4873
|
+
# @param Offset: 查询起始位置
|
4874
|
+
# @type Offset: Integer
|
4875
|
+
|
4876
|
+
attr_accessor :Filters, :Limit, :Offset
|
4877
|
+
|
4878
|
+
def initialize(filters=nil, limit=nil, offset=nil)
|
4879
|
+
@Filters = filters
|
4880
|
+
@Limit = limit
|
4881
|
+
@Offset = offset
|
4882
|
+
end
|
4883
|
+
|
4884
|
+
def deserialize(params)
|
4885
|
+
unless params['Filters'].nil?
|
4886
|
+
@Filters = []
|
4887
|
+
params['Filters'].each do |i|
|
4888
|
+
filter_tmp = Filter.new
|
4889
|
+
filter_tmp.deserialize(i)
|
4890
|
+
@Filters << filter_tmp
|
4891
|
+
end
|
4892
|
+
end
|
4893
|
+
@Limit = params['Limit']
|
4894
|
+
@Offset = params['Offset']
|
4895
|
+
end
|
4896
|
+
end
|
4897
|
+
|
4898
|
+
# DescribeRocketMQVipInstances返回参数结构体
|
4899
|
+
class DescribeRocketMQVipInstancesResponse < TencentCloud::Common::AbstractModel
|
4900
|
+
# @param TotalCount: 未分页的总数目
|
4901
|
+
# @type TotalCount: Integer
|
4902
|
+
# @param Instances: 实例信息列表
|
4903
|
+
# @type Instances: Array
|
4904
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
4905
|
+
# @type RequestId: String
|
4906
|
+
|
4907
|
+
attr_accessor :TotalCount, :Instances, :RequestId
|
4908
|
+
|
4909
|
+
def initialize(totalcount=nil, instances=nil, requestid=nil)
|
4910
|
+
@TotalCount = totalcount
|
4911
|
+
@Instances = instances
|
4912
|
+
@RequestId = requestid
|
4913
|
+
end
|
4914
|
+
|
4915
|
+
def deserialize(params)
|
4916
|
+
@TotalCount = params['TotalCount']
|
4917
|
+
unless params['Instances'].nil?
|
4918
|
+
@Instances = []
|
4919
|
+
params['Instances'].each do |i|
|
4920
|
+
rocketmqvipinstance_tmp = RocketMQVipInstance.new
|
4921
|
+
rocketmqvipinstance_tmp.deserialize(i)
|
4922
|
+
@Instances << rocketmqvipinstance_tmp
|
4923
|
+
end
|
4924
|
+
end
|
4925
|
+
@RequestId = params['RequestId']
|
4926
|
+
end
|
4927
|
+
end
|
4928
|
+
|
4867
4929
|
# DescribeRoles请求参数结构体
|
4868
4930
|
class DescribeRolesRequest < TencentCloud::Common::AbstractModel
|
4869
4931
|
# @param RoleName: 角色名称,模糊查询
|
@@ -6892,6 +6954,76 @@ module TencentCloud
|
|
6892
6954
|
end
|
6893
6955
|
end
|
6894
6956
|
|
6957
|
+
# RocketMQ专享实例信息
|
6958
|
+
class RocketMQVipInstance < TencentCloud::Common::AbstractModel
|
6959
|
+
# @param InstanceId: 实例id
|
6960
|
+
# @type InstanceId: String
|
6961
|
+
# @param InstanceName: 实例名称
|
6962
|
+
# @type InstanceName: String
|
6963
|
+
# @param InstanceVersion: 实例版本
|
6964
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6965
|
+
# @type InstanceVersion: String
|
6966
|
+
# @param Status: 实例状态,0表示创建中,1表示正常,2表示隔离中,3表示已销毁,4 - 异常
|
6967
|
+
# @type Status: Integer
|
6968
|
+
# @param NodeCount: 节点数量
|
6969
|
+
# @type NodeCount: Integer
|
6970
|
+
# @param ConfigDisplay: 实例配置规格名称
|
6971
|
+
# @type ConfigDisplay: String
|
6972
|
+
# @param MaxTps: 峰值TPS
|
6973
|
+
# @type MaxTps: Integer
|
6974
|
+
# @param MaxBandWidth: 峰值带宽,Mbps为单位
|
6975
|
+
# @type MaxBandWidth: Integer
|
6976
|
+
# @param MaxStorage: 存储容量,GB为单位
|
6977
|
+
# @type MaxStorage: Integer
|
6978
|
+
# @param ExpireTime: 实例到期时间,毫秒为单位
|
6979
|
+
# @type ExpireTime: Integer
|
6980
|
+
# @param AutoRenewFlag: 自动续费标记,0表示默认状态(用户未设置,即初始状态即手动续费), 1表示自动续费,2表示明确不自动续费(用户设置)
|
6981
|
+
# @type AutoRenewFlag: Integer
|
6982
|
+
# @param PayMode: 0-后付费,1-预付费
|
6983
|
+
# @type PayMode: Integer
|
6984
|
+
# @param Remark: 备注信息
|
6985
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6986
|
+
# @type Remark: String
|
6987
|
+
# @param SpecName: 实例配置ID
|
6988
|
+
# @type SpecName: String
|
6989
|
+
|
6990
|
+
attr_accessor :InstanceId, :InstanceName, :InstanceVersion, :Status, :NodeCount, :ConfigDisplay, :MaxTps, :MaxBandWidth, :MaxStorage, :ExpireTime, :AutoRenewFlag, :PayMode, :Remark, :SpecName
|
6991
|
+
|
6992
|
+
def initialize(instanceid=nil, instancename=nil, instanceversion=nil, status=nil, nodecount=nil, configdisplay=nil, maxtps=nil, maxbandwidth=nil, maxstorage=nil, expiretime=nil, autorenewflag=nil, paymode=nil, remark=nil, specname=nil)
|
6993
|
+
@InstanceId = instanceid
|
6994
|
+
@InstanceName = instancename
|
6995
|
+
@InstanceVersion = instanceversion
|
6996
|
+
@Status = status
|
6997
|
+
@NodeCount = nodecount
|
6998
|
+
@ConfigDisplay = configdisplay
|
6999
|
+
@MaxTps = maxtps
|
7000
|
+
@MaxBandWidth = maxbandwidth
|
7001
|
+
@MaxStorage = maxstorage
|
7002
|
+
@ExpireTime = expiretime
|
7003
|
+
@AutoRenewFlag = autorenewflag
|
7004
|
+
@PayMode = paymode
|
7005
|
+
@Remark = remark
|
7006
|
+
@SpecName = specname
|
7007
|
+
end
|
7008
|
+
|
7009
|
+
def deserialize(params)
|
7010
|
+
@InstanceId = params['InstanceId']
|
7011
|
+
@InstanceName = params['InstanceName']
|
7012
|
+
@InstanceVersion = params['InstanceVersion']
|
7013
|
+
@Status = params['Status']
|
7014
|
+
@NodeCount = params['NodeCount']
|
7015
|
+
@ConfigDisplay = params['ConfigDisplay']
|
7016
|
+
@MaxTps = params['MaxTps']
|
7017
|
+
@MaxBandWidth = params['MaxBandWidth']
|
7018
|
+
@MaxStorage = params['MaxStorage']
|
7019
|
+
@ExpireTime = params['ExpireTime']
|
7020
|
+
@AutoRenewFlag = params['AutoRenewFlag']
|
7021
|
+
@PayMode = params['PayMode']
|
7022
|
+
@Remark = params['Remark']
|
7023
|
+
@SpecName = params['SpecName']
|
7024
|
+
end
|
7025
|
+
end
|
7026
|
+
|
6895
7027
|
# 角色实例
|
6896
7028
|
class Role < TencentCloud::Common::AbstractModel
|
6897
7029
|
# @param RoleName: 角色名称。
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-tdmq
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.416
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-09-
|
11
|
+
date: 2022-09-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|