tencentcloud-sdk-dasb 3.0.829 → 3.0.830
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/v20191018/client.rb +144 -0
- data/lib/v20191018/models.rb +615 -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: a81e6474ca95408b9e30a859029866acb41a0d26
|
4
|
+
data.tar.gz: 11e0d1d1e279655a270ebe981cdb3a47d80f1552
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3c50dac20e1c9810813b21c6a784c0ba807ed30a2ec6829020fa6f46b94e9d550962831459f541b31384e90b46dc48961ff00b3014ce2d2d54c184bb213aaff0
|
7
|
+
data.tar.gz: 5eaff7fc0dfcbcc0a5079a2fb5aaf6c6ff6509bc3673dc6f88c5c2b8d2ef83b0472bed111da5cbb15327d5c4ce9ef350858a20f074427202729658e9415ce24f
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.830
|
data/lib/v20191018/client.rb
CHANGED
@@ -197,6 +197,30 @@ module TencentCloud
|
|
197
197
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
198
198
|
end
|
199
199
|
|
200
|
+
# 创建修改密码任务
|
201
|
+
|
202
|
+
# @param request: Request instance for CreateChangePwdTask.
|
203
|
+
# @type request: :class:`Tencentcloud::dasb::V20191018::CreateChangePwdTaskRequest`
|
204
|
+
# @rtype: :class:`Tencentcloud::dasb::V20191018::CreateChangePwdTaskResponse`
|
205
|
+
def CreateChangePwdTask(request)
|
206
|
+
body = send_request('CreateChangePwdTask', request.serialize)
|
207
|
+
response = JSON.parse(body)
|
208
|
+
if response['Response'].key?('Error') == false
|
209
|
+
model = CreateChangePwdTaskResponse.new
|
210
|
+
model.deserialize(response['Response'])
|
211
|
+
model
|
212
|
+
else
|
213
|
+
code = response['Response']['Error']['Code']
|
214
|
+
message = response['Response']['Error']['Message']
|
215
|
+
reqid = response['Response']['RequestId']
|
216
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
217
|
+
end
|
218
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
219
|
+
raise e
|
220
|
+
rescue StandardError => e
|
221
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
222
|
+
end
|
223
|
+
|
200
224
|
# 新建高危命令模板
|
201
225
|
|
202
226
|
# @param request: Request instance for CreateCmdTemplate.
|
@@ -365,6 +389,30 @@ module TencentCloud
|
|
365
389
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
366
390
|
end
|
367
391
|
|
392
|
+
# 删除改密任务
|
393
|
+
|
394
|
+
# @param request: Request instance for DeleteChangePwdTask.
|
395
|
+
# @type request: :class:`Tencentcloud::dasb::V20191018::DeleteChangePwdTaskRequest`
|
396
|
+
# @rtype: :class:`Tencentcloud::dasb::V20191018::DeleteChangePwdTaskResponse`
|
397
|
+
def DeleteChangePwdTask(request)
|
398
|
+
body = send_request('DeleteChangePwdTask', request.serialize)
|
399
|
+
response = JSON.parse(body)
|
400
|
+
if response['Response'].key?('Error') == false
|
401
|
+
model = DeleteChangePwdTaskResponse.new
|
402
|
+
model.deserialize(response['Response'])
|
403
|
+
model
|
404
|
+
else
|
405
|
+
code = response['Response']['Error']['Code']
|
406
|
+
message = response['Response']['Error']['Message']
|
407
|
+
reqid = response['Response']['RequestId']
|
408
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
409
|
+
end
|
410
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
411
|
+
raise e
|
412
|
+
rescue StandardError => e
|
413
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
414
|
+
end
|
415
|
+
|
368
416
|
# 删除高危命令模板
|
369
417
|
|
370
418
|
# @param request: Request instance for DeleteCmdTemplates.
|
@@ -629,6 +677,54 @@ module TencentCloud
|
|
629
677
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
630
678
|
end
|
631
679
|
|
680
|
+
# 查询改密任务列表
|
681
|
+
|
682
|
+
# @param request: Request instance for DescribeChangePwdTask.
|
683
|
+
# @type request: :class:`Tencentcloud::dasb::V20191018::DescribeChangePwdTaskRequest`
|
684
|
+
# @rtype: :class:`Tencentcloud::dasb::V20191018::DescribeChangePwdTaskResponse`
|
685
|
+
def DescribeChangePwdTask(request)
|
686
|
+
body = send_request('DescribeChangePwdTask', request.serialize)
|
687
|
+
response = JSON.parse(body)
|
688
|
+
if response['Response'].key?('Error') == false
|
689
|
+
model = DescribeChangePwdTaskResponse.new
|
690
|
+
model.deserialize(response['Response'])
|
691
|
+
model
|
692
|
+
else
|
693
|
+
code = response['Response']['Error']['Code']
|
694
|
+
message = response['Response']['Error']['Message']
|
695
|
+
reqid = response['Response']['RequestId']
|
696
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
697
|
+
end
|
698
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
699
|
+
raise e
|
700
|
+
rescue StandardError => e
|
701
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
702
|
+
end
|
703
|
+
|
704
|
+
# 查询改密任务详情
|
705
|
+
|
706
|
+
# @param request: Request instance for DescribeChangePwdTaskDetail.
|
707
|
+
# @type request: :class:`Tencentcloud::dasb::V20191018::DescribeChangePwdTaskDetailRequest`
|
708
|
+
# @rtype: :class:`Tencentcloud::dasb::V20191018::DescribeChangePwdTaskDetailResponse`
|
709
|
+
def DescribeChangePwdTaskDetail(request)
|
710
|
+
body = send_request('DescribeChangePwdTaskDetail', request.serialize)
|
711
|
+
response = JSON.parse(body)
|
712
|
+
if response['Response'].key?('Error') == false
|
713
|
+
model = DescribeChangePwdTaskDetailResponse.new
|
714
|
+
model.deserialize(response['Response'])
|
715
|
+
model
|
716
|
+
else
|
717
|
+
code = response['Response']['Error']['Code']
|
718
|
+
message = response['Response']['Error']['Message']
|
719
|
+
reqid = response['Response']['RequestId']
|
720
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
721
|
+
end
|
722
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
723
|
+
raise e
|
724
|
+
rescue StandardError => e
|
725
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
726
|
+
end
|
727
|
+
|
632
728
|
# 查询命令模板列表
|
633
729
|
|
634
730
|
# @param request: Request instance for DescribeCmdTemplates.
|
@@ -965,6 +1061,30 @@ module TencentCloud
|
|
965
1061
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
966
1062
|
end
|
967
1063
|
|
1064
|
+
# 更新修改密码任务
|
1065
|
+
|
1066
|
+
# @param request: Request instance for ModifyChangePwdTask.
|
1067
|
+
# @type request: :class:`Tencentcloud::dasb::V20191018::ModifyChangePwdTaskRequest`
|
1068
|
+
# @rtype: :class:`Tencentcloud::dasb::V20191018::ModifyChangePwdTaskResponse`
|
1069
|
+
def ModifyChangePwdTask(request)
|
1070
|
+
body = send_request('ModifyChangePwdTask', request.serialize)
|
1071
|
+
response = JSON.parse(body)
|
1072
|
+
if response['Response'].key?('Error') == false
|
1073
|
+
model = ModifyChangePwdTaskResponse.new
|
1074
|
+
model.deserialize(response['Response'])
|
1075
|
+
model
|
1076
|
+
else
|
1077
|
+
code = response['Response']['Error']['Code']
|
1078
|
+
message = response['Response']['Error']['Message']
|
1079
|
+
reqid = response['Response']['RequestId']
|
1080
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1081
|
+
end
|
1082
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1083
|
+
raise e
|
1084
|
+
rescue StandardError => e
|
1085
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1086
|
+
end
|
1087
|
+
|
968
1088
|
# 修改高危命令模板
|
969
1089
|
|
970
1090
|
# @param request: Request instance for ModifyCmdTemplate.
|
@@ -1205,6 +1325,30 @@ module TencentCloud
|
|
1205
1325
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1206
1326
|
end
|
1207
1327
|
|
1328
|
+
# 执行改密任务
|
1329
|
+
|
1330
|
+
# @param request: Request instance for RunChangePwdTask.
|
1331
|
+
# @type request: :class:`Tencentcloud::dasb::V20191018::RunChangePwdTaskRequest`
|
1332
|
+
# @rtype: :class:`Tencentcloud::dasb::V20191018::RunChangePwdTaskResponse`
|
1333
|
+
def RunChangePwdTask(request)
|
1334
|
+
body = send_request('RunChangePwdTask', request.serialize)
|
1335
|
+
response = JSON.parse(body)
|
1336
|
+
if response['Response'].key?('Error') == false
|
1337
|
+
model = RunChangePwdTaskResponse.new
|
1338
|
+
model.deserialize(response['Response'])
|
1339
|
+
model
|
1340
|
+
else
|
1341
|
+
code = response['Response']['Error']['Code']
|
1342
|
+
message = response['Response']['Error']['Message']
|
1343
|
+
reqid = response['Response']['RequestId']
|
1344
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1345
|
+
end
|
1346
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1347
|
+
raise e
|
1348
|
+
rescue StandardError => e
|
1349
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1350
|
+
end
|
1351
|
+
|
1208
1352
|
# 搜索审计日志
|
1209
1353
|
|
1210
1354
|
# @param request: Request instance for SearchAuditLog.
|
data/lib/v20191018/models.rb
CHANGED
@@ -491,6 +491,162 @@ module TencentCloud
|
|
491
491
|
end
|
492
492
|
end
|
493
493
|
|
494
|
+
# 查询改密计划详情
|
495
|
+
class ChangePwdTaskDetail < TencentCloud::Common::AbstractModel
|
496
|
+
# @param Device: 资产信息
|
497
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
498
|
+
# @type Device: :class:`Tencentcloud::Dasb.v20191018.models.Device`
|
499
|
+
# @param Account: 资产账号
|
500
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
501
|
+
# @type Account: String
|
502
|
+
# @param LastChangeStatus: 上次改密结果。0-未改密 1-改密成功 2-改密失败
|
503
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
504
|
+
# @type LastChangeStatus: Integer
|
505
|
+
|
506
|
+
attr_accessor :Device, :Account, :LastChangeStatus
|
507
|
+
|
508
|
+
def initialize(device=nil, account=nil, lastchangestatus=nil)
|
509
|
+
@Device = device
|
510
|
+
@Account = account
|
511
|
+
@LastChangeStatus = lastchangestatus
|
512
|
+
end
|
513
|
+
|
514
|
+
def deserialize(params)
|
515
|
+
unless params['Device'].nil?
|
516
|
+
@Device = Device.new
|
517
|
+
@Device.deserialize(params['Device'])
|
518
|
+
end
|
519
|
+
@Account = params['Account']
|
520
|
+
@LastChangeStatus = params['LastChangeStatus']
|
521
|
+
end
|
522
|
+
end
|
523
|
+
|
524
|
+
# 修改密码任务信息
|
525
|
+
class ChangePwdTaskInfo < TencentCloud::Common::AbstractModel
|
526
|
+
# @param Id: id
|
527
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
528
|
+
# @type Id: Integer
|
529
|
+
# @param OperationId: 任务id
|
530
|
+
# @type OperationId: String
|
531
|
+
# @param TaskName: 任务名
|
532
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
533
|
+
# @type TaskName: String
|
534
|
+
# @param Department: 所属部门信息
|
535
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
536
|
+
# @type Department: :class:`Tencentcloud::Dasb.v20191018.models.Department`
|
537
|
+
# @param ChangeMethod: 改密方式。1:使用执行账号。2:修改自身密码
|
538
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
539
|
+
# @type ChangeMethod: Integer
|
540
|
+
# @param RunAccount: 执行账号
|
541
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
542
|
+
# @type RunAccount: String
|
543
|
+
# @param AuthGenerationStrategy: 密码生成策略
|
544
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
545
|
+
# @type AuthGenerationStrategy: Integer
|
546
|
+
# @param PasswordLength: 密码长度
|
547
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
548
|
+
# @type PasswordLength: Integer
|
549
|
+
# @param SmallLetter: 包含小写字母
|
550
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
551
|
+
# @type SmallLetter: Integer
|
552
|
+
# @param BigLetter: 包含大写字母
|
553
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
554
|
+
# @type BigLetter: Integer
|
555
|
+
# @param Digit: 包含数字
|
556
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
557
|
+
# @type Digit: Integer
|
558
|
+
# @param Symbol: 包含的特殊字符,base64
|
559
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
560
|
+
# @type Symbol: String
|
561
|
+
# @param CompleteNotify: 改密完成通知。0-通知,1-不通知
|
562
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
563
|
+
# @type CompleteNotify: Integer
|
564
|
+
# @param NotifyEmails: 通知人邮箱
|
565
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
566
|
+
# @type NotifyEmails: Array
|
567
|
+
# @param FilePassword: 加密附件密码
|
568
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
569
|
+
# @type FilePassword: String
|
570
|
+
# @param AccountSet: 需要改密的账户
|
571
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
572
|
+
# @type AccountSet: Array
|
573
|
+
# @param DeviceSet: 需要改密的主机
|
574
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
575
|
+
# @type DeviceSet: Array
|
576
|
+
# @param Type: 任务类型:4手动,5自动
|
577
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
578
|
+
# @type Type: Integer
|
579
|
+
# @param Period: 周期
|
580
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
581
|
+
# @type Period: Integer
|
582
|
+
# @param FirstTime: 首次执行时间
|
583
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
584
|
+
# @type FirstTime: String
|
585
|
+
# @param NextTime: 下次执行时间
|
586
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
587
|
+
# @type NextTime: String
|
588
|
+
|
589
|
+
attr_accessor :Id, :OperationId, :TaskName, :Department, :ChangeMethod, :RunAccount, :AuthGenerationStrategy, :PasswordLength, :SmallLetter, :BigLetter, :Digit, :Symbol, :CompleteNotify, :NotifyEmails, :FilePassword, :AccountSet, :DeviceSet, :Type, :Period, :FirstTime, :NextTime
|
590
|
+
|
591
|
+
def initialize(id=nil, operationid=nil, taskname=nil, department=nil, changemethod=nil, runaccount=nil, authgenerationstrategy=nil, passwordlength=nil, smallletter=nil, bigletter=nil, digit=nil, symbol=nil, completenotify=nil, notifyemails=nil, filepassword=nil, accountset=nil, deviceset=nil, type=nil, period=nil, firsttime=nil, nexttime=nil)
|
592
|
+
@Id = id
|
593
|
+
@OperationId = operationid
|
594
|
+
@TaskName = taskname
|
595
|
+
@Department = department
|
596
|
+
@ChangeMethod = changemethod
|
597
|
+
@RunAccount = runaccount
|
598
|
+
@AuthGenerationStrategy = authgenerationstrategy
|
599
|
+
@PasswordLength = passwordlength
|
600
|
+
@SmallLetter = smallletter
|
601
|
+
@BigLetter = bigletter
|
602
|
+
@Digit = digit
|
603
|
+
@Symbol = symbol
|
604
|
+
@CompleteNotify = completenotify
|
605
|
+
@NotifyEmails = notifyemails
|
606
|
+
@FilePassword = filepassword
|
607
|
+
@AccountSet = accountset
|
608
|
+
@DeviceSet = deviceset
|
609
|
+
@Type = type
|
610
|
+
@Period = period
|
611
|
+
@FirstTime = firsttime
|
612
|
+
@NextTime = nexttime
|
613
|
+
end
|
614
|
+
|
615
|
+
def deserialize(params)
|
616
|
+
@Id = params['Id']
|
617
|
+
@OperationId = params['OperationId']
|
618
|
+
@TaskName = params['TaskName']
|
619
|
+
unless params['Department'].nil?
|
620
|
+
@Department = Department.new
|
621
|
+
@Department.deserialize(params['Department'])
|
622
|
+
end
|
623
|
+
@ChangeMethod = params['ChangeMethod']
|
624
|
+
@RunAccount = params['RunAccount']
|
625
|
+
@AuthGenerationStrategy = params['AuthGenerationStrategy']
|
626
|
+
@PasswordLength = params['PasswordLength']
|
627
|
+
@SmallLetter = params['SmallLetter']
|
628
|
+
@BigLetter = params['BigLetter']
|
629
|
+
@Digit = params['Digit']
|
630
|
+
@Symbol = params['Symbol']
|
631
|
+
@CompleteNotify = params['CompleteNotify']
|
632
|
+
@NotifyEmails = params['NotifyEmails']
|
633
|
+
@FilePassword = params['FilePassword']
|
634
|
+
@AccountSet = params['AccountSet']
|
635
|
+
unless params['DeviceSet'].nil?
|
636
|
+
@DeviceSet = []
|
637
|
+
params['DeviceSet'].each do |i|
|
638
|
+
device_tmp = Device.new
|
639
|
+
device_tmp.deserialize(i)
|
640
|
+
@DeviceSet << device_tmp
|
641
|
+
end
|
642
|
+
end
|
643
|
+
@Type = params['Type']
|
644
|
+
@Period = params['Period']
|
645
|
+
@FirstTime = params['FirstTime']
|
646
|
+
@NextTime = params['NextTime']
|
647
|
+
end
|
648
|
+
end
|
649
|
+
|
494
650
|
# 高危命令模板
|
495
651
|
class CmdTemplate < TencentCloud::Common::AbstractModel
|
496
652
|
# @param Id: 高危命令模板ID
|
@@ -785,6 +941,115 @@ module TencentCloud
|
|
785
941
|
end
|
786
942
|
end
|
787
943
|
|
944
|
+
# CreateChangePwdTask请求参数结构体
|
945
|
+
class CreateChangePwdTaskRequest < TencentCloud::Common::AbstractModel
|
946
|
+
# @param TaskName: 任务名
|
947
|
+
# @type TaskName: String
|
948
|
+
# @param DeviceIdSet: 资产id数组
|
949
|
+
# @type DeviceIdSet: Array
|
950
|
+
# @param AccountSet: 修改的账户数组
|
951
|
+
# @type AccountSet: Array
|
952
|
+
# @param ChangeMethod: 改密方式。1:使用执行账号修改密码;2:修改自身密码
|
953
|
+
# @type ChangeMethod: Integer
|
954
|
+
# @param AuthGenerationStrategy: 认证生成方式。 1:自动生成相同密码 2:自动生成不同密码 3:手动指定相同密码
|
955
|
+
# @type AuthGenerationStrategy: Integer
|
956
|
+
# @param RunAccount: 执行账号
|
957
|
+
# @type RunAccount: String
|
958
|
+
# @param Password: 手动指定密码时必传
|
959
|
+
# @type Password: String
|
960
|
+
# @param PasswordLength: 密码限制长度,长度大于 12 位
|
961
|
+
# @type PasswordLength: Integer
|
962
|
+
# @param SmallLetter: 密码包含小写字母。0:否,1:是
|
963
|
+
# @type SmallLetter: Integer
|
964
|
+
# @param BigLetter: 密码包含大写字母。0:否,1:是
|
965
|
+
# @type BigLetter: Integer
|
966
|
+
# @param Digit: 密码包含数字。0:否,1:是
|
967
|
+
# @type Digit: Integer
|
968
|
+
# @param Symbol: 密码包含的特殊字符(base64编码),包含:^[-_#();%~!+=]*$
|
969
|
+
# @type Symbol: String
|
970
|
+
# @param CompleteNotify: 改密完成通知。0:不通知
|
971
|
+
# 1:通知
|
972
|
+
# @type CompleteNotify: Integer
|
973
|
+
# @param NotifyEmails: 通知邮箱
|
974
|
+
# @type NotifyEmails: Array
|
975
|
+
# @param FilePassword: 加密压缩文件密码
|
976
|
+
# @type FilePassword: String
|
977
|
+
# @param DepartmentId: 所属部门id。“1.2.3”
|
978
|
+
# @type DepartmentId: String
|
979
|
+
# @param Type: 任务类型 4-手工执行 5-周期自动执行
|
980
|
+
# @type Type: Integer
|
981
|
+
# @param Period: 执行周期,单位天(大于等于 1,小于等于 365)
|
982
|
+
# @type Period: Integer
|
983
|
+
# @param FirstTime: 周期任务首次执行时间
|
984
|
+
# @type FirstTime: String
|
985
|
+
|
986
|
+
attr_accessor :TaskName, :DeviceIdSet, :AccountSet, :ChangeMethod, :AuthGenerationStrategy, :RunAccount, :Password, :PasswordLength, :SmallLetter, :BigLetter, :Digit, :Symbol, :CompleteNotify, :NotifyEmails, :FilePassword, :DepartmentId, :Type, :Period, :FirstTime
|
987
|
+
|
988
|
+
def initialize(taskname=nil, deviceidset=nil, accountset=nil, changemethod=nil, authgenerationstrategy=nil, runaccount=nil, password=nil, passwordlength=nil, smallletter=nil, bigletter=nil, digit=nil, symbol=nil, completenotify=nil, notifyemails=nil, filepassword=nil, departmentid=nil, type=nil, period=nil, firsttime=nil)
|
989
|
+
@TaskName = taskname
|
990
|
+
@DeviceIdSet = deviceidset
|
991
|
+
@AccountSet = accountset
|
992
|
+
@ChangeMethod = changemethod
|
993
|
+
@AuthGenerationStrategy = authgenerationstrategy
|
994
|
+
@RunAccount = runaccount
|
995
|
+
@Password = password
|
996
|
+
@PasswordLength = passwordlength
|
997
|
+
@SmallLetter = smallletter
|
998
|
+
@BigLetter = bigletter
|
999
|
+
@Digit = digit
|
1000
|
+
@Symbol = symbol
|
1001
|
+
@CompleteNotify = completenotify
|
1002
|
+
@NotifyEmails = notifyemails
|
1003
|
+
@FilePassword = filepassword
|
1004
|
+
@DepartmentId = departmentid
|
1005
|
+
@Type = type
|
1006
|
+
@Period = period
|
1007
|
+
@FirstTime = firsttime
|
1008
|
+
end
|
1009
|
+
|
1010
|
+
def deserialize(params)
|
1011
|
+
@TaskName = params['TaskName']
|
1012
|
+
@DeviceIdSet = params['DeviceIdSet']
|
1013
|
+
@AccountSet = params['AccountSet']
|
1014
|
+
@ChangeMethod = params['ChangeMethod']
|
1015
|
+
@AuthGenerationStrategy = params['AuthGenerationStrategy']
|
1016
|
+
@RunAccount = params['RunAccount']
|
1017
|
+
@Password = params['Password']
|
1018
|
+
@PasswordLength = params['PasswordLength']
|
1019
|
+
@SmallLetter = params['SmallLetter']
|
1020
|
+
@BigLetter = params['BigLetter']
|
1021
|
+
@Digit = params['Digit']
|
1022
|
+
@Symbol = params['Symbol']
|
1023
|
+
@CompleteNotify = params['CompleteNotify']
|
1024
|
+
@NotifyEmails = params['NotifyEmails']
|
1025
|
+
@FilePassword = params['FilePassword']
|
1026
|
+
@DepartmentId = params['DepartmentId']
|
1027
|
+
@Type = params['Type']
|
1028
|
+
@Period = params['Period']
|
1029
|
+
@FirstTime = params['FirstTime']
|
1030
|
+
end
|
1031
|
+
end
|
1032
|
+
|
1033
|
+
# CreateChangePwdTask返回参数结构体
|
1034
|
+
class CreateChangePwdTaskResponse < TencentCloud::Common::AbstractModel
|
1035
|
+
# @param OperationId: 任务id
|
1036
|
+
# @type OperationId: String
|
1037
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1038
|
+
# @type RequestId: String
|
1039
|
+
|
1040
|
+
attr_accessor :OperationId, :RequestId
|
1041
|
+
|
1042
|
+
def initialize(operationid=nil, requestid=nil)
|
1043
|
+
@OperationId = operationid
|
1044
|
+
@RequestId = requestid
|
1045
|
+
end
|
1046
|
+
|
1047
|
+
def deserialize(params)
|
1048
|
+
@OperationId = params['OperationId']
|
1049
|
+
@RequestId = params['RequestId']
|
1050
|
+
end
|
1051
|
+
end
|
1052
|
+
|
788
1053
|
# CreateCmdTemplate请求参数结构体
|
789
1054
|
class CreateCmdTemplateRequest < TencentCloud::Common::AbstractModel
|
790
1055
|
# @param Name: 模板名,最大长度32字符,不能包含空白字符
|
@@ -1130,6 +1395,38 @@ module TencentCloud
|
|
1130
1395
|
end
|
1131
1396
|
end
|
1132
1397
|
|
1398
|
+
# DeleteChangePwdTask请求参数结构体
|
1399
|
+
class DeleteChangePwdTaskRequest < TencentCloud::Common::AbstractModel
|
1400
|
+
# @param IdSet: 改密任务id列表
|
1401
|
+
# @type IdSet: Array
|
1402
|
+
|
1403
|
+
attr_accessor :IdSet
|
1404
|
+
|
1405
|
+
def initialize(idset=nil)
|
1406
|
+
@IdSet = idset
|
1407
|
+
end
|
1408
|
+
|
1409
|
+
def deserialize(params)
|
1410
|
+
@IdSet = params['IdSet']
|
1411
|
+
end
|
1412
|
+
end
|
1413
|
+
|
1414
|
+
# DeleteChangePwdTask返回参数结构体
|
1415
|
+
class DeleteChangePwdTaskResponse < TencentCloud::Common::AbstractModel
|
1416
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1417
|
+
# @type RequestId: String
|
1418
|
+
|
1419
|
+
attr_accessor :RequestId
|
1420
|
+
|
1421
|
+
def initialize(requestid=nil)
|
1422
|
+
@RequestId = requestid
|
1423
|
+
end
|
1424
|
+
|
1425
|
+
def deserialize(params)
|
1426
|
+
@RequestId = params['RequestId']
|
1427
|
+
end
|
1428
|
+
end
|
1429
|
+
|
1133
1430
|
# DeleteCmdTemplates请求参数结构体
|
1134
1431
|
class DeleteCmdTemplatesRequest < TencentCloud::Common::AbstractModel
|
1135
1432
|
# @param IdSet: 待删除的ID集合
|
@@ -1639,6 +1936,145 @@ module TencentCloud
|
|
1639
1936
|
end
|
1640
1937
|
end
|
1641
1938
|
|
1939
|
+
# DescribeChangePwdTaskDetail请求参数结构体
|
1940
|
+
class DescribeChangePwdTaskDetailRequest < TencentCloud::Common::AbstractModel
|
1941
|
+
# @param OperationId: 改密任务Id
|
1942
|
+
# @type OperationId: String
|
1943
|
+
# @param DepartmentId: 所属部门ID,如:“1.2.3”
|
1944
|
+
# @type DepartmentId: String
|
1945
|
+
# @param Filters: 过滤数组,支持:InstanceId 资产ID,DeviceName 资产名称,Ip 内外IP,Account 资产账号,LastChangeStatus 上次改密状态。
|
1946
|
+
# @type Filters: Array
|
1947
|
+
# @param Offset: 分页偏移位置,默认0
|
1948
|
+
# @type Offset: Integer
|
1949
|
+
# @param Limit: 每页条目。默认20
|
1950
|
+
# @type Limit: Integer
|
1951
|
+
|
1952
|
+
attr_accessor :OperationId, :DepartmentId, :Filters, :Offset, :Limit
|
1953
|
+
|
1954
|
+
def initialize(operationid=nil, departmentid=nil, filters=nil, offset=nil, limit=nil)
|
1955
|
+
@OperationId = operationid
|
1956
|
+
@DepartmentId = departmentid
|
1957
|
+
@Filters = filters
|
1958
|
+
@Offset = offset
|
1959
|
+
@Limit = limit
|
1960
|
+
end
|
1961
|
+
|
1962
|
+
def deserialize(params)
|
1963
|
+
@OperationId = params['OperationId']
|
1964
|
+
@DepartmentId = params['DepartmentId']
|
1965
|
+
unless params['Filters'].nil?
|
1966
|
+
@Filters = []
|
1967
|
+
params['Filters'].each do |i|
|
1968
|
+
filter_tmp = Filter.new
|
1969
|
+
filter_tmp.deserialize(i)
|
1970
|
+
@Filters << filter_tmp
|
1971
|
+
end
|
1972
|
+
end
|
1973
|
+
@Offset = params['Offset']
|
1974
|
+
@Limit = params['Limit']
|
1975
|
+
end
|
1976
|
+
end
|
1977
|
+
|
1978
|
+
# DescribeChangePwdTaskDetail返回参数结构体
|
1979
|
+
class DescribeChangePwdTaskDetailResponse < TencentCloud::Common::AbstractModel
|
1980
|
+
# @param TotalCount: 总数
|
1981
|
+
# @type TotalCount: Integer
|
1982
|
+
# @param Details: 任务详情
|
1983
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1984
|
+
# @type Details: Array
|
1985
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1986
|
+
# @type RequestId: String
|
1987
|
+
|
1988
|
+
attr_accessor :TotalCount, :Details, :RequestId
|
1989
|
+
|
1990
|
+
def initialize(totalcount=nil, details=nil, requestid=nil)
|
1991
|
+
@TotalCount = totalcount
|
1992
|
+
@Details = details
|
1993
|
+
@RequestId = requestid
|
1994
|
+
end
|
1995
|
+
|
1996
|
+
def deserialize(params)
|
1997
|
+
@TotalCount = params['TotalCount']
|
1998
|
+
unless params['Details'].nil?
|
1999
|
+
@Details = []
|
2000
|
+
params['Details'].each do |i|
|
2001
|
+
changepwdtaskdetail_tmp = ChangePwdTaskDetail.new
|
2002
|
+
changepwdtaskdetail_tmp.deserialize(i)
|
2003
|
+
@Details << changepwdtaskdetail_tmp
|
2004
|
+
end
|
2005
|
+
end
|
2006
|
+
@RequestId = params['RequestId']
|
2007
|
+
end
|
2008
|
+
end
|
2009
|
+
|
2010
|
+
# DescribeChangePwdTask请求参数结构体
|
2011
|
+
class DescribeChangePwdTaskRequest < TencentCloud::Common::AbstractModel
|
2012
|
+
# @param Filters: 过滤数组。过滤数组。Name支持以下值: OperationId 任务ID TaskName 任务名
|
2013
|
+
# @type Filters: Array
|
2014
|
+
# @param DepartmentId: 所属部门ID
|
2015
|
+
# @type DepartmentId: String
|
2016
|
+
# @param Offset: 分页偏移量,默认0
|
2017
|
+
# @type Offset: Integer
|
2018
|
+
# @param Limit: 每页条目数量,默认20
|
2019
|
+
# @type Limit: Integer
|
2020
|
+
|
2021
|
+
attr_accessor :Filters, :DepartmentId, :Offset, :Limit
|
2022
|
+
|
2023
|
+
def initialize(filters=nil, departmentid=nil, offset=nil, limit=nil)
|
2024
|
+
@Filters = filters
|
2025
|
+
@DepartmentId = departmentid
|
2026
|
+
@Offset = offset
|
2027
|
+
@Limit = limit
|
2028
|
+
end
|
2029
|
+
|
2030
|
+
def deserialize(params)
|
2031
|
+
unless params['Filters'].nil?
|
2032
|
+
@Filters = []
|
2033
|
+
params['Filters'].each do |i|
|
2034
|
+
filter_tmp = Filter.new
|
2035
|
+
filter_tmp.deserialize(i)
|
2036
|
+
@Filters << filter_tmp
|
2037
|
+
end
|
2038
|
+
end
|
2039
|
+
@DepartmentId = params['DepartmentId']
|
2040
|
+
@Offset = params['Offset']
|
2041
|
+
@Limit = params['Limit']
|
2042
|
+
end
|
2043
|
+
end
|
2044
|
+
|
2045
|
+
# DescribeChangePwdTask返回参数结构体
|
2046
|
+
class DescribeChangePwdTaskResponse < TencentCloud::Common::AbstractModel
|
2047
|
+
# @param Tasks: 任务详情
|
2048
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2049
|
+
# @type Tasks: Array
|
2050
|
+
# @param TotalCount: 任务总数
|
2051
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2052
|
+
# @type TotalCount: Integer
|
2053
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
2054
|
+
# @type RequestId: String
|
2055
|
+
|
2056
|
+
attr_accessor :Tasks, :TotalCount, :RequestId
|
2057
|
+
|
2058
|
+
def initialize(tasks=nil, totalcount=nil, requestid=nil)
|
2059
|
+
@Tasks = tasks
|
2060
|
+
@TotalCount = totalcount
|
2061
|
+
@RequestId = requestid
|
2062
|
+
end
|
2063
|
+
|
2064
|
+
def deserialize(params)
|
2065
|
+
unless params['Tasks'].nil?
|
2066
|
+
@Tasks = []
|
2067
|
+
params['Tasks'].each do |i|
|
2068
|
+
changepwdtaskinfo_tmp = ChangePwdTaskInfo.new
|
2069
|
+
changepwdtaskinfo_tmp.deserialize(i)
|
2070
|
+
@Tasks << changepwdtaskinfo_tmp
|
2071
|
+
end
|
2072
|
+
end
|
2073
|
+
@TotalCount = params['TotalCount']
|
2074
|
+
@RequestId = params['RequestId']
|
2075
|
+
end
|
2076
|
+
end
|
2077
|
+
|
1642
2078
|
# DescribeCmdTemplates请求参数结构体
|
1643
2079
|
class DescribeCmdTemplatesRequest < TencentCloud::Common::AbstractModel
|
1644
2080
|
# @param IdSet: 命令模板ID集合,非必需
|
@@ -2926,6 +3362,118 @@ module TencentCloud
|
|
2926
3362
|
end
|
2927
3363
|
end
|
2928
3364
|
|
3365
|
+
# ModifyChangePwdTask请求参数结构体
|
3366
|
+
class ModifyChangePwdTaskRequest < TencentCloud::Common::AbstractModel
|
3367
|
+
# @param OperationId: 改密任务id
|
3368
|
+
# @type OperationId: String
|
3369
|
+
# @param DeviceIdSet: 改密资产id列表
|
3370
|
+
# @type DeviceIdSet: Array
|
3371
|
+
# @param AccountSet: 改密资产的账号列表
|
3372
|
+
# @type AccountSet: Array
|
3373
|
+
# @param ModifyType: 修改类型:1:修改任务信息 2:关联任务资产账号
|
3374
|
+
# @type ModifyType: Integer
|
3375
|
+
# @param ChangeMethod: 改密方式。1:使用执行账号修改密码;2:修改自身密码
|
3376
|
+
# @type ChangeMethod: Integer
|
3377
|
+
# @param AuthGenerationStrategy: 密码生成方式。 1:自动生成相同密码 2:自动生成不同密码 3:手动指定相同密码
|
3378
|
+
# @type AuthGenerationStrategy: Integer
|
3379
|
+
# @param TaskName: 任务名称
|
3380
|
+
# @type TaskName: String
|
3381
|
+
# @param DepartmentId: 所属部门ID,"1,2,3"
|
3382
|
+
# @type DepartmentId: String
|
3383
|
+
# @param RunAccount: 任务的执行账号
|
3384
|
+
# @type RunAccount: String
|
3385
|
+
# @param Password: 密码,手动指定密码时必传。
|
3386
|
+
# @type Password: String
|
3387
|
+
# @param PasswordLength: 密码限制长度,自动生成密码必传。
|
3388
|
+
# @type PasswordLength: Integer
|
3389
|
+
# @param SmallLetter: 密码包含小写字母,0:否,1:是。
|
3390
|
+
# @type SmallLetter: Integer
|
3391
|
+
# @param BigLetter: 密码包含大写字母,0:否,1:是。
|
3392
|
+
# @type BigLetter: Integer
|
3393
|
+
# @param Digit: 密码包含数字,0:否,1:是。
|
3394
|
+
# @type Digit: Integer
|
3395
|
+
# @param Symbol: 密码包含的特殊字符(base64编码),包含:^[-_#();%~!+=]*$
|
3396
|
+
# @type Symbol: String
|
3397
|
+
# @param CompleteNotify: 改密完成通知。0:不通知 1:通知
|
3398
|
+
# @type CompleteNotify: Integer
|
3399
|
+
# @param NotifyEmails: 通知邮箱
|
3400
|
+
# @type NotifyEmails: Array
|
3401
|
+
# @param FilePassword: 加密压缩文件密码
|
3402
|
+
# @type FilePassword: String
|
3403
|
+
# @param Type: 任务类型, 4:手工执行 5:周期自动执行
|
3404
|
+
# @type Type: Integer
|
3405
|
+
# @param Period: 周期任务周期,单位天(大于等于 1,小于等于 365)
|
3406
|
+
# @type Period: Integer
|
3407
|
+
# @param FirstTime: 周期任务首次执行时间
|
3408
|
+
# @type FirstTime: String
|
3409
|
+
|
3410
|
+
attr_accessor :OperationId, :DeviceIdSet, :AccountSet, :ModifyType, :ChangeMethod, :AuthGenerationStrategy, :TaskName, :DepartmentId, :RunAccount, :Password, :PasswordLength, :SmallLetter, :BigLetter, :Digit, :Symbol, :CompleteNotify, :NotifyEmails, :FilePassword, :Type, :Period, :FirstTime
|
3411
|
+
|
3412
|
+
def initialize(operationid=nil, deviceidset=nil, accountset=nil, modifytype=nil, changemethod=nil, authgenerationstrategy=nil, taskname=nil, departmentid=nil, runaccount=nil, password=nil, passwordlength=nil, smallletter=nil, bigletter=nil, digit=nil, symbol=nil, completenotify=nil, notifyemails=nil, filepassword=nil, type=nil, period=nil, firsttime=nil)
|
3413
|
+
@OperationId = operationid
|
3414
|
+
@DeviceIdSet = deviceidset
|
3415
|
+
@AccountSet = accountset
|
3416
|
+
@ModifyType = modifytype
|
3417
|
+
@ChangeMethod = changemethod
|
3418
|
+
@AuthGenerationStrategy = authgenerationstrategy
|
3419
|
+
@TaskName = taskname
|
3420
|
+
@DepartmentId = departmentid
|
3421
|
+
@RunAccount = runaccount
|
3422
|
+
@Password = password
|
3423
|
+
@PasswordLength = passwordlength
|
3424
|
+
@SmallLetter = smallletter
|
3425
|
+
@BigLetter = bigletter
|
3426
|
+
@Digit = digit
|
3427
|
+
@Symbol = symbol
|
3428
|
+
@CompleteNotify = completenotify
|
3429
|
+
@NotifyEmails = notifyemails
|
3430
|
+
@FilePassword = filepassword
|
3431
|
+
@Type = type
|
3432
|
+
@Period = period
|
3433
|
+
@FirstTime = firsttime
|
3434
|
+
end
|
3435
|
+
|
3436
|
+
def deserialize(params)
|
3437
|
+
@OperationId = params['OperationId']
|
3438
|
+
@DeviceIdSet = params['DeviceIdSet']
|
3439
|
+
@AccountSet = params['AccountSet']
|
3440
|
+
@ModifyType = params['ModifyType']
|
3441
|
+
@ChangeMethod = params['ChangeMethod']
|
3442
|
+
@AuthGenerationStrategy = params['AuthGenerationStrategy']
|
3443
|
+
@TaskName = params['TaskName']
|
3444
|
+
@DepartmentId = params['DepartmentId']
|
3445
|
+
@RunAccount = params['RunAccount']
|
3446
|
+
@Password = params['Password']
|
3447
|
+
@PasswordLength = params['PasswordLength']
|
3448
|
+
@SmallLetter = params['SmallLetter']
|
3449
|
+
@BigLetter = params['BigLetter']
|
3450
|
+
@Digit = params['Digit']
|
3451
|
+
@Symbol = params['Symbol']
|
3452
|
+
@CompleteNotify = params['CompleteNotify']
|
3453
|
+
@NotifyEmails = params['NotifyEmails']
|
3454
|
+
@FilePassword = params['FilePassword']
|
3455
|
+
@Type = params['Type']
|
3456
|
+
@Period = params['Period']
|
3457
|
+
@FirstTime = params['FirstTime']
|
3458
|
+
end
|
3459
|
+
end
|
3460
|
+
|
3461
|
+
# ModifyChangePwdTask返回参数结构体
|
3462
|
+
class ModifyChangePwdTaskResponse < TencentCloud::Common::AbstractModel
|
3463
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
3464
|
+
# @type RequestId: String
|
3465
|
+
|
3466
|
+
attr_accessor :RequestId
|
3467
|
+
|
3468
|
+
def initialize(requestid=nil)
|
3469
|
+
@RequestId = requestid
|
3470
|
+
end
|
3471
|
+
|
3472
|
+
def deserialize(params)
|
3473
|
+
@RequestId = params['RequestId']
|
3474
|
+
end
|
3475
|
+
end
|
3476
|
+
|
2929
3477
|
# ModifyCmdTemplate请求参数结构体
|
2930
3478
|
class ModifyCmdTemplateRequest < TencentCloud::Common::AbstractModel
|
2931
3479
|
# @param Name: 模板名,最长32字符,不能包含空白字符
|
@@ -3554,6 +4102,73 @@ module TencentCloud
|
|
3554
4102
|
end
|
3555
4103
|
end
|
3556
4104
|
|
4105
|
+
# 立即执行改密任务的入参
|
4106
|
+
class RunChangePwdTaskDetail < TencentCloud::Common::AbstractModel
|
4107
|
+
# @param DeviceId: 资产id
|
4108
|
+
# @type DeviceId: Integer
|
4109
|
+
# @param Account: 资产账号
|
4110
|
+
# @type Account: String
|
4111
|
+
|
4112
|
+
attr_accessor :DeviceId, :Account
|
4113
|
+
|
4114
|
+
def initialize(deviceid=nil, account=nil)
|
4115
|
+
@DeviceId = deviceid
|
4116
|
+
@Account = account
|
4117
|
+
end
|
4118
|
+
|
4119
|
+
def deserialize(params)
|
4120
|
+
@DeviceId = params['DeviceId']
|
4121
|
+
@Account = params['Account']
|
4122
|
+
end
|
4123
|
+
end
|
4124
|
+
|
4125
|
+
# RunChangePwdTask请求参数结构体
|
4126
|
+
class RunChangePwdTaskRequest < TencentCloud::Common::AbstractModel
|
4127
|
+
# @param OperationId: 任务Id
|
4128
|
+
# @type OperationId: String
|
4129
|
+
# @param DepartmentId: 部门id
|
4130
|
+
# @type DepartmentId: String
|
4131
|
+
# @param Details: 改密任务详情
|
4132
|
+
# @type Details: Array
|
4133
|
+
|
4134
|
+
attr_accessor :OperationId, :DepartmentId, :Details
|
4135
|
+
|
4136
|
+
def initialize(operationid=nil, departmentid=nil, details=nil)
|
4137
|
+
@OperationId = operationid
|
4138
|
+
@DepartmentId = departmentid
|
4139
|
+
@Details = details
|
4140
|
+
end
|
4141
|
+
|
4142
|
+
def deserialize(params)
|
4143
|
+
@OperationId = params['OperationId']
|
4144
|
+
@DepartmentId = params['DepartmentId']
|
4145
|
+
unless params['Details'].nil?
|
4146
|
+
@Details = []
|
4147
|
+
params['Details'].each do |i|
|
4148
|
+
runchangepwdtaskdetail_tmp = RunChangePwdTaskDetail.new
|
4149
|
+
runchangepwdtaskdetail_tmp.deserialize(i)
|
4150
|
+
@Details << runchangepwdtaskdetail_tmp
|
4151
|
+
end
|
4152
|
+
end
|
4153
|
+
end
|
4154
|
+
end
|
4155
|
+
|
4156
|
+
# RunChangePwdTask返回参数结构体
|
4157
|
+
class RunChangePwdTaskResponse < TencentCloud::Common::AbstractModel
|
4158
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
4159
|
+
# @type RequestId: String
|
4160
|
+
|
4161
|
+
attr_accessor :RequestId
|
4162
|
+
|
4163
|
+
def initialize(requestid=nil)
|
4164
|
+
@RequestId = requestid
|
4165
|
+
end
|
4166
|
+
|
4167
|
+
def deserialize(params)
|
4168
|
+
@RequestId = params['RequestId']
|
4169
|
+
end
|
4170
|
+
end
|
4171
|
+
|
3557
4172
|
# SearchAuditLog请求参数结构体
|
3558
4173
|
class SearchAuditLogRequest < TencentCloud::Common::AbstractModel
|
3559
4174
|
# @param StartTime: 开始时间,不得早于当前时间的180天前
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-dasb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.830
|
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-05-
|
11
|
+
date: 2024-05-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|