tencentcloud-sdk-dasb 3.0.517 → 3.0.518
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/v20191018/client.rb +432 -0
- data/lib/v20191018/models.rb +816 -0
- metadata +2 -2
data/lib/v20191018/models.rb
CHANGED
@@ -250,6 +250,106 @@ module TencentCloud
|
|
250
250
|
end
|
251
251
|
end
|
252
252
|
|
253
|
+
# 资产同步状态
|
254
|
+
class AssetSyncStatus < TencentCloud::Common::AbstractModel
|
255
|
+
# @param LastTime: 上一次同步完成的时间
|
256
|
+
# @type LastTime: String
|
257
|
+
# @param LastStatus: 上一次同步的结果。 0 - 从未进行, 1 - 成功, 2 - 失败
|
258
|
+
# @type LastStatus: Integer
|
259
|
+
# @param InProcess: 同步任务是否正在进行中
|
260
|
+
# @type InProcess: Boolean
|
261
|
+
|
262
|
+
attr_accessor :LastTime, :LastStatus, :InProcess
|
263
|
+
|
264
|
+
def initialize(lasttime=nil, laststatus=nil, inprocess=nil)
|
265
|
+
@LastTime = lasttime
|
266
|
+
@LastStatus = laststatus
|
267
|
+
@InProcess = inprocess
|
268
|
+
end
|
269
|
+
|
270
|
+
def deserialize(params)
|
271
|
+
@LastTime = params['LastTime']
|
272
|
+
@LastStatus = params['LastStatus']
|
273
|
+
@InProcess = params['InProcess']
|
274
|
+
end
|
275
|
+
end
|
276
|
+
|
277
|
+
# BindDeviceAccountPassword请求参数结构体
|
278
|
+
class BindDeviceAccountPasswordRequest < TencentCloud::Common::AbstractModel
|
279
|
+
# @param Id: 主机账号ID
|
280
|
+
# @type Id: Integer
|
281
|
+
# @param Password: 主机账号密码
|
282
|
+
# @type Password: String
|
283
|
+
|
284
|
+
attr_accessor :Id, :Password
|
285
|
+
|
286
|
+
def initialize(id=nil, password=nil)
|
287
|
+
@Id = id
|
288
|
+
@Password = password
|
289
|
+
end
|
290
|
+
|
291
|
+
def deserialize(params)
|
292
|
+
@Id = params['Id']
|
293
|
+
@Password = params['Password']
|
294
|
+
end
|
295
|
+
end
|
296
|
+
|
297
|
+
# BindDeviceAccountPassword返回参数结构体
|
298
|
+
class BindDeviceAccountPasswordResponse < TencentCloud::Common::AbstractModel
|
299
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
300
|
+
# @type RequestId: String
|
301
|
+
|
302
|
+
attr_accessor :RequestId
|
303
|
+
|
304
|
+
def initialize(requestid=nil)
|
305
|
+
@RequestId = requestid
|
306
|
+
end
|
307
|
+
|
308
|
+
def deserialize(params)
|
309
|
+
@RequestId = params['RequestId']
|
310
|
+
end
|
311
|
+
end
|
312
|
+
|
313
|
+
# BindDeviceAccountPrivateKey请求参数结构体
|
314
|
+
class BindDeviceAccountPrivateKeyRequest < TencentCloud::Common::AbstractModel
|
315
|
+
# @param Id: 主机账号ID
|
316
|
+
# @type Id: Integer
|
317
|
+
# @param PrivateKey: 主机账号私钥,最新长度128字节,最大长度8192字节
|
318
|
+
# @type PrivateKey: String
|
319
|
+
# @param PrivateKeyPassword: 主机账号私钥口令,最大长度256字节
|
320
|
+
# @type PrivateKeyPassword: String
|
321
|
+
|
322
|
+
attr_accessor :Id, :PrivateKey, :PrivateKeyPassword
|
323
|
+
|
324
|
+
def initialize(id=nil, privatekey=nil, privatekeypassword=nil)
|
325
|
+
@Id = id
|
326
|
+
@PrivateKey = privatekey
|
327
|
+
@PrivateKeyPassword = privatekeypassword
|
328
|
+
end
|
329
|
+
|
330
|
+
def deserialize(params)
|
331
|
+
@Id = params['Id']
|
332
|
+
@PrivateKey = params['PrivateKey']
|
333
|
+
@PrivateKeyPassword = params['PrivateKeyPassword']
|
334
|
+
end
|
335
|
+
end
|
336
|
+
|
337
|
+
# BindDeviceAccountPrivateKey返回参数结构体
|
338
|
+
class BindDeviceAccountPrivateKeyResponse < TencentCloud::Common::AbstractModel
|
339
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
340
|
+
# @type RequestId: String
|
341
|
+
|
342
|
+
attr_accessor :RequestId
|
343
|
+
|
344
|
+
def initialize(requestid=nil)
|
345
|
+
@RequestId = requestid
|
346
|
+
end
|
347
|
+
|
348
|
+
def deserialize(params)
|
349
|
+
@RequestId = params['RequestId']
|
350
|
+
end
|
351
|
+
end
|
352
|
+
|
253
353
|
# BindDeviceResource请求参数结构体
|
254
354
|
class BindDeviceResourceRequest < TencentCloud::Common::AbstractModel
|
255
355
|
# @param DeviceIdSet: 资产ID集合
|
@@ -444,6 +544,118 @@ module TencentCloud
|
|
444
544
|
end
|
445
545
|
end
|
446
546
|
|
547
|
+
# CreateAssetSyncJob请求参数结构体
|
548
|
+
class CreateAssetSyncJobRequest < TencentCloud::Common::AbstractModel
|
549
|
+
# @param Category: 同步资产类别,1 - 主机资产, 2 - 数据库资产
|
550
|
+
# @type Category: Integer
|
551
|
+
|
552
|
+
attr_accessor :Category
|
553
|
+
|
554
|
+
def initialize(category=nil)
|
555
|
+
@Category = category
|
556
|
+
end
|
557
|
+
|
558
|
+
def deserialize(params)
|
559
|
+
@Category = params['Category']
|
560
|
+
end
|
561
|
+
end
|
562
|
+
|
563
|
+
# CreateAssetSyncJob返回参数结构体
|
564
|
+
class CreateAssetSyncJobResponse < TencentCloud::Common::AbstractModel
|
565
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
566
|
+
# @type RequestId: String
|
567
|
+
|
568
|
+
attr_accessor :RequestId
|
569
|
+
|
570
|
+
def initialize(requestid=nil)
|
571
|
+
@RequestId = requestid
|
572
|
+
end
|
573
|
+
|
574
|
+
def deserialize(params)
|
575
|
+
@RequestId = params['RequestId']
|
576
|
+
end
|
577
|
+
end
|
578
|
+
|
579
|
+
# CreateCmdTemplate请求参数结构体
|
580
|
+
class CreateCmdTemplateRequest < TencentCloud::Common::AbstractModel
|
581
|
+
# @param Name: 模板名,最大长度32字符,不能包含空白字符
|
582
|
+
# @type Name: String
|
583
|
+
# @param CmdList: 命令列表,\n分隔,最大长度32768字节
|
584
|
+
# @type CmdList: String
|
585
|
+
|
586
|
+
attr_accessor :Name, :CmdList
|
587
|
+
|
588
|
+
def initialize(name=nil, cmdlist=nil)
|
589
|
+
@Name = name
|
590
|
+
@CmdList = cmdlist
|
591
|
+
end
|
592
|
+
|
593
|
+
def deserialize(params)
|
594
|
+
@Name = params['Name']
|
595
|
+
@CmdList = params['CmdList']
|
596
|
+
end
|
597
|
+
end
|
598
|
+
|
599
|
+
# CreateCmdTemplate返回参数结构体
|
600
|
+
class CreateCmdTemplateResponse < TencentCloud::Common::AbstractModel
|
601
|
+
# @param Id: 新建成功后返回的记录ID
|
602
|
+
# @type Id: Integer
|
603
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
604
|
+
# @type RequestId: String
|
605
|
+
|
606
|
+
attr_accessor :Id, :RequestId
|
607
|
+
|
608
|
+
def initialize(id=nil, requestid=nil)
|
609
|
+
@Id = id
|
610
|
+
@RequestId = requestid
|
611
|
+
end
|
612
|
+
|
613
|
+
def deserialize(params)
|
614
|
+
@Id = params['Id']
|
615
|
+
@RequestId = params['RequestId']
|
616
|
+
end
|
617
|
+
end
|
618
|
+
|
619
|
+
# CreateDeviceAccount请求参数结构体
|
620
|
+
class CreateDeviceAccountRequest < TencentCloud::Common::AbstractModel
|
621
|
+
# @param DeviceId: 主机记录ID
|
622
|
+
# @type DeviceId: Integer
|
623
|
+
# @param Account: 账号名
|
624
|
+
# @type Account: String
|
625
|
+
|
626
|
+
attr_accessor :DeviceId, :Account
|
627
|
+
|
628
|
+
def initialize(deviceid=nil, account=nil)
|
629
|
+
@DeviceId = deviceid
|
630
|
+
@Account = account
|
631
|
+
end
|
632
|
+
|
633
|
+
def deserialize(params)
|
634
|
+
@DeviceId = params['DeviceId']
|
635
|
+
@Account = params['Account']
|
636
|
+
end
|
637
|
+
end
|
638
|
+
|
639
|
+
# CreateDeviceAccount返回参数结构体
|
640
|
+
class CreateDeviceAccountResponse < TencentCloud::Common::AbstractModel
|
641
|
+
# @param Id: 新建成功后返回的记录ID
|
642
|
+
# @type Id: Integer
|
643
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
644
|
+
# @type RequestId: String
|
645
|
+
|
646
|
+
attr_accessor :Id, :RequestId
|
647
|
+
|
648
|
+
def initialize(id=nil, requestid=nil)
|
649
|
+
@Id = id
|
650
|
+
@RequestId = requestid
|
651
|
+
end
|
652
|
+
|
653
|
+
def deserialize(params)
|
654
|
+
@Id = params['Id']
|
655
|
+
@RequestId = params['RequestId']
|
656
|
+
end
|
657
|
+
end
|
658
|
+
|
447
659
|
# CreateDeviceGroup请求参数结构体
|
448
660
|
class CreateDeviceGroupRequest < TencentCloud::Common::AbstractModel
|
449
661
|
# @param Name: 资产组名,最大长度32字符
|
@@ -630,6 +842,70 @@ module TencentCloud
|
|
630
842
|
end
|
631
843
|
end
|
632
844
|
|
845
|
+
# DeleteCmdTemplates请求参数结构体
|
846
|
+
class DeleteCmdTemplatesRequest < TencentCloud::Common::AbstractModel
|
847
|
+
# @param IdSet: 待删除的ID集合
|
848
|
+
# @type IdSet: Array
|
849
|
+
|
850
|
+
attr_accessor :IdSet
|
851
|
+
|
852
|
+
def initialize(idset=nil)
|
853
|
+
@IdSet = idset
|
854
|
+
end
|
855
|
+
|
856
|
+
def deserialize(params)
|
857
|
+
@IdSet = params['IdSet']
|
858
|
+
end
|
859
|
+
end
|
860
|
+
|
861
|
+
# DeleteCmdTemplates返回参数结构体
|
862
|
+
class DeleteCmdTemplatesResponse < TencentCloud::Common::AbstractModel
|
863
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
864
|
+
# @type RequestId: String
|
865
|
+
|
866
|
+
attr_accessor :RequestId
|
867
|
+
|
868
|
+
def initialize(requestid=nil)
|
869
|
+
@RequestId = requestid
|
870
|
+
end
|
871
|
+
|
872
|
+
def deserialize(params)
|
873
|
+
@RequestId = params['RequestId']
|
874
|
+
end
|
875
|
+
end
|
876
|
+
|
877
|
+
# DeleteDeviceAccounts请求参数结构体
|
878
|
+
class DeleteDeviceAccountsRequest < TencentCloud::Common::AbstractModel
|
879
|
+
# @param IdSet: 待删除的ID集合
|
880
|
+
# @type IdSet: Array
|
881
|
+
|
882
|
+
attr_accessor :IdSet
|
883
|
+
|
884
|
+
def initialize(idset=nil)
|
885
|
+
@IdSet = idset
|
886
|
+
end
|
887
|
+
|
888
|
+
def deserialize(params)
|
889
|
+
@IdSet = params['IdSet']
|
890
|
+
end
|
891
|
+
end
|
892
|
+
|
893
|
+
# DeleteDeviceAccounts返回参数结构体
|
894
|
+
class DeleteDeviceAccountsResponse < TencentCloud::Common::AbstractModel
|
895
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
896
|
+
# @type RequestId: String
|
897
|
+
|
898
|
+
attr_accessor :RequestId
|
899
|
+
|
900
|
+
def initialize(requestid=nil)
|
901
|
+
@RequestId = requestid
|
902
|
+
end
|
903
|
+
|
904
|
+
def deserialize(params)
|
905
|
+
@RequestId = params['RequestId']
|
906
|
+
end
|
907
|
+
end
|
908
|
+
|
633
909
|
# DeleteDeviceGroupMembers请求参数结构体
|
634
910
|
class DeleteDeviceGroupMembersRequest < TencentCloud::Common::AbstractModel
|
635
911
|
# @param Id: 资产组ID
|
@@ -698,6 +974,38 @@ module TencentCloud
|
|
698
974
|
end
|
699
975
|
end
|
700
976
|
|
977
|
+
# DeleteDevices请求参数结构体
|
978
|
+
class DeleteDevicesRequest < TencentCloud::Common::AbstractModel
|
979
|
+
# @param IdSet: 待删除的ID集合
|
980
|
+
# @type IdSet: Array
|
981
|
+
|
982
|
+
attr_accessor :IdSet
|
983
|
+
|
984
|
+
def initialize(idset=nil)
|
985
|
+
@IdSet = idset
|
986
|
+
end
|
987
|
+
|
988
|
+
def deserialize(params)
|
989
|
+
@IdSet = params['IdSet']
|
990
|
+
end
|
991
|
+
end
|
992
|
+
|
993
|
+
# DeleteDevices返回参数结构体
|
994
|
+
class DeleteDevicesResponse < TencentCloud::Common::AbstractModel
|
995
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
996
|
+
# @type RequestId: String
|
997
|
+
|
998
|
+
attr_accessor :RequestId
|
999
|
+
|
1000
|
+
def initialize(requestid=nil)
|
1001
|
+
@RequestId = requestid
|
1002
|
+
end
|
1003
|
+
|
1004
|
+
def deserialize(params)
|
1005
|
+
@RequestId = params['RequestId']
|
1006
|
+
end
|
1007
|
+
end
|
1008
|
+
|
701
1009
|
# DeleteUserGroupMembers请求参数结构体
|
702
1010
|
class DeleteUserGroupMembersRequest < TencentCloud::Common::AbstractModel
|
703
1011
|
# @param Id: 用户组ID
|
@@ -823,6 +1131,70 @@ module TencentCloud
|
|
823
1131
|
end
|
824
1132
|
end
|
825
1133
|
|
1134
|
+
# DeployResource请求参数结构体
|
1135
|
+
class DeployResourceRequest < TencentCloud::Common::AbstractModel
|
1136
|
+
# @param ResourceId: 需要开通服务的资源ID
|
1137
|
+
# @type ResourceId: String
|
1138
|
+
# @param ApCode: 需要开通服务的地域
|
1139
|
+
# @type ApCode: String
|
1140
|
+
# @param Zone: 子网所在可用区
|
1141
|
+
# @type Zone: String
|
1142
|
+
# @param VpcId: 需要开通服务的VPC
|
1143
|
+
# @type VpcId: String
|
1144
|
+
# @param SubnetId: 需要开通服务的子网ID
|
1145
|
+
# @type SubnetId: String
|
1146
|
+
# @param CidrBlock: 需要开通服务的子网网段
|
1147
|
+
# @type CidrBlock: String
|
1148
|
+
# @param VpcName: 需要开通服务的VPC名称
|
1149
|
+
# @type VpcName: String
|
1150
|
+
# @param VpcCidrBlock: 需要开通服务的VPC对应的网段
|
1151
|
+
# @type VpcCidrBlock: String
|
1152
|
+
# @param SubnetName: 需要开通服务的子网名称
|
1153
|
+
# @type SubnetName: String
|
1154
|
+
|
1155
|
+
attr_accessor :ResourceId, :ApCode, :Zone, :VpcId, :SubnetId, :CidrBlock, :VpcName, :VpcCidrBlock, :SubnetName
|
1156
|
+
|
1157
|
+
def initialize(resourceid=nil, apcode=nil, zone=nil, vpcid=nil, subnetid=nil, cidrblock=nil, vpcname=nil, vpccidrblock=nil, subnetname=nil)
|
1158
|
+
@ResourceId = resourceid
|
1159
|
+
@ApCode = apcode
|
1160
|
+
@Zone = zone
|
1161
|
+
@VpcId = vpcid
|
1162
|
+
@SubnetId = subnetid
|
1163
|
+
@CidrBlock = cidrblock
|
1164
|
+
@VpcName = vpcname
|
1165
|
+
@VpcCidrBlock = vpccidrblock
|
1166
|
+
@SubnetName = subnetname
|
1167
|
+
end
|
1168
|
+
|
1169
|
+
def deserialize(params)
|
1170
|
+
@ResourceId = params['ResourceId']
|
1171
|
+
@ApCode = params['ApCode']
|
1172
|
+
@Zone = params['Zone']
|
1173
|
+
@VpcId = params['VpcId']
|
1174
|
+
@SubnetId = params['SubnetId']
|
1175
|
+
@CidrBlock = params['CidrBlock']
|
1176
|
+
@VpcName = params['VpcName']
|
1177
|
+
@VpcCidrBlock = params['VpcCidrBlock']
|
1178
|
+
@SubnetName = params['SubnetName']
|
1179
|
+
end
|
1180
|
+
end
|
1181
|
+
|
1182
|
+
# DeployResource返回参数结构体
|
1183
|
+
class DeployResourceResponse < TencentCloud::Common::AbstractModel
|
1184
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1185
|
+
# @type RequestId: String
|
1186
|
+
|
1187
|
+
attr_accessor :RequestId
|
1188
|
+
|
1189
|
+
def initialize(requestid=nil)
|
1190
|
+
@RequestId = requestid
|
1191
|
+
end
|
1192
|
+
|
1193
|
+
def deserialize(params)
|
1194
|
+
@RequestId = params['RequestId']
|
1195
|
+
end
|
1196
|
+
end
|
1197
|
+
|
826
1198
|
# DescribeAcls请求参数结构体
|
827
1199
|
class DescribeAclsRequest < TencentCloud::Common::AbstractModel
|
828
1200
|
# @param IdSet: 访问权限ID集合
|
@@ -902,6 +1274,104 @@ module TencentCloud
|
|
902
1274
|
end
|
903
1275
|
end
|
904
1276
|
|
1277
|
+
# DescribeAssetSyncStatus请求参数结构体
|
1278
|
+
class DescribeAssetSyncStatusRequest < TencentCloud::Common::AbstractModel
|
1279
|
+
# @param Category: 查询的资产同步类型。1 -主机资产, 2 - 数据库资产
|
1280
|
+
# @type Category: Integer
|
1281
|
+
|
1282
|
+
attr_accessor :Category
|
1283
|
+
|
1284
|
+
def initialize(category=nil)
|
1285
|
+
@Category = category
|
1286
|
+
end
|
1287
|
+
|
1288
|
+
def deserialize(params)
|
1289
|
+
@Category = params['Category']
|
1290
|
+
end
|
1291
|
+
end
|
1292
|
+
|
1293
|
+
# DescribeAssetSyncStatus返回参数结构体
|
1294
|
+
class DescribeAssetSyncStatusResponse < TencentCloud::Common::AbstractModel
|
1295
|
+
# @param Status: 资产同步结果
|
1296
|
+
# @type Status: :class:`Tencentcloud::Dasb.v20191018.models.AssetSyncStatus`
|
1297
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1298
|
+
# @type RequestId: String
|
1299
|
+
|
1300
|
+
attr_accessor :Status, :RequestId
|
1301
|
+
|
1302
|
+
def initialize(status=nil, requestid=nil)
|
1303
|
+
@Status = status
|
1304
|
+
@RequestId = requestid
|
1305
|
+
end
|
1306
|
+
|
1307
|
+
def deserialize(params)
|
1308
|
+
unless params['Status'].nil?
|
1309
|
+
@Status = AssetSyncStatus.new
|
1310
|
+
@Status.deserialize(params['Status'])
|
1311
|
+
end
|
1312
|
+
@RequestId = params['RequestId']
|
1313
|
+
end
|
1314
|
+
end
|
1315
|
+
|
1316
|
+
# DescribeCmdTemplates请求参数结构体
|
1317
|
+
class DescribeCmdTemplatesRequest < TencentCloud::Common::AbstractModel
|
1318
|
+
# @param IdSet: 命令模板ID集合,非必需
|
1319
|
+
# @type IdSet: Array
|
1320
|
+
# @param Name: 命令模板名,模糊查询,最大长度64字符
|
1321
|
+
# @type Name: String
|
1322
|
+
# @param Offset: 分页偏移位置,默认值为0
|
1323
|
+
# @type Offset: Integer
|
1324
|
+
# @param Limit: 每页条目数量,默认20
|
1325
|
+
# @type Limit: Integer
|
1326
|
+
|
1327
|
+
attr_accessor :IdSet, :Name, :Offset, :Limit
|
1328
|
+
|
1329
|
+
def initialize(idset=nil, name=nil, offset=nil, limit=nil)
|
1330
|
+
@IdSet = idset
|
1331
|
+
@Name = name
|
1332
|
+
@Offset = offset
|
1333
|
+
@Limit = limit
|
1334
|
+
end
|
1335
|
+
|
1336
|
+
def deserialize(params)
|
1337
|
+
@IdSet = params['IdSet']
|
1338
|
+
@Name = params['Name']
|
1339
|
+
@Offset = params['Offset']
|
1340
|
+
@Limit = params['Limit']
|
1341
|
+
end
|
1342
|
+
end
|
1343
|
+
|
1344
|
+
# DescribeCmdTemplates返回参数结构体
|
1345
|
+
class DescribeCmdTemplatesResponse < TencentCloud::Common::AbstractModel
|
1346
|
+
# @param CmdTemplateSet: 命令模板列表
|
1347
|
+
# @type CmdTemplateSet: Array
|
1348
|
+
# @param TotalCount: 总记录数
|
1349
|
+
# @type TotalCount: Integer
|
1350
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1351
|
+
# @type RequestId: String
|
1352
|
+
|
1353
|
+
attr_accessor :CmdTemplateSet, :TotalCount, :RequestId
|
1354
|
+
|
1355
|
+
def initialize(cmdtemplateset=nil, totalcount=nil, requestid=nil)
|
1356
|
+
@CmdTemplateSet = cmdtemplateset
|
1357
|
+
@TotalCount = totalcount
|
1358
|
+
@RequestId = requestid
|
1359
|
+
end
|
1360
|
+
|
1361
|
+
def deserialize(params)
|
1362
|
+
unless params['CmdTemplateSet'].nil?
|
1363
|
+
@CmdTemplateSet = []
|
1364
|
+
params['CmdTemplateSet'].each do |i|
|
1365
|
+
cmdtemplate_tmp = CmdTemplate.new
|
1366
|
+
cmdtemplate_tmp.deserialize(i)
|
1367
|
+
@CmdTemplateSet << cmdtemplate_tmp
|
1368
|
+
end
|
1369
|
+
end
|
1370
|
+
@TotalCount = params['TotalCount']
|
1371
|
+
@RequestId = params['RequestId']
|
1372
|
+
end
|
1373
|
+
end
|
1374
|
+
|
905
1375
|
# DescribeDasbImageIds请求参数结构体
|
906
1376
|
class DescribeDasbImageIdsRequest < TencentCloud::Common::AbstractModel
|
907
1377
|
|
@@ -937,6 +1407,69 @@ module TencentCloud
|
|
937
1407
|
end
|
938
1408
|
end
|
939
1409
|
|
1410
|
+
# DescribeDeviceAccounts请求参数结构体
|
1411
|
+
class DescribeDeviceAccountsRequest < TencentCloud::Common::AbstractModel
|
1412
|
+
# @param IdSet: 主机账号ID集合,非必需,如果使用IdSet则忽略其他过滤参数
|
1413
|
+
# @type IdSet: Array
|
1414
|
+
# @param Account: 主机账号名,模糊查询,不能单独出现,必须于DeviceId一起提交
|
1415
|
+
# @type Account: String
|
1416
|
+
# @param DeviceId: 主机ID,未使用IdSet时必须携带
|
1417
|
+
# @type DeviceId: Integer
|
1418
|
+
# @param Offset: 分页偏移位置,默认值为0
|
1419
|
+
# @type Offset: Integer
|
1420
|
+
# @param Limit: 每页条目数量,默认20
|
1421
|
+
# @type Limit: Integer
|
1422
|
+
|
1423
|
+
attr_accessor :IdSet, :Account, :DeviceId, :Offset, :Limit
|
1424
|
+
|
1425
|
+
def initialize(idset=nil, account=nil, deviceid=nil, offset=nil, limit=nil)
|
1426
|
+
@IdSet = idset
|
1427
|
+
@Account = account
|
1428
|
+
@DeviceId = deviceid
|
1429
|
+
@Offset = offset
|
1430
|
+
@Limit = limit
|
1431
|
+
end
|
1432
|
+
|
1433
|
+
def deserialize(params)
|
1434
|
+
@IdSet = params['IdSet']
|
1435
|
+
@Account = params['Account']
|
1436
|
+
@DeviceId = params['DeviceId']
|
1437
|
+
@Offset = params['Offset']
|
1438
|
+
@Limit = params['Limit']
|
1439
|
+
end
|
1440
|
+
end
|
1441
|
+
|
1442
|
+
# DescribeDeviceAccounts返回参数结构体
|
1443
|
+
class DescribeDeviceAccountsResponse < TencentCloud::Common::AbstractModel
|
1444
|
+
# @param TotalCount: 记录总数
|
1445
|
+
# @type TotalCount: Integer
|
1446
|
+
# @param DeviceAccountSet: 账号信息列表
|
1447
|
+
# @type DeviceAccountSet: Array
|
1448
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1449
|
+
# @type RequestId: String
|
1450
|
+
|
1451
|
+
attr_accessor :TotalCount, :DeviceAccountSet, :RequestId
|
1452
|
+
|
1453
|
+
def initialize(totalcount=nil, deviceaccountset=nil, requestid=nil)
|
1454
|
+
@TotalCount = totalcount
|
1455
|
+
@DeviceAccountSet = deviceaccountset
|
1456
|
+
@RequestId = requestid
|
1457
|
+
end
|
1458
|
+
|
1459
|
+
def deserialize(params)
|
1460
|
+
@TotalCount = params['TotalCount']
|
1461
|
+
unless params['DeviceAccountSet'].nil?
|
1462
|
+
@DeviceAccountSet = []
|
1463
|
+
params['DeviceAccountSet'].each do |i|
|
1464
|
+
deviceaccount_tmp = DeviceAccount.new
|
1465
|
+
deviceaccount_tmp.deserialize(i)
|
1466
|
+
@DeviceAccountSet << deviceaccount_tmp
|
1467
|
+
end
|
1468
|
+
end
|
1469
|
+
@RequestId = params['RequestId']
|
1470
|
+
end
|
1471
|
+
end
|
1472
|
+
|
940
1473
|
# DescribeDeviceGroupMembers请求参数结构体
|
941
1474
|
class DescribeDeviceGroupMembersRequest < TencentCloud::Common::AbstractModel
|
942
1475
|
# @param Id: 资产组ID
|
@@ -1540,6 +2073,70 @@ module TencentCloud
|
|
1540
2073
|
end
|
1541
2074
|
end
|
1542
2075
|
|
2076
|
+
# 主机账号
|
2077
|
+
class DeviceAccount < TencentCloud::Common::AbstractModel
|
2078
|
+
# @param Id: 账号ID
|
2079
|
+
# @type Id: Integer
|
2080
|
+
# @param DeviceId: 主机ID
|
2081
|
+
# @type DeviceId: Integer
|
2082
|
+
# @param Account: 账号名
|
2083
|
+
# @type Account: String
|
2084
|
+
# @param BoundPassword: true-已托管密码,false-未托管密码
|
2085
|
+
# @type BoundPassword: Boolean
|
2086
|
+
# @param BoundPrivateKey: true-已托管私钥,false-未托管私钥
|
2087
|
+
# @type BoundPrivateKey: Boolean
|
2088
|
+
|
2089
|
+
attr_accessor :Id, :DeviceId, :Account, :BoundPassword, :BoundPrivateKey
|
2090
|
+
|
2091
|
+
def initialize(id=nil, deviceid=nil, account=nil, boundpassword=nil, boundprivatekey=nil)
|
2092
|
+
@Id = id
|
2093
|
+
@DeviceId = deviceid
|
2094
|
+
@Account = account
|
2095
|
+
@BoundPassword = boundpassword
|
2096
|
+
@BoundPrivateKey = boundprivatekey
|
2097
|
+
end
|
2098
|
+
|
2099
|
+
def deserialize(params)
|
2100
|
+
@Id = params['Id']
|
2101
|
+
@DeviceId = params['DeviceId']
|
2102
|
+
@Account = params['Account']
|
2103
|
+
@BoundPassword = params['BoundPassword']
|
2104
|
+
@BoundPrivateKey = params['BoundPrivateKey']
|
2105
|
+
end
|
2106
|
+
end
|
2107
|
+
|
2108
|
+
# 主机参数,导入外部主机时使用
|
2109
|
+
class ExternalDevice < TencentCloud::Common::AbstractModel
|
2110
|
+
# @param OsName: 操作系统名称,只能是Linux、Windows或MySQL
|
2111
|
+
# @type OsName: String
|
2112
|
+
# @param Ip: IP地址
|
2113
|
+
# @type Ip: String
|
2114
|
+
# @param Port: 管理端口
|
2115
|
+
# @type Port: Integer
|
2116
|
+
# @param Name: 主机名,可为空
|
2117
|
+
# @type Name: String
|
2118
|
+
# @param DepartmentId: 资产所属的部门ID
|
2119
|
+
# @type DepartmentId: String
|
2120
|
+
|
2121
|
+
attr_accessor :OsName, :Ip, :Port, :Name, :DepartmentId
|
2122
|
+
|
2123
|
+
def initialize(osname=nil, ip=nil, port=nil, name=nil, departmentid=nil)
|
2124
|
+
@OsName = osname
|
2125
|
+
@Ip = ip
|
2126
|
+
@Port = port
|
2127
|
+
@Name = name
|
2128
|
+
@DepartmentId = departmentid
|
2129
|
+
end
|
2130
|
+
|
2131
|
+
def deserialize(params)
|
2132
|
+
@OsName = params['OsName']
|
2133
|
+
@Ip = params['Ip']
|
2134
|
+
@Port = params['Port']
|
2135
|
+
@Name = params['Name']
|
2136
|
+
@DepartmentId = params['DepartmentId']
|
2137
|
+
end
|
2138
|
+
end
|
2139
|
+
|
1543
2140
|
# 描述键值对过滤器,用于条件过滤查询
|
1544
2141
|
class Filter < TencentCloud::Common::AbstractModel
|
1545
2142
|
# @param Name: 需要过滤的字段。
|
@@ -1595,6 +2192,45 @@ module TencentCloud
|
|
1595
2192
|
end
|
1596
2193
|
end
|
1597
2194
|
|
2195
|
+
# ImportExternalDevice请求参数结构体
|
2196
|
+
class ImportExternalDeviceRequest < TencentCloud::Common::AbstractModel
|
2197
|
+
# @param DeviceSet: 资产参数列表
|
2198
|
+
# @type DeviceSet: Array
|
2199
|
+
|
2200
|
+
attr_accessor :DeviceSet
|
2201
|
+
|
2202
|
+
def initialize(deviceset=nil)
|
2203
|
+
@DeviceSet = deviceset
|
2204
|
+
end
|
2205
|
+
|
2206
|
+
def deserialize(params)
|
2207
|
+
unless params['DeviceSet'].nil?
|
2208
|
+
@DeviceSet = []
|
2209
|
+
params['DeviceSet'].each do |i|
|
2210
|
+
externaldevice_tmp = ExternalDevice.new
|
2211
|
+
externaldevice_tmp.deserialize(i)
|
2212
|
+
@DeviceSet << externaldevice_tmp
|
2213
|
+
end
|
2214
|
+
end
|
2215
|
+
end
|
2216
|
+
end
|
2217
|
+
|
2218
|
+
# ImportExternalDevice返回参数结构体
|
2219
|
+
class ImportExternalDeviceResponse < TencentCloud::Common::AbstractModel
|
2220
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2221
|
+
# @type RequestId: String
|
2222
|
+
|
2223
|
+
attr_accessor :RequestId
|
2224
|
+
|
2225
|
+
def initialize(requestid=nil)
|
2226
|
+
@RequestId = requestid
|
2227
|
+
end
|
2228
|
+
|
2229
|
+
def deserialize(params)
|
2230
|
+
@RequestId = params['RequestId']
|
2231
|
+
end
|
2232
|
+
end
|
2233
|
+
|
1598
2234
|
# ModifyAcl请求参数结构体
|
1599
2235
|
class ModifyAclRequest < TencentCloud::Common::AbstractModel
|
1600
2236
|
# @param Name: 访问权限名称,最大32字符,不能包含空白字符
|
@@ -1729,6 +2365,90 @@ module TencentCloud
|
|
1729
2365
|
end
|
1730
2366
|
end
|
1731
2367
|
|
2368
|
+
# ModifyDeviceGroup请求参数结构体
|
2369
|
+
class ModifyDeviceGroupRequest < TencentCloud::Common::AbstractModel
|
2370
|
+
# @param Name: 资产组名,最大长度32字符,不能为空
|
2371
|
+
# @type Name: String
|
2372
|
+
# @param Id: 资产组ID
|
2373
|
+
# @type Id: Integer
|
2374
|
+
# @param DepartmentId: 资产组所属部门ID,如:1.2.3
|
2375
|
+
# @type DepartmentId: String
|
2376
|
+
|
2377
|
+
attr_accessor :Name, :Id, :DepartmentId
|
2378
|
+
|
2379
|
+
def initialize(name=nil, id=nil, departmentid=nil)
|
2380
|
+
@Name = name
|
2381
|
+
@Id = id
|
2382
|
+
@DepartmentId = departmentid
|
2383
|
+
end
|
2384
|
+
|
2385
|
+
def deserialize(params)
|
2386
|
+
@Name = params['Name']
|
2387
|
+
@Id = params['Id']
|
2388
|
+
@DepartmentId = params['DepartmentId']
|
2389
|
+
end
|
2390
|
+
end
|
2391
|
+
|
2392
|
+
# ModifyDeviceGroup返回参数结构体
|
2393
|
+
class ModifyDeviceGroupResponse < TencentCloud::Common::AbstractModel
|
2394
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2395
|
+
# @type RequestId: String
|
2396
|
+
|
2397
|
+
attr_accessor :RequestId
|
2398
|
+
|
2399
|
+
def initialize(requestid=nil)
|
2400
|
+
@RequestId = requestid
|
2401
|
+
end
|
2402
|
+
|
2403
|
+
def deserialize(params)
|
2404
|
+
@RequestId = params['RequestId']
|
2405
|
+
end
|
2406
|
+
end
|
2407
|
+
|
2408
|
+
# ModifyDevice请求参数结构体
|
2409
|
+
class ModifyDeviceRequest < TencentCloud::Common::AbstractModel
|
2410
|
+
# @param Id: 资产记录ID
|
2411
|
+
# @type Id: Integer
|
2412
|
+
# @param Port: 管理端口
|
2413
|
+
# @type Port: Integer
|
2414
|
+
# @param GroupIdSet: 资产所属组ID集合
|
2415
|
+
# @type GroupIdSet: Array
|
2416
|
+
# @param DepartmentId: 资产所属部门ID
|
2417
|
+
# @type DepartmentId: String
|
2418
|
+
|
2419
|
+
attr_accessor :Id, :Port, :GroupIdSet, :DepartmentId
|
2420
|
+
|
2421
|
+
def initialize(id=nil, port=nil, groupidset=nil, departmentid=nil)
|
2422
|
+
@Id = id
|
2423
|
+
@Port = port
|
2424
|
+
@GroupIdSet = groupidset
|
2425
|
+
@DepartmentId = departmentid
|
2426
|
+
end
|
2427
|
+
|
2428
|
+
def deserialize(params)
|
2429
|
+
@Id = params['Id']
|
2430
|
+
@Port = params['Port']
|
2431
|
+
@GroupIdSet = params['GroupIdSet']
|
2432
|
+
@DepartmentId = params['DepartmentId']
|
2433
|
+
end
|
2434
|
+
end
|
2435
|
+
|
2436
|
+
# ModifyDevice返回参数结构体
|
2437
|
+
class ModifyDeviceResponse < TencentCloud::Common::AbstractModel
|
2438
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2439
|
+
# @type RequestId: String
|
2440
|
+
|
2441
|
+
attr_accessor :RequestId
|
2442
|
+
|
2443
|
+
def initialize(requestid=nil)
|
2444
|
+
@RequestId = requestid
|
2445
|
+
end
|
2446
|
+
|
2447
|
+
def deserialize(params)
|
2448
|
+
@RequestId = params['RequestId']
|
2449
|
+
end
|
2450
|
+
end
|
2451
|
+
|
1732
2452
|
# ModifyUser请求参数结构体
|
1733
2453
|
class ModifyUserRequest < TencentCloud::Common::AbstractModel
|
1734
2454
|
# @param Id: 用户ID
|
@@ -1799,6 +2519,102 @@ module TencentCloud
|
|
1799
2519
|
end
|
1800
2520
|
end
|
1801
2521
|
|
2522
|
+
# ResetDeviceAccountPassword请求参数结构体
|
2523
|
+
class ResetDeviceAccountPasswordRequest < TencentCloud::Common::AbstractModel
|
2524
|
+
# @param IdSet: ID集合
|
2525
|
+
# @type IdSet: Array
|
2526
|
+
|
2527
|
+
attr_accessor :IdSet
|
2528
|
+
|
2529
|
+
def initialize(idset=nil)
|
2530
|
+
@IdSet = idset
|
2531
|
+
end
|
2532
|
+
|
2533
|
+
def deserialize(params)
|
2534
|
+
@IdSet = params['IdSet']
|
2535
|
+
end
|
2536
|
+
end
|
2537
|
+
|
2538
|
+
# ResetDeviceAccountPassword返回参数结构体
|
2539
|
+
class ResetDeviceAccountPasswordResponse < TencentCloud::Common::AbstractModel
|
2540
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2541
|
+
# @type RequestId: String
|
2542
|
+
|
2543
|
+
attr_accessor :RequestId
|
2544
|
+
|
2545
|
+
def initialize(requestid=nil)
|
2546
|
+
@RequestId = requestid
|
2547
|
+
end
|
2548
|
+
|
2549
|
+
def deserialize(params)
|
2550
|
+
@RequestId = params['RequestId']
|
2551
|
+
end
|
2552
|
+
end
|
2553
|
+
|
2554
|
+
# ResetDeviceAccountPrivateKey请求参数结构体
|
2555
|
+
class ResetDeviceAccountPrivateKeyRequest < TencentCloud::Common::AbstractModel
|
2556
|
+
# @param IdSet: ID集合
|
2557
|
+
# @type IdSet: Array
|
2558
|
+
|
2559
|
+
attr_accessor :IdSet
|
2560
|
+
|
2561
|
+
def initialize(idset=nil)
|
2562
|
+
@IdSet = idset
|
2563
|
+
end
|
2564
|
+
|
2565
|
+
def deserialize(params)
|
2566
|
+
@IdSet = params['IdSet']
|
2567
|
+
end
|
2568
|
+
end
|
2569
|
+
|
2570
|
+
# ResetDeviceAccountPrivateKey返回参数结构体
|
2571
|
+
class ResetDeviceAccountPrivateKeyResponse < TencentCloud::Common::AbstractModel
|
2572
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2573
|
+
# @type RequestId: String
|
2574
|
+
|
2575
|
+
attr_accessor :RequestId
|
2576
|
+
|
2577
|
+
def initialize(requestid=nil)
|
2578
|
+
@RequestId = requestid
|
2579
|
+
end
|
2580
|
+
|
2581
|
+
def deserialize(params)
|
2582
|
+
@RequestId = params['RequestId']
|
2583
|
+
end
|
2584
|
+
end
|
2585
|
+
|
2586
|
+
# ResetUser请求参数结构体
|
2587
|
+
class ResetUserRequest < TencentCloud::Common::AbstractModel
|
2588
|
+
# @param IdSet: 用户ID集合
|
2589
|
+
# @type IdSet: Array
|
2590
|
+
|
2591
|
+
attr_accessor :IdSet
|
2592
|
+
|
2593
|
+
def initialize(idset=nil)
|
2594
|
+
@IdSet = idset
|
2595
|
+
end
|
2596
|
+
|
2597
|
+
def deserialize(params)
|
2598
|
+
@IdSet = params['IdSet']
|
2599
|
+
end
|
2600
|
+
end
|
2601
|
+
|
2602
|
+
# ResetUser返回参数结构体
|
2603
|
+
class ResetUserResponse < TencentCloud::Common::AbstractModel
|
2604
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2605
|
+
# @type RequestId: String
|
2606
|
+
|
2607
|
+
attr_accessor :RequestId
|
2608
|
+
|
2609
|
+
def initialize(requestid=nil)
|
2610
|
+
@RequestId = requestid
|
2611
|
+
end
|
2612
|
+
|
2613
|
+
def deserialize(params)
|
2614
|
+
@RequestId = params['RequestId']
|
2615
|
+
end
|
2616
|
+
end
|
2617
|
+
|
1802
2618
|
# 堡垒机服务信息
|
1803
2619
|
class Resource < TencentCloud::Common::AbstractModel
|
1804
2620
|
# @param ResourceId: 服务实例ID,如bh-saas-s3ed4r5e
|