tencentcloud-sdk-tcss 3.0.457 → 3.0.459
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/v20201101/client.rb +360 -0
- data/lib/v20201101/models.rb +1446 -177
- metadata +2 -2
data/lib/v20201101/models.rb
CHANGED
@@ -1617,6 +1617,43 @@ module TencentCloud
|
|
1617
1617
|
end
|
1618
1618
|
end
|
1619
1619
|
|
1620
|
+
# 集群列表Item
|
1621
|
+
class AssetClusterListItem < TencentCloud::Common::AbstractModel
|
1622
|
+
# @param ClusterID: 集群ID
|
1623
|
+
# @type ClusterID: String
|
1624
|
+
# @param ClusterName: 集群名称
|
1625
|
+
# @type ClusterName: String
|
1626
|
+
# @param Status: 集群状态
|
1627
|
+
# CSR_RUNNING: 运行中
|
1628
|
+
# CSR_EXCEPTION:异常
|
1629
|
+
# CSR_DEL:已经删除
|
1630
|
+
# @type Status: String
|
1631
|
+
# @param BindRuleName: 绑定规则名称
|
1632
|
+
# @type BindRuleName: String
|
1633
|
+
# @param ClusterType: 集群类型:
|
1634
|
+
# CT_TKE: TKE集群
|
1635
|
+
# CT_USER_CREATE: 用户自建集群
|
1636
|
+
# @type ClusterType: String
|
1637
|
+
|
1638
|
+
attr_accessor :ClusterID, :ClusterName, :Status, :BindRuleName, :ClusterType
|
1639
|
+
|
1640
|
+
def initialize(clusterid=nil, clustername=nil, status=nil, bindrulename=nil, clustertype=nil)
|
1641
|
+
@ClusterID = clusterid
|
1642
|
+
@ClusterName = clustername
|
1643
|
+
@Status = status
|
1644
|
+
@BindRuleName = bindrulename
|
1645
|
+
@ClusterType = clustertype
|
1646
|
+
end
|
1647
|
+
|
1648
|
+
def deserialize(params)
|
1649
|
+
@ClusterID = params['ClusterID']
|
1650
|
+
@ClusterName = params['ClusterName']
|
1651
|
+
@Status = params['Status']
|
1652
|
+
@BindRuleName = params['BindRuleName']
|
1653
|
+
@ClusterType = params['ClusterType']
|
1654
|
+
end
|
1655
|
+
end
|
1656
|
+
|
1620
1657
|
# 容器安全
|
1621
1658
|
# 描述键值对过滤器,用于条件过滤查询。例如过滤ID、名称、状态等
|
1622
1659
|
# 若存在多个Filter时,Filter间的关系为逻辑与(AND)关系。
|
@@ -4270,32 +4307,41 @@ module TencentCloud
|
|
4270
4307
|
|
4271
4308
|
# CreateHostExportJob请求参数结构体
|
4272
4309
|
class CreateHostExportJobRequest < TencentCloud::Common::AbstractModel
|
4273
|
-
# @param
|
4274
|
-
#
|
4275
|
-
#
|
4310
|
+
# @param Filters: 过滤条件。
|
4311
|
+
# <li>Status - String - 是否必填:否 - agent状态筛选,"ALL":"全部"(或不传该字段),"UNINSTALL":"未安装","OFFLINE":"离线", "ONLINE":"防护中"</li>
|
4312
|
+
# <li>HostName - String - 是否必填:否 - 主机名筛选</li>
|
4313
|
+
# <li>Group- String - 是否必填:否 - 主机群组搜索</li>
|
4314
|
+
# <li>HostIP- string - 是否必填:否 - 主机ip搜索</li>
|
4315
|
+
# <li>HostID- string - 是否必填:否 - 主机id搜索</li>
|
4316
|
+
# <li>DockerVersion- string - 是否必填:否 - docker版本搜索</li>
|
4317
|
+
# <li>MachineType- string - 是否必填:否 - 主机来源MachineType搜索,"ALL":"全部"(或不传该字段),主机来源:["CVM", "ECM", "LH", "BM"] 中的之一为腾讯云服务器;["Other"]之一非腾讯云服务器;</li>
|
4318
|
+
# <li>DockerStatus- string - 是否必填:否 - docker安装状态,"ALL":"全部"(或不传该字段),"INSTALL":"已安装","UNINSTALL":"未安装"</li>
|
4319
|
+
# <li>ProjectID- string - 是否必填:否 - 所属项目id搜索</li>
|
4320
|
+
# <li>Tag:xxx(tag:key)- string- 是否必填:否 - 标签键值搜索 示例Filters":[{"Name":"tag:tke-kind","Values":["service"]}]</li>
|
4276
4321
|
# @type Filters: Array
|
4277
4322
|
# @param Limit: 偏移量,默认为0。
|
4278
4323
|
# @type Limit: Integer
|
4279
|
-
# @param Offset:
|
4324
|
+
# @param Offset: 需要返回的数量,默认为10,最大值为10000
|
4280
4325
|
# @type Offset: Integer
|
4281
4326
|
# @param By: 排序字段
|
4282
4327
|
# @type By: String
|
4283
4328
|
# @param Order: 升序降序,asc desc
|
4284
4329
|
# @type Order: String
|
4330
|
+
# @param ExportField: 导出字段
|
4331
|
+
# @type ExportField: Array
|
4285
4332
|
|
4286
|
-
attr_accessor :
|
4333
|
+
attr_accessor :Filters, :Limit, :Offset, :By, :Order, :ExportField
|
4287
4334
|
|
4288
|
-
def initialize(
|
4289
|
-
@ExportField = exportfield
|
4335
|
+
def initialize(filters=nil, limit=nil, offset=nil, by=nil, order=nil, exportfield=nil)
|
4290
4336
|
@Filters = filters
|
4291
4337
|
@Limit = limit
|
4292
4338
|
@Offset = offset
|
4293
4339
|
@By = by
|
4294
4340
|
@Order = order
|
4341
|
+
@ExportField = exportfield
|
4295
4342
|
end
|
4296
4343
|
|
4297
4344
|
def deserialize(params)
|
4298
|
-
@ExportField = params['ExportField']
|
4299
4345
|
unless params['Filters'].nil?
|
4300
4346
|
@Filters = []
|
4301
4347
|
params['Filters'].each do |i|
|
@@ -4308,6 +4354,7 @@ module TencentCloud
|
|
4308
4354
|
@Offset = params['Offset']
|
4309
4355
|
@By = params['By']
|
4310
4356
|
@Order = params['Order']
|
4357
|
+
@ExportField = params['ExportField']
|
4311
4358
|
end
|
4312
4359
|
end
|
4313
4360
|
|
@@ -4402,6 +4449,173 @@ module TencentCloud
|
|
4402
4449
|
end
|
4403
4450
|
end
|
4404
4451
|
|
4452
|
+
# CreateK8sApiAbnormalEventExportJob请求参数结构体
|
4453
|
+
class CreateK8sApiAbnormalEventExportJobRequest < TencentCloud::Common::AbstractModel
|
4454
|
+
# @param Filters: 过滤条件。
|
4455
|
+
# <li>TimeRange - string -是否必填: 否 - 时间范围筛选 ["2022-03-31 16:55:00", "2022-03-31 17:00:00"]</li>
|
4456
|
+
# <li>MatchRules - string - 是否必填: 否 -命中规则筛选</li>
|
4457
|
+
# <li>RiskLevel - string - 是否必填: 否 -威胁等级筛选</li>
|
4458
|
+
# <li>Status - string - 是否必填: 否 -事件状态筛选</li>
|
4459
|
+
# <li>MatchRuleType - string - 是否必填: 否 -命中规则类型筛选</li>
|
4460
|
+
# <li>ClusterRunningStatus - string - 是否必填: 否 -集群运行状态</li>
|
4461
|
+
# <li>ClusterName - string - 是否必填: 否 -集群名称</li>
|
4462
|
+
# <li>ClusterID - string - 是否必填: 否 -集群ID</li>
|
4463
|
+
# @type Filters: Array
|
4464
|
+
# @param Order: 排序方式
|
4465
|
+
# @type Order: String
|
4466
|
+
# @param By: 排序字段
|
4467
|
+
# @type By: String
|
4468
|
+
# @param ExportField: 导出字段
|
4469
|
+
# @type ExportField: Array
|
4470
|
+
|
4471
|
+
attr_accessor :Filters, :Order, :By, :ExportField
|
4472
|
+
|
4473
|
+
def initialize(filters=nil, order=nil, by=nil, exportfield=nil)
|
4474
|
+
@Filters = filters
|
4475
|
+
@Order = order
|
4476
|
+
@By = by
|
4477
|
+
@ExportField = exportfield
|
4478
|
+
end
|
4479
|
+
|
4480
|
+
def deserialize(params)
|
4481
|
+
unless params['Filters'].nil?
|
4482
|
+
@Filters = []
|
4483
|
+
params['Filters'].each do |i|
|
4484
|
+
runtimefilters_tmp = RunTimeFilters.new
|
4485
|
+
runtimefilters_tmp.deserialize(i)
|
4486
|
+
@Filters << runtimefilters_tmp
|
4487
|
+
end
|
4488
|
+
end
|
4489
|
+
@Order = params['Order']
|
4490
|
+
@By = params['By']
|
4491
|
+
@ExportField = params['ExportField']
|
4492
|
+
end
|
4493
|
+
end
|
4494
|
+
|
4495
|
+
# CreateK8sApiAbnormalEventExportJob返回参数结构体
|
4496
|
+
class CreateK8sApiAbnormalEventExportJobResponse < TencentCloud::Common::AbstractModel
|
4497
|
+
# @param JobId: 导出任务ID,前端拿着任务ID查询任务进度
|
4498
|
+
# @type JobId: String
|
4499
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
4500
|
+
# @type RequestId: String
|
4501
|
+
|
4502
|
+
attr_accessor :JobId, :RequestId
|
4503
|
+
|
4504
|
+
def initialize(jobid=nil, requestid=nil)
|
4505
|
+
@JobId = jobid
|
4506
|
+
@RequestId = requestid
|
4507
|
+
end
|
4508
|
+
|
4509
|
+
def deserialize(params)
|
4510
|
+
@JobId = params['JobId']
|
4511
|
+
@RequestId = params['RequestId']
|
4512
|
+
end
|
4513
|
+
end
|
4514
|
+
|
4515
|
+
# CreateK8sApiAbnormalRuleExportJob请求参数结构体
|
4516
|
+
class CreateK8sApiAbnormalRuleExportJobRequest < TencentCloud::Common::AbstractModel
|
4517
|
+
# @param Filters: 过滤条件。
|
4518
|
+
# <li>RuleType - string - 是否必填: 否 -规则类型</li>
|
4519
|
+
# <li>Status - string - 是否必填: 否 -状态</li>
|
4520
|
+
# @type Filters: Array
|
4521
|
+
# @param Order: 排序方式
|
4522
|
+
# @type Order: String
|
4523
|
+
# @param By: 排序字段
|
4524
|
+
# @type By: Array
|
4525
|
+
# @param ExportField: 导出字段
|
4526
|
+
# @type ExportField: Array
|
4527
|
+
|
4528
|
+
attr_accessor :Filters, :Order, :By, :ExportField
|
4529
|
+
|
4530
|
+
def initialize(filters=nil, order=nil, by=nil, exportfield=nil)
|
4531
|
+
@Filters = filters
|
4532
|
+
@Order = order
|
4533
|
+
@By = by
|
4534
|
+
@ExportField = exportfield
|
4535
|
+
end
|
4536
|
+
|
4537
|
+
def deserialize(params)
|
4538
|
+
unless params['Filters'].nil?
|
4539
|
+
@Filters = []
|
4540
|
+
params['Filters'].each do |i|
|
4541
|
+
runtimefilters_tmp = RunTimeFilters.new
|
4542
|
+
runtimefilters_tmp.deserialize(i)
|
4543
|
+
@Filters << runtimefilters_tmp
|
4544
|
+
end
|
4545
|
+
end
|
4546
|
+
@Order = params['Order']
|
4547
|
+
@By = params['By']
|
4548
|
+
@ExportField = params['ExportField']
|
4549
|
+
end
|
4550
|
+
end
|
4551
|
+
|
4552
|
+
# CreateK8sApiAbnormalRuleExportJob返回参数结构体
|
4553
|
+
class CreateK8sApiAbnormalRuleExportJobResponse < TencentCloud::Common::AbstractModel
|
4554
|
+
# @param JobId: 导出任务ID,前端拿着任务ID查询任务进度
|
4555
|
+
# @type JobId: String
|
4556
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
4557
|
+
# @type RequestId: String
|
4558
|
+
|
4559
|
+
attr_accessor :JobId, :RequestId
|
4560
|
+
|
4561
|
+
def initialize(jobid=nil, requestid=nil)
|
4562
|
+
@JobId = jobid
|
4563
|
+
@RequestId = requestid
|
4564
|
+
end
|
4565
|
+
|
4566
|
+
def deserialize(params)
|
4567
|
+
@JobId = params['JobId']
|
4568
|
+
@RequestId = params['RequestId']
|
4569
|
+
end
|
4570
|
+
end
|
4571
|
+
|
4572
|
+
# CreateK8sApiAbnormalRuleInfo请求参数结构体
|
4573
|
+
class CreateK8sApiAbnormalRuleInfoRequest < TencentCloud::Common::AbstractModel
|
4574
|
+
# @param RuleInfo: 规则详情
|
4575
|
+
# @type RuleInfo: :class:`Tencentcloud::Tcss.v20201101.models.K8sApiAbnormalRuleInfo`
|
4576
|
+
# @param CopySrcRuleID: 拷贝规则ID(适用于复制规则场景)
|
4577
|
+
# @type CopySrcRuleID: String
|
4578
|
+
# @param EventID: 事件ID(适用于事件加白场景)
|
4579
|
+
# @type EventID: Integer
|
4580
|
+
|
4581
|
+
attr_accessor :RuleInfo, :CopySrcRuleID, :EventID
|
4582
|
+
|
4583
|
+
def initialize(ruleinfo=nil, copysrcruleid=nil, eventid=nil)
|
4584
|
+
@RuleInfo = ruleinfo
|
4585
|
+
@CopySrcRuleID = copysrcruleid
|
4586
|
+
@EventID = eventid
|
4587
|
+
end
|
4588
|
+
|
4589
|
+
def deserialize(params)
|
4590
|
+
unless params['RuleInfo'].nil?
|
4591
|
+
@RuleInfo = K8sApiAbnormalRuleInfo.new
|
4592
|
+
@RuleInfo.deserialize(params['RuleInfo'])
|
4593
|
+
end
|
4594
|
+
@CopySrcRuleID = params['CopySrcRuleID']
|
4595
|
+
@EventID = params['EventID']
|
4596
|
+
end
|
4597
|
+
end
|
4598
|
+
|
4599
|
+
# CreateK8sApiAbnormalRuleInfo返回参数结构体
|
4600
|
+
class CreateK8sApiAbnormalRuleInfoResponse < TencentCloud::Common::AbstractModel
|
4601
|
+
# @param RuleID: 规则ID
|
4602
|
+
# @type RuleID: String
|
4603
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
4604
|
+
# @type RequestId: String
|
4605
|
+
|
4606
|
+
attr_accessor :RuleID, :RequestId
|
4607
|
+
|
4608
|
+
def initialize(ruleid=nil, requestid=nil)
|
4609
|
+
@RuleID = ruleid
|
4610
|
+
@RequestId = requestid
|
4611
|
+
end
|
4612
|
+
|
4613
|
+
def deserialize(params)
|
4614
|
+
@RuleID = params['RuleID']
|
4615
|
+
@RequestId = params['RequestId']
|
4616
|
+
end
|
4617
|
+
end
|
4618
|
+
|
4405
4619
|
# CreateNetworkFirewallClusterRefresh请求参数结构体
|
4406
4620
|
class CreateNetworkFirewallClusterRefreshRequest < TencentCloud::Common::AbstractModel
|
4407
4621
|
|
@@ -5688,6 +5902,38 @@ module TencentCloud
|
|
5688
5902
|
end
|
5689
5903
|
end
|
5690
5904
|
|
5905
|
+
# DeleteK8sApiAbnormalRule请求参数结构体
|
5906
|
+
class DeleteK8sApiAbnormalRuleRequest < TencentCloud::Common::AbstractModel
|
5907
|
+
# @param RuleIDSet: 规则ID集合
|
5908
|
+
# @type RuleIDSet: Array
|
5909
|
+
|
5910
|
+
attr_accessor :RuleIDSet
|
5911
|
+
|
5912
|
+
def initialize(ruleidset=nil)
|
5913
|
+
@RuleIDSet = ruleidset
|
5914
|
+
end
|
5915
|
+
|
5916
|
+
def deserialize(params)
|
5917
|
+
@RuleIDSet = params['RuleIDSet']
|
5918
|
+
end
|
5919
|
+
end
|
5920
|
+
|
5921
|
+
# DeleteK8sApiAbnormalRule返回参数结构体
|
5922
|
+
class DeleteK8sApiAbnormalRuleResponse < TencentCloud::Common::AbstractModel
|
5923
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
5924
|
+
# @type RequestId: String
|
5925
|
+
|
5926
|
+
attr_accessor :RequestId
|
5927
|
+
|
5928
|
+
def initialize(requestid=nil)
|
5929
|
+
@RequestId = requestid
|
5930
|
+
end
|
5931
|
+
|
5932
|
+
def deserialize(params)
|
5933
|
+
@RequestId = params['RequestId']
|
5934
|
+
end
|
5935
|
+
end
|
5936
|
+
|
5691
5937
|
# DeleteMachine请求参数结构体
|
5692
5938
|
class DeleteMachineRequest < TencentCloud::Common::AbstractModel
|
5693
5939
|
# @param Uuid: 客户端Uuid
|
@@ -7219,6 +7465,79 @@ module TencentCloud
|
|
7219
7465
|
end
|
7220
7466
|
end
|
7221
7467
|
|
7468
|
+
# DescribeAssetClusterList请求参数结构体
|
7469
|
+
class DescribeAssetClusterListRequest < TencentCloud::Common::AbstractModel
|
7470
|
+
# @param Filters: 过滤条件。
|
7471
|
+
# <li>ClusterID - string - 是否必填: 否 -集群ID</li>
|
7472
|
+
# <li>ClusterName - string - 是否必填: 否 -集群名称</li>
|
7473
|
+
# <li>Status - string - 是否必填: 否 -集群状态</li>
|
7474
|
+
# @type Filters: Array
|
7475
|
+
# @param Limit: 需要返回的数量,默认为10,最大值为100
|
7476
|
+
# @type Limit: Integer
|
7477
|
+
# @param Offset: 偏移量,默认为0。
|
7478
|
+
# @type Offset: Integer
|
7479
|
+
# @param Order: 排序方式
|
7480
|
+
# @type Order: String
|
7481
|
+
# @param By: 排序字段。
|
7482
|
+
# @type By: String
|
7483
|
+
|
7484
|
+
attr_accessor :Filters, :Limit, :Offset, :Order, :By
|
7485
|
+
|
7486
|
+
def initialize(filters=nil, limit=nil, offset=nil, order=nil, by=nil)
|
7487
|
+
@Filters = filters
|
7488
|
+
@Limit = limit
|
7489
|
+
@Offset = offset
|
7490
|
+
@Order = order
|
7491
|
+
@By = by
|
7492
|
+
end
|
7493
|
+
|
7494
|
+
def deserialize(params)
|
7495
|
+
unless params['Filters'].nil?
|
7496
|
+
@Filters = []
|
7497
|
+
params['Filters'].each do |i|
|
7498
|
+
runtimefilters_tmp = RunTimeFilters.new
|
7499
|
+
runtimefilters_tmp.deserialize(i)
|
7500
|
+
@Filters << runtimefilters_tmp
|
7501
|
+
end
|
7502
|
+
end
|
7503
|
+
@Limit = params['Limit']
|
7504
|
+
@Offset = params['Offset']
|
7505
|
+
@Order = params['Order']
|
7506
|
+
@By = params['By']
|
7507
|
+
end
|
7508
|
+
end
|
7509
|
+
|
7510
|
+
# DescribeAssetClusterList返回参数结构体
|
7511
|
+
class DescribeAssetClusterListResponse < TencentCloud::Common::AbstractModel
|
7512
|
+
# @param List: 集群列表
|
7513
|
+
# @type List: Array
|
7514
|
+
# @param TotalCount: 总数量
|
7515
|
+
# @type TotalCount: Integer
|
7516
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
7517
|
+
# @type RequestId: String
|
7518
|
+
|
7519
|
+
attr_accessor :List, :TotalCount, :RequestId
|
7520
|
+
|
7521
|
+
def initialize(list=nil, totalcount=nil, requestid=nil)
|
7522
|
+
@List = list
|
7523
|
+
@TotalCount = totalcount
|
7524
|
+
@RequestId = requestid
|
7525
|
+
end
|
7526
|
+
|
7527
|
+
def deserialize(params)
|
7528
|
+
unless params['List'].nil?
|
7529
|
+
@List = []
|
7530
|
+
params['List'].each do |i|
|
7531
|
+
assetclusterlistitem_tmp = AssetClusterListItem.new
|
7532
|
+
assetclusterlistitem_tmp.deserialize(i)
|
7533
|
+
@List << assetclusterlistitem_tmp
|
7534
|
+
end
|
7535
|
+
end
|
7536
|
+
@TotalCount = params['TotalCount']
|
7537
|
+
@RequestId = params['RequestId']
|
7538
|
+
end
|
7539
|
+
end
|
7540
|
+
|
7222
7541
|
# DescribeAssetComponentList请求参数结构体
|
7223
7542
|
class DescribeAssetComponentListRequest < TencentCloud::Common::AbstractModel
|
7224
7543
|
# @param ContainerID: 容器id
|
@@ -7649,12 +7968,16 @@ module TencentCloud
|
|
7649
7968
|
# @type InstanceID: String
|
7650
7969
|
# @param RegionID: 地域ID
|
7651
7970
|
# @type RegionID: Integer
|
7971
|
+
# @param Project: 所属项目
|
7972
|
+
# @type Project: :class:`Tencentcloud::Tcss.v20201101.models.ProjectInfo`
|
7973
|
+
# @param Tags: 标签
|
7974
|
+
# @type Tags: Array
|
7652
7975
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
7653
7976
|
# @type RequestId: String
|
7654
7977
|
|
7655
|
-
attr_accessor :UUID, :UpdateTime, :HostName, :Group, :HostIP, :OsName, :AgentVersion, :KernelVersion, :DockerVersion, :DockerAPIVersion, :DockerGoVersion, :DockerFileSystemDriver, :DockerRootDir, :ImageCnt, :ContainerCnt, :K8sMasterIP, :K8sVersion, :KubeProxyVersion, :Status, :IsContainerd, :MachineType, :PublicIp, :InstanceID, :RegionID, :RequestId
|
7978
|
+
attr_accessor :UUID, :UpdateTime, :HostName, :Group, :HostIP, :OsName, :AgentVersion, :KernelVersion, :DockerVersion, :DockerAPIVersion, :DockerGoVersion, :DockerFileSystemDriver, :DockerRootDir, :ImageCnt, :ContainerCnt, :K8sMasterIP, :K8sVersion, :KubeProxyVersion, :Status, :IsContainerd, :MachineType, :PublicIp, :InstanceID, :RegionID, :Project, :Tags, :RequestId
|
7656
7979
|
|
7657
|
-
def initialize(uuid=nil, updatetime=nil, hostname=nil, group=nil, hostip=nil, osname=nil, agentversion=nil, kernelversion=nil, dockerversion=nil, dockerapiversion=nil, dockergoversion=nil, dockerfilesystemdriver=nil, dockerrootdir=nil, imagecnt=nil, containercnt=nil, k8smasterip=nil, k8sversion=nil, kubeproxyversion=nil, status=nil, iscontainerd=nil, machinetype=nil, publicip=nil, instanceid=nil, regionid=nil, requestid=nil)
|
7980
|
+
def initialize(uuid=nil, updatetime=nil, hostname=nil, group=nil, hostip=nil, osname=nil, agentversion=nil, kernelversion=nil, dockerversion=nil, dockerapiversion=nil, dockergoversion=nil, dockerfilesystemdriver=nil, dockerrootdir=nil, imagecnt=nil, containercnt=nil, k8smasterip=nil, k8sversion=nil, kubeproxyversion=nil, status=nil, iscontainerd=nil, machinetype=nil, publicip=nil, instanceid=nil, regionid=nil, project=nil, tags=nil, requestid=nil)
|
7658
7981
|
@UUID = uuid
|
7659
7982
|
@UpdateTime = updatetime
|
7660
7983
|
@HostName = hostname
|
@@ -7679,6 +8002,8 @@ module TencentCloud
|
|
7679
8002
|
@PublicIp = publicip
|
7680
8003
|
@InstanceID = instanceid
|
7681
8004
|
@RegionID = regionid
|
8005
|
+
@Project = project
|
8006
|
+
@Tags = tags
|
7682
8007
|
@RequestId = requestid
|
7683
8008
|
end
|
7684
8009
|
|
@@ -7707,6 +8032,18 @@ module TencentCloud
|
|
7707
8032
|
@PublicIp = params['PublicIp']
|
7708
8033
|
@InstanceID = params['InstanceID']
|
7709
8034
|
@RegionID = params['RegionID']
|
8035
|
+
unless params['Project'].nil?
|
8036
|
+
@Project = ProjectInfo.new
|
8037
|
+
@Project.deserialize(params['Project'])
|
8038
|
+
end
|
8039
|
+
unless params['Tags'].nil?
|
8040
|
+
@Tags = []
|
8041
|
+
params['Tags'].each do |i|
|
8042
|
+
taginfo_tmp = TagInfo.new
|
8043
|
+
taginfo_tmp.deserialize(i)
|
8044
|
+
@Tags << taginfo_tmp
|
8045
|
+
end
|
8046
|
+
end
|
7710
8047
|
@RequestId = params['RequestId']
|
7711
8048
|
end
|
7712
8049
|
end
|
@@ -7726,6 +8063,8 @@ module TencentCloud
|
|
7726
8063
|
# <li>DockerVersion- string - 是否必填:否 - docker版本搜索</li>
|
7727
8064
|
# <li>MachineType- string - 是否必填:否 - 主机来源MachineType搜索,"ALL":"全部"(或不传该字段),主机来源:["CVM", "ECM", "LH", "BM"] 中的之一为腾讯云服务器;["Other"]之一非腾讯云服务器;</li>
|
7728
8065
|
# <li>DockerStatus- string - 是否必填:否 - docker安装状态,"ALL":"全部"(或不传该字段),"INSTALL":"已安装","UNINSTALL":"未安装"</li>
|
8066
|
+
# <li>ProjectID- string - 是否必填:否 - 所属项目id搜索</li>
|
8067
|
+
# <li>Tag:xxx(tag:key)- string- 是否必填:否 - 标签键值搜索 示例Filters":[{"Name":"tag:tke-kind","Values":["service"]}]</li>
|
7729
8068
|
# @type Filters: Array
|
7730
8069
|
# @param By: 排序字段
|
7731
8070
|
# @type By: String
|
@@ -12780,306 +13119,696 @@ module TencentCloud
|
|
12780
13119
|
end
|
12781
13120
|
end
|
12782
13121
|
|
12783
|
-
#
|
12784
|
-
class
|
13122
|
+
# DescribeK8sApiAbnormalEventInfo请求参数结构体
|
13123
|
+
class DescribeK8sApiAbnormalEventInfoRequest < TencentCloud::Common::AbstractModel
|
13124
|
+
# @param ID: 事件ID
|
13125
|
+
# @type ID: Integer
|
12785
13126
|
|
13127
|
+
attr_accessor :ID
|
12786
13128
|
|
12787
|
-
def initialize()
|
13129
|
+
def initialize(id=nil)
|
13130
|
+
@ID = id
|
12788
13131
|
end
|
12789
13132
|
|
12790
13133
|
def deserialize(params)
|
13134
|
+
@ID = params['ID']
|
12791
13135
|
end
|
12792
13136
|
end
|
12793
13137
|
|
12794
|
-
#
|
12795
|
-
class
|
12796
|
-
# @param
|
12797
|
-
# @type
|
12798
|
-
# @param UsedSize: 已使用容量(单位:B)
|
12799
|
-
# @type UsedSize: Integer
|
13138
|
+
# DescribeK8sApiAbnormalEventInfo返回参数结构体
|
13139
|
+
class DescribeK8sApiAbnormalEventInfoResponse < TencentCloud::Common::AbstractModel
|
13140
|
+
# @param Info: 事件详情
|
13141
|
+
# @type Info: :class:`Tencentcloud::Tcss.v20201101.models.K8sApiAbnormalEventInfo`
|
12800
13142
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
12801
13143
|
# @type RequestId: String
|
12802
13144
|
|
12803
|
-
attr_accessor :
|
13145
|
+
attr_accessor :Info, :RequestId
|
12804
13146
|
|
12805
|
-
def initialize(
|
12806
|
-
@
|
12807
|
-
@UsedSize = usedsize
|
13147
|
+
def initialize(info=nil, requestid=nil)
|
13148
|
+
@Info = info
|
12808
13149
|
@RequestId = requestid
|
12809
13150
|
end
|
12810
13151
|
|
12811
13152
|
def deserialize(params)
|
12812
|
-
|
12813
|
-
|
13153
|
+
unless params['Info'].nil?
|
13154
|
+
@Info = K8sApiAbnormalEventInfo.new
|
13155
|
+
@Info.deserialize(params['Info'])
|
13156
|
+
end
|
12814
13157
|
@RequestId = params['RequestId']
|
12815
13158
|
end
|
12816
13159
|
end
|
12817
13160
|
|
12818
|
-
#
|
12819
|
-
class
|
12820
|
-
# @param
|
12821
|
-
#
|
12822
|
-
#
|
12823
|
-
#
|
12824
|
-
#
|
12825
|
-
#
|
13161
|
+
# DescribeK8sApiAbnormalEventList请求参数结构体
|
13162
|
+
class DescribeK8sApiAbnormalEventListRequest < TencentCloud::Common::AbstractModel
|
13163
|
+
# @param Filters: 过滤条件。
|
13164
|
+
# <li>TimeRange - string -是否必填: 否 - 时间范围筛选 ["2022-03-31 16:55:00", "2022-03-31 17:00:00"]</li>
|
13165
|
+
# <li>MatchRules - string - 是否必填: 否 -命中规则筛选</li>
|
13166
|
+
# <li>RiskLevel - string - 是否必填: 否 -威胁等级筛选</li>
|
13167
|
+
# <li>Status - string - 是否必填: 否 -事件状态筛选</li>
|
13168
|
+
# <li>MatchRuleType - string - 是否必填: 否 -命中规则类型筛选</li>
|
13169
|
+
# <li>ClusterRunningStatus - string - 是否必填: 否 -集群运行状态</li>
|
13170
|
+
# <li>ClusterName - string - 是否必填: 否 -集群名称</li>
|
13171
|
+
# <li>ClusterID - string - 是否必填: 否 -集群ID</li>
|
12826
13172
|
# @type Filters: Array
|
13173
|
+
# @param Limit: 需要返回的数量,默认为10,最大值为100
|
13174
|
+
# @type Limit: Integer
|
13175
|
+
# @param Offset: 偏移量,默认为0。
|
13176
|
+
# @type Offset: Integer
|
13177
|
+
# @param Order: 排序方式
|
13178
|
+
# @type Order: String
|
12827
13179
|
# @param By: 排序字段
|
13180
|
+
# LatestFoundTime: 最近生成时间
|
13181
|
+
# AlarmCount: 告警数量
|
12828
13182
|
# @type By: String
|
12829
|
-
# @param Order: 排序方式 asc,desc
|
12830
|
-
# @type Order: String
|
12831
13183
|
|
12832
|
-
attr_accessor :
|
13184
|
+
attr_accessor :Filters, :Limit, :Offset, :Order, :By
|
12833
13185
|
|
12834
|
-
def initialize(
|
12835
|
-
@Offset = offset
|
12836
|
-
@Limit = limit
|
13186
|
+
def initialize(filters=nil, limit=nil, offset=nil, order=nil, by=nil)
|
12837
13187
|
@Filters = filters
|
12838
|
-
@
|
13188
|
+
@Limit = limit
|
13189
|
+
@Offset = offset
|
12839
13190
|
@Order = order
|
13191
|
+
@By = by
|
12840
13192
|
end
|
12841
13193
|
|
12842
13194
|
def deserialize(params)
|
12843
|
-
@Offset = params['Offset']
|
12844
|
-
@Limit = params['Limit']
|
12845
13195
|
unless params['Filters'].nil?
|
12846
13196
|
@Filters = []
|
12847
13197
|
params['Filters'].each do |i|
|
12848
|
-
|
12849
|
-
|
12850
|
-
@Filters <<
|
13198
|
+
runtimefilters_tmp = RunTimeFilters.new
|
13199
|
+
runtimefilters_tmp.deserialize(i)
|
13200
|
+
@Filters << runtimefilters_tmp
|
12851
13201
|
end
|
12852
13202
|
end
|
12853
|
-
@
|
13203
|
+
@Limit = params['Limit']
|
13204
|
+
@Offset = params['Offset']
|
12854
13205
|
@Order = params['Order']
|
13206
|
+
@By = params['By']
|
12855
13207
|
end
|
12856
13208
|
end
|
12857
13209
|
|
12858
|
-
#
|
12859
|
-
class
|
12860
|
-
# @param
|
13210
|
+
# DescribeK8sApiAbnormalEventList返回参数结构体
|
13211
|
+
class DescribeK8sApiAbnormalEventListResponse < TencentCloud::Common::AbstractModel
|
13212
|
+
# @param List: 事件列表
|
13213
|
+
# @type List: Array
|
13214
|
+
# @param TotalCount: 总数量
|
12861
13215
|
# @type TotalCount: Integer
|
12862
|
-
# @param AuditList: 集群的审计详细信息
|
12863
|
-
# @type AuditList: Array
|
12864
13216
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
12865
13217
|
# @type RequestId: String
|
12866
13218
|
|
12867
|
-
attr_accessor :
|
13219
|
+
attr_accessor :List, :TotalCount, :RequestId
|
12868
13220
|
|
12869
|
-
def initialize(
|
13221
|
+
def initialize(list=nil, totalcount=nil, requestid=nil)
|
13222
|
+
@List = list
|
12870
13223
|
@TotalCount = totalcount
|
12871
|
-
@AuditList = auditlist
|
12872
13224
|
@RequestId = requestid
|
12873
13225
|
end
|
12874
13226
|
|
12875
13227
|
def deserialize(params)
|
12876
|
-
|
12877
|
-
|
12878
|
-
|
12879
|
-
|
12880
|
-
|
12881
|
-
|
12882
|
-
@AuditList << networkauditrecord_tmp
|
13228
|
+
unless params['List'].nil?
|
13229
|
+
@List = []
|
13230
|
+
params['List'].each do |i|
|
13231
|
+
k8sapiabnormaleventlistitem_tmp = K8sApiAbnormalEventListItem.new
|
13232
|
+
k8sapiabnormaleventlistitem_tmp.deserialize(i)
|
13233
|
+
@List << k8sapiabnormaleventlistitem_tmp
|
12883
13234
|
end
|
12884
13235
|
end
|
13236
|
+
@TotalCount = params['TotalCount']
|
12885
13237
|
@RequestId = params['RequestId']
|
12886
13238
|
end
|
12887
13239
|
end
|
12888
13240
|
|
12889
|
-
#
|
12890
|
-
class
|
12891
|
-
# @param
|
12892
|
-
# @type
|
12893
|
-
# @param Limit: 每次查询的最大记录数量
|
12894
|
-
# @type Limit: Integer
|
12895
|
-
# @param Filters: Name - String
|
12896
|
-
# Name 可取值:ClusterName,ClusterId,ClusterType,Region,ClusterCheckMode,ClusterAutoCheck
|
12897
|
-
# @type Filters: Array
|
12898
|
-
# @param By: 排序字段
|
12899
|
-
# @type By: String
|
12900
|
-
# @param Order: 排序方式 asc,desc
|
12901
|
-
# @type Order: String
|
13241
|
+
# DescribeK8sApiAbnormalRuleInfo请求参数结构体
|
13242
|
+
class DescribeK8sApiAbnormalRuleInfoRequest < TencentCloud::Common::AbstractModel
|
13243
|
+
# @param RuleID: 规则ID
|
13244
|
+
# @type RuleID: String
|
12902
13245
|
|
12903
|
-
attr_accessor :
|
13246
|
+
attr_accessor :RuleID
|
12904
13247
|
|
12905
|
-
def initialize(
|
12906
|
-
@
|
12907
|
-
@Limit = limit
|
12908
|
-
@Filters = filters
|
12909
|
-
@By = by
|
12910
|
-
@Order = order
|
13248
|
+
def initialize(ruleid=nil)
|
13249
|
+
@RuleID = ruleid
|
12911
13250
|
end
|
12912
13251
|
|
12913
13252
|
def deserialize(params)
|
12914
|
-
@
|
12915
|
-
@Limit = params['Limit']
|
12916
|
-
unless params['Filters'].nil?
|
12917
|
-
@Filters = []
|
12918
|
-
params['Filters'].each do |i|
|
12919
|
-
compliancefilters_tmp = ComplianceFilters.new
|
12920
|
-
compliancefilters_tmp.deserialize(i)
|
12921
|
-
@Filters << compliancefilters_tmp
|
12922
|
-
end
|
12923
|
-
end
|
12924
|
-
@By = params['By']
|
12925
|
-
@Order = params['Order']
|
13253
|
+
@RuleID = params['RuleID']
|
12926
13254
|
end
|
12927
13255
|
end
|
12928
13256
|
|
12929
|
-
#
|
12930
|
-
class
|
12931
|
-
# @param
|
12932
|
-
# @type
|
12933
|
-
# @param ClusterInfoList: 集群的详细信息
|
12934
|
-
# @type ClusterInfoList: Array
|
13257
|
+
# DescribeK8sApiAbnormalRuleInfo返回参数结构体
|
13258
|
+
class DescribeK8sApiAbnormalRuleInfoResponse < TencentCloud::Common::AbstractModel
|
13259
|
+
# @param Info: 规则详情
|
13260
|
+
# @type Info: :class:`Tencentcloud::Tcss.v20201101.models.K8sApiAbnormalRuleInfo`
|
12935
13261
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
12936
13262
|
# @type RequestId: String
|
12937
13263
|
|
12938
|
-
attr_accessor :
|
13264
|
+
attr_accessor :Info, :RequestId
|
12939
13265
|
|
12940
|
-
def initialize(
|
12941
|
-
@
|
12942
|
-
@ClusterInfoList = clusterinfolist
|
13266
|
+
def initialize(info=nil, requestid=nil)
|
13267
|
+
@Info = info
|
12943
13268
|
@RequestId = requestid
|
12944
13269
|
end
|
12945
13270
|
|
12946
13271
|
def deserialize(params)
|
12947
|
-
|
12948
|
-
|
12949
|
-
@
|
12950
|
-
params['ClusterInfoList'].each do |i|
|
12951
|
-
networkclusterinfoitem_tmp = NetworkClusterInfoItem.new
|
12952
|
-
networkclusterinfoitem_tmp.deserialize(i)
|
12953
|
-
@ClusterInfoList << networkclusterinfoitem_tmp
|
12954
|
-
end
|
13272
|
+
unless params['Info'].nil?
|
13273
|
+
@Info = K8sApiAbnormalRuleInfo.new
|
13274
|
+
@Info.deserialize(params['Info'])
|
12955
13275
|
end
|
12956
13276
|
@RequestId = params['RequestId']
|
12957
13277
|
end
|
12958
13278
|
end
|
12959
13279
|
|
12960
|
-
#
|
12961
|
-
class
|
12962
|
-
# @param
|
12963
|
-
#
|
13280
|
+
# DescribeK8sApiAbnormalRuleList请求参数结构体
|
13281
|
+
class DescribeK8sApiAbnormalRuleListRequest < TencentCloud::Common::AbstractModel
|
13282
|
+
# @param Filters: 过滤条件。
|
13283
|
+
# <li>RuleType - string - 是否必填: 否 -规则类型</li>
|
13284
|
+
# <li>Status - string - 是否必填: 否 -状态</li>
|
13285
|
+
# @type Filters: Array
|
13286
|
+
# @param Limit: 需要返回的数量,默认为10,最大值为100
|
13287
|
+
# @type Limit: Integer
|
13288
|
+
# @param Offset: 偏移量,默认为0。
|
13289
|
+
# @type Offset: Integer
|
13290
|
+
# @param Order: 排序方式
|
13291
|
+
# @type Order: String
|
13292
|
+
# @param By: 排序字段。
|
13293
|
+
# <li>UpdateTime - string - 是否必填: 否 -最后更新时间</li>
|
13294
|
+
# <li>EffectClusterCount - string - 是否必填: 否 -影响集群数</li>
|
13295
|
+
# @type By: String
|
12964
13296
|
|
12965
|
-
attr_accessor :
|
13297
|
+
attr_accessor :Filters, :Limit, :Offset, :Order, :By
|
12966
13298
|
|
12967
|
-
def initialize(
|
12968
|
-
@
|
13299
|
+
def initialize(filters=nil, limit=nil, offset=nil, order=nil, by=nil)
|
13300
|
+
@Filters = filters
|
13301
|
+
@Limit = limit
|
13302
|
+
@Offset = offset
|
13303
|
+
@Order = order
|
13304
|
+
@By = by
|
12969
13305
|
end
|
12970
13306
|
|
12971
13307
|
def deserialize(params)
|
12972
|
-
|
13308
|
+
unless params['Filters'].nil?
|
13309
|
+
@Filters = []
|
13310
|
+
params['Filters'].each do |i|
|
13311
|
+
runtimefilters_tmp = RunTimeFilters.new
|
13312
|
+
runtimefilters_tmp.deserialize(i)
|
13313
|
+
@Filters << runtimefilters_tmp
|
13314
|
+
end
|
13315
|
+
end
|
13316
|
+
@Limit = params['Limit']
|
13317
|
+
@Offset = params['Offset']
|
13318
|
+
@Order = params['Order']
|
13319
|
+
@By = params['By']
|
12973
13320
|
end
|
12974
13321
|
end
|
12975
13322
|
|
12976
|
-
#
|
12977
|
-
class
|
12978
|
-
# @param
|
12979
|
-
# @type
|
13323
|
+
# DescribeK8sApiAbnormalRuleList返回参数结构体
|
13324
|
+
class DescribeK8sApiAbnormalRuleListResponse < TencentCloud::Common::AbstractModel
|
13325
|
+
# @param List: 规则列表
|
13326
|
+
# @type List: Array
|
13327
|
+
# @param TotalCount: 总数量
|
13328
|
+
# @type TotalCount: Integer
|
12980
13329
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
12981
13330
|
# @type RequestId: String
|
12982
13331
|
|
12983
|
-
attr_accessor :
|
13332
|
+
attr_accessor :List, :TotalCount, :RequestId
|
12984
13333
|
|
12985
|
-
def initialize(
|
12986
|
-
@
|
13334
|
+
def initialize(list=nil, totalcount=nil, requestid=nil)
|
13335
|
+
@List = list
|
13336
|
+
@TotalCount = totalcount
|
12987
13337
|
@RequestId = requestid
|
12988
13338
|
end
|
12989
13339
|
|
12990
13340
|
def deserialize(params)
|
12991
|
-
|
13341
|
+
unless params['List'].nil?
|
13342
|
+
@List = []
|
13343
|
+
params['List'].each do |i|
|
13344
|
+
k8sapiabnormalrulelistitem_tmp = K8sApiAbnormalRuleListItem.new
|
13345
|
+
k8sapiabnormalrulelistitem_tmp.deserialize(i)
|
13346
|
+
@List << k8sapiabnormalrulelistitem_tmp
|
13347
|
+
end
|
13348
|
+
end
|
13349
|
+
@TotalCount = params['TotalCount']
|
12992
13350
|
@RequestId = params['RequestId']
|
12993
13351
|
end
|
12994
13352
|
end
|
12995
13353
|
|
12996
|
-
#
|
12997
|
-
class
|
12998
|
-
# @param
|
12999
|
-
# @type
|
13354
|
+
# DescribeK8sApiAbnormalRuleScopeList请求参数结构体
|
13355
|
+
class DescribeK8sApiAbnormalRuleScopeListRequest < TencentCloud::Common::AbstractModel
|
13356
|
+
# @param RuleID: 规则ID
|
13357
|
+
# @type RuleID: String
|
13000
13358
|
# @param Offset: 偏移量
|
13001
13359
|
# @type Offset: Integer
|
13002
|
-
# @param Limit:
|
13360
|
+
# @param Limit: 需要返回的数量,默认为10,最大值为100
|
13003
13361
|
# @type Limit: Integer
|
13004
|
-
# @param Filters:
|
13005
|
-
#
|
13362
|
+
# @param Filters: 过滤条件。
|
13363
|
+
# <li>Action - string -是否必填: 否 - 执行动作</li>
|
13364
|
+
# <li>RiskLevel - string - 是否必填: 否 -威胁等级筛选</li>
|
13006
13365
|
# @type Filters: Array
|
13007
|
-
# @param By: 排序字段
|
13008
|
-
# @type By: String
|
13009
|
-
# @param Order: 排序方式 asc,desc
|
13010
|
-
# @type Order: String
|
13011
13366
|
|
13012
|
-
attr_accessor :
|
13367
|
+
attr_accessor :RuleID, :Offset, :Limit, :Filters
|
13013
13368
|
|
13014
|
-
def initialize(
|
13015
|
-
@
|
13369
|
+
def initialize(ruleid=nil, offset=nil, limit=nil, filters=nil)
|
13370
|
+
@RuleID = ruleid
|
13016
13371
|
@Offset = offset
|
13017
13372
|
@Limit = limit
|
13018
13373
|
@Filters = filters
|
13019
|
-
@By = by
|
13020
|
-
@Order = order
|
13021
13374
|
end
|
13022
13375
|
|
13023
13376
|
def deserialize(params)
|
13024
|
-
@
|
13377
|
+
@RuleID = params['RuleID']
|
13025
13378
|
@Offset = params['Offset']
|
13026
13379
|
@Limit = params['Limit']
|
13027
13380
|
unless params['Filters'].nil?
|
13028
13381
|
@Filters = []
|
13029
13382
|
params['Filters'].each do |i|
|
13030
|
-
|
13031
|
-
|
13032
|
-
@Filters <<
|
13383
|
+
runtimefilters_tmp = RunTimeFilters.new
|
13384
|
+
runtimefilters_tmp.deserialize(i)
|
13385
|
+
@Filters << runtimefilters_tmp
|
13033
13386
|
end
|
13034
13387
|
end
|
13035
|
-
@By = params['By']
|
13036
|
-
@Order = params['Order']
|
13037
13388
|
end
|
13038
13389
|
end
|
13039
13390
|
|
13040
|
-
#
|
13041
|
-
class
|
13042
|
-
# @param TotalCount:
|
13391
|
+
# DescribeK8sApiAbnormalRuleScopeList返回参数结构体
|
13392
|
+
class DescribeK8sApiAbnormalRuleScopeListResponse < TencentCloud::Common::AbstractModel
|
13393
|
+
# @param TotalCount: 总数
|
13043
13394
|
# @type TotalCount: Integer
|
13044
|
-
# @param
|
13045
|
-
# @type
|
13395
|
+
# @param List: 列表
|
13396
|
+
# @type List: Array
|
13046
13397
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
13047
13398
|
# @type RequestId: String
|
13048
13399
|
|
13049
|
-
attr_accessor :TotalCount, :
|
13400
|
+
attr_accessor :TotalCount, :List, :RequestId
|
13050
13401
|
|
13051
|
-
def initialize(totalcount=nil,
|
13402
|
+
def initialize(totalcount=nil, list=nil, requestid=nil)
|
13052
13403
|
@TotalCount = totalcount
|
13053
|
-
@
|
13404
|
+
@List = list
|
13054
13405
|
@RequestId = requestid
|
13055
13406
|
end
|
13056
13407
|
|
13057
13408
|
def deserialize(params)
|
13058
13409
|
@TotalCount = params['TotalCount']
|
13059
|
-
unless params['
|
13060
|
-
@
|
13061
|
-
params['
|
13062
|
-
|
13063
|
-
|
13064
|
-
@
|
13410
|
+
unless params['List'].nil?
|
13411
|
+
@List = []
|
13412
|
+
params['List'].each do |i|
|
13413
|
+
k8sapiabnormalrulescopeinfo_tmp = K8sApiAbnormalRuleScopeInfo.new
|
13414
|
+
k8sapiabnormalrulescopeinfo_tmp.deserialize(i)
|
13415
|
+
@List << k8sapiabnormalrulescopeinfo_tmp
|
13065
13416
|
end
|
13066
13417
|
end
|
13067
13418
|
@RequestId = params['RequestId']
|
13068
13419
|
end
|
13069
13420
|
end
|
13070
13421
|
|
13071
|
-
#
|
13072
|
-
class
|
13073
|
-
|
13074
|
-
|
13075
|
-
|
13076
|
-
|
13077
|
-
|
13078
|
-
|
13079
|
-
|
13080
|
-
|
13081
|
-
|
13082
|
-
|
13422
|
+
# DescribeK8sApiAbnormalSummary请求参数结构体
|
13423
|
+
class DescribeK8sApiAbnormalSummaryRequest < TencentCloud::Common::AbstractModel
|
13424
|
+
|
13425
|
+
|
13426
|
+
def initialize()
|
13427
|
+
end
|
13428
|
+
|
13429
|
+
def deserialize(params)
|
13430
|
+
end
|
13431
|
+
end
|
13432
|
+
|
13433
|
+
# DescribeK8sApiAbnormalSummary返回参数结构体
|
13434
|
+
class DescribeK8sApiAbnormalSummaryResponse < TencentCloud::Common::AbstractModel
|
13435
|
+
# @param UnhandleEventCount: 待处理事件个数
|
13436
|
+
# @type UnhandleEventCount: Integer
|
13437
|
+
# @param UnhandleHighLevelEventCount: 待处理高危事件个数
|
13438
|
+
# @type UnhandleHighLevelEventCount: Integer
|
13439
|
+
# @param UnhandleMediumLevelEventCount: 待处理中危事件个数
|
13440
|
+
# @type UnhandleMediumLevelEventCount: Integer
|
13441
|
+
# @param UnhandleLowLevelEventCount: 待处理低危事件个数
|
13442
|
+
# @type UnhandleLowLevelEventCount: Integer
|
13443
|
+
# @param UnhandleNoticeLevelEventCount: 待处理提示级别事件个数
|
13444
|
+
# @type UnhandleNoticeLevelEventCount: Integer
|
13445
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
13446
|
+
# @type RequestId: String
|
13447
|
+
|
13448
|
+
attr_accessor :UnhandleEventCount, :UnhandleHighLevelEventCount, :UnhandleMediumLevelEventCount, :UnhandleLowLevelEventCount, :UnhandleNoticeLevelEventCount, :RequestId
|
13449
|
+
|
13450
|
+
def initialize(unhandleeventcount=nil, unhandlehighleveleventcount=nil, unhandlemediumleveleventcount=nil, unhandlelowleveleventcount=nil, unhandlenoticeleveleventcount=nil, requestid=nil)
|
13451
|
+
@UnhandleEventCount = unhandleeventcount
|
13452
|
+
@UnhandleHighLevelEventCount = unhandlehighleveleventcount
|
13453
|
+
@UnhandleMediumLevelEventCount = unhandlemediumleveleventcount
|
13454
|
+
@UnhandleLowLevelEventCount = unhandlelowleveleventcount
|
13455
|
+
@UnhandleNoticeLevelEventCount = unhandlenoticeleveleventcount
|
13456
|
+
@RequestId = requestid
|
13457
|
+
end
|
13458
|
+
|
13459
|
+
def deserialize(params)
|
13460
|
+
@UnhandleEventCount = params['UnhandleEventCount']
|
13461
|
+
@UnhandleHighLevelEventCount = params['UnhandleHighLevelEventCount']
|
13462
|
+
@UnhandleMediumLevelEventCount = params['UnhandleMediumLevelEventCount']
|
13463
|
+
@UnhandleLowLevelEventCount = params['UnhandleLowLevelEventCount']
|
13464
|
+
@UnhandleNoticeLevelEventCount = params['UnhandleNoticeLevelEventCount']
|
13465
|
+
@RequestId = params['RequestId']
|
13466
|
+
end
|
13467
|
+
end
|
13468
|
+
|
13469
|
+
# DescribeK8sApiAbnormalTendency请求参数结构体
|
13470
|
+
class DescribeK8sApiAbnormalTendencyRequest < TencentCloud::Common::AbstractModel
|
13471
|
+
# @param TendencyPeriod: 趋势周期(默认为7天)
|
13472
|
+
# @type TendencyPeriod: Integer
|
13473
|
+
|
13474
|
+
attr_accessor :TendencyPeriod
|
13475
|
+
|
13476
|
+
def initialize(tendencyperiod=nil)
|
13477
|
+
@TendencyPeriod = tendencyperiod
|
13478
|
+
end
|
13479
|
+
|
13480
|
+
def deserialize(params)
|
13481
|
+
@TendencyPeriod = params['TendencyPeriod']
|
13482
|
+
end
|
13483
|
+
end
|
13484
|
+
|
13485
|
+
# DescribeK8sApiAbnormalTendency返回参数结构体
|
13486
|
+
class DescribeK8sApiAbnormalTendencyResponse < TencentCloud::Common::AbstractModel
|
13487
|
+
# @param List: 趋势列表
|
13488
|
+
# @type List: Array
|
13489
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
13490
|
+
# @type RequestId: String
|
13491
|
+
|
13492
|
+
attr_accessor :List, :RequestId
|
13493
|
+
|
13494
|
+
def initialize(list=nil, requestid=nil)
|
13495
|
+
@List = list
|
13496
|
+
@RequestId = requestid
|
13497
|
+
end
|
13498
|
+
|
13499
|
+
def deserialize(params)
|
13500
|
+
unless params['List'].nil?
|
13501
|
+
@List = []
|
13502
|
+
params['List'].each do |i|
|
13503
|
+
k8sapiabnormaltendencyitem_tmp = K8sApiAbnormalTendencyItem.new
|
13504
|
+
k8sapiabnormaltendencyitem_tmp.deserialize(i)
|
13505
|
+
@List << k8sapiabnormaltendencyitem_tmp
|
13506
|
+
end
|
13507
|
+
end
|
13508
|
+
@RequestId = params['RequestId']
|
13509
|
+
end
|
13510
|
+
end
|
13511
|
+
|
13512
|
+
# DescribeLogStorageStatistic请求参数结构体
|
13513
|
+
class DescribeLogStorageStatisticRequest < TencentCloud::Common::AbstractModel
|
13514
|
+
|
13515
|
+
|
13516
|
+
def initialize()
|
13517
|
+
end
|
13518
|
+
|
13519
|
+
def deserialize(params)
|
13520
|
+
end
|
13521
|
+
end
|
13522
|
+
|
13523
|
+
# DescribeLogStorageStatistic返回参数结构体
|
13524
|
+
class DescribeLogStorageStatisticResponse < TencentCloud::Common::AbstractModel
|
13525
|
+
# @param TotalSize: 总容量(单位:B)
|
13526
|
+
# @type TotalSize: Integer
|
13527
|
+
# @param UsedSize: 已使用容量(单位:B)
|
13528
|
+
# @type UsedSize: Integer
|
13529
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
13530
|
+
# @type RequestId: String
|
13531
|
+
|
13532
|
+
attr_accessor :TotalSize, :UsedSize, :RequestId
|
13533
|
+
|
13534
|
+
def initialize(totalsize=nil, usedsize=nil, requestid=nil)
|
13535
|
+
@TotalSize = totalsize
|
13536
|
+
@UsedSize = usedsize
|
13537
|
+
@RequestId = requestid
|
13538
|
+
end
|
13539
|
+
|
13540
|
+
def deserialize(params)
|
13541
|
+
@TotalSize = params['TotalSize']
|
13542
|
+
@UsedSize = params['UsedSize']
|
13543
|
+
@RequestId = params['RequestId']
|
13544
|
+
end
|
13545
|
+
end
|
13546
|
+
|
13547
|
+
# DescribeNetworkFirewallAuditRecord请求参数结构体
|
13548
|
+
class DescribeNetworkFirewallAuditRecordRequest < TencentCloud::Common::AbstractModel
|
13549
|
+
# @param Offset: 偏移量
|
13550
|
+
# @type Offset: Integer
|
13551
|
+
# @param Limit: 每次查询的最大记录数量
|
13552
|
+
# @type Limit: Integer
|
13553
|
+
# @param Filters: Name - Action
|
13554
|
+
# Name 可取值:publish,unpublish,confirm,add,update,delete
|
13555
|
+
# @type Filters: Array
|
13556
|
+
# @param By: 排序字段
|
13557
|
+
# @type By: String
|
13558
|
+
# @param Order: 排序方式 asc,desc
|
13559
|
+
# @type Order: String
|
13560
|
+
|
13561
|
+
attr_accessor :Offset, :Limit, :Filters, :By, :Order
|
13562
|
+
|
13563
|
+
def initialize(offset=nil, limit=nil, filters=nil, by=nil, order=nil)
|
13564
|
+
@Offset = offset
|
13565
|
+
@Limit = limit
|
13566
|
+
@Filters = filters
|
13567
|
+
@By = by
|
13568
|
+
@Order = order
|
13569
|
+
end
|
13570
|
+
|
13571
|
+
def deserialize(params)
|
13572
|
+
@Offset = params['Offset']
|
13573
|
+
@Limit = params['Limit']
|
13574
|
+
unless params['Filters'].nil?
|
13575
|
+
@Filters = []
|
13576
|
+
params['Filters'].each do |i|
|
13577
|
+
compliancefilters_tmp = ComplianceFilters.new
|
13578
|
+
compliancefilters_tmp.deserialize(i)
|
13579
|
+
@Filters << compliancefilters_tmp
|
13580
|
+
end
|
13581
|
+
end
|
13582
|
+
@By = params['By']
|
13583
|
+
@Order = params['Order']
|
13584
|
+
end
|
13585
|
+
end
|
13586
|
+
|
13587
|
+
# DescribeNetworkFirewallAuditRecord返回参数结构体
|
13588
|
+
class DescribeNetworkFirewallAuditRecordResponse < TencentCloud::Common::AbstractModel
|
13589
|
+
# @param TotalCount: 集群审计总数
|
13590
|
+
# @type TotalCount: Integer
|
13591
|
+
# @param AuditList: 集群的审计详细信息
|
13592
|
+
# @type AuditList: Array
|
13593
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
13594
|
+
# @type RequestId: String
|
13595
|
+
|
13596
|
+
attr_accessor :TotalCount, :AuditList, :RequestId
|
13597
|
+
|
13598
|
+
def initialize(totalcount=nil, auditlist=nil, requestid=nil)
|
13599
|
+
@TotalCount = totalcount
|
13600
|
+
@AuditList = auditlist
|
13601
|
+
@RequestId = requestid
|
13602
|
+
end
|
13603
|
+
|
13604
|
+
def deserialize(params)
|
13605
|
+
@TotalCount = params['TotalCount']
|
13606
|
+
unless params['AuditList'].nil?
|
13607
|
+
@AuditList = []
|
13608
|
+
params['AuditList'].each do |i|
|
13609
|
+
networkauditrecord_tmp = NetworkAuditRecord.new
|
13610
|
+
networkauditrecord_tmp.deserialize(i)
|
13611
|
+
@AuditList << networkauditrecord_tmp
|
13612
|
+
end
|
13613
|
+
end
|
13614
|
+
@RequestId = params['RequestId']
|
13615
|
+
end
|
13616
|
+
end
|
13617
|
+
|
13618
|
+
# DescribeNetworkFirewallClusterList请求参数结构体
|
13619
|
+
class DescribeNetworkFirewallClusterListRequest < TencentCloud::Common::AbstractModel
|
13620
|
+
# @param Offset: 偏移量
|
13621
|
+
# @type Offset: Integer
|
13622
|
+
# @param Limit: 每次查询的最大记录数量
|
13623
|
+
# @type Limit: Integer
|
13624
|
+
# @param Filters: Name - String
|
13625
|
+
# Name 可取值:ClusterName,ClusterId,ClusterType,Region,ClusterCheckMode,ClusterAutoCheck
|
13626
|
+
# @type Filters: Array
|
13627
|
+
# @param By: 排序字段
|
13628
|
+
# @type By: String
|
13629
|
+
# @param Order: 排序方式 asc,desc
|
13630
|
+
# @type Order: String
|
13631
|
+
|
13632
|
+
attr_accessor :Offset, :Limit, :Filters, :By, :Order
|
13633
|
+
|
13634
|
+
def initialize(offset=nil, limit=nil, filters=nil, by=nil, order=nil)
|
13635
|
+
@Offset = offset
|
13636
|
+
@Limit = limit
|
13637
|
+
@Filters = filters
|
13638
|
+
@By = by
|
13639
|
+
@Order = order
|
13640
|
+
end
|
13641
|
+
|
13642
|
+
def deserialize(params)
|
13643
|
+
@Offset = params['Offset']
|
13644
|
+
@Limit = params['Limit']
|
13645
|
+
unless params['Filters'].nil?
|
13646
|
+
@Filters = []
|
13647
|
+
params['Filters'].each do |i|
|
13648
|
+
compliancefilters_tmp = ComplianceFilters.new
|
13649
|
+
compliancefilters_tmp.deserialize(i)
|
13650
|
+
@Filters << compliancefilters_tmp
|
13651
|
+
end
|
13652
|
+
end
|
13653
|
+
@By = params['By']
|
13654
|
+
@Order = params['Order']
|
13655
|
+
end
|
13656
|
+
end
|
13657
|
+
|
13658
|
+
# DescribeNetworkFirewallClusterList返回参数结构体
|
13659
|
+
class DescribeNetworkFirewallClusterListResponse < TencentCloud::Common::AbstractModel
|
13660
|
+
# @param TotalCount: 集群总数
|
13661
|
+
# @type TotalCount: Integer
|
13662
|
+
# @param ClusterInfoList: 集群的详细信息
|
13663
|
+
# @type ClusterInfoList: Array
|
13664
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
13665
|
+
# @type RequestId: String
|
13666
|
+
|
13667
|
+
attr_accessor :TotalCount, :ClusterInfoList, :RequestId
|
13668
|
+
|
13669
|
+
def initialize(totalcount=nil, clusterinfolist=nil, requestid=nil)
|
13670
|
+
@TotalCount = totalcount
|
13671
|
+
@ClusterInfoList = clusterinfolist
|
13672
|
+
@RequestId = requestid
|
13673
|
+
end
|
13674
|
+
|
13675
|
+
def deserialize(params)
|
13676
|
+
@TotalCount = params['TotalCount']
|
13677
|
+
unless params['ClusterInfoList'].nil?
|
13678
|
+
@ClusterInfoList = []
|
13679
|
+
params['ClusterInfoList'].each do |i|
|
13680
|
+
networkclusterinfoitem_tmp = NetworkClusterInfoItem.new
|
13681
|
+
networkclusterinfoitem_tmp.deserialize(i)
|
13682
|
+
@ClusterInfoList << networkclusterinfoitem_tmp
|
13683
|
+
end
|
13684
|
+
end
|
13685
|
+
@RequestId = params['RequestId']
|
13686
|
+
end
|
13687
|
+
end
|
13688
|
+
|
13689
|
+
# DescribeNetworkFirewallClusterRefreshStatus请求参数结构体
|
13690
|
+
class DescribeNetworkFirewallClusterRefreshStatusRequest < TencentCloud::Common::AbstractModel
|
13691
|
+
# @param TaskId: 任务ID
|
13692
|
+
# @type TaskId: Integer
|
13693
|
+
|
13694
|
+
attr_accessor :TaskId
|
13695
|
+
|
13696
|
+
def initialize(taskid=nil)
|
13697
|
+
@TaskId = taskid
|
13698
|
+
end
|
13699
|
+
|
13700
|
+
def deserialize(params)
|
13701
|
+
@TaskId = params['TaskId']
|
13702
|
+
end
|
13703
|
+
end
|
13704
|
+
|
13705
|
+
# DescribeNetworkFirewallClusterRefreshStatus返回参数结构体
|
13706
|
+
class DescribeNetworkFirewallClusterRefreshStatusResponse < TencentCloud::Common::AbstractModel
|
13707
|
+
# @param TaskStatus: 任务状态,可能为:Task_Running,Task_Succ,Task_Error,Task_NoExist
|
13708
|
+
# @type TaskStatus: String
|
13709
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
13710
|
+
# @type RequestId: String
|
13711
|
+
|
13712
|
+
attr_accessor :TaskStatus, :RequestId
|
13713
|
+
|
13714
|
+
def initialize(taskstatus=nil, requestid=nil)
|
13715
|
+
@TaskStatus = taskstatus
|
13716
|
+
@RequestId = requestid
|
13717
|
+
end
|
13718
|
+
|
13719
|
+
def deserialize(params)
|
13720
|
+
@TaskStatus = params['TaskStatus']
|
13721
|
+
@RequestId = params['RequestId']
|
13722
|
+
end
|
13723
|
+
end
|
13724
|
+
|
13725
|
+
# DescribeNetworkFirewallNamespaceLabelList请求参数结构体
|
13726
|
+
class DescribeNetworkFirewallNamespaceLabelListRequest < TencentCloud::Common::AbstractModel
|
13727
|
+
# @param ClusterId: 集群id
|
13728
|
+
# @type ClusterId: String
|
13729
|
+
# @param Offset: 偏移量
|
13730
|
+
# @type Offset: Integer
|
13731
|
+
# @param Limit: 每次查询的最大记录数量
|
13732
|
+
# @type Limit: Integer
|
13733
|
+
# @param Filters: Name - String
|
13734
|
+
# Name 可取值:ClusterName,ClusterId,ClusterType,Region,ClusterCheckMode,ClusterAutoCheck
|
13735
|
+
# @type Filters: Array
|
13736
|
+
# @param By: 排序字段
|
13737
|
+
# @type By: String
|
13738
|
+
# @param Order: 排序方式 asc,desc
|
13739
|
+
# @type Order: String
|
13740
|
+
|
13741
|
+
attr_accessor :ClusterId, :Offset, :Limit, :Filters, :By, :Order
|
13742
|
+
|
13743
|
+
def initialize(clusterid=nil, offset=nil, limit=nil, filters=nil, by=nil, order=nil)
|
13744
|
+
@ClusterId = clusterid
|
13745
|
+
@Offset = offset
|
13746
|
+
@Limit = limit
|
13747
|
+
@Filters = filters
|
13748
|
+
@By = by
|
13749
|
+
@Order = order
|
13750
|
+
end
|
13751
|
+
|
13752
|
+
def deserialize(params)
|
13753
|
+
@ClusterId = params['ClusterId']
|
13754
|
+
@Offset = params['Offset']
|
13755
|
+
@Limit = params['Limit']
|
13756
|
+
unless params['Filters'].nil?
|
13757
|
+
@Filters = []
|
13758
|
+
params['Filters'].each do |i|
|
13759
|
+
compliancefilters_tmp = ComplianceFilters.new
|
13760
|
+
compliancefilters_tmp.deserialize(i)
|
13761
|
+
@Filters << compliancefilters_tmp
|
13762
|
+
end
|
13763
|
+
end
|
13764
|
+
@By = params['By']
|
13765
|
+
@Order = params['Order']
|
13766
|
+
end
|
13767
|
+
end
|
13768
|
+
|
13769
|
+
# DescribeNetworkFirewallNamespaceLabelList返回参数结构体
|
13770
|
+
class DescribeNetworkFirewallNamespaceLabelListResponse < TencentCloud::Common::AbstractModel
|
13771
|
+
# @param TotalCount: 集群总数
|
13772
|
+
# @type TotalCount: Integer
|
13773
|
+
# @param ClusterNamespaceLabelList: 集群空间标签详细信息
|
13774
|
+
# @type ClusterNamespaceLabelList: Array
|
13775
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
13776
|
+
# @type RequestId: String
|
13777
|
+
|
13778
|
+
attr_accessor :TotalCount, :ClusterNamespaceLabelList, :RequestId
|
13779
|
+
|
13780
|
+
def initialize(totalcount=nil, clusternamespacelabellist=nil, requestid=nil)
|
13781
|
+
@TotalCount = totalcount
|
13782
|
+
@ClusterNamespaceLabelList = clusternamespacelabellist
|
13783
|
+
@RequestId = requestid
|
13784
|
+
end
|
13785
|
+
|
13786
|
+
def deserialize(params)
|
13787
|
+
@TotalCount = params['TotalCount']
|
13788
|
+
unless params['ClusterNamespaceLabelList'].nil?
|
13789
|
+
@ClusterNamespaceLabelList = []
|
13790
|
+
params['ClusterNamespaceLabelList'].each do |i|
|
13791
|
+
networkclusternamespacelabelinfo_tmp = NetworkClusterNamespaceLabelInfo.new
|
13792
|
+
networkclusternamespacelabelinfo_tmp.deserialize(i)
|
13793
|
+
@ClusterNamespaceLabelList << networkclusternamespacelabelinfo_tmp
|
13794
|
+
end
|
13795
|
+
end
|
13796
|
+
@RequestId = params['RequestId']
|
13797
|
+
end
|
13798
|
+
end
|
13799
|
+
|
13800
|
+
# DescribeNetworkFirewallNamespaceList请求参数结构体
|
13801
|
+
class DescribeNetworkFirewallNamespaceListRequest < TencentCloud::Common::AbstractModel
|
13802
|
+
# @param ClusterId: 集群id
|
13803
|
+
# @type ClusterId: String
|
13804
|
+
# @param Offset: 偏移量
|
13805
|
+
# @type Offset: Integer
|
13806
|
+
# @param Limit: 每次查询的最大记录数量
|
13807
|
+
# @type Limit: Integer
|
13808
|
+
# @param Filters: Name - String
|
13809
|
+
# Name 可取值:ClusterName,ClusterId,ClusterType,Region,ClusterCheckMode,ClusterAutoCheck
|
13810
|
+
# @type Filters: Array
|
13811
|
+
# @param By: 排序字段
|
13083
13812
|
# @type By: String
|
13084
13813
|
# @param Order: 排序方式 asc,desc
|
13085
13814
|
# @type Order: String
|
@@ -18901,10 +19630,16 @@ module TencentCloud
|
|
18901
19630
|
# @type InstanceID: String
|
18902
19631
|
# @param RegionID: 地域ID
|
18903
19632
|
# @type RegionID: Integer
|
19633
|
+
# @param Project: 所属项目
|
19634
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
19635
|
+
# @type Project: :class:`Tencentcloud::Tcss.v20201101.models.ProjectInfo`
|
19636
|
+
# @param Tags: 标签
|
19637
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
19638
|
+
# @type Tags: Array
|
18904
19639
|
|
18905
|
-
attr_accessor :HostID, :HostIP, :HostName, :Group, :DockerVersion, :DockerFileSystemDriver, :ImageCnt, :ContainerCnt, :Status, :IsContainerd, :MachineType, :PublicIp, :Uuid, :InstanceID, :RegionID
|
19640
|
+
attr_accessor :HostID, :HostIP, :HostName, :Group, :DockerVersion, :DockerFileSystemDriver, :ImageCnt, :ContainerCnt, :Status, :IsContainerd, :MachineType, :PublicIp, :Uuid, :InstanceID, :RegionID, :Project, :Tags
|
18906
19641
|
|
18907
|
-
def initialize(hostid=nil, hostip=nil, hostname=nil, group=nil, dockerversion=nil, dockerfilesystemdriver=nil, imagecnt=nil, containercnt=nil, status=nil, iscontainerd=nil, machinetype=nil, publicip=nil, uuid=nil, instanceid=nil, regionid=nil)
|
19642
|
+
def initialize(hostid=nil, hostip=nil, hostname=nil, group=nil, dockerversion=nil, dockerfilesystemdriver=nil, imagecnt=nil, containercnt=nil, status=nil, iscontainerd=nil, machinetype=nil, publicip=nil, uuid=nil, instanceid=nil, regionid=nil, project=nil, tags=nil)
|
18908
19643
|
@HostID = hostid
|
18909
19644
|
@HostIP = hostip
|
18910
19645
|
@HostName = hostname
|
@@ -18920,6 +19655,8 @@ module TencentCloud
|
|
18920
19655
|
@Uuid = uuid
|
18921
19656
|
@InstanceID = instanceid
|
18922
19657
|
@RegionID = regionid
|
19658
|
+
@Project = project
|
19659
|
+
@Tags = tags
|
18923
19660
|
end
|
18924
19661
|
|
18925
19662
|
def deserialize(params)
|
@@ -18938,6 +19675,18 @@ module TencentCloud
|
|
18938
19675
|
@Uuid = params['Uuid']
|
18939
19676
|
@InstanceID = params['InstanceID']
|
18940
19677
|
@RegionID = params['RegionID']
|
19678
|
+
unless params['Project'].nil?
|
19679
|
+
@Project = ProjectInfo.new
|
19680
|
+
@Project.deserialize(params['Project'])
|
19681
|
+
end
|
19682
|
+
unless params['Tags'].nil?
|
19683
|
+
@Tags = []
|
19684
|
+
params['Tags'].each do |i|
|
19685
|
+
taginfo_tmp = TagInfo.new
|
19686
|
+
taginfo_tmp.deserialize(i)
|
19687
|
+
@Tags << taginfo_tmp
|
19688
|
+
end
|
19689
|
+
end
|
18941
19690
|
end
|
18942
19691
|
end
|
18943
19692
|
|
@@ -19973,6 +20722,375 @@ module TencentCloud
|
|
19973
20722
|
end
|
19974
20723
|
end
|
19975
20724
|
|
20725
|
+
# k8sApi异常事件详情
|
20726
|
+
class K8sApiAbnormalEventInfo < TencentCloud::Common::AbstractModel
|
20727
|
+
# @param MatchRuleName: 命中规则名称
|
20728
|
+
# @type MatchRuleName: String
|
20729
|
+
# @param MatchRuleType: 命中规则类型
|
20730
|
+
# @type MatchRuleType: String
|
20731
|
+
# @param RiskLevel: 告警等级
|
20732
|
+
# @type RiskLevel: String
|
20733
|
+
# @param ClusterID: 集群ID
|
20734
|
+
# @type ClusterID: String
|
20735
|
+
# @param ClusterName: 集群名称
|
20736
|
+
# @type ClusterName: String
|
20737
|
+
# @param ClusterRunningStatus: 集群运行状态
|
20738
|
+
# @type ClusterRunningStatus: String
|
20739
|
+
# @param FirstCreateTime: 初次生成时间
|
20740
|
+
# @type FirstCreateTime: String
|
20741
|
+
# @param LastCreateTime: 最近一次生成时间
|
20742
|
+
# @type LastCreateTime: String
|
20743
|
+
# @param AlarmCount: 告警数量
|
20744
|
+
# @type AlarmCount: Integer
|
20745
|
+
# @param Status: 状态
|
20746
|
+
# "EVENT_UNDEAL":未处理
|
20747
|
+
# "EVENT_DEALED": 已处理
|
20748
|
+
# "EVENT_IGNORE": 忽略
|
20749
|
+
# "EVENT_DEL": 删除
|
20750
|
+
# "EVENT_ADD_WHITE": 加白
|
20751
|
+
# @type Status: String
|
20752
|
+
# @param ClusterMasterIP: 集群masterIP
|
20753
|
+
# @type ClusterMasterIP: String
|
20754
|
+
# @param K8sVersion: k8s版本
|
20755
|
+
# @type K8sVersion: String
|
20756
|
+
# @param RunningComponent: 运行时组件
|
20757
|
+
# @type RunningComponent: Array
|
20758
|
+
# @param Desc: 描述
|
20759
|
+
# @type Desc: String
|
20760
|
+
# @param Suggestion: 建议
|
20761
|
+
# @type Suggestion: String
|
20762
|
+
# @param Info: 请求信息
|
20763
|
+
# @type Info: String
|
20764
|
+
# @param MatchRuleID: 规则ID
|
20765
|
+
# @type MatchRuleID: String
|
20766
|
+
# @param HighLightFields: 高亮字段数组
|
20767
|
+
# @type HighLightFields: Array
|
20768
|
+
# @param MatchRule: 命中规则
|
20769
|
+
# @type MatchRule: :class:`Tencentcloud::Tcss.v20201101.models.K8sApiAbnormalRuleScopeInfo`
|
20770
|
+
|
20771
|
+
attr_accessor :MatchRuleName, :MatchRuleType, :RiskLevel, :ClusterID, :ClusterName, :ClusterRunningStatus, :FirstCreateTime, :LastCreateTime, :AlarmCount, :Status, :ClusterMasterIP, :K8sVersion, :RunningComponent, :Desc, :Suggestion, :Info, :MatchRuleID, :HighLightFields, :MatchRule
|
20772
|
+
|
20773
|
+
def initialize(matchrulename=nil, matchruletype=nil, risklevel=nil, clusterid=nil, clustername=nil, clusterrunningstatus=nil, firstcreatetime=nil, lastcreatetime=nil, alarmcount=nil, status=nil, clustermasterip=nil, k8sversion=nil, runningcomponent=nil, desc=nil, suggestion=nil, info=nil, matchruleid=nil, highlightfields=nil, matchrule=nil)
|
20774
|
+
@MatchRuleName = matchrulename
|
20775
|
+
@MatchRuleType = matchruletype
|
20776
|
+
@RiskLevel = risklevel
|
20777
|
+
@ClusterID = clusterid
|
20778
|
+
@ClusterName = clustername
|
20779
|
+
@ClusterRunningStatus = clusterrunningstatus
|
20780
|
+
@FirstCreateTime = firstcreatetime
|
20781
|
+
@LastCreateTime = lastcreatetime
|
20782
|
+
@AlarmCount = alarmcount
|
20783
|
+
@Status = status
|
20784
|
+
@ClusterMasterIP = clustermasterip
|
20785
|
+
@K8sVersion = k8sversion
|
20786
|
+
@RunningComponent = runningcomponent
|
20787
|
+
@Desc = desc
|
20788
|
+
@Suggestion = suggestion
|
20789
|
+
@Info = info
|
20790
|
+
@MatchRuleID = matchruleid
|
20791
|
+
@HighLightFields = highlightfields
|
20792
|
+
@MatchRule = matchrule
|
20793
|
+
end
|
20794
|
+
|
20795
|
+
def deserialize(params)
|
20796
|
+
@MatchRuleName = params['MatchRuleName']
|
20797
|
+
@MatchRuleType = params['MatchRuleType']
|
20798
|
+
@RiskLevel = params['RiskLevel']
|
20799
|
+
@ClusterID = params['ClusterID']
|
20800
|
+
@ClusterName = params['ClusterName']
|
20801
|
+
@ClusterRunningStatus = params['ClusterRunningStatus']
|
20802
|
+
@FirstCreateTime = params['FirstCreateTime']
|
20803
|
+
@LastCreateTime = params['LastCreateTime']
|
20804
|
+
@AlarmCount = params['AlarmCount']
|
20805
|
+
@Status = params['Status']
|
20806
|
+
@ClusterMasterIP = params['ClusterMasterIP']
|
20807
|
+
@K8sVersion = params['K8sVersion']
|
20808
|
+
@RunningComponent = params['RunningComponent']
|
20809
|
+
@Desc = params['Desc']
|
20810
|
+
@Suggestion = params['Suggestion']
|
20811
|
+
@Info = params['Info']
|
20812
|
+
@MatchRuleID = params['MatchRuleID']
|
20813
|
+
@HighLightFields = params['HighLightFields']
|
20814
|
+
unless params['MatchRule'].nil?
|
20815
|
+
@MatchRule = K8sApiAbnormalRuleScopeInfo.new
|
20816
|
+
@MatchRule.deserialize(params['MatchRule'])
|
20817
|
+
end
|
20818
|
+
end
|
20819
|
+
end
|
20820
|
+
|
20821
|
+
# k8sapi异常事件列表Item
|
20822
|
+
class K8sApiAbnormalEventListItem < TencentCloud::Common::AbstractModel
|
20823
|
+
# @param ID: 事件ID
|
20824
|
+
# @type ID: Integer
|
20825
|
+
# @param MatchRuleType: 命中规则类型
|
20826
|
+
# @type MatchRuleType: String
|
20827
|
+
# @param RiskLevel: 威胁等级
|
20828
|
+
# @type RiskLevel: String
|
20829
|
+
# @param ClusterID: 集群ID
|
20830
|
+
# @type ClusterID: String
|
20831
|
+
# @param ClusterName: 集群名称
|
20832
|
+
# @type ClusterName: String
|
20833
|
+
# @param ClusterRunningStatus: 集群运行状态
|
20834
|
+
# @type ClusterRunningStatus: String
|
20835
|
+
# @param FirstCreateTime: 初次生成时间
|
20836
|
+
# @type FirstCreateTime: String
|
20837
|
+
# @param LastCreateTime: 最近一次生成时间
|
20838
|
+
# @type LastCreateTime: String
|
20839
|
+
# @param AlarmCount: 告警数量
|
20840
|
+
# @type AlarmCount: Integer
|
20841
|
+
# @param Status: 状态
|
20842
|
+
# @type Status: String
|
20843
|
+
# @param RuleType: 规则类型
|
20844
|
+
# @type RuleType: String
|
20845
|
+
# @param Desc: 描述信息
|
20846
|
+
# @type Desc: String
|
20847
|
+
# @param Suggestion: 解决方案
|
20848
|
+
# @type Suggestion: String
|
20849
|
+
# @param RuleName: 规则名称
|
20850
|
+
# @type RuleName: String
|
20851
|
+
# @param MatchRule: 命中规则
|
20852
|
+
# @type MatchRule: :class:`Tencentcloud::Tcss.v20201101.models.K8sApiAbnormalRuleScopeInfo`
|
20853
|
+
|
20854
|
+
attr_accessor :ID, :MatchRuleType, :RiskLevel, :ClusterID, :ClusterName, :ClusterRunningStatus, :FirstCreateTime, :LastCreateTime, :AlarmCount, :Status, :RuleType, :Desc, :Suggestion, :RuleName, :MatchRule
|
20855
|
+
|
20856
|
+
def initialize(id=nil, matchruletype=nil, risklevel=nil, clusterid=nil, clustername=nil, clusterrunningstatus=nil, firstcreatetime=nil, lastcreatetime=nil, alarmcount=nil, status=nil, ruletype=nil, desc=nil, suggestion=nil, rulename=nil, matchrule=nil)
|
20857
|
+
@ID = id
|
20858
|
+
@MatchRuleType = matchruletype
|
20859
|
+
@RiskLevel = risklevel
|
20860
|
+
@ClusterID = clusterid
|
20861
|
+
@ClusterName = clustername
|
20862
|
+
@ClusterRunningStatus = clusterrunningstatus
|
20863
|
+
@FirstCreateTime = firstcreatetime
|
20864
|
+
@LastCreateTime = lastcreatetime
|
20865
|
+
@AlarmCount = alarmcount
|
20866
|
+
@Status = status
|
20867
|
+
@RuleType = ruletype
|
20868
|
+
@Desc = desc
|
20869
|
+
@Suggestion = suggestion
|
20870
|
+
@RuleName = rulename
|
20871
|
+
@MatchRule = matchrule
|
20872
|
+
end
|
20873
|
+
|
20874
|
+
def deserialize(params)
|
20875
|
+
@ID = params['ID']
|
20876
|
+
@MatchRuleType = params['MatchRuleType']
|
20877
|
+
@RiskLevel = params['RiskLevel']
|
20878
|
+
@ClusterID = params['ClusterID']
|
20879
|
+
@ClusterName = params['ClusterName']
|
20880
|
+
@ClusterRunningStatus = params['ClusterRunningStatus']
|
20881
|
+
@FirstCreateTime = params['FirstCreateTime']
|
20882
|
+
@LastCreateTime = params['LastCreateTime']
|
20883
|
+
@AlarmCount = params['AlarmCount']
|
20884
|
+
@Status = params['Status']
|
20885
|
+
@RuleType = params['RuleType']
|
20886
|
+
@Desc = params['Desc']
|
20887
|
+
@Suggestion = params['Suggestion']
|
20888
|
+
@RuleName = params['RuleName']
|
20889
|
+
unless params['MatchRule'].nil?
|
20890
|
+
@MatchRule = K8sApiAbnormalRuleScopeInfo.new
|
20891
|
+
@MatchRule.deserialize(params['MatchRule'])
|
20892
|
+
end
|
20893
|
+
end
|
20894
|
+
end
|
20895
|
+
|
20896
|
+
# k8a api 异常请求规则详情
|
20897
|
+
class K8sApiAbnormalRuleInfo < TencentCloud::Common::AbstractModel
|
20898
|
+
# @param RuleName: 规则名称
|
20899
|
+
# @type RuleName: String
|
20900
|
+
# @param Status: 状态
|
20901
|
+
# @type Status: Boolean
|
20902
|
+
# @param RuleInfoList: 规则信息列表
|
20903
|
+
# @type RuleInfoList: Array
|
20904
|
+
# @param EffectClusterIDSet: 生效集群IDSet
|
20905
|
+
# @type EffectClusterIDSet: Array
|
20906
|
+
# @param RuleType: 规则类型
|
20907
|
+
# RT_SYSTEM 系统规则
|
20908
|
+
# RT_USER 用户自定义
|
20909
|
+
# @type RuleType: String
|
20910
|
+
# @param EffectAllCluster: 是否所有集群生效
|
20911
|
+
# @type EffectAllCluster: Boolean
|
20912
|
+
# @param RuleID: 规则ID
|
20913
|
+
# @type RuleID: String
|
20914
|
+
|
20915
|
+
attr_accessor :RuleName, :Status, :RuleInfoList, :EffectClusterIDSet, :RuleType, :EffectAllCluster, :RuleID
|
20916
|
+
|
20917
|
+
def initialize(rulename=nil, status=nil, ruleinfolist=nil, effectclusteridset=nil, ruletype=nil, effectallcluster=nil, ruleid=nil)
|
20918
|
+
@RuleName = rulename
|
20919
|
+
@Status = status
|
20920
|
+
@RuleInfoList = ruleinfolist
|
20921
|
+
@EffectClusterIDSet = effectclusteridset
|
20922
|
+
@RuleType = ruletype
|
20923
|
+
@EffectAllCluster = effectallcluster
|
20924
|
+
@RuleID = ruleid
|
20925
|
+
end
|
20926
|
+
|
20927
|
+
def deserialize(params)
|
20928
|
+
@RuleName = params['RuleName']
|
20929
|
+
@Status = params['Status']
|
20930
|
+
unless params['RuleInfoList'].nil?
|
20931
|
+
@RuleInfoList = []
|
20932
|
+
params['RuleInfoList'].each do |i|
|
20933
|
+
k8sapiabnormalrulescopeinfo_tmp = K8sApiAbnormalRuleScopeInfo.new
|
20934
|
+
k8sapiabnormalrulescopeinfo_tmp.deserialize(i)
|
20935
|
+
@RuleInfoList << k8sapiabnormalrulescopeinfo_tmp
|
20936
|
+
end
|
20937
|
+
end
|
20938
|
+
@EffectClusterIDSet = params['EffectClusterIDSet']
|
20939
|
+
@RuleType = params['RuleType']
|
20940
|
+
@EffectAllCluster = params['EffectAllCluster']
|
20941
|
+
@RuleID = params['RuleID']
|
20942
|
+
end
|
20943
|
+
end
|
20944
|
+
|
20945
|
+
# k8s api 异常请求规则列表Item
|
20946
|
+
class K8sApiAbnormalRuleListItem < TencentCloud::Common::AbstractModel
|
20947
|
+
# @param RuleID: 规则ID
|
20948
|
+
# @type RuleID: String
|
20949
|
+
# @param RuleName: 规则名称
|
20950
|
+
# @type RuleName: String
|
20951
|
+
# @param RuleType: 规则类型
|
20952
|
+
# RT_SYSTEM 系统规则
|
20953
|
+
# RT_USER 用户自定义
|
20954
|
+
# @type RuleType: String
|
20955
|
+
# @param EffectClusterCount: 受影响集群总数
|
20956
|
+
# @type EffectClusterCount: Integer
|
20957
|
+
# @param UpdateTime: 更新时间
|
20958
|
+
# @type UpdateTime: String
|
20959
|
+
# @param OprUin: 编辑账号
|
20960
|
+
# @type OprUin: String
|
20961
|
+
# @param Status: 状态
|
20962
|
+
# @type Status: Boolean
|
20963
|
+
|
20964
|
+
attr_accessor :RuleID, :RuleName, :RuleType, :EffectClusterCount, :UpdateTime, :OprUin, :Status
|
20965
|
+
|
20966
|
+
def initialize(ruleid=nil, rulename=nil, ruletype=nil, effectclustercount=nil, updatetime=nil, opruin=nil, status=nil)
|
20967
|
+
@RuleID = ruleid
|
20968
|
+
@RuleName = rulename
|
20969
|
+
@RuleType = ruletype
|
20970
|
+
@EffectClusterCount = effectclustercount
|
20971
|
+
@UpdateTime = updatetime
|
20972
|
+
@OprUin = opruin
|
20973
|
+
@Status = status
|
20974
|
+
end
|
20975
|
+
|
20976
|
+
def deserialize(params)
|
20977
|
+
@RuleID = params['RuleID']
|
20978
|
+
@RuleName = params['RuleName']
|
20979
|
+
@RuleType = params['RuleType']
|
20980
|
+
@EffectClusterCount = params['EffectClusterCount']
|
20981
|
+
@UpdateTime = params['UpdateTime']
|
20982
|
+
@OprUin = params['OprUin']
|
20983
|
+
@Status = params['Status']
|
20984
|
+
end
|
20985
|
+
end
|
20986
|
+
|
20987
|
+
# k8s api 异常事件规则配置范围
|
20988
|
+
class K8sApiAbnormalRuleScopeInfo < TencentCloud::Common::AbstractModel
|
20989
|
+
# @param Scope: 范围
|
20990
|
+
# 系统事件:
|
20991
|
+
# ANONYMOUS_ACCESS: 匿名访问
|
20992
|
+
# ABNORMAL_UA_REQ: 异常UA请求
|
20993
|
+
# ANONYMOUS_ABNORMAL_PERMISSION: 匿名用户权限异动
|
20994
|
+
# GET_CREDENTIALS: 凭据信息获取
|
20995
|
+
# MOUNT_SENSITIVE_PATH: 敏感路径挂载
|
20996
|
+
# COMMAND_RUN: 命令执行
|
20997
|
+
# PRIVILEGE_CONTAINER: 特权容器
|
20998
|
+
# EXCEPTION_CRONTAB_TASK: 异常定时任务
|
20999
|
+
# STATICS_POD: 静态pod创建
|
21000
|
+
# ABNORMAL_CREATE_POD: 异常pod创建
|
21001
|
+
# USER_DEFINED: 用户自定义
|
21002
|
+
# @type Scope: String
|
21003
|
+
# @param Action: 动作(RULE_MODE_ALERT: 告警 RULE_MODE_RELEASE:放行)
|
21004
|
+
# @type Action: String
|
21005
|
+
# @param RiskLevel: 威胁等级 HIGH:高级 MIDDLE: 中级 LOW:低级 NOTICE:提示
|
21006
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
21007
|
+
# @type RiskLevel: String
|
21008
|
+
# @param Status: 开关状态(true:开 false:关) 适用于系统规则
|
21009
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
21010
|
+
# @type Status: Boolean
|
21011
|
+
# @param IsDelete: 是否被删除 适用于自定义规则入参
|
21012
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
21013
|
+
# @type IsDelete: Boolean
|
21014
|
+
|
21015
|
+
attr_accessor :Scope, :Action, :RiskLevel, :Status, :IsDelete
|
21016
|
+
|
21017
|
+
def initialize(scope=nil, action=nil, risklevel=nil, status=nil, isdelete=nil)
|
21018
|
+
@Scope = scope
|
21019
|
+
@Action = action
|
21020
|
+
@RiskLevel = risklevel
|
21021
|
+
@Status = status
|
21022
|
+
@IsDelete = isdelete
|
21023
|
+
end
|
21024
|
+
|
21025
|
+
def deserialize(params)
|
21026
|
+
@Scope = params['Scope']
|
21027
|
+
@Action = params['Action']
|
21028
|
+
@RiskLevel = params['RiskLevel']
|
21029
|
+
@Status = params['Status']
|
21030
|
+
@IsDelete = params['IsDelete']
|
21031
|
+
end
|
21032
|
+
end
|
21033
|
+
|
21034
|
+
# k8sapi异常请求趋势Item
|
21035
|
+
class K8sApiAbnormalTendencyItem < TencentCloud::Common::AbstractModel
|
21036
|
+
# @param Date: 日期
|
21037
|
+
# @type Date: String
|
21038
|
+
# @param ExceptionUARequestCount: 异常UA请求事件数
|
21039
|
+
# @type ExceptionUARequestCount: Integer
|
21040
|
+
# @param AnonymousUserRightCount: 匿名用户权限事件数
|
21041
|
+
# @type AnonymousUserRightCount: Integer
|
21042
|
+
# @param CredentialInformationObtainCount: 凭据信息获取事件数
|
21043
|
+
# @type CredentialInformationObtainCount: Integer
|
21044
|
+
# @param SensitiveDataMountCount: 敏感数据挂载事件数
|
21045
|
+
# @type SensitiveDataMountCount: Integer
|
21046
|
+
# @param CmdExecCount: 命令执行事件数
|
21047
|
+
# @type CmdExecCount: Integer
|
21048
|
+
# @param AbnormalScheduledTaskCount: 异常定时任务事件数
|
21049
|
+
# @type AbnormalScheduledTaskCount: Integer
|
21050
|
+
# @param StaticsPodCreateCount: 静态Pod创建数
|
21051
|
+
# @type StaticsPodCreateCount: Integer
|
21052
|
+
# @param DoubtfulContainerCreateCount: 可疑容器创建数
|
21053
|
+
# @type DoubtfulContainerCreateCount: Integer
|
21054
|
+
# @param UserDefinedRuleCount: 自定义规则事件数
|
21055
|
+
# @type UserDefinedRuleCount: Integer
|
21056
|
+
# @param AnonymousAccessCount: 匿名访问事件数
|
21057
|
+
# @type AnonymousAccessCount: Integer
|
21058
|
+
# @param PrivilegeContainerCount: 特权容器事件数
|
21059
|
+
# @type PrivilegeContainerCount: Integer
|
21060
|
+
|
21061
|
+
attr_accessor :Date, :ExceptionUARequestCount, :AnonymousUserRightCount, :CredentialInformationObtainCount, :SensitiveDataMountCount, :CmdExecCount, :AbnormalScheduledTaskCount, :StaticsPodCreateCount, :DoubtfulContainerCreateCount, :UserDefinedRuleCount, :AnonymousAccessCount, :PrivilegeContainerCount
|
21062
|
+
|
21063
|
+
def initialize(date=nil, exceptionuarequestcount=nil, anonymoususerrightcount=nil, credentialinformationobtaincount=nil, sensitivedatamountcount=nil, cmdexeccount=nil, abnormalscheduledtaskcount=nil, staticspodcreatecount=nil, doubtfulcontainercreatecount=nil, userdefinedrulecount=nil, anonymousaccesscount=nil, privilegecontainercount=nil)
|
21064
|
+
@Date = date
|
21065
|
+
@ExceptionUARequestCount = exceptionuarequestcount
|
21066
|
+
@AnonymousUserRightCount = anonymoususerrightcount
|
21067
|
+
@CredentialInformationObtainCount = credentialinformationobtaincount
|
21068
|
+
@SensitiveDataMountCount = sensitivedatamountcount
|
21069
|
+
@CmdExecCount = cmdexeccount
|
21070
|
+
@AbnormalScheduledTaskCount = abnormalscheduledtaskcount
|
21071
|
+
@StaticsPodCreateCount = staticspodcreatecount
|
21072
|
+
@DoubtfulContainerCreateCount = doubtfulcontainercreatecount
|
21073
|
+
@UserDefinedRuleCount = userdefinedrulecount
|
21074
|
+
@AnonymousAccessCount = anonymousaccesscount
|
21075
|
+
@PrivilegeContainerCount = privilegecontainercount
|
21076
|
+
end
|
21077
|
+
|
21078
|
+
def deserialize(params)
|
21079
|
+
@Date = params['Date']
|
21080
|
+
@ExceptionUARequestCount = params['ExceptionUARequestCount']
|
21081
|
+
@AnonymousUserRightCount = params['AnonymousUserRightCount']
|
21082
|
+
@CredentialInformationObtainCount = params['CredentialInformationObtainCount']
|
21083
|
+
@SensitiveDataMountCount = params['SensitiveDataMountCount']
|
21084
|
+
@CmdExecCount = params['CmdExecCount']
|
21085
|
+
@AbnormalScheduledTaskCount = params['AbnormalScheduledTaskCount']
|
21086
|
+
@StaticsPodCreateCount = params['StaticsPodCreateCount']
|
21087
|
+
@DoubtfulContainerCreateCount = params['DoubtfulContainerCreateCount']
|
21088
|
+
@UserDefinedRuleCount = params['UserDefinedRuleCount']
|
21089
|
+
@AnonymousAccessCount = params['AnonymousAccessCount']
|
21090
|
+
@PrivilegeContainerCount = params['PrivilegeContainerCount']
|
21091
|
+
end
|
21092
|
+
end
|
21093
|
+
|
19976
21094
|
# ModifyAbnormalProcessRuleStatus请求参数结构体
|
19977
21095
|
class ModifyAbnormalProcessRuleStatusRequest < TencentCloud::Common::AbstractModel
|
19978
21096
|
# @param RuleIdSet: 策略的ids
|
@@ -20687,6 +21805,117 @@ module TencentCloud
|
|
20687
21805
|
end
|
20688
21806
|
end
|
20689
21807
|
|
21808
|
+
# ModifyK8sApiAbnormalEventStatus请求参数结构体
|
21809
|
+
class ModifyK8sApiAbnormalEventStatusRequest < TencentCloud::Common::AbstractModel
|
21810
|
+
# @param EventIDSet: 事件ID集合
|
21811
|
+
# @type EventIDSet: Array
|
21812
|
+
# @param Status: 状态
|
21813
|
+
# @type Status: String
|
21814
|
+
# @param Remark: 备注
|
21815
|
+
# @type Remark: String
|
21816
|
+
|
21817
|
+
attr_accessor :EventIDSet, :Status, :Remark
|
21818
|
+
|
21819
|
+
def initialize(eventidset=nil, status=nil, remark=nil)
|
21820
|
+
@EventIDSet = eventidset
|
21821
|
+
@Status = status
|
21822
|
+
@Remark = remark
|
21823
|
+
end
|
21824
|
+
|
21825
|
+
def deserialize(params)
|
21826
|
+
@EventIDSet = params['EventIDSet']
|
21827
|
+
@Status = params['Status']
|
21828
|
+
@Remark = params['Remark']
|
21829
|
+
end
|
21830
|
+
end
|
21831
|
+
|
21832
|
+
# ModifyK8sApiAbnormalEventStatus返回参数结构体
|
21833
|
+
class ModifyK8sApiAbnormalEventStatusResponse < TencentCloud::Common::AbstractModel
|
21834
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
21835
|
+
# @type RequestId: String
|
21836
|
+
|
21837
|
+
attr_accessor :RequestId
|
21838
|
+
|
21839
|
+
def initialize(requestid=nil)
|
21840
|
+
@RequestId = requestid
|
21841
|
+
end
|
21842
|
+
|
21843
|
+
def deserialize(params)
|
21844
|
+
@RequestId = params['RequestId']
|
21845
|
+
end
|
21846
|
+
end
|
21847
|
+
|
21848
|
+
# ModifyK8sApiAbnormalRuleInfo请求参数结构体
|
21849
|
+
class ModifyK8sApiAbnormalRuleInfoRequest < TencentCloud::Common::AbstractModel
|
21850
|
+
# @param RuleInfo: 规则详情
|
21851
|
+
# @type RuleInfo: :class:`Tencentcloud::Tcss.v20201101.models.K8sApiAbnormalRuleInfo`
|
21852
|
+
|
21853
|
+
attr_accessor :RuleInfo
|
21854
|
+
|
21855
|
+
def initialize(ruleinfo=nil)
|
21856
|
+
@RuleInfo = ruleinfo
|
21857
|
+
end
|
21858
|
+
|
21859
|
+
def deserialize(params)
|
21860
|
+
unless params['RuleInfo'].nil?
|
21861
|
+
@RuleInfo = K8sApiAbnormalRuleInfo.new
|
21862
|
+
@RuleInfo.deserialize(params['RuleInfo'])
|
21863
|
+
end
|
21864
|
+
end
|
21865
|
+
end
|
21866
|
+
|
21867
|
+
# ModifyK8sApiAbnormalRuleInfo返回参数结构体
|
21868
|
+
class ModifyK8sApiAbnormalRuleInfoResponse < TencentCloud::Common::AbstractModel
|
21869
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
21870
|
+
# @type RequestId: String
|
21871
|
+
|
21872
|
+
attr_accessor :RequestId
|
21873
|
+
|
21874
|
+
def initialize(requestid=nil)
|
21875
|
+
@RequestId = requestid
|
21876
|
+
end
|
21877
|
+
|
21878
|
+
def deserialize(params)
|
21879
|
+
@RequestId = params['RequestId']
|
21880
|
+
end
|
21881
|
+
end
|
21882
|
+
|
21883
|
+
# ModifyK8sApiAbnormalRuleStatus请求参数结构体
|
21884
|
+
class ModifyK8sApiAbnormalRuleStatusRequest < TencentCloud::Common::AbstractModel
|
21885
|
+
# @param RuleID: 规则ID
|
21886
|
+
# @type RuleID: String
|
21887
|
+
# @param Status: 状态(ture:开 false:关)
|
21888
|
+
# @type Status: Boolean
|
21889
|
+
|
21890
|
+
attr_accessor :RuleID, :Status
|
21891
|
+
|
21892
|
+
def initialize(ruleid=nil, status=nil)
|
21893
|
+
@RuleID = ruleid
|
21894
|
+
@Status = status
|
21895
|
+
end
|
21896
|
+
|
21897
|
+
def deserialize(params)
|
21898
|
+
@RuleID = params['RuleID']
|
21899
|
+
@Status = params['Status']
|
21900
|
+
end
|
21901
|
+
end
|
21902
|
+
|
21903
|
+
# ModifyK8sApiAbnormalRuleStatus返回参数结构体
|
21904
|
+
class ModifyK8sApiAbnormalRuleStatusResponse < TencentCloud::Common::AbstractModel
|
21905
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
21906
|
+
# @type RequestId: String
|
21907
|
+
|
21908
|
+
attr_accessor :RequestId
|
21909
|
+
|
21910
|
+
def initialize(requestid=nil)
|
21911
|
+
@RequestId = requestid
|
21912
|
+
end
|
21913
|
+
|
21914
|
+
def deserialize(params)
|
21915
|
+
@RequestId = params['RequestId']
|
21916
|
+
end
|
21917
|
+
end
|
21918
|
+
|
20690
21919
|
# ModifyReverseShellStatus请求参数结构体
|
20691
21920
|
class ModifyReverseShellStatusRequest < TencentCloud::Common::AbstractModel
|
20692
21921
|
# @param EventIdSet: 处理事件ids
|
@@ -22053,6 +23282,26 @@ module TencentCloud
|
|
22053
23282
|
end
|
22054
23283
|
end
|
22055
23284
|
|
23285
|
+
# 主机所属项目
|
23286
|
+
class ProjectInfo < TencentCloud::Common::AbstractModel
|
23287
|
+
# @param ProjectName: 项目名称
|
23288
|
+
# @type ProjectName: String
|
23289
|
+
# @param ProjectID: 项目ID
|
23290
|
+
# @type ProjectID: Integer
|
23291
|
+
|
23292
|
+
attr_accessor :ProjectName, :ProjectID
|
23293
|
+
|
23294
|
+
def initialize(projectname=nil, projectid=nil)
|
23295
|
+
@ProjectName = projectname
|
23296
|
+
@ProjectID = projectid
|
23297
|
+
end
|
23298
|
+
|
23299
|
+
def deserialize(params)
|
23300
|
+
@ProjectName = params['ProjectName']
|
23301
|
+
@ProjectID = params['ProjectID']
|
23302
|
+
end
|
23303
|
+
end
|
23304
|
+
|
22056
23305
|
# 促销活动内容
|
22057
23306
|
class PromotionActivityContent < TencentCloud::Common::AbstractModel
|
22058
23307
|
# @param MonthNum: 月数
|
@@ -23703,6 +24952,26 @@ module TencentCloud
|
|
23703
24952
|
end
|
23704
24953
|
end
|
23705
24954
|
|
24955
|
+
# 主机标签信息
|
24956
|
+
class TagInfo < TencentCloud::Common::AbstractModel
|
24957
|
+
# @param TagKey: 标签键
|
24958
|
+
# @type TagKey: String
|
24959
|
+
# @param TagValue: 标签值
|
24960
|
+
# @type TagValue: String
|
24961
|
+
|
24962
|
+
attr_accessor :TagKey, :TagValue
|
24963
|
+
|
24964
|
+
def initialize(tagkey=nil, tagvalue=nil)
|
24965
|
+
@TagKey = tagkey
|
24966
|
+
@TagValue = tagvalue
|
24967
|
+
end
|
24968
|
+
|
24969
|
+
def deserialize(params)
|
24970
|
+
@TagKey = params['TagKey']
|
24971
|
+
@TagValue = params['TagValue']
|
24972
|
+
end
|
24973
|
+
end
|
24974
|
+
|
23706
24975
|
# 未授权核数趋势
|
23707
24976
|
class UnauthorizedCoresTendency < TencentCloud::Common::AbstractModel
|
23708
24977
|
# @param DateTime: 日期
|