tencentcloud-sdk-tdmq 3.0.964 → 3.0.966
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 +52 -1
- 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: fefdcdf4be9e4b94b16c44568617c0de835ab0f7
|
4
|
+
data.tar.gz: c75adc801bcfca96c3e6eb7afa6737cc7cfd375a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 84749481d0f60ee283aab2320c4ef71297121b10b8fe90077560a1cc2008888f60624b82ea70f6cb753d08068957aa2ac3cfe62e53faab61c465f2fe91e0d413
|
7
|
+
data.tar.gz: 7bdaa99505be4fe826f387c11345783b264e7c3b09dd0a49be2c75cb66b4179f4f111619b55797e1e49baa9cd319e640db72f43c321a57ee4c0c33b7151d3787
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.966
|
data/lib/v20200217/client.rb
CHANGED
@@ -2867,6 +2867,30 @@ module TencentCloud
|
|
2867
2867
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2868
2868
|
end
|
2869
2869
|
|
2870
|
+
# 修改pulsar专业版公网安全策略
|
2871
|
+
|
2872
|
+
# @param request: Request instance for ModifyPublicNetworkSecurityPolicy.
|
2873
|
+
# @type request: :class:`Tencentcloud::tdmq::V20200217::ModifyPublicNetworkSecurityPolicyRequest`
|
2874
|
+
# @rtype: :class:`Tencentcloud::tdmq::V20200217::ModifyPublicNetworkSecurityPolicyResponse`
|
2875
|
+
def ModifyPublicNetworkSecurityPolicy(request)
|
2876
|
+
body = send_request('ModifyPublicNetworkSecurityPolicy', request.serialize)
|
2877
|
+
response = JSON.parse(body)
|
2878
|
+
if response['Response'].key?('Error') == false
|
2879
|
+
model = ModifyPublicNetworkSecurityPolicyResponse.new
|
2880
|
+
model.deserialize(response['Response'])
|
2881
|
+
model
|
2882
|
+
else
|
2883
|
+
code = response['Response']['Error']['Code']
|
2884
|
+
message = response['Response']['Error']['Message']
|
2885
|
+
reqid = response['Response']['RequestId']
|
2886
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2887
|
+
end
|
2888
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2889
|
+
raise e
|
2890
|
+
rescue StandardError => e
|
2891
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2892
|
+
end
|
2893
|
+
|
2870
2894
|
# 修改RabbitMQ的用户
|
2871
2895
|
|
2872
2896
|
# @param request: Request instance for ModifyRabbitMQUser.
|
data/lib/v20200217/models.rb
CHANGED
@@ -710,7 +710,7 @@ module TencentCloud
|
|
710
710
|
|
711
711
|
# cmq订阅返回参数
|
712
712
|
class CmqSubscription < TencentCloud::Common::AbstractModel
|
713
|
-
# @param SubscriptionName:
|
713
|
+
# @param SubscriptionName: 订阅名字,在单个地域同一账号的同一主题下唯一。订阅名称是一个不超过64个字符的字符串,必须以字母为首字符,剩余部分可以包含字母、数字和横划线(-)。
|
714
714
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
715
715
|
# @type SubscriptionName: String
|
716
716
|
# @param SubscriptionId: 订阅 ID。订阅 ID 在拉取监控数据时会用到。
|
@@ -8876,6 +8876,57 @@ module TencentCloud
|
|
8876
8876
|
end
|
8877
8877
|
end
|
8878
8878
|
|
8879
|
+
# ModifyPublicNetworkSecurityPolicy请求参数结构体
|
8880
|
+
class ModifyPublicNetworkSecurityPolicyRequest < TencentCloud::Common::AbstractModel
|
8881
|
+
# @param InstanceId: 集群id
|
8882
|
+
# @type InstanceId: String
|
8883
|
+
# @param PolicyList: 策略列表
|
8884
|
+
# @type PolicyList: Array
|
8885
|
+
|
8886
|
+
attr_accessor :InstanceId, :PolicyList
|
8887
|
+
|
8888
|
+
def initialize(instanceid=nil, policylist=nil)
|
8889
|
+
@InstanceId = instanceid
|
8890
|
+
@PolicyList = policylist
|
8891
|
+
end
|
8892
|
+
|
8893
|
+
def deserialize(params)
|
8894
|
+
@InstanceId = params['InstanceId']
|
8895
|
+
unless params['PolicyList'].nil?
|
8896
|
+
@PolicyList = []
|
8897
|
+
params['PolicyList'].each do |i|
|
8898
|
+
securitypolicy_tmp = SecurityPolicy.new
|
8899
|
+
securitypolicy_tmp.deserialize(i)
|
8900
|
+
@PolicyList << securitypolicy_tmp
|
8901
|
+
end
|
8902
|
+
end
|
8903
|
+
end
|
8904
|
+
end
|
8905
|
+
|
8906
|
+
# ModifyPublicNetworkSecurityPolicy返回参数结构体
|
8907
|
+
class ModifyPublicNetworkSecurityPolicyResponse < TencentCloud::Common::AbstractModel
|
8908
|
+
# @param ModifyResult: SUCCESS或者FAILURE
|
8909
|
+
# @type ModifyResult: String
|
8910
|
+
# @param InstanceId: 集群id
|
8911
|
+
# @type InstanceId: String
|
8912
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
8913
|
+
# @type RequestId: String
|
8914
|
+
|
8915
|
+
attr_accessor :ModifyResult, :InstanceId, :RequestId
|
8916
|
+
|
8917
|
+
def initialize(modifyresult=nil, instanceid=nil, requestid=nil)
|
8918
|
+
@ModifyResult = modifyresult
|
8919
|
+
@InstanceId = instanceid
|
8920
|
+
@RequestId = requestid
|
8921
|
+
end
|
8922
|
+
|
8923
|
+
def deserialize(params)
|
8924
|
+
@ModifyResult = params['ModifyResult']
|
8925
|
+
@InstanceId = params['InstanceId']
|
8926
|
+
@RequestId = params['RequestId']
|
8927
|
+
end
|
8928
|
+
end
|
8929
|
+
|
8879
8930
|
# ModifyRabbitMQUser请求参数结构体
|
8880
8931
|
class ModifyRabbitMQUserRequest < TencentCloud::Common::AbstractModel
|
8881
8932
|
# @param InstanceId: 集群实例Id
|
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.966
|
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-12-
|
11
|
+
date: 2024-12-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|