tencentcloud-sdk-mqtt 3.0.909 → 3.0.910

Sign up to get free protection for your applications and to get access to all the features.
@@ -17,6 +17,554 @@
17
17
  module TencentCloud
18
18
  module Mqtt
19
19
  module V20240516
20
+ # AuthorizationPolicyItem
21
+ class AuthorizationPolicyItem < TencentCloud::Common::AbstractModel
22
+ # @param Id: 规则id
23
+ # @type Id: Integer
24
+ # @param InstanceId: 集群id
25
+ # @type InstanceId: String
26
+ # @param PolicyName: 规则名
27
+ # 注意:此字段可能返回 null,表示取不到有效值。
28
+ # @type PolicyName: String
29
+ # @param Version: 规则语法版本
30
+ # 注意:此字段可能返回 null,表示取不到有效值。
31
+ # @type Version: Integer
32
+ # @param Priority: 越小越优先
33
+ # 注意:此字段可能返回 null,表示取不到有效值。
34
+ # @type Priority: Integer
35
+ # @param Effect: allow/deny
36
+ # 注意:此字段可能返回 null,表示取不到有效值。
37
+ # @type Effect: String
38
+ # @param Actions: connect、pub、sub
39
+ # 注意:此字段可能返回 null,表示取不到有效值。
40
+ # @type Actions: String
41
+ # @param Resources: 资源
42
+ # 注意:此字段可能返回 null,表示取不到有效值。
43
+ # @type Resources: String
44
+ # @param ClientId: client
45
+ # 注意:此字段可能返回 null,表示取不到有效值。
46
+ # @type ClientId: String
47
+ # @param Username: 用户
48
+ # 注意:此字段可能返回 null,表示取不到有效值。
49
+ # @type Username: String
50
+ # @param Ip: ip地址
51
+ # 注意:此字段可能返回 null,表示取不到有效值。
52
+ # @type Ip: String
53
+ # @param Qos: 0,1,2
54
+ # 注意:此字段可能返回 null,表示取不到有效值。
55
+ # @type Qos: String
56
+ # @param Retain: 1、2、3
57
+ # 注意:此字段可能返回 null,表示取不到有效值。
58
+ # @type Retain: Integer
59
+ # @param Remark: 描述
60
+ # 注意:此字段可能返回 null,表示取不到有效值。
61
+ # @type Remark: String
62
+ # @param CreatedTime: 1713164969433
63
+ # @type CreatedTime: Integer
64
+ # @param UpdateTime: 1713164969433
65
+ # @type UpdateTime: Integer
66
+
67
+ attr_accessor :Id, :InstanceId, :PolicyName, :Version, :Priority, :Effect, :Actions, :Resources, :ClientId, :Username, :Ip, :Qos, :Retain, :Remark, :CreatedTime, :UpdateTime
68
+
69
+ def initialize(id=nil, instanceid=nil, policyname=nil, version=nil, priority=nil, effect=nil, actions=nil, resources=nil, clientid=nil, username=nil, ip=nil, qos=nil, retain=nil, remark=nil, createdtime=nil, updatetime=nil)
70
+ @Id = id
71
+ @InstanceId = instanceid
72
+ @PolicyName = policyname
73
+ @Version = version
74
+ @Priority = priority
75
+ @Effect = effect
76
+ @Actions = actions
77
+ @Resources = resources
78
+ @ClientId = clientid
79
+ @Username = username
80
+ @Ip = ip
81
+ @Qos = qos
82
+ @Retain = retain
83
+ @Remark = remark
84
+ @CreatedTime = createdtime
85
+ @UpdateTime = updatetime
86
+ end
87
+
88
+ def deserialize(params)
89
+ @Id = params['Id']
90
+ @InstanceId = params['InstanceId']
91
+ @PolicyName = params['PolicyName']
92
+ @Version = params['Version']
93
+ @Priority = params['Priority']
94
+ @Effect = params['Effect']
95
+ @Actions = params['Actions']
96
+ @Resources = params['Resources']
97
+ @ClientId = params['ClientId']
98
+ @Username = params['Username']
99
+ @Ip = params['Ip']
100
+ @Qos = params['Qos']
101
+ @Retain = params['Retain']
102
+ @Remark = params['Remark']
103
+ @CreatedTime = params['CreatedTime']
104
+ @UpdateTime = params['UpdateTime']
105
+ end
106
+ end
107
+
108
+ # 策略规则优先级
109
+ class AuthorizationPolicyPriority < TencentCloud::Common::AbstractModel
110
+ # @param Id: 策略id
111
+ # 注意:此字段可能返回 null,表示取不到有效值。
112
+ # @type Id: Integer
113
+ # @param Priority: 优先级
114
+ # 注意:此字段可能返回 null,表示取不到有效值。
115
+ # @type Priority: Integer
116
+
117
+ attr_accessor :Id, :Priority
118
+
119
+ def initialize(id=nil, priority=nil)
120
+ @Id = id
121
+ @Priority = priority
122
+ end
123
+
124
+ def deserialize(params)
125
+ @Id = params['Id']
126
+ @Priority = params['Priority']
127
+ end
128
+ end
129
+
130
+ # CreateAuthorizationPolicy请求参数结构体
131
+ class CreateAuthorizationPolicyRequest < TencentCloud::Common::AbstractModel
132
+ # @param InstanceId: 实例ID
133
+ # @type InstanceId: String
134
+ # @param PolicyName: 策略名称
135
+ # @type PolicyName: String
136
+ # @param PolicyVersion: 策略版本
137
+ # @type PolicyVersion: Integer
138
+ # @param Priority: 策略优先级,越小越优先
139
+ # @type Priority: Integer
140
+ # @param Effect: allow、deny
141
+ # @type Effect: String
142
+ # @param Actions: connect、pub、sub
143
+ # @type Actions: String
144
+ # @param Retain: 1,匹配保留消息;2,匹配非保留消息,3.匹配所有消息
145
+ # @type Retain: Integer
146
+ # @param Qos: 0、1、2
147
+ # @type Qos: String
148
+ # @param Resources: 资源
149
+ # @type Resources: String
150
+ # @param Username: 用户名
151
+ # @type Username: String
152
+ # @param ClientId: 客户端
153
+ # @type ClientId: String
154
+ # @param Ip: ip
155
+ # @type Ip: String
156
+ # @param Remark: 备注信息
157
+ # @type Remark: String
158
+
159
+ attr_accessor :InstanceId, :PolicyName, :PolicyVersion, :Priority, :Effect, :Actions, :Retain, :Qos, :Resources, :Username, :ClientId, :Ip, :Remark
160
+
161
+ def initialize(instanceid=nil, policyname=nil, policyversion=nil, priority=nil, effect=nil, actions=nil, retain=nil, qos=nil, resources=nil, username=nil, clientid=nil, ip=nil, remark=nil)
162
+ @InstanceId = instanceid
163
+ @PolicyName = policyname
164
+ @PolicyVersion = policyversion
165
+ @Priority = priority
166
+ @Effect = effect
167
+ @Actions = actions
168
+ @Retain = retain
169
+ @Qos = qos
170
+ @Resources = resources
171
+ @Username = username
172
+ @ClientId = clientid
173
+ @Ip = ip
174
+ @Remark = remark
175
+ end
176
+
177
+ def deserialize(params)
178
+ @InstanceId = params['InstanceId']
179
+ @PolicyName = params['PolicyName']
180
+ @PolicyVersion = params['PolicyVersion']
181
+ @Priority = params['Priority']
182
+ @Effect = params['Effect']
183
+ @Actions = params['Actions']
184
+ @Retain = params['Retain']
185
+ @Qos = params['Qos']
186
+ @Resources = params['Resources']
187
+ @Username = params['Username']
188
+ @ClientId = params['ClientId']
189
+ @Ip = params['Ip']
190
+ @Remark = params['Remark']
191
+ end
192
+ end
193
+
194
+ # CreateAuthorizationPolicy返回参数结构体
195
+ class CreateAuthorizationPolicyResponse < TencentCloud::Common::AbstractModel
196
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
197
+ # @type RequestId: String
198
+
199
+ attr_accessor :RequestId
200
+
201
+ def initialize(requestid=nil)
202
+ @RequestId = requestid
203
+ end
204
+
205
+ def deserialize(params)
206
+ @RequestId = params['RequestId']
207
+ end
208
+ end
209
+
210
+ # CreateJWKSAuthenticator请求参数结构体
211
+ class CreateJWKSAuthenticatorRequest < TencentCloud::Common::AbstractModel
212
+ # @param InstanceId: 实例ID
213
+ # @type InstanceId: String
214
+ # @param Endpoint: jwks端点
215
+ # @type Endpoint: String
216
+ # @param RefreshInterval: jwks刷新间隔,单位:秒
217
+ # @type RefreshInterval: Integer
218
+ # @param Text: jwks文本
219
+ # @type Text: String
220
+ # @param Status: 认证器是否开启:open-启用;close-关闭
221
+ # @type Status: String
222
+ # @param Remark: 说明
223
+ # @type Remark: String
224
+ # @param From: 设备连接时传递jwt的key;username-使用用户名字段传递;password-使用密码字段传递
225
+ # @type From: String
226
+
227
+ attr_accessor :InstanceId, :Endpoint, :RefreshInterval, :Text, :Status, :Remark, :From
228
+
229
+ def initialize(instanceid=nil, endpoint=nil, refreshinterval=nil, text=nil, status=nil, remark=nil, from=nil)
230
+ @InstanceId = instanceid
231
+ @Endpoint = endpoint
232
+ @RefreshInterval = refreshinterval
233
+ @Text = text
234
+ @Status = status
235
+ @Remark = remark
236
+ @From = from
237
+ end
238
+
239
+ def deserialize(params)
240
+ @InstanceId = params['InstanceId']
241
+ @Endpoint = params['Endpoint']
242
+ @RefreshInterval = params['RefreshInterval']
243
+ @Text = params['Text']
244
+ @Status = params['Status']
245
+ @Remark = params['Remark']
246
+ @From = params['From']
247
+ end
248
+ end
249
+
250
+ # CreateJWKSAuthenticator返回参数结构体
251
+ class CreateJWKSAuthenticatorResponse < TencentCloud::Common::AbstractModel
252
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
253
+ # @type RequestId: String
254
+
255
+ attr_accessor :RequestId
256
+
257
+ def initialize(requestid=nil)
258
+ @RequestId = requestid
259
+ end
260
+
261
+ def deserialize(params)
262
+ @RequestId = params['RequestId']
263
+ end
264
+ end
265
+
266
+ # CreateJWTAuthenticator请求参数结构体
267
+ class CreateJWTAuthenticatorRequest < TencentCloud::Common::AbstractModel
268
+ # @param InstanceId: 实例ID
269
+ # @type InstanceId: String
270
+ # @param Algorithm: 算法:hmac-based,public-key
271
+ # @type Algorithm: String
272
+ # @param From: 设备连接时传递jwt的key;username-使用用户名字段传递;password-使用密码字段传递
273
+ # @type From: String
274
+ # @param Secret: 密码
275
+ # @type Secret: String
276
+ # @param PublicKey: 公钥
277
+ # @type PublicKey: String
278
+ # @param Status: 认证器是否开启:open-启用;close-关闭
279
+ # @type Status: String
280
+ # @param Remark: 说明
281
+ # @type Remark: String
282
+
283
+ attr_accessor :InstanceId, :Algorithm, :From, :Secret, :PublicKey, :Status, :Remark
284
+
285
+ def initialize(instanceid=nil, algorithm=nil, from=nil, secret=nil, publickey=nil, status=nil, remark=nil)
286
+ @InstanceId = instanceid
287
+ @Algorithm = algorithm
288
+ @From = from
289
+ @Secret = secret
290
+ @PublicKey = publickey
291
+ @Status = status
292
+ @Remark = remark
293
+ end
294
+
295
+ def deserialize(params)
296
+ @InstanceId = params['InstanceId']
297
+ @Algorithm = params['Algorithm']
298
+ @From = params['From']
299
+ @Secret = params['Secret']
300
+ @PublicKey = params['PublicKey']
301
+ @Status = params['Status']
302
+ @Remark = params['Remark']
303
+ end
304
+ end
305
+
306
+ # CreateJWTAuthenticator返回参数结构体
307
+ class CreateJWTAuthenticatorResponse < TencentCloud::Common::AbstractModel
308
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
309
+ # @type RequestId: String
310
+
311
+ attr_accessor :RequestId
312
+
313
+ def initialize(requestid=nil)
314
+ @RequestId = requestid
315
+ end
316
+
317
+ def deserialize(params)
318
+ @RequestId = params['RequestId']
319
+ end
320
+ end
321
+
322
+ # CreateTopic请求参数结构体
323
+ class CreateTopicRequest < TencentCloud::Common::AbstractModel
324
+ # @param InstanceId: 实例ID
325
+ # @type InstanceId: String
326
+ # @param Topic: 主题
327
+ # @type Topic: String
328
+ # @param Remark: 备注
329
+ # @type Remark: String
330
+
331
+ attr_accessor :InstanceId, :Topic, :Remark
332
+
333
+ def initialize(instanceid=nil, topic=nil, remark=nil)
334
+ @InstanceId = instanceid
335
+ @Topic = topic
336
+ @Remark = remark
337
+ end
338
+
339
+ def deserialize(params)
340
+ @InstanceId = params['InstanceId']
341
+ @Topic = params['Topic']
342
+ @Remark = params['Remark']
343
+ end
344
+ end
345
+
346
+ # CreateTopic返回参数结构体
347
+ class CreateTopicResponse < TencentCloud::Common::AbstractModel
348
+ # @param InstanceId: 实例ID
349
+ # @type InstanceId: String
350
+ # @param Topic: 主题
351
+ # @type Topic: String
352
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
353
+ # @type RequestId: String
354
+
355
+ attr_accessor :InstanceId, :Topic, :RequestId
356
+
357
+ def initialize(instanceid=nil, topic=nil, requestid=nil)
358
+ @InstanceId = instanceid
359
+ @Topic = topic
360
+ @RequestId = requestid
361
+ end
362
+
363
+ def deserialize(params)
364
+ @InstanceId = params['InstanceId']
365
+ @Topic = params['Topic']
366
+ @RequestId = params['RequestId']
367
+ end
368
+ end
369
+
370
+ # DeleteAuthenticator请求参数结构体
371
+ class DeleteAuthenticatorRequest < TencentCloud::Common::AbstractModel
372
+ # @param InstanceId: 实例ID
373
+ # @type InstanceId: String
374
+ # @param Type: 认证器类型
375
+ # @type Type: String
376
+
377
+ attr_accessor :InstanceId, :Type
378
+
379
+ def initialize(instanceid=nil, type=nil)
380
+ @InstanceId = instanceid
381
+ @Type = type
382
+ end
383
+
384
+ def deserialize(params)
385
+ @InstanceId = params['InstanceId']
386
+ @Type = params['Type']
387
+ end
388
+ end
389
+
390
+ # DeleteAuthenticator返回参数结构体
391
+ class DeleteAuthenticatorResponse < TencentCloud::Common::AbstractModel
392
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
393
+ # @type RequestId: String
394
+
395
+ attr_accessor :RequestId
396
+
397
+ def initialize(requestid=nil)
398
+ @RequestId = requestid
399
+ end
400
+
401
+ def deserialize(params)
402
+ @RequestId = params['RequestId']
403
+ end
404
+ end
405
+
406
+ # DeleteAuthorizationPolicy请求参数结构体
407
+ class DeleteAuthorizationPolicyRequest < TencentCloud::Common::AbstractModel
408
+ # @param InstanceId: 实例ID
409
+ # @type InstanceId: String
410
+ # @param Id: 策略规则id
411
+ # @type Id: Integer
412
+
413
+ attr_accessor :InstanceId, :Id
414
+
415
+ def initialize(instanceid=nil, id=nil)
416
+ @InstanceId = instanceid
417
+ @Id = id
418
+ end
419
+
420
+ def deserialize(params)
421
+ @InstanceId = params['InstanceId']
422
+ @Id = params['Id']
423
+ end
424
+ end
425
+
426
+ # DeleteAuthorizationPolicy返回参数结构体
427
+ class DeleteAuthorizationPolicyResponse < TencentCloud::Common::AbstractModel
428
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
429
+ # @type RequestId: String
430
+
431
+ attr_accessor :RequestId
432
+
433
+ def initialize(requestid=nil)
434
+ @RequestId = requestid
435
+ end
436
+
437
+ def deserialize(params)
438
+ @RequestId = params['RequestId']
439
+ end
440
+ end
441
+
442
+ # DeleteTopic请求参数结构体
443
+ class DeleteTopicRequest < TencentCloud::Common::AbstractModel
444
+ # @param InstanceId: 实例ID
445
+ # @type InstanceId: String
446
+ # @param Topic: 主题
447
+ # @type Topic: String
448
+
449
+ attr_accessor :InstanceId, :Topic
450
+
451
+ def initialize(instanceid=nil, topic=nil)
452
+ @InstanceId = instanceid
453
+ @Topic = topic
454
+ end
455
+
456
+ def deserialize(params)
457
+ @InstanceId = params['InstanceId']
458
+ @Topic = params['Topic']
459
+ end
460
+ end
461
+
462
+ # DeleteTopic返回参数结构体
463
+ class DeleteTopicResponse < TencentCloud::Common::AbstractModel
464
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
465
+ # @type RequestId: String
466
+
467
+ attr_accessor :RequestId
468
+
469
+ def initialize(requestid=nil)
470
+ @RequestId = requestid
471
+ end
472
+
473
+ def deserialize(params)
474
+ @RequestId = params['RequestId']
475
+ end
476
+ end
477
+
478
+ # DescribeAuthenticator请求参数结构体
479
+ class DescribeAuthenticatorRequest < TencentCloud::Common::AbstractModel
480
+ # @param InstanceId: 实例ID
481
+ # @type InstanceId: String
482
+ # @param Type: 认证器类型
483
+ # @type Type: String
484
+
485
+ attr_accessor :InstanceId, :Type
486
+
487
+ def initialize(instanceid=nil, type=nil)
488
+ @InstanceId = instanceid
489
+ @Type = type
490
+ end
491
+
492
+ def deserialize(params)
493
+ @InstanceId = params['InstanceId']
494
+ @Type = params['Type']
495
+ end
496
+ end
497
+
498
+ # DescribeAuthenticator返回参数结构体
499
+ class DescribeAuthenticatorResponse < TencentCloud::Common::AbstractModel
500
+ # @param Authenticators: 集群认证器列表
501
+ # @type Authenticators: Array
502
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
503
+ # @type RequestId: String
504
+
505
+ attr_accessor :Authenticators, :RequestId
506
+
507
+ def initialize(authenticators=nil, requestid=nil)
508
+ @Authenticators = authenticators
509
+ @RequestId = requestid
510
+ end
511
+
512
+ def deserialize(params)
513
+ unless params['Authenticators'].nil?
514
+ @Authenticators = []
515
+ params['Authenticators'].each do |i|
516
+ mqttauthenticatoritem_tmp = MQTTAuthenticatorItem.new
517
+ mqttauthenticatoritem_tmp.deserialize(i)
518
+ @Authenticators << mqttauthenticatoritem_tmp
519
+ end
520
+ end
521
+ @RequestId = params['RequestId']
522
+ end
523
+ end
524
+
525
+ # DescribeAuthorizationPolicies请求参数结构体
526
+ class DescribeAuthorizationPoliciesRequest < TencentCloud::Common::AbstractModel
527
+ # @param InstanceId: 集群ID
528
+ # @type InstanceId: String
529
+
530
+ attr_accessor :InstanceId
531
+
532
+ def initialize(instanceid=nil)
533
+ @InstanceId = instanceid
534
+ end
535
+
536
+ def deserialize(params)
537
+ @InstanceId = params['InstanceId']
538
+ end
539
+ end
540
+
541
+ # DescribeAuthorizationPolicies返回参数结构体
542
+ class DescribeAuthorizationPoliciesResponse < TencentCloud::Common::AbstractModel
543
+ # @param Data: 规则
544
+ # @type Data: Array
545
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
546
+ # @type RequestId: String
547
+
548
+ attr_accessor :Data, :RequestId
549
+
550
+ def initialize(data=nil, requestid=nil)
551
+ @Data = data
552
+ @RequestId = requestid
553
+ end
554
+
555
+ def deserialize(params)
556
+ unless params['Data'].nil?
557
+ @Data = []
558
+ params['Data'].each do |i|
559
+ authorizationpolicyitem_tmp = AuthorizationPolicyItem.new
560
+ authorizationpolicyitem_tmp.deserialize(i)
561
+ @Data << authorizationpolicyitem_tmp
562
+ end
563
+ end
564
+ @RequestId = params['RequestId']
565
+ end
566
+ end
567
+
20
568
  # DescribeInstanceList请求参数结构体
21
569
  class DescribeInstanceListRequest < TencentCloud::Common::AbstractModel
22
570
  # @param Filters: 查询条件列表
@@ -164,59 +712,178 @@ module TencentCloud
164
712
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
165
713
  # @type RequestId: String
166
714
 
167
- attr_accessor :InstanceType, :InstanceId, :InstanceName, :TopicNum, :TopicNumLimit, :TpsLimit, :CreatedTime, :Remark, :InstanceStatus, :SkuCode, :MaxSubscriptionPerClient, :AuthorizationPolicyLimit, :ClientNumLimit, :DeviceCertificateProvisionType, :AutomaticActivation, :RenewFlag, :PayMode, :ExpiryTime, :DestroyTime, :X509Mode, :MaxCaNum, :RegistrationCode, :MaxSubscription, :RequestId
715
+ attr_accessor :InstanceType, :InstanceId, :InstanceName, :TopicNum, :TopicNumLimit, :TpsLimit, :CreatedTime, :Remark, :InstanceStatus, :SkuCode, :MaxSubscriptionPerClient, :AuthorizationPolicyLimit, :ClientNumLimit, :DeviceCertificateProvisionType, :AutomaticActivation, :RenewFlag, :PayMode, :ExpiryTime, :DestroyTime, :X509Mode, :MaxCaNum, :RegistrationCode, :MaxSubscription, :RequestId
716
+
717
+ def initialize(instancetype=nil, instanceid=nil, instancename=nil, topicnum=nil, topicnumlimit=nil, tpslimit=nil, createdtime=nil, remark=nil, instancestatus=nil, skucode=nil, maxsubscriptionperclient=nil, authorizationpolicylimit=nil, clientnumlimit=nil, devicecertificateprovisiontype=nil, automaticactivation=nil, renewflag=nil, paymode=nil, expirytime=nil, destroytime=nil, x509mode=nil, maxcanum=nil, registrationcode=nil, maxsubscription=nil, requestid=nil)
718
+ @InstanceType = instancetype
719
+ @InstanceId = instanceid
720
+ @InstanceName = instancename
721
+ @TopicNum = topicnum
722
+ @TopicNumLimit = topicnumlimit
723
+ @TpsLimit = tpslimit
724
+ @CreatedTime = createdtime
725
+ @Remark = remark
726
+ @InstanceStatus = instancestatus
727
+ @SkuCode = skucode
728
+ @MaxSubscriptionPerClient = maxsubscriptionperclient
729
+ @AuthorizationPolicyLimit = authorizationpolicylimit
730
+ @ClientNumLimit = clientnumlimit
731
+ @DeviceCertificateProvisionType = devicecertificateprovisiontype
732
+ @AutomaticActivation = automaticactivation
733
+ @RenewFlag = renewflag
734
+ @PayMode = paymode
735
+ @ExpiryTime = expirytime
736
+ @DestroyTime = destroytime
737
+ @X509Mode = x509mode
738
+ @MaxCaNum = maxcanum
739
+ @RegistrationCode = registrationcode
740
+ @MaxSubscription = maxsubscription
741
+ @RequestId = requestid
742
+ end
743
+
744
+ def deserialize(params)
745
+ @InstanceType = params['InstanceType']
746
+ @InstanceId = params['InstanceId']
747
+ @InstanceName = params['InstanceName']
748
+ @TopicNum = params['TopicNum']
749
+ @TopicNumLimit = params['TopicNumLimit']
750
+ @TpsLimit = params['TpsLimit']
751
+ @CreatedTime = params['CreatedTime']
752
+ @Remark = params['Remark']
753
+ @InstanceStatus = params['InstanceStatus']
754
+ @SkuCode = params['SkuCode']
755
+ @MaxSubscriptionPerClient = params['MaxSubscriptionPerClient']
756
+ @AuthorizationPolicyLimit = params['AuthorizationPolicyLimit']
757
+ @ClientNumLimit = params['ClientNumLimit']
758
+ @DeviceCertificateProvisionType = params['DeviceCertificateProvisionType']
759
+ @AutomaticActivation = params['AutomaticActivation']
760
+ @RenewFlag = params['RenewFlag']
761
+ @PayMode = params['PayMode']
762
+ @ExpiryTime = params['ExpiryTime']
763
+ @DestroyTime = params['DestroyTime']
764
+ @X509Mode = params['X509Mode']
765
+ @MaxCaNum = params['MaxCaNum']
766
+ @RegistrationCode = params['RegistrationCode']
767
+ @MaxSubscription = params['MaxSubscription']
768
+ @RequestId = params['RequestId']
769
+ end
770
+ end
771
+
772
+ # DescribeTopicList请求参数结构体
773
+ class DescribeTopicListRequest < TencentCloud::Common::AbstractModel
774
+ # @param InstanceId: 实例ID
775
+ # @type InstanceId: String
776
+ # @param Filters: 查询条件列表
777
+ # @type Filters: Array
778
+ # @param Offset: 查询起始位置
779
+ # @type Offset: Integer
780
+ # @param Limit: 查询结果限制数量
781
+ # @type Limit: Integer
782
+
783
+ attr_accessor :InstanceId, :Filters, :Offset, :Limit
784
+
785
+ def initialize(instanceid=nil, filters=nil, offset=nil, limit=nil)
786
+ @InstanceId = instanceid
787
+ @Filters = filters
788
+ @Offset = offset
789
+ @Limit = limit
790
+ end
791
+
792
+ def deserialize(params)
793
+ @InstanceId = params['InstanceId']
794
+ unless params['Filters'].nil?
795
+ @Filters = []
796
+ params['Filters'].each do |i|
797
+ filter_tmp = Filter.new
798
+ filter_tmp.deserialize(i)
799
+ @Filters << filter_tmp
800
+ end
801
+ end
802
+ @Offset = params['Offset']
803
+ @Limit = params['Limit']
804
+ end
805
+ end
806
+
807
+ # DescribeTopicList返回参数结构体
808
+ class DescribeTopicListResponse < TencentCloud::Common::AbstractModel
809
+ # @param TotalCount: 查询总数
810
+ # 注意:此字段可能返回 null,表示取不到有效值。
811
+ # @type TotalCount: Integer
812
+ # @param Data: 主题列表
813
+ # @type Data: Array
814
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
815
+ # @type RequestId: String
816
+
817
+ attr_accessor :TotalCount, :Data, :RequestId
818
+
819
+ def initialize(totalcount=nil, data=nil, requestid=nil)
820
+ @TotalCount = totalcount
821
+ @Data = data
822
+ @RequestId = requestid
823
+ end
824
+
825
+ def deserialize(params)
826
+ @TotalCount = params['TotalCount']
827
+ unless params['Data'].nil?
828
+ @Data = []
829
+ params['Data'].each do |i|
830
+ mqtttopicitem_tmp = MQTTTopicItem.new
831
+ mqtttopicitem_tmp.deserialize(i)
832
+ @Data << mqtttopicitem_tmp
833
+ end
834
+ end
835
+ @RequestId = params['RequestId']
836
+ end
837
+ end
838
+
839
+ # DescribeTopic请求参数结构体
840
+ class DescribeTopicRequest < TencentCloud::Common::AbstractModel
841
+ # @param InstanceId: 实例ID
842
+ # @type InstanceId: String
843
+ # @param Topic: 主题
844
+ # @type Topic: String
845
+
846
+ attr_accessor :InstanceId, :Topic
847
+
848
+ def initialize(instanceid=nil, topic=nil)
849
+ @InstanceId = instanceid
850
+ @Topic = topic
851
+ end
852
+
853
+ def deserialize(params)
854
+ @InstanceId = params['InstanceId']
855
+ @Topic = params['Topic']
856
+ end
857
+ end
858
+
859
+ # DescribeTopic返回参数结构体
860
+ class DescribeTopicResponse < TencentCloud::Common::AbstractModel
861
+ # @param InstanceId: 实例ID
862
+ # @type InstanceId: String
863
+ # @param Topic: 主题名称
864
+ # @type Topic: String
865
+ # @param Remark: 备注
866
+ # @type Remark: String
867
+ # @param CreatedTime: 创建时间,秒为单位
868
+ # @type CreatedTime: Integer
869
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
870
+ # @type RequestId: String
871
+
872
+ attr_accessor :InstanceId, :Topic, :Remark, :CreatedTime, :RequestId
168
873
 
169
- def initialize(instancetype=nil, instanceid=nil, instancename=nil, topicnum=nil, topicnumlimit=nil, tpslimit=nil, createdtime=nil, remark=nil, instancestatus=nil, skucode=nil, maxsubscriptionperclient=nil, authorizationpolicylimit=nil, clientnumlimit=nil, devicecertificateprovisiontype=nil, automaticactivation=nil, renewflag=nil, paymode=nil, expirytime=nil, destroytime=nil, x509mode=nil, maxcanum=nil, registrationcode=nil, maxsubscription=nil, requestid=nil)
170
- @InstanceType = instancetype
874
+ def initialize(instanceid=nil, topic=nil, remark=nil, createdtime=nil, requestid=nil)
171
875
  @InstanceId = instanceid
172
- @InstanceName = instancename
173
- @TopicNum = topicnum
174
- @TopicNumLimit = topicnumlimit
175
- @TpsLimit = tpslimit
176
- @CreatedTime = createdtime
876
+ @Topic = topic
177
877
  @Remark = remark
178
- @InstanceStatus = instancestatus
179
- @SkuCode = skucode
180
- @MaxSubscriptionPerClient = maxsubscriptionperclient
181
- @AuthorizationPolicyLimit = authorizationpolicylimit
182
- @ClientNumLimit = clientnumlimit
183
- @DeviceCertificateProvisionType = devicecertificateprovisiontype
184
- @AutomaticActivation = automaticactivation
185
- @RenewFlag = renewflag
186
- @PayMode = paymode
187
- @ExpiryTime = expirytime
188
- @DestroyTime = destroytime
189
- @X509Mode = x509mode
190
- @MaxCaNum = maxcanum
191
- @RegistrationCode = registrationcode
192
- @MaxSubscription = maxsubscription
878
+ @CreatedTime = createdtime
193
879
  @RequestId = requestid
194
880
  end
195
881
 
196
882
  def deserialize(params)
197
- @InstanceType = params['InstanceType']
198
883
  @InstanceId = params['InstanceId']
199
- @InstanceName = params['InstanceName']
200
- @TopicNum = params['TopicNum']
201
- @TopicNumLimit = params['TopicNumLimit']
202
- @TpsLimit = params['TpsLimit']
203
- @CreatedTime = params['CreatedTime']
884
+ @Topic = params['Topic']
204
885
  @Remark = params['Remark']
205
- @InstanceStatus = params['InstanceStatus']
206
- @SkuCode = params['SkuCode']
207
- @MaxSubscriptionPerClient = params['MaxSubscriptionPerClient']
208
- @AuthorizationPolicyLimit = params['AuthorizationPolicyLimit']
209
- @ClientNumLimit = params['ClientNumLimit']
210
- @DeviceCertificateProvisionType = params['DeviceCertificateProvisionType']
211
- @AutomaticActivation = params['AutomaticActivation']
212
- @RenewFlag = params['RenewFlag']
213
- @PayMode = params['PayMode']
214
- @ExpiryTime = params['ExpiryTime']
215
- @DestroyTime = params['DestroyTime']
216
- @X509Mode = params['X509Mode']
217
- @MaxCaNum = params['MaxCaNum']
218
- @RegistrationCode = params['RegistrationCode']
219
- @MaxSubscription = params['MaxSubscription']
886
+ @CreatedTime = params['CreatedTime']
220
887
  @RequestId = params['RequestId']
221
888
  end
222
889
  end
@@ -241,6 +908,43 @@ module TencentCloud
241
908
  end
242
909
  end
243
910
 
911
+ # MQTT认证器信息
912
+ class MQTTAuthenticatorItem < TencentCloud::Common::AbstractModel
913
+ # @param Type: 认证器类型
914
+ # 注意:此字段可能返回 null,表示取不到有效值。
915
+ # @type Type: String
916
+ # @param Config: 认证器配置
917
+ # 注意:此字段可能返回 null,表示取不到有效值。
918
+ # @type Config: String
919
+ # @param Status: 认证器状态
920
+ # 注意:此字段可能返回 null,表示取不到有效值。
921
+ # @type Status: String
922
+ # @param CreateTime: 创建时间
923
+ # 注意:此字段可能返回 null,表示取不到有效值。
924
+ # @type CreateTime: Integer
925
+ # @param Remark: 说明
926
+ # 注意:此字段可能返回 null,表示取不到有效值。
927
+ # @type Remark: String
928
+
929
+ attr_accessor :Type, :Config, :Status, :CreateTime, :Remark
930
+
931
+ def initialize(type=nil, config=nil, status=nil, createtime=nil, remark=nil)
932
+ @Type = type
933
+ @Config = config
934
+ @Status = status
935
+ @CreateTime = createtime
936
+ @Remark = remark
937
+ end
938
+
939
+ def deserialize(params)
940
+ @Type = params['Type']
941
+ @Config = params['Config']
942
+ @Status = params['Status']
943
+ @CreateTime = params['CreateTime']
944
+ @Remark = params['Remark']
945
+ end
946
+ end
947
+
244
948
  # MQTT 实例信息
245
949
  class MQTTInstanceItem < TencentCloud::Common::AbstractModel
246
950
  # @param InstanceId: 实例ID
@@ -359,6 +1063,319 @@ module TencentCloud
359
1063
  end
360
1064
  end
361
1065
 
1066
+ # MQTT 主题详情
1067
+ class MQTTTopicItem < TencentCloud::Common::AbstractModel
1068
+ # @param InstanceId: 实例 ID
1069
+ # @type InstanceId: String
1070
+ # @param Topic: 主题名称
1071
+ # @type Topic: String
1072
+ # @param Remark: 主题描述
1073
+ # 注意:此字段可能返回 null,表示取不到有效值。
1074
+ # @type Remark: String
1075
+
1076
+ attr_accessor :InstanceId, :Topic, :Remark
1077
+
1078
+ def initialize(instanceid=nil, topic=nil, remark=nil)
1079
+ @InstanceId = instanceid
1080
+ @Topic = topic
1081
+ @Remark = remark
1082
+ end
1083
+
1084
+ def deserialize(params)
1085
+ @InstanceId = params['InstanceId']
1086
+ @Topic = params['Topic']
1087
+ @Remark = params['Remark']
1088
+ end
1089
+ end
1090
+
1091
+ # ModifyAuthorizationPolicy请求参数结构体
1092
+ class ModifyAuthorizationPolicyRequest < TencentCloud::Common::AbstractModel
1093
+ # @param Id: 策略
1094
+ # @type Id: Integer
1095
+ # @param InstanceId: 实例ID
1096
+ # @type InstanceId: String
1097
+ # @param PolicyName: 策略名称
1098
+ # @type PolicyName: String
1099
+ # @param PolicyVersion: 策略版本
1100
+ # @type PolicyVersion: Integer
1101
+ # @param Priority: 策略优先级,越小越优先
1102
+ # @type Priority: Integer
1103
+ # @param Effect: allow、deny
1104
+ # @type Effect: String
1105
+ # @param Actions: connect、pub、sub
1106
+ # @type Actions: String
1107
+ # @param Resources: 资源
1108
+ # @type Resources: String
1109
+ # @param Username: 用户名
1110
+ # @type Username: String
1111
+ # @param Retain: 1.匹配保留消息;2.匹配非保留消息;3.匹配所有消息
1112
+ # @type Retain: Integer
1113
+ # @param ClientId: 客户端
1114
+ # @type ClientId: String
1115
+ # @param Ip: ip
1116
+ # @type Ip: String
1117
+ # @param Qos: 0、1、2
1118
+ # @type Qos: String
1119
+ # @param Remark: 备注信息
1120
+ # @type Remark: String
1121
+
1122
+ attr_accessor :Id, :InstanceId, :PolicyName, :PolicyVersion, :Priority, :Effect, :Actions, :Resources, :Username, :Retain, :ClientId, :Ip, :Qos, :Remark
1123
+
1124
+ def initialize(id=nil, instanceid=nil, policyname=nil, policyversion=nil, priority=nil, effect=nil, actions=nil, resources=nil, username=nil, retain=nil, clientid=nil, ip=nil, qos=nil, remark=nil)
1125
+ @Id = id
1126
+ @InstanceId = instanceid
1127
+ @PolicyName = policyname
1128
+ @PolicyVersion = policyversion
1129
+ @Priority = priority
1130
+ @Effect = effect
1131
+ @Actions = actions
1132
+ @Resources = resources
1133
+ @Username = username
1134
+ @Retain = retain
1135
+ @ClientId = clientid
1136
+ @Ip = ip
1137
+ @Qos = qos
1138
+ @Remark = remark
1139
+ end
1140
+
1141
+ def deserialize(params)
1142
+ @Id = params['Id']
1143
+ @InstanceId = params['InstanceId']
1144
+ @PolicyName = params['PolicyName']
1145
+ @PolicyVersion = params['PolicyVersion']
1146
+ @Priority = params['Priority']
1147
+ @Effect = params['Effect']
1148
+ @Actions = params['Actions']
1149
+ @Resources = params['Resources']
1150
+ @Username = params['Username']
1151
+ @Retain = params['Retain']
1152
+ @ClientId = params['ClientId']
1153
+ @Ip = params['Ip']
1154
+ @Qos = params['Qos']
1155
+ @Remark = params['Remark']
1156
+ end
1157
+ end
1158
+
1159
+ # ModifyAuthorizationPolicy返回参数结构体
1160
+ class ModifyAuthorizationPolicyResponse < TencentCloud::Common::AbstractModel
1161
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1162
+ # @type RequestId: String
1163
+
1164
+ attr_accessor :RequestId
1165
+
1166
+ def initialize(requestid=nil)
1167
+ @RequestId = requestid
1168
+ end
1169
+
1170
+ def deserialize(params)
1171
+ @RequestId = params['RequestId']
1172
+ end
1173
+ end
1174
+
1175
+ # ModifyJWKSAuthenticator请求参数结构体
1176
+ class ModifyJWKSAuthenticatorRequest < TencentCloud::Common::AbstractModel
1177
+ # @param InstanceId: 实例ID
1178
+ # @type InstanceId: String
1179
+ # @param Endpoint: 端点
1180
+ # @type Endpoint: String
1181
+ # @param Status: 认证器状态:open-启用;close-关闭
1182
+ # @type Status: String
1183
+ # @param RefreshInterval: 刷新时间
1184
+ # @type RefreshInterval: Integer
1185
+ # @param Text: JSKS文本
1186
+ # @type Text: String
1187
+ # @param From: 设备连接时传递jwt的key;username-使用用户名字段传递;password-使用密码字段传递
1188
+ # @type From: String
1189
+ # @param Remark: 说明
1190
+ # @type Remark: String
1191
+
1192
+ attr_accessor :InstanceId, :Endpoint, :Status, :RefreshInterval, :Text, :From, :Remark
1193
+
1194
+ def initialize(instanceid=nil, endpoint=nil, status=nil, refreshinterval=nil, text=nil, from=nil, remark=nil)
1195
+ @InstanceId = instanceid
1196
+ @Endpoint = endpoint
1197
+ @Status = status
1198
+ @RefreshInterval = refreshinterval
1199
+ @Text = text
1200
+ @From = from
1201
+ @Remark = remark
1202
+ end
1203
+
1204
+ def deserialize(params)
1205
+ @InstanceId = params['InstanceId']
1206
+ @Endpoint = params['Endpoint']
1207
+ @Status = params['Status']
1208
+ @RefreshInterval = params['RefreshInterval']
1209
+ @Text = params['Text']
1210
+ @From = params['From']
1211
+ @Remark = params['Remark']
1212
+ end
1213
+ end
1214
+
1215
+ # ModifyJWKSAuthenticator返回参数结构体
1216
+ class ModifyJWKSAuthenticatorResponse < TencentCloud::Common::AbstractModel
1217
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1218
+ # @type RequestId: String
1219
+
1220
+ attr_accessor :RequestId
1221
+
1222
+ def initialize(requestid=nil)
1223
+ @RequestId = requestid
1224
+ end
1225
+
1226
+ def deserialize(params)
1227
+ @RequestId = params['RequestId']
1228
+ end
1229
+ end
1230
+
1231
+ # ModifyJWTAuthenticator请求参数结构体
1232
+ class ModifyJWTAuthenticatorRequest < TencentCloud::Common::AbstractModel
1233
+ # @param InstanceId: 实例ID
1234
+ # @type InstanceId: String
1235
+ # @param Algorithm: 算法:hmac-based,public-key
1236
+ # @type Algorithm: String
1237
+ # @param From: 设备连接时传递jwt的key;username-使用用户名字段传递;password-使用密码字段传递
1238
+ # @type From: String
1239
+ # @param Secret: 密码
1240
+ # @type Secret: String
1241
+ # @param PublicKey: 公钥
1242
+ # @type PublicKey: String
1243
+ # @param Text: JSKS文本
1244
+ # @type Text: String
1245
+ # @param Remark: 说明
1246
+ # @type Remark: String
1247
+
1248
+ attr_accessor :InstanceId, :Algorithm, :From, :Secret, :PublicKey, :Text, :Remark
1249
+
1250
+ def initialize(instanceid=nil, algorithm=nil, from=nil, secret=nil, publickey=nil, text=nil, remark=nil)
1251
+ @InstanceId = instanceid
1252
+ @Algorithm = algorithm
1253
+ @From = from
1254
+ @Secret = secret
1255
+ @PublicKey = publickey
1256
+ @Text = text
1257
+ @Remark = remark
1258
+ end
1259
+
1260
+ def deserialize(params)
1261
+ @InstanceId = params['InstanceId']
1262
+ @Algorithm = params['Algorithm']
1263
+ @From = params['From']
1264
+ @Secret = params['Secret']
1265
+ @PublicKey = params['PublicKey']
1266
+ @Text = params['Text']
1267
+ @Remark = params['Remark']
1268
+ end
1269
+ end
1270
+
1271
+ # ModifyJWTAuthenticator返回参数结构体
1272
+ class ModifyJWTAuthenticatorResponse < TencentCloud::Common::AbstractModel
1273
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1274
+ # @type RequestId: String
1275
+
1276
+ attr_accessor :RequestId
1277
+
1278
+ def initialize(requestid=nil)
1279
+ @RequestId = requestid
1280
+ end
1281
+
1282
+ def deserialize(params)
1283
+ @RequestId = params['RequestId']
1284
+ end
1285
+ end
1286
+
1287
+ # ModifyTopic请求参数结构体
1288
+ class ModifyTopicRequest < TencentCloud::Common::AbstractModel
1289
+ # @param InstanceId: 实例ID
1290
+ # @type InstanceId: String
1291
+ # @param Topic: 主题
1292
+ # @type Topic: String
1293
+ # @param Remark: 备注信息
1294
+ # @type Remark: String
1295
+
1296
+ attr_accessor :InstanceId, :Topic, :Remark
1297
+
1298
+ def initialize(instanceid=nil, topic=nil, remark=nil)
1299
+ @InstanceId = instanceid
1300
+ @Topic = topic
1301
+ @Remark = remark
1302
+ end
1303
+
1304
+ def deserialize(params)
1305
+ @InstanceId = params['InstanceId']
1306
+ @Topic = params['Topic']
1307
+ @Remark = params['Remark']
1308
+ end
1309
+ end
1310
+
1311
+ # ModifyTopic返回参数结构体
1312
+ class ModifyTopicResponse < TencentCloud::Common::AbstractModel
1313
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1314
+ # @type RequestId: String
1315
+
1316
+ attr_accessor :RequestId
1317
+
1318
+ def initialize(requestid=nil)
1319
+ @RequestId = requestid
1320
+ end
1321
+
1322
+ def deserialize(params)
1323
+ @RequestId = params['RequestId']
1324
+ end
1325
+ end
1326
+
1327
+ # RegisterDeviceCertificate请求参数结构体
1328
+ class RegisterDeviceCertificateRequest < TencentCloud::Common::AbstractModel
1329
+ # @param InstanceId: 集群id
1330
+ # @type InstanceId: String
1331
+ # @param DeviceCertificate: 设备证书
1332
+ # @type DeviceCertificate: String
1333
+ # @param CaSn: 关联的CA证书SN
1334
+ # @type CaSn: String
1335
+ # @param ClientId: 客户端ID
1336
+ # @type ClientId: String
1337
+ # @param Format: 证书格式
1338
+ # @type Format: String
1339
+ # @param Status: ACTIVE,//激活 INACTIVE,//未激活 REVOKED,//吊销 PENDING_ACTIVATION,//注册待激活
1340
+ # @type Status: String
1341
+
1342
+ attr_accessor :InstanceId, :DeviceCertificate, :CaSn, :ClientId, :Format, :Status
1343
+
1344
+ def initialize(instanceid=nil, devicecertificate=nil, casn=nil, clientid=nil, format=nil, status=nil)
1345
+ @InstanceId = instanceid
1346
+ @DeviceCertificate = devicecertificate
1347
+ @CaSn = casn
1348
+ @ClientId = clientid
1349
+ @Format = format
1350
+ @Status = status
1351
+ end
1352
+
1353
+ def deserialize(params)
1354
+ @InstanceId = params['InstanceId']
1355
+ @DeviceCertificate = params['DeviceCertificate']
1356
+ @CaSn = params['CaSn']
1357
+ @ClientId = params['ClientId']
1358
+ @Format = params['Format']
1359
+ @Status = params['Status']
1360
+ end
1361
+ end
1362
+
1363
+ # RegisterDeviceCertificate返回参数结构体
1364
+ class RegisterDeviceCertificateResponse < TencentCloud::Common::AbstractModel
1365
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1366
+ # @type RequestId: String
1367
+
1368
+ attr_accessor :RequestId
1369
+
1370
+ def initialize(requestid=nil)
1371
+ @RequestId = requestid
1372
+ end
1373
+
1374
+ def deserialize(params)
1375
+ @RequestId = params['RequestId']
1376
+ end
1377
+ end
1378
+
362
1379
  # 标签过滤器
363
1380
  class TagFilter < TencentCloud::Common::AbstractModel
364
1381
  # @param TagKey: 标签键名称
@@ -379,6 +1396,49 @@ module TencentCloud
379
1396
  end
380
1397
  end
381
1398
 
1399
+ # UpdateAuthorizationPolicyPriority请求参数结构体
1400
+ class UpdateAuthorizationPolicyPriorityRequest < TencentCloud::Common::AbstractModel
1401
+ # @param InstanceId: 实例ID
1402
+ # @type InstanceId: String
1403
+ # @param Priorities: 策略ID和优先级
1404
+ # @type Priorities: Array
1405
+
1406
+ attr_accessor :InstanceId, :Priorities
1407
+
1408
+ def initialize(instanceid=nil, priorities=nil)
1409
+ @InstanceId = instanceid
1410
+ @Priorities = priorities
1411
+ end
1412
+
1413
+ def deserialize(params)
1414
+ @InstanceId = params['InstanceId']
1415
+ unless params['Priorities'].nil?
1416
+ @Priorities = []
1417
+ params['Priorities'].each do |i|
1418
+ authorizationpolicypriority_tmp = AuthorizationPolicyPriority.new
1419
+ authorizationpolicypriority_tmp.deserialize(i)
1420
+ @Priorities << authorizationpolicypriority_tmp
1421
+ end
1422
+ end
1423
+ end
1424
+ end
1425
+
1426
+ # UpdateAuthorizationPolicyPriority返回参数结构体
1427
+ class UpdateAuthorizationPolicyPriorityResponse < TencentCloud::Common::AbstractModel
1428
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1429
+ # @type RequestId: String
1430
+
1431
+ attr_accessor :RequestId
1432
+
1433
+ def initialize(requestid=nil)
1434
+ @RequestId = requestid
1435
+ end
1436
+
1437
+ def deserialize(params)
1438
+ @RequestId = params['RequestId']
1439
+ end
1440
+ end
1441
+
382
1442
  end
383
1443
  end
384
1444
  end