tencentcloud-sdk-tdmq 3.0.625 → 3.0.627

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: b6c37b2817f9e59a3c87d28ea1fed253f0536319
4
- data.tar.gz: 4844c8a5ef5c362770cb43f2dcff548addc77441
3
+ metadata.gz: 25fa7913c524da0613a86db38fcfcaf0849cf288
4
+ data.tar.gz: e6219f41bc79bbf11a528862a77bedf34aa84f36
5
5
  SHA512:
6
- metadata.gz: 55a280b2f3e15daec0948a8fb00d188bfa02559283b303c08e5f86a0eab81fac140b1291c683aafc65be19890819ad061bf5d47430389bdc36da7c00f4516a66
7
- data.tar.gz: 3121794035d4d5ad0f29c159019808c66de44e6e96fcf6aadc584e4957e54bc89b2a411a7efafc37eabde514e953be4f49d2dfa8169f5ac18d3c66081bbefa23
6
+ metadata.gz: 0187a7cb45755645791fc75deba2fc712729bc03fe9af93f788f3ce7ea3ecd367b49b78df05ba7ad4d97d449ad590ea412602e7a63e21606758dac76b0818d52
7
+ data.tar.gz: c1713f2e193589d79d6859a4a7f66e71f056ec6d3a7f68803257bcf2585d34be86d0aa73432a1aa20127d278fefe93b2addf54ebbdd858ab4a07725f597aac00
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.625
1
+ 3.0.627
@@ -821,6 +821,30 @@ module TencentCloud
821
821
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
822
822
  end
823
823
 
824
+ # 删除RocketMQ专享实例
825
+
826
+ # @param request: Request instance for DeleteRocketMQVipInstance.
827
+ # @type request: :class:`Tencentcloud::tdmq::V20200217::DeleteRocketMQVipInstanceRequest`
828
+ # @rtype: :class:`Tencentcloud::tdmq::V20200217::DeleteRocketMQVipInstanceResponse`
829
+ def DeleteRocketMQVipInstance(request)
830
+ body = send_request('DeleteRocketMQVipInstance', request.serialize)
831
+ response = JSON.parse(body)
832
+ if response['Response'].key?('Error') == false
833
+ model = DeleteRocketMQVipInstanceResponse.new
834
+ model.deserialize(response['Response'])
835
+ model
836
+ else
837
+ code = response['Response']['Error']['Code']
838
+ message = response['Response']['Error']['Message']
839
+ reqid = response['Response']['RequestId']
840
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
841
+ end
842
+ rescue TencentCloud::Common::TencentCloudSDKException => e
843
+ raise e
844
+ rescue StandardError => e
845
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
846
+ end
847
+
824
848
  # 删除角色,支持批量。
825
849
 
826
850
  # @param request: Request instance for DeleteRoles.
@@ -715,10 +715,13 @@ module TencentCloud
715
715
  # @param NotifyContentFormat: 推送内容的格式。取值:(1)JSON;(2)SIMPLIFIED,即 raw 格式。如果 protocol 是 queue,则取值必须为 SIMPLIFIED。如果 protocol 是 HTTP,两个值均可以,默认值是 JSON。
716
716
  # 注意:此字段可能返回 null,表示取不到有效值。
717
717
  # @type NotifyContentFormat: String
718
+ # @param TopicName: 订阅所属的主题名称
719
+ # 注意:此字段可能返回 null,表示取不到有效值。
720
+ # @type TopicName: String
718
721
 
719
- attr_accessor :SubscriptionName, :SubscriptionId, :TopicOwner, :MsgCount, :LastModifyTime, :CreateTime, :BindingKey, :Endpoint, :FilterTags, :Protocol, :NotifyStrategy, :NotifyContentFormat
722
+ attr_accessor :SubscriptionName, :SubscriptionId, :TopicOwner, :MsgCount, :LastModifyTime, :CreateTime, :BindingKey, :Endpoint, :FilterTags, :Protocol, :NotifyStrategy, :NotifyContentFormat, :TopicName
720
723
 
721
- def initialize(subscriptionname=nil, subscriptionid=nil, topicowner=nil, msgcount=nil, lastmodifytime=nil, createtime=nil, bindingkey=nil, endpoint=nil, filtertags=nil, protocol=nil, notifystrategy=nil, notifycontentformat=nil)
724
+ def initialize(subscriptionname=nil, subscriptionid=nil, topicowner=nil, msgcount=nil, lastmodifytime=nil, createtime=nil, bindingkey=nil, endpoint=nil, filtertags=nil, protocol=nil, notifystrategy=nil, notifycontentformat=nil, topicname=nil)
722
725
  @SubscriptionName = subscriptionname
723
726
  @SubscriptionId = subscriptionid
724
727
  @TopicOwner = topicowner
@@ -731,6 +734,7 @@ module TencentCloud
731
734
  @Protocol = protocol
732
735
  @NotifyStrategy = notifystrategy
733
736
  @NotifyContentFormat = notifycontentformat
737
+ @TopicName = topicname
734
738
  end
735
739
 
736
740
  def deserialize(params)
@@ -746,6 +750,7 @@ module TencentCloud
746
750
  @Protocol = params['Protocol']
747
751
  @NotifyStrategy = params['NotifyStrategy']
748
752
  @NotifyContentFormat = params['NotifyContentFormat']
753
+ @TopicName = params['TopicName']
749
754
  end
750
755
  end
751
756
 
@@ -801,10 +806,13 @@ module TencentCloud
801
806
  # @param BrokerType: 0表示pulsar,1表示rocketmq
802
807
  # 注意:此字段可能返回 null,表示取不到有效值。
803
808
  # @type BrokerType: Integer
809
+ # @param SubscriptionCount: 订阅数量
810
+ # 注意:此字段可能返回 null,表示取不到有效值。
811
+ # @type SubscriptionCount: Integer
804
812
 
805
- attr_accessor :TopicId, :TopicName, :MsgRetentionSeconds, :MaxMsgSize, :Qps, :FilterType, :CreateTime, :LastModifyTime, :MsgCount, :CreateUin, :Tags, :Trace, :TenantId, :NamespaceName, :Status, :BrokerType
813
+ attr_accessor :TopicId, :TopicName, :MsgRetentionSeconds, :MaxMsgSize, :Qps, :FilterType, :CreateTime, :LastModifyTime, :MsgCount, :CreateUin, :Tags, :Trace, :TenantId, :NamespaceName, :Status, :BrokerType, :SubscriptionCount
806
814
 
807
- def initialize(topicid=nil, topicname=nil, msgretentionseconds=nil, maxmsgsize=nil, qps=nil, filtertype=nil, createtime=nil, lastmodifytime=nil, msgcount=nil, createuin=nil, tags=nil, trace=nil, tenantid=nil, namespacename=nil, status=nil, brokertype=nil)
815
+ def initialize(topicid=nil, topicname=nil, msgretentionseconds=nil, maxmsgsize=nil, qps=nil, filtertype=nil, createtime=nil, lastmodifytime=nil, msgcount=nil, createuin=nil, tags=nil, trace=nil, tenantid=nil, namespacename=nil, status=nil, brokertype=nil, subscriptioncount=nil)
808
816
  @TopicId = topicid
809
817
  @TopicName = topicname
810
818
  @MsgRetentionSeconds = msgretentionseconds
@@ -821,6 +829,7 @@ module TencentCloud
821
829
  @NamespaceName = namespacename
822
830
  @Status = status
823
831
  @BrokerType = brokertype
832
+ @SubscriptionCount = subscriptioncount
824
833
  end
825
834
 
826
835
  def deserialize(params)
@@ -847,6 +856,7 @@ module TencentCloud
847
856
  @NamespaceName = params['NamespaceName']
848
857
  @Status = params['Status']
849
858
  @BrokerType = params['BrokerType']
859
+ @SubscriptionCount = params['SubscriptionCount']
850
860
  end
851
861
  end
852
862
 
@@ -2510,6 +2520,38 @@ module TencentCloud
2510
2520
  end
2511
2521
  end
2512
2522
 
2523
+ # DeleteRocketMQVipInstance请求参数结构体
2524
+ class DeleteRocketMQVipInstanceRequest < TencentCloud::Common::AbstractModel
2525
+ # @param ClusterId: 实例的集群ID
2526
+ # @type ClusterId: String
2527
+
2528
+ attr_accessor :ClusterId
2529
+
2530
+ def initialize(clusterid=nil)
2531
+ @ClusterId = clusterid
2532
+ end
2533
+
2534
+ def deserialize(params)
2535
+ @ClusterId = params['ClusterId']
2536
+ end
2537
+ end
2538
+
2539
+ # DeleteRocketMQVipInstance返回参数结构体
2540
+ class DeleteRocketMQVipInstanceResponse < TencentCloud::Common::AbstractModel
2541
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2542
+ # @type RequestId: String
2543
+
2544
+ attr_accessor :RequestId
2545
+
2546
+ def initialize(requestid=nil)
2547
+ @RequestId = requestid
2548
+ end
2549
+
2550
+ def deserialize(params)
2551
+ @RequestId = params['RequestId']
2552
+ end
2553
+ end
2554
+
2513
2555
  # DeleteRoles请求参数结构体
2514
2556
  class DeleteRolesRequest < TencentCloud::Common::AbstractModel
2515
2557
  # @param RoleNames: 角色名称数组。
@@ -3217,14 +3259,21 @@ module TencentCloud
3217
3259
  # @type Limit: Integer
3218
3260
  # @param SubscriptionName: 根据SubscriptionName进行模糊搜索
3219
3261
  # @type SubscriptionName: String
3262
+ # @param QueueName: 队列名称,订阅绑定的endpoint
3263
+ # @type QueueName: String
3264
+ # @param QueryType: 查询类型。取值:(1)topic;(2)queue。
3265
+ # 默认值是topic。如果 queryType 是 topic,则查询主题下的订阅列表;如果 queryType 是 queue,则查询队列绑定的订阅列表。
3266
+ # @type QueryType: String
3220
3267
 
3221
- attr_accessor :TopicName, :Offset, :Limit, :SubscriptionName
3268
+ attr_accessor :TopicName, :Offset, :Limit, :SubscriptionName, :QueueName, :QueryType
3222
3269
 
3223
- def initialize(topicname=nil, offset=nil, limit=nil, subscriptionname=nil)
3270
+ def initialize(topicname=nil, offset=nil, limit=nil, subscriptionname=nil, queuename=nil, querytype=nil)
3224
3271
  @TopicName = topicname
3225
3272
  @Offset = offset
3226
3273
  @Limit = limit
3227
3274
  @SubscriptionName = subscriptionname
3275
+ @QueueName = queuename
3276
+ @QueryType = querytype
3228
3277
  end
3229
3278
 
3230
3279
  def deserialize(params)
@@ -3232,6 +3281,8 @@ module TencentCloud
3232
3281
  @Offset = params['Offset']
3233
3282
  @Limit = params['Limit']
3234
3283
  @SubscriptionName = params['SubscriptionName']
3284
+ @QueueName = params['QueueName']
3285
+ @QueryType = params['QueryType']
3235
3286
  end
3236
3287
  end
3237
3288
 
@@ -7116,7 +7167,7 @@ module TencentCloud
7116
7167
  end
7117
7168
  end
7118
7169
 
7119
- # RabbitMQ专享版虚拟机
7170
+ # RabbitMQ专享版云服务器
7120
7171
  class RabbitMQPrivateVirtualHost < TencentCloud::Common::AbstractModel
7121
7172
  # @param VirtualHostName: 虚拟主机的名字
7122
7173
  # 注意:此字段可能返回 null,表示取不到有效值。
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.625
4
+ version: 3.0.627
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-08-01 00:00:00.000000000 Z
11
+ date: 2023-08-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common