tencentcloud-sdk-tdmq 3.0.623 → 3.0.625
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 +87 -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: b6c37b2817f9e59a3c87d28ea1fed253f0536319
|
4
|
+
data.tar.gz: 4844c8a5ef5c362770cb43f2dcff548addc77441
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 55a280b2f3e15daec0948a8fb00d188bfa02559283b303c08e5f86a0eab81fac140b1291c683aafc65be19890819ad061bf5d47430389bdc36da7c00f4516a66
|
7
|
+
data.tar.gz: 3121794035d4d5ad0f29c159019808c66de44e6e96fcf6aadc584e4957e54bc89b2a411a7efafc37eabde514e953be4f49d2dfa8169f5ac18d3c66081bbefa23
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.625
|
data/lib/v20200217/client.rb
CHANGED
@@ -413,6 +413,30 @@ module TencentCloud
|
|
413
413
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
414
414
|
end
|
415
415
|
|
416
|
+
# 创建RocketMQ专享实例
|
417
|
+
|
418
|
+
# @param request: Request instance for CreateRocketMQVipInstance.
|
419
|
+
# @type request: :class:`Tencentcloud::tdmq::V20200217::CreateRocketMQVipInstanceRequest`
|
420
|
+
# @rtype: :class:`Tencentcloud::tdmq::V20200217::CreateRocketMQVipInstanceResponse`
|
421
|
+
def CreateRocketMQVipInstance(request)
|
422
|
+
body = send_request('CreateRocketMQVipInstance', request.serialize)
|
423
|
+
response = JSON.parse(body)
|
424
|
+
if response['Response'].key?('Error') == false
|
425
|
+
model = CreateRocketMQVipInstanceResponse.new
|
426
|
+
model.deserialize(response['Response'])
|
427
|
+
model
|
428
|
+
else
|
429
|
+
code = response['Response']['Error']['Code']
|
430
|
+
message = response['Response']['Error']['Message']
|
431
|
+
reqid = response['Response']['RequestId']
|
432
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
433
|
+
end
|
434
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
435
|
+
raise e
|
436
|
+
rescue StandardError => e
|
437
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
438
|
+
end
|
439
|
+
|
416
440
|
# 创建角色
|
417
441
|
|
418
442
|
# @param request: Request instance for CreateRole.
|
data/lib/v20200217/models.rb
CHANGED
@@ -1745,6 +1745,73 @@ module TencentCloud
|
|
1745
1745
|
end
|
1746
1746
|
end
|
1747
1747
|
|
1748
|
+
# CreateRocketMQVipInstance请求参数结构体
|
1749
|
+
class CreateRocketMQVipInstanceRequest < TencentCloud::Common::AbstractModel
|
1750
|
+
# @param Name: 实例名称
|
1751
|
+
# @type Name: String
|
1752
|
+
# @param Spec: 实例规格:
|
1753
|
+
# 基础型,rocket-vip-basic-1
|
1754
|
+
# 标准型,rocket-vip-basic-2
|
1755
|
+
# 高阶Ⅰ型,rocket-vip-basic-3
|
1756
|
+
# 高阶Ⅱ型,rocket-vip-basic-4
|
1757
|
+
# @type Spec: String
|
1758
|
+
# @param NodeCount: 节点数量,最小2,最大20
|
1759
|
+
# @type NodeCount: Integer
|
1760
|
+
# @param StorageSize: 单节点存储空间,GB为单位,最低200GB
|
1761
|
+
# @type StorageSize: Integer
|
1762
|
+
# @param ZoneIds: 节点部署的区域ID列表,如广州一区,则是100001,具体可查询腾讯云官网
|
1763
|
+
# @type ZoneIds: Array
|
1764
|
+
# @param VpcInfo: VPC信息
|
1765
|
+
# @type VpcInfo: :class:`Tencentcloud::Tdmq.v20200217.models.VpcInfo`
|
1766
|
+
# @param TimeSpan: 购买时长,月为单位
|
1767
|
+
# @type TimeSpan: Integer
|
1768
|
+
|
1769
|
+
attr_accessor :Name, :Spec, :NodeCount, :StorageSize, :ZoneIds, :VpcInfo, :TimeSpan
|
1770
|
+
|
1771
|
+
def initialize(name=nil, spec=nil, nodecount=nil, storagesize=nil, zoneids=nil, vpcinfo=nil, timespan=nil)
|
1772
|
+
@Name = name
|
1773
|
+
@Spec = spec
|
1774
|
+
@NodeCount = nodecount
|
1775
|
+
@StorageSize = storagesize
|
1776
|
+
@ZoneIds = zoneids
|
1777
|
+
@VpcInfo = vpcinfo
|
1778
|
+
@TimeSpan = timespan
|
1779
|
+
end
|
1780
|
+
|
1781
|
+
def deserialize(params)
|
1782
|
+
@Name = params['Name']
|
1783
|
+
@Spec = params['Spec']
|
1784
|
+
@NodeCount = params['NodeCount']
|
1785
|
+
@StorageSize = params['StorageSize']
|
1786
|
+
@ZoneIds = params['ZoneIds']
|
1787
|
+
unless params['VpcInfo'].nil?
|
1788
|
+
@VpcInfo = VpcInfo.new
|
1789
|
+
@VpcInfo.deserialize(params['VpcInfo'])
|
1790
|
+
end
|
1791
|
+
@TimeSpan = params['TimeSpan']
|
1792
|
+
end
|
1793
|
+
end
|
1794
|
+
|
1795
|
+
# CreateRocketMQVipInstance返回参数结构体
|
1796
|
+
class CreateRocketMQVipInstanceResponse < TencentCloud::Common::AbstractModel
|
1797
|
+
# @param ClusterId: 集群ID
|
1798
|
+
# @type ClusterId: String
|
1799
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1800
|
+
# @type RequestId: String
|
1801
|
+
|
1802
|
+
attr_accessor :ClusterId, :RequestId
|
1803
|
+
|
1804
|
+
def initialize(clusterid=nil, requestid=nil)
|
1805
|
+
@ClusterId = clusterid
|
1806
|
+
@RequestId = requestid
|
1807
|
+
end
|
1808
|
+
|
1809
|
+
def deserialize(params)
|
1810
|
+
@ClusterId = params['ClusterId']
|
1811
|
+
@RequestId = params['RequestId']
|
1812
|
+
end
|
1813
|
+
end
|
1814
|
+
|
1748
1815
|
# CreateRole请求参数结构体
|
1749
1816
|
class CreateRoleRequest < TencentCloud::Common::AbstractModel
|
1750
1817
|
# @param RoleName: 角色名称,不支持中字以及除了短线和下划线外的特殊字符且长度必须大于0且小等于32。
|
@@ -8915,6 +8982,26 @@ module TencentCloud
|
|
8915
8982
|
end
|
8916
8983
|
end
|
8917
8984
|
|
8985
|
+
# vpc信息(由UniqVpcId和UniqSubnetId组成)
|
8986
|
+
class VpcInfo < TencentCloud::Common::AbstractModel
|
8987
|
+
# @param VpcId: vpc信息
|
8988
|
+
# @type VpcId: String
|
8989
|
+
# @param SubnetId: 子网信息
|
8990
|
+
# @type SubnetId: String
|
8991
|
+
|
8992
|
+
attr_accessor :VpcId, :SubnetId
|
8993
|
+
|
8994
|
+
def initialize(vpcid=nil, subnetid=nil)
|
8995
|
+
@VpcId = vpcid
|
8996
|
+
@SubnetId = subnetid
|
8997
|
+
end
|
8998
|
+
|
8999
|
+
def deserialize(params)
|
9000
|
+
@VpcId = params['VpcId']
|
9001
|
+
@SubnetId = params['SubnetId']
|
9002
|
+
end
|
9003
|
+
end
|
9004
|
+
|
8918
9005
|
end
|
8919
9006
|
end
|
8920
9007
|
end
|
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.625
|
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-
|
11
|
+
date: 2023-08-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|