lib/v20201101/models.rb in tencentcloud-sdk-tcss-3.0.737 vs lib/v20201101/models.rb in tencentcloud-sdk-tcss-3.0.738
- old
+ new
@@ -2398,11 +2398,19 @@
# @type CheckFailReason: String
# @param CheckStatus: 检查状态,为Task_Running, NoRisk, HasRisk, Uncheck, Task_Error
# @type CheckStatus: String
# @param TaskCreateTime: 任务创建时间,检查时间
# @type TaskCreateTime: String
- # @param AccessedStatus: 接入状态
+ # @param AccessedStatus: 接入状态:
+ # 未接入: AccessedNone
+ # 已防护: AccessedDefended
+ # 未防护: AccessedInstalled
+ # 部分防护: AccessedPartialDefence
+ # 接入异常: AccessedException
+ # 卸载异常: AccessedUninstallException
+ # 接入中: AccessedInstalling
+ # 卸载中: AccessedUninstalling
# 注意:此字段可能返回 null,表示取不到有效值。
# @type AccessedStatus: String
# @param AccessedSubStatus: 接入失败原因
# 注意:此字段可能返回 null,表示取不到有效值。
# @type AccessedSubStatus: String
@@ -2413,14 +2421,17 @@
# 注意:此字段可能返回 null,表示取不到有效值。
# @type OffLineNodeCount: Integer
# @param UnInstallAgentNodeCount: 未安装agent节点数
# 注意:此字段可能返回 null,表示取不到有效值。
# @type UnInstallAgentNodeCount: Integer
+ # @param ChargeCoresCnt: 计费核数
+ # 注意:此字段可能返回 null,表示取不到有效值。
+ # @type ChargeCoresCnt: Integer
- attr_accessor :ClusterId, :ClusterName, :ClusterVersion, :ClusterOs, :ClusterType, :ClusterNodeNum, :Region, :DefenderStatus, :ClusterStatus, :ClusterCheckMode, :ClusterAutoCheck, :DefenderErrorReason, :UnreadyNodeNum, :SeriousRiskCount, :HighRiskCount, :MiddleRiskCount, :HintRiskCount, :CheckFailReason, :CheckStatus, :TaskCreateTime, :AccessedStatus, :AccessedSubStatus, :NodeCount, :OffLineNodeCount, :UnInstallAgentNodeCount
+ attr_accessor :ClusterId, :ClusterName, :ClusterVersion, :ClusterOs, :ClusterType, :ClusterNodeNum, :Region, :DefenderStatus, :ClusterStatus, :ClusterCheckMode, :ClusterAutoCheck, :DefenderErrorReason, :UnreadyNodeNum, :SeriousRiskCount, :HighRiskCount, :MiddleRiskCount, :HintRiskCount, :CheckFailReason, :CheckStatus, :TaskCreateTime, :AccessedStatus, :AccessedSubStatus, :NodeCount, :OffLineNodeCount, :UnInstallAgentNodeCount, :ChargeCoresCnt
- def initialize(clusterid=nil, clustername=nil, clusterversion=nil, clusteros=nil, clustertype=nil, clusternodenum=nil, region=nil, defenderstatus=nil, clusterstatus=nil, clustercheckmode=nil, clusterautocheck=nil, defendererrorreason=nil, unreadynodenum=nil, seriousriskcount=nil, highriskcount=nil, middleriskcount=nil, hintriskcount=nil, checkfailreason=nil, checkstatus=nil, taskcreatetime=nil, accessedstatus=nil, accessedsubstatus=nil, nodecount=nil, offlinenodecount=nil, uninstallagentnodecount=nil)
+ def initialize(clusterid=nil, clustername=nil, clusterversion=nil, clusteros=nil, clustertype=nil, clusternodenum=nil, region=nil, defenderstatus=nil, clusterstatus=nil, clustercheckmode=nil, clusterautocheck=nil, defendererrorreason=nil, unreadynodenum=nil, seriousriskcount=nil, highriskcount=nil, middleriskcount=nil, hintriskcount=nil, checkfailreason=nil, checkstatus=nil, taskcreatetime=nil, accessedstatus=nil, accessedsubstatus=nil, nodecount=nil, offlinenodecount=nil, uninstallagentnodecount=nil, chargecorescnt=nil)
@ClusterId = clusterid
@ClusterName = clustername
@ClusterVersion = clusterversion
@ClusterOs = clusteros
@ClusterType = clustertype
@@ -2442,10 +2453,11 @@
@AccessedStatus = accessedstatus
@AccessedSubStatus = accessedsubstatus
@NodeCount = nodecount
@OffLineNodeCount = offlinenodecount
@UnInstallAgentNodeCount = uninstallagentnodecount
+ @ChargeCoresCnt = chargecorescnt
end
def deserialize(params)
@ClusterId = params['ClusterId']
@ClusterName = params['ClusterName']
@@ -2470,10 +2482,11 @@
@AccessedStatus = params['AccessedStatus']
@AccessedSubStatus = params['AccessedSubStatus']
@NodeCount = params['NodeCount']
@OffLineNodeCount = params['OffLineNodeCount']
@UnInstallAgentNodeCount = params['UnInstallAgentNodeCount']
+ @ChargeCoresCnt = params['ChargeCoresCnt']
end
end
# 风险项是检查完之后,有问题的检测项,并且加了一些检查结果信息。
class ClusterRiskItem < TencentCloud::Common::AbstractModel
@@ -3442,12 +3455,12 @@
# 注意:此字段可能返回 null,表示取不到有效值。
# @type Name: String
attr_accessor :Component, :Version, :FixedVersion, :Path, :Type, :Name
extend Gem::Deprecate
- deprecate :Component, :none, 2023, 11
- deprecate :Component=, :none, 2023, 11
+ deprecate :Component, :none, 2023, 12
+ deprecate :Component=, :none, 2023, 12
def initialize(component=nil, version=nil, fixedversion=nil, path=nil, type=nil, name=nil)
@Component = component
@Version = version
@FixedVersion = fixedversion
@@ -3896,12 +3909,12 @@
# @param Timeout: 任务超时时长单位s
# @type Timeout: Integer
attr_accessor :All, :Images, :ScanType, :Id, :IsLatest, :ScanScope, :RegistryType, :Namespace, :ContainerRunning, :Timeout
extend Gem::Deprecate
- deprecate :All, :none, 2023, 11
- deprecate :All=, :none, 2023, 11
+ deprecate :All, :none, 2023, 12
+ deprecate :All=, :none, 2023, 12
def initialize(all=nil, images=nil, scantype=nil, id=nil, islatest=nil, scanscope=nil, registrytype=nil, namespace=nil, containerrunning=nil, timeout=nil)
@All = all
@Images = images
@ScanType = scantype
@@ -4056,12 +4069,12 @@
# 02:00 时分
# @type ScanEndTime: String
attr_accessor :Enable, :ScanTime, :ScanPeriod, :ScanVirus, :ScanRisk, :ScanVul, :All, :Images, :ContainerRunning, :ScanScope, :ScanEndTime
extend Gem::Deprecate
- deprecate :All, :none, 2023, 11
- deprecate :All=, :none, 2023, 11
+ deprecate :All, :none, 2023, 12
+ deprecate :All=, :none, 2023, 12
def initialize(enable=nil, scantime=nil, scanperiod=nil, scanvirus=nil, scanrisk=nil, scanvul=nil, all=nil, images=nil, containerrunning=nil, scanscope=nil, scanendtime=nil)
@Enable = enable
@ScanTime = scantime
@ScanPeriod = scanperiod
@@ -4129,12 +4142,12 @@
# @param Timeout: 任务超时时长单位秒,默认1小时
# @type Timeout: Integer
attr_accessor :All, :Images, :ScanVul, :ScanVirus, :ScanRisk, :Filters, :ExcludeImageIds, :ContainerRunning, :ScanScope, :Timeout
extend Gem::Deprecate
- deprecate :All, :none, 2023, 11
- deprecate :All=, :none, 2023, 11
+ deprecate :All, :none, 2023, 12
+ deprecate :All=, :none, 2023, 12
def initialize(all=nil, images=nil, scanvul=nil, scanvirus=nil, scanrisk=nil, filters=nil, excludeimageids=nil, containerrunning=nil, scanscope=nil, timeout=nil)
@All = all
@Images = images
@ScanVul = scanvul
@@ -9295,12 +9308,12 @@
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :ImageDigest, :ImageRepoAddress, :RegistryType, :ImageName, :ImageTag, :ScanTime, :ScanStatus, :VulCnt, :VirusCnt, :RiskCnt, :SentiveInfoCnt, :OsName, :ScanVirusError, :ScanVulError, :LayerInfo, :InstanceId, :InstanceName, :Namespace, :ScanRiskError, :ScanVirusProgress, :ScanVulProgress, :ScanRiskProgress, :ScanRemainTime, :CveStatus, :RiskStatus, :VirusStatus, :Progress, :IsAuthorized, :ImageSize, :ImageId, :RegistryRegion, :ImageCreateTime, :SensitiveInfoCnt, :Id, :RequestId
extend Gem::Deprecate
- deprecate :SentiveInfoCnt, :none, 2023, 11
- deprecate :SentiveInfoCnt=, :none, 2023, 11
+ deprecate :SentiveInfoCnt, :none, 2023, 12
+ deprecate :SentiveInfoCnt=, :none, 2023, 12
def initialize(imagedigest=nil, imagerepoaddress=nil, registrytype=nil, imagename=nil, imagetag=nil, scantime=nil, scanstatus=nil, vulcnt=nil, viruscnt=nil, riskcnt=nil, sentiveinfocnt=nil, osname=nil, scanviruserror=nil, scanvulerror=nil, layerinfo=nil, instanceid=nil, instancename=nil, namespace=nil, scanriskerror=nil, scanvirusprogress=nil, scanvulprogress=nil, scanriskprogress=nil, scanremaintime=nil, cvestatus=nil, riskstatus=nil, virusstatus=nil, progress=nil, isauthorized=nil, imagesize=nil, imageid=nil, registryregion=nil, imagecreatetime=nil, sensitiveinfocnt=nil, id=nil, requestid=nil)
@ImageDigest = imagedigest
@ImageRepoAddress = imagerepoaddress
@RegistryType = registrytype
@@ -10390,12 +10403,12 @@
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :Enable, :ScanTime, :ScanPeriod, :ScanVirus, :ScanRisk, :ScanVul, :All, :Images, :ContainerRunning, :ScanScope, :ScanEndTime, :RequestId
extend Gem::Deprecate
- deprecate :All, :none, 2023, 11
- deprecate :All=, :none, 2023, 11
+ deprecate :All, :none, 2023, 12
+ deprecate :All=, :none, 2023, 12
def initialize(enable=nil, scantime=nil, scanperiod=nil, scanvirus=nil, scanrisk=nil, scanvul=nil, all=nil, images=nil, containerrunning=nil, scanscope=nil, scanendtime=nil, requestid=nil)
@Enable = enable
@ScanTime = scantime
@ScanPeriod = scanperiod
@@ -13028,12 +13041,13 @@
# DescribeExportJobManageList请求参数结构体
class DescribeExportJobManageListRequest < TencentCloud::Common::AbstractModel
# @param Filters: 过滤条件。
# <li>ExportStatus- string -是否必填: 否 - 导出状态 RUNNING: 导出中 SUCCESS:导出完成 FAILURE:失败
- # <li>ExportSource- string -是否必填: 否 - 导出来源 LocalImage: 本地镜像
# </li>
+ # <li>ExportSource- string -是否必填: 否 - 导出来源 LocalImage: 本地镜像 RegistryImage: 仓库镜像
+ # </li>
# @type Filters: Array
# @param Offset: 偏移量,默认为0。
# @type Offset: Integer
# @param Limit: 需要返回的数量,默认为10,最大值为100
# @type Limit: Integer
@@ -13593,12 +13607,12 @@
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :Enable, :ScanTime, :ScanPeriod, :ScanType, :All, :Images, :Id, :Latest, :ScanEndTime, :RegistryType, :ContainerRunning, :ScanScope, :Namespace, :RequestId
extend Gem::Deprecate
- deprecate :All, :none, 2023, 11
- deprecate :All=, :none, 2023, 11
+ deprecate :All, :none, 2023, 12
+ deprecate :All=, :none, 2023, 12
def initialize(enable=nil, scantime=nil, scanperiod=nil, scantype=nil, all=nil, images=nil, id=nil, latest=nil, scanendtime=nil, registrytype=nil, containerrunning=nil, scanscope=nil, namespace=nil, requestid=nil)
@Enable = enable
@ScanTime = scantime
@ScanPeriod = scanperiod
@@ -21016,14 +21030,20 @@
# @type ClusterID: String
# @param ClusterName: 集群名称
# @type ClusterName: String
# @param ClusterAccessedStatus: 集群接入状态
# @type ClusterAccessedStatus: String
+ # @param ChargeCoresCnt: 计费核数
+ # @type ChargeCoresCnt: Integer
+ # @param DefendStatus: 防护状态:
+ # 已防护: Defended
+ # 未防护: UnDefended
+ # @type DefendStatus: String
- attr_accessor :HostID, :HostIP, :HostName, :Group, :DockerVersion, :DockerFileSystemDriver, :ImageCnt, :ContainerCnt, :Status, :IsContainerd, :MachineType, :PublicIp, :Uuid, :InstanceID, :RegionID, :Project, :Tags, :ClusterID, :ClusterName, :ClusterAccessedStatus
+ attr_accessor :HostID, :HostIP, :HostName, :Group, :DockerVersion, :DockerFileSystemDriver, :ImageCnt, :ContainerCnt, :Status, :IsContainerd, :MachineType, :PublicIp, :Uuid, :InstanceID, :RegionID, :Project, :Tags, :ClusterID, :ClusterName, :ClusterAccessedStatus, :ChargeCoresCnt, :DefendStatus
- 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, clusterid=nil, clustername=nil, clusteraccessedstatus=nil)
+ 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, clusterid=nil, clustername=nil, clusteraccessedstatus=nil, chargecorescnt=nil, defendstatus=nil)
@HostID = hostid
@HostIP = hostip
@HostName = hostname
@Group = group
@DockerVersion = dockerversion
@@ -21040,10 +21060,12 @@
@Project = project
@Tags = tags
@ClusterID = clusterid
@ClusterName = clustername
@ClusterAccessedStatus = clusteraccessedstatus
+ @ChargeCoresCnt = chargecorescnt
+ @DefendStatus = defendstatus
end
def deserialize(params)
@HostID = params['HostID']
@HostIP = params['HostIP']
@@ -21073,10 +21095,12 @@
end
end
@ClusterID = params['ClusterID']
@ClusterName = params['ClusterName']
@ClusterAccessedStatus = params['ClusterAccessedStatus']
+ @ChargeCoresCnt = params['ChargeCoresCnt']
+ @DefendStatus = params['DefendStatus']
end
end
# 镜像自动授权任务信息
class ImageAutoAuthorizedTask < TencentCloud::Common::AbstractModel
@@ -21406,12 +21430,12 @@
# @param RecommendedFix: 是否推荐处置
# @type RecommendedFix: Boolean
attr_accessor :ImageDigest, :ImageRepoAddress, :RegistryType, :ImageName, :ImageTag, :ImageSize, :ScanTime, :ScanStatus, :VulCnt, :VirusCnt, :RiskCnt, :SentiveInfoCnt, :IsTrustImage, :OsName, :ScanVirusError, :ScanVulError, :InstanceId, :InstanceName, :Namespace, :ScanRiskError, :ScanVirusProgress, :ScanVulProgress, :ScanRiskProgress, :ScanRemainTime, :CveStatus, :RiskStatus, :VirusStatus, :Progress, :IsAuthorized, :RegistryRegion, :Id, :ImageId, :ImageCreateTime, :IsLatestImage, :LowLevelVulCnt, :MediumLevelVulCnt, :HighLevelVulCnt, :CriticalLevelVulCnt, :ContainerCnt, :ComponentCnt, :IsRunning, :HasNeedFixVul, :SensitiveInfoCnt, :RecommendedFix
extend Gem::Deprecate
- deprecate :SentiveInfoCnt, :none, 2023, 11
- deprecate :SentiveInfoCnt=, :none, 2023, 11
+ deprecate :SentiveInfoCnt, :none, 2023, 12
+ deprecate :SentiveInfoCnt=, :none, 2023, 12
def initialize(imagedigest=nil, imagerepoaddress=nil, registrytype=nil, imagename=nil, imagetag=nil, imagesize=nil, scantime=nil, scanstatus=nil, vulcnt=nil, viruscnt=nil, riskcnt=nil, sentiveinfocnt=nil, istrustimage=nil, osname=nil, scanviruserror=nil, scanvulerror=nil, instanceid=nil, instancename=nil, namespace=nil, scanriskerror=nil, scanvirusprogress=nil, scanvulprogress=nil, scanriskprogress=nil, scanremaintime=nil, cvestatus=nil, riskstatus=nil, virusstatus=nil, progress=nil, isauthorized=nil, registryregion=nil, id=nil, imageid=nil, imagecreatetime=nil, islatestimage=nil, lowlevelvulcnt=nil, mediumlevelvulcnt=nil, highlevelvulcnt=nil, criticallevelvulcnt=nil, containercnt=nil, componentcnt=nil, isrunning=nil, hasneedfixvul=nil, sensitiveinfocnt=nil, recommendedfix=nil)
@ImageDigest = imagedigest
@ImageRepoAddress = imagerepoaddress
@RegistryType = registrytype
@@ -27189,11 +27213,11 @@
# @param Namespace: 命名空间
# @type Namespace: Array
attr_accessor :ScanPeriod, :Enable, :ScanTime, :ScanType, :Images, :All, :Id, :Latest, :ContainerRunning, :ScanEndTime, :ScanScope, :RegistryType, :Namespace
extend Gem::Deprecate
- deprecate :All, :none, 2023, 11
- deprecate :All=, :none, 2023, 11
+ deprecate :All, :none, 2023, 12
+ deprecate :All=, :none, 2023, 12
def initialize(scanperiod=nil, enable=nil, scantime=nil, scantype=nil, images=nil, all=nil, id=nil, latest=nil, containerrunning=nil, scanendtime=nil, scanscope=nil, registrytype=nil, namespace=nil)
@ScanPeriod = scanperiod
@Enable = enable
@ScanTime = scantime