tencentcloud-sdk-tdmq 3.0.557 → 3.0.559
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20200217/client.rb +24 -0
- data/lib/v20200217/models.rb +97 -9
- 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: bf0fbce54e6ef31b7c2461ff5a61682ab76f9b4b
|
4
|
+
data.tar.gz: c6af498172ac6d4b6db403b40334a9fd65f0523d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b7a43a68618e0f909d47a7e25624b2b9755361d1263beb44614a44fe3534ecc137b63ebf3b123102868be74d9cdd7dc5846f2482810ce45d291cd0eeada0703f
|
7
|
+
data.tar.gz: f320b1fd4ac6a6d1668b5b7f621932bf102484211c3309f5f1f649cb744fe991160be47e2e95e5b12c349aee3b0de5923f919eea607bb74ca133b9889354cbb2
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.559
|
data/lib/v20200217/client.rb
CHANGED
@@ -2299,6 +2299,30 @@ module TencentCloud
|
|
2299
2299
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2300
2300
|
end
|
2301
2301
|
|
2302
|
+
# 本API用于修改RocketMQ专享实例配置,可以支持实例规格、节点数和存储的升配和实例规格的降配。本API发起订单并成功支付后进入实例配置变更的流程,可通过DescribeRocketMQVipInstances查询实例是否已变更完成。
|
2303
|
+
|
2304
|
+
# @param request: Request instance for ModifyRocketMQInstanceSpec.
|
2305
|
+
# @type request: :class:`Tencentcloud::tdmq::V20200217::ModifyRocketMQInstanceSpecRequest`
|
2306
|
+
# @rtype: :class:`Tencentcloud::tdmq::V20200217::ModifyRocketMQInstanceSpecResponse`
|
2307
|
+
def ModifyRocketMQInstanceSpec(request)
|
2308
|
+
body = send_request('ModifyRocketMQInstanceSpec', request.serialize)
|
2309
|
+
response = JSON.parse(body)
|
2310
|
+
if response['Response'].key?('Error') == false
|
2311
|
+
model = ModifyRocketMQInstanceSpecResponse.new
|
2312
|
+
model.deserialize(response['Response'])
|
2313
|
+
model
|
2314
|
+
else
|
2315
|
+
code = response['Response']['Error']['Code']
|
2316
|
+
message = response['Response']['Error']['Message']
|
2317
|
+
reqid = response['Response']['RequestId']
|
2318
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2319
|
+
end
|
2320
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2321
|
+
raise e
|
2322
|
+
rescue StandardError => e
|
2323
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2324
|
+
end
|
2325
|
+
|
2302
2326
|
# 更新RocketMQ命名空间
|
2303
2327
|
|
2304
2328
|
# @param request: Request instance for ModifyRocketMQNamespace.
|
data/lib/v20200217/models.rb
CHANGED
@@ -6623,6 +6623,59 @@ module TencentCloud
|
|
6623
6623
|
end
|
6624
6624
|
end
|
6625
6625
|
|
6626
|
+
# ModifyRocketMQInstanceSpec请求参数结构体
|
6627
|
+
class ModifyRocketMQInstanceSpecRequest < TencentCloud::Common::AbstractModel
|
6628
|
+
# @param InstanceId: 专享实例ID
|
6629
|
+
# @type InstanceId: String
|
6630
|
+
# @param Specification: 实例规格,
|
6631
|
+
# rocket-vip-basic-1 基础型
|
6632
|
+
# rocket-vip-basic-2 标准型
|
6633
|
+
# rocket-vip-basic-3 高阶Ⅰ型
|
6634
|
+
# rocket-vip-basic-4 高阶Ⅱ型
|
6635
|
+
# @type Specification: String
|
6636
|
+
# @param NodeCount: 节点数量
|
6637
|
+
# @type NodeCount: Integer
|
6638
|
+
# @param StorageSize: 存储空间,GB为单位
|
6639
|
+
# @type StorageSize: Integer
|
6640
|
+
|
6641
|
+
attr_accessor :InstanceId, :Specification, :NodeCount, :StorageSize
|
6642
|
+
|
6643
|
+
def initialize(instanceid=nil, specification=nil, nodecount=nil, storagesize=nil)
|
6644
|
+
@InstanceId = instanceid
|
6645
|
+
@Specification = specification
|
6646
|
+
@NodeCount = nodecount
|
6647
|
+
@StorageSize = storagesize
|
6648
|
+
end
|
6649
|
+
|
6650
|
+
def deserialize(params)
|
6651
|
+
@InstanceId = params['InstanceId']
|
6652
|
+
@Specification = params['Specification']
|
6653
|
+
@NodeCount = params['NodeCount']
|
6654
|
+
@StorageSize = params['StorageSize']
|
6655
|
+
end
|
6656
|
+
end
|
6657
|
+
|
6658
|
+
# ModifyRocketMQInstanceSpec返回参数结构体
|
6659
|
+
class ModifyRocketMQInstanceSpecResponse < TencentCloud::Common::AbstractModel
|
6660
|
+
# @param OrderId: 订单号
|
6661
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6662
|
+
# @type OrderId: String
|
6663
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
6664
|
+
# @type RequestId: String
|
6665
|
+
|
6666
|
+
attr_accessor :OrderId, :RequestId
|
6667
|
+
|
6668
|
+
def initialize(orderid=nil, requestid=nil)
|
6669
|
+
@OrderId = orderid
|
6670
|
+
@RequestId = requestid
|
6671
|
+
end
|
6672
|
+
|
6673
|
+
def deserialize(params)
|
6674
|
+
@OrderId = params['OrderId']
|
6675
|
+
@RequestId = params['RequestId']
|
6676
|
+
end
|
6677
|
+
end
|
6678
|
+
|
6626
6679
|
# ModifyRocketMQNamespace请求参数结构体
|
6627
6680
|
class ModifyRocketMQNamespaceRequest < TencentCloud::Common::AbstractModel
|
6628
6681
|
# @param ClusterId: 集群ID
|
@@ -7576,10 +7629,13 @@ module TencentCloud
|
|
7576
7629
|
# @param ExceptionInformation: 集群异常。
|
7577
7630
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
7578
7631
|
# @type ExceptionInformation: String
|
7632
|
+
# @param ClusterStatus: 实例状态,0表示创建中,1表示正常,2表示隔离中,3表示已销毁,4 - 异常, 5 - 发货失败
|
7633
|
+
# 为了和计费区分开,额外开启一个状态位,用于显示。
|
7634
|
+
# @type ClusterStatus: Integer
|
7579
7635
|
|
7580
|
-
attr_accessor :InstanceId, :InstanceName, :InstanceVersion, :Status, :NodeCount, :ConfigDisplay, :MaxTps, :MaxBandWidth, :MaxStorage, :ExpireTime, :AutoRenewFlag, :PayMode, :Remark, :SpecName, :ExceptionInformation
|
7636
|
+
attr_accessor :InstanceId, :InstanceName, :InstanceVersion, :Status, :NodeCount, :ConfigDisplay, :MaxTps, :MaxBandWidth, :MaxStorage, :ExpireTime, :AutoRenewFlag, :PayMode, :Remark, :SpecName, :ExceptionInformation, :ClusterStatus
|
7581
7637
|
|
7582
|
-
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, exceptioninformation=nil)
|
7638
|
+
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, exceptioninformation=nil, clusterstatus=nil)
|
7583
7639
|
@InstanceId = instanceid
|
7584
7640
|
@InstanceName = instancename
|
7585
7641
|
@InstanceVersion = instanceversion
|
@@ -7595,6 +7651,7 @@ module TencentCloud
|
|
7595
7651
|
@Remark = remark
|
7596
7652
|
@SpecName = specname
|
7597
7653
|
@ExceptionInformation = exceptioninformation
|
7654
|
+
@ClusterStatus = clusterstatus
|
7598
7655
|
end
|
7599
7656
|
|
7600
7657
|
def deserialize(params)
|
@@ -7613,6 +7670,7 @@ module TencentCloud
|
|
7613
7670
|
@Remark = params['Remark']
|
7614
7671
|
@SpecName = params['SpecName']
|
7615
7672
|
@ExceptionInformation = params['ExceptionInformation']
|
7673
|
+
@ClusterStatus = params['ClusterStatus']
|
7616
7674
|
end
|
7617
7675
|
end
|
7618
7676
|
|
@@ -7990,10 +8048,16 @@ module TencentCloud
|
|
7990
8048
|
# @param HttpVpcEndpoint: HTTP协议VPC接入地址
|
7991
8049
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
7992
8050
|
# @type HttpVpcEndpoint: String
|
8051
|
+
# @param InternalEndpoint: TCP内部接入地址
|
8052
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8053
|
+
# @type InternalEndpoint: String
|
8054
|
+
# @param HttpInternalEndpoint: HTTP协议内部接入地址
|
8055
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8056
|
+
# @type HttpInternalEndpoint: String
|
7993
8057
|
|
7994
|
-
attr_accessor :ClusterId, :ClusterName, :Region, :CreateTime, :Remark, :PublicEndPoint, :VpcEndPoint, :SupportNamespaceEndpoint, :Vpcs, :IsVip, :RocketMQFlag, :Status, :IsolateTime, :HttpPublicEndpoint, :HttpVpcEndpoint
|
8058
|
+
attr_accessor :ClusterId, :ClusterName, :Region, :CreateTime, :Remark, :PublicEndPoint, :VpcEndPoint, :SupportNamespaceEndpoint, :Vpcs, :IsVip, :RocketMQFlag, :Status, :IsolateTime, :HttpPublicEndpoint, :HttpVpcEndpoint, :InternalEndpoint, :HttpInternalEndpoint
|
7995
8059
|
|
7996
|
-
def initialize(clusterid=nil, clustername=nil, region=nil, createtime=nil, remark=nil, publicendpoint=nil, vpcendpoint=nil, supportnamespaceendpoint=nil, vpcs=nil, isvip=nil, rocketmqflag=nil, status=nil, isolatetime=nil, httppublicendpoint=nil, httpvpcendpoint=nil)
|
8060
|
+
def initialize(clusterid=nil, clustername=nil, region=nil, createtime=nil, remark=nil, publicendpoint=nil, vpcendpoint=nil, supportnamespaceendpoint=nil, vpcs=nil, isvip=nil, rocketmqflag=nil, status=nil, isolatetime=nil, httppublicendpoint=nil, httpvpcendpoint=nil, internalendpoint=nil, httpinternalendpoint=nil)
|
7997
8061
|
@ClusterId = clusterid
|
7998
8062
|
@ClusterName = clustername
|
7999
8063
|
@Region = region
|
@@ -8009,6 +8073,8 @@ module TencentCloud
|
|
8009
8073
|
@IsolateTime = isolatetime
|
8010
8074
|
@HttpPublicEndpoint = httppublicendpoint
|
8011
8075
|
@HttpVpcEndpoint = httpvpcendpoint
|
8076
|
+
@InternalEndpoint = internalendpoint
|
8077
|
+
@HttpInternalEndpoint = httpinternalendpoint
|
8012
8078
|
end
|
8013
8079
|
|
8014
8080
|
def deserialize(params)
|
@@ -8034,6 +8100,8 @@ module TencentCloud
|
|
8034
8100
|
@IsolateTime = params['IsolateTime']
|
8035
8101
|
@HttpPublicEndpoint = params['HttpPublicEndpoint']
|
8036
8102
|
@HttpVpcEndpoint = params['HttpVpcEndpoint']
|
8103
|
+
@InternalEndpoint = params['InternalEndpoint']
|
8104
|
+
@HttpInternalEndpoint = params['HttpInternalEndpoint']
|
8037
8105
|
end
|
8038
8106
|
end
|
8039
8107
|
|
@@ -8221,7 +8289,7 @@ module TencentCloud
|
|
8221
8289
|
class RocketMQNamespace < TencentCloud::Common::AbstractModel
|
8222
8290
|
# @param NamespaceId: 命名空间名称,3-64个字符,只能包含字母、数字、“-”及“_”
|
8223
8291
|
# @type NamespaceId: String
|
8224
|
-
# @param Ttl:
|
8292
|
+
# @param Ttl: 已废弃,未消费消息的保留时间,以毫秒单位,范围60秒到15天
|
8225
8293
|
# @type Ttl: Integer
|
8226
8294
|
# @param RetentionTime: 消息持久化后保留的时间,以毫秒单位
|
8227
8295
|
# @type RetentionTime: Integer
|
@@ -8234,16 +8302,20 @@ module TencentCloud
|
|
8234
8302
|
# @param VpcEndpoint: VPC接入点地址
|
8235
8303
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
8236
8304
|
# @type VpcEndpoint: String
|
8305
|
+
# @param InternalEndpoint: 内部接入点地址
|
8306
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8307
|
+
# @type InternalEndpoint: String
|
8237
8308
|
|
8238
|
-
attr_accessor :NamespaceId, :Ttl, :RetentionTime, :Remark, :PublicEndpoint, :VpcEndpoint
|
8309
|
+
attr_accessor :NamespaceId, :Ttl, :RetentionTime, :Remark, :PublicEndpoint, :VpcEndpoint, :InternalEndpoint
|
8239
8310
|
|
8240
|
-
def initialize(namespaceid=nil, ttl=nil, retentiontime=nil, remark=nil, publicendpoint=nil, vpcendpoint=nil)
|
8311
|
+
def initialize(namespaceid=nil, ttl=nil, retentiontime=nil, remark=nil, publicendpoint=nil, vpcendpoint=nil, internalendpoint=nil)
|
8241
8312
|
@NamespaceId = namespaceid
|
8242
8313
|
@Ttl = ttl
|
8243
8314
|
@RetentionTime = retentiontime
|
8244
8315
|
@Remark = remark
|
8245
8316
|
@PublicEndpoint = publicendpoint
|
8246
8317
|
@VpcEndpoint = vpcendpoint
|
8318
|
+
@InternalEndpoint = internalendpoint
|
8247
8319
|
end
|
8248
8320
|
|
8249
8321
|
def deserialize(params)
|
@@ -8253,6 +8325,7 @@ module TencentCloud
|
|
8253
8325
|
@Remark = params['Remark']
|
8254
8326
|
@PublicEndpoint = params['PublicEndpoint']
|
8255
8327
|
@VpcEndpoint = params['VpcEndpoint']
|
8328
|
+
@InternalEndpoint = params['InternalEndpoint']
|
8256
8329
|
end
|
8257
8330
|
end
|
8258
8331
|
|
@@ -8349,10 +8422,19 @@ module TencentCloud
|
|
8349
8422
|
# @type Remark: String
|
8350
8423
|
# @param SpecName: 实例配置ID
|
8351
8424
|
# @type SpecName: String
|
8425
|
+
# @param MaxRetention: 最大可设置消息保留时间,小时为单位
|
8426
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8427
|
+
# @type MaxRetention: Integer
|
8428
|
+
# @param MinRetention: 最小可设置消息保留时间,小时为单位
|
8429
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8430
|
+
# @type MinRetention: Integer
|
8431
|
+
# @param Retention: 实例消息保留时间,小时为单位
|
8432
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8433
|
+
# @type Retention: Integer
|
8352
8434
|
|
8353
|
-
attr_accessor :InstanceId, :InstanceName, :InstanceVersion, :Status, :NodeCount, :ConfigDisplay, :MaxTps, :MaxBandWidth, :MaxStorage, :ExpireTime, :AutoRenewFlag, :PayMode, :Remark, :SpecName
|
8435
|
+
attr_accessor :InstanceId, :InstanceName, :InstanceVersion, :Status, :NodeCount, :ConfigDisplay, :MaxTps, :MaxBandWidth, :MaxStorage, :ExpireTime, :AutoRenewFlag, :PayMode, :Remark, :SpecName, :MaxRetention, :MinRetention, :Retention
|
8354
8436
|
|
8355
|
-
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)
|
8437
|
+
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, maxretention=nil, minretention=nil, retention=nil)
|
8356
8438
|
@InstanceId = instanceid
|
8357
8439
|
@InstanceName = instancename
|
8358
8440
|
@InstanceVersion = instanceversion
|
@@ -8367,6 +8449,9 @@ module TencentCloud
|
|
8367
8449
|
@PayMode = paymode
|
8368
8450
|
@Remark = remark
|
8369
8451
|
@SpecName = specname
|
8452
|
+
@MaxRetention = maxretention
|
8453
|
+
@MinRetention = minretention
|
8454
|
+
@Retention = retention
|
8370
8455
|
end
|
8371
8456
|
|
8372
8457
|
def deserialize(params)
|
@@ -8384,6 +8469,9 @@ module TencentCloud
|
|
8384
8469
|
@PayMode = params['PayMode']
|
8385
8470
|
@Remark = params['Remark']
|
8386
8471
|
@SpecName = params['SpecName']
|
8472
|
+
@MaxRetention = params['MaxRetention']
|
8473
|
+
@MinRetention = params['MinRetention']
|
8474
|
+
@Retention = params['Retention']
|
8387
8475
|
end
|
8388
8476
|
end
|
8389
8477
|
|
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.559
|
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-04-
|
11
|
+
date: 2023-04-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|