lib/v20201101/models.rb in tencentcloud-sdk-tcss-3.0.833 vs lib/v20201101/models.rb in tencentcloud-sdk-tcss-3.0.834

- old
+ new

@@ -4271,17 +4271,19 @@ # @param ScanScope: 扫描范围 0 全部授权镜像,1自选镜像,2 推荐扫描 # @type ScanScope: Integer # @param ScanEndTime: 扫描结束时间 # 02:00 时分 # @type ScanEndTime: String + # @param ExcludeImages: 排除扫描的镜像 + # @type ExcludeImages: Array - attr_accessor :Enable, :ScanTime, :ScanPeriod, :ScanVirus, :ScanRisk, :ScanVul, :All, :Images, :ContainerRunning, :ScanScope, :ScanEndTime + attr_accessor :Enable, :ScanTime, :ScanPeriod, :ScanVirus, :ScanRisk, :ScanVul, :All, :Images, :ContainerRunning, :ScanScope, :ScanEndTime, :ExcludeImages extend Gem::Deprecate deprecate :All, :none, 2024, 5 deprecate :All=, :none, 2024, 5 - def initialize(enable=nil, scantime=nil, scanperiod=nil, scanvirus=nil, scanrisk=nil, scanvul=nil, all=nil, images=nil, containerrunning=nil, scanscope=nil, scanendtime=nil) + def initialize(enable=nil, scantime=nil, scanperiod=nil, scanvirus=nil, scanrisk=nil, scanvul=nil, all=nil, images=nil, containerrunning=nil, scanscope=nil, scanendtime=nil, excludeimages=nil) @Enable = enable @ScanTime = scantime @ScanPeriod = scanperiod @ScanVirus = scanvirus @ScanRisk = scanrisk @@ -4289,10 +4291,11 @@ @All = all @Images = images @ContainerRunning = containerrunning @ScanScope = scanscope @ScanEndTime = scanendtime + @ExcludeImages = excludeimages end def deserialize(params) @Enable = params['Enable'] @ScanTime = params['ScanTime'] @@ -4303,10 +4306,11 @@ @All = params['All'] @Images = params['Images'] @ContainerRunning = params['ContainerRunning'] @ScanScope = params['ScanScope'] @ScanEndTime = params['ScanEndTime'] + @ExcludeImages = params['ExcludeImages'] end end # CreateAssetImageScanSetting返回参数结构体 class CreateAssetImageScanSettingResponse < TencentCloud::Common::AbstractModel @@ -10603,19 +10607,22 @@ # @type ContainerRunning: Boolean # @param ScanScope: 扫描范围 0 全部授权镜像,1自选镜像,2 推荐扫描 # @type ScanScope: Integer # @param ScanEndTime: 扫描结束时间 02:00 时分 # @type ScanEndTime: String + # @param ExcludeImages: 排除的扫描镜像 + # 注意:此字段可能返回 null,表示取不到有效值。 + # @type ExcludeImages: Array # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String - attr_accessor :Enable, :ScanTime, :ScanPeriod, :ScanVirus, :ScanRisk, :ScanVul, :All, :Images, :ContainerRunning, :ScanScope, :ScanEndTime, :RequestId + attr_accessor :Enable, :ScanTime, :ScanPeriod, :ScanVirus, :ScanRisk, :ScanVul, :All, :Images, :ContainerRunning, :ScanScope, :ScanEndTime, :ExcludeImages, :RequestId extend Gem::Deprecate deprecate :All, :none, 2024, 5 deprecate :All=, :none, 2024, 5 - 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) + def initialize(enable=nil, scantime=nil, scanperiod=nil, scanvirus=nil, scanrisk=nil, scanvul=nil, all=nil, images=nil, containerrunning=nil, scanscope=nil, scanendtime=nil, excludeimages=nil, requestid=nil) @Enable = enable @ScanTime = scantime @ScanPeriod = scanperiod @ScanVirus = scanvirus @ScanRisk = scanrisk @@ -10623,10 +10630,11 @@ @All = all @Images = images @ContainerRunning = containerrunning @ScanScope = scanscope @ScanEndTime = scanendtime + @ExcludeImages = excludeimages @RequestId = requestid end def deserialize(params) @Enable = params['Enable'] @@ -10638,10 +10646,11 @@ @All = params['All'] @Images = params['Images'] @ContainerRunning = params['ContainerRunning'] @ScanScope = params['ScanScope'] @ScanEndTime = params['ScanEndTime'] + @ExcludeImages = params['ExcludeImages'] @RequestId = params['RequestId'] end end # DescribeAssetImageScanStatus请求参数结构体 @@ -14067,19 +14076,22 @@ # @type ContainerRunning: Boolean # @param ScanScope: 扫描范围 0全部镜像,1自选镜像,2推荐扫描镜像 # @type ScanScope: Integer # @param Namespace: 命名空间 # @type Namespace: Array + # @param ExcludeImageAssetIds: 排除的镜像资产id + # 注意:此字段可能返回 null,表示取不到有效值。 + # @type ExcludeImageAssetIds: Array # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String - attr_accessor :Enable, :ScanTime, :ScanPeriod, :ScanType, :All, :Images, :Id, :Latest, :ScanEndTime, :RegistryType, :ContainerRunning, :ScanScope, :Namespace, :RequestId + attr_accessor :Enable, :ScanTime, :ScanPeriod, :ScanType, :All, :Images, :Id, :Latest, :ScanEndTime, :RegistryType, :ContainerRunning, :ScanScope, :Namespace, :ExcludeImageAssetIds, :RequestId extend Gem::Deprecate deprecate :All, :none, 2024, 5 deprecate :All=, :none, 2024, 5 - 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) + 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, excludeimageassetids=nil, requestid=nil) @Enable = enable @ScanTime = scantime @ScanPeriod = scanperiod @ScanType = scantype @All = all @@ -14089,10 +14101,11 @@ @ScanEndTime = scanendtime @RegistryType = registrytype @ContainerRunning = containerrunning @ScanScope = scanscope @Namespace = namespace + @ExcludeImageAssetIds = excludeimageassetids @RequestId = requestid end def deserialize(params) @Enable = params['Enable'] @@ -14113,10 +14126,11 @@ @ScanEndTime = params['ScanEndTime'] @RegistryType = params['RegistryType'] @ContainerRunning = params['ContainerRunning'] @ScanScope = params['ScanScope'] @Namespace = params['Namespace'] + @ExcludeImageAssetIds = params['ExcludeImageAssetIds'] @RequestId = params['RequestId'] end end # DescribeImageRiskSummary请求参数结构体 @@ -28075,17 +28089,19 @@ # @type ScanScope: Integer # @param RegistryType: 仓库类型 tcr,ccr,harbor # @type RegistryType: Array # @param Namespace: 命名空间 # @type Namespace: Array + # @param ExcludeImageAssetIds: 排除的镜像资产id + # @type ExcludeImageAssetIds: Array - attr_accessor :ScanPeriod, :Enable, :ScanTime, :ScanType, :Images, :All, :Id, :Latest, :ContainerRunning, :ScanEndTime, :ScanScope, :RegistryType, :Namespace + attr_accessor :ScanPeriod, :Enable, :ScanTime, :ScanType, :Images, :All, :Id, :Latest, :ContainerRunning, :ScanEndTime, :ScanScope, :RegistryType, :Namespace, :ExcludeImageAssetIds extend Gem::Deprecate deprecate :All, :none, 2024, 5 deprecate :All=, :none, 2024, 5 - 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) + 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, excludeimageassetids=nil) @ScanPeriod = scanperiod @Enable = enable @ScanTime = scantime @ScanType = scantype @Images = images @@ -28095,10 +28111,11 @@ @ContainerRunning = containerrunning @ScanEndTime = scanendtime @ScanScope = scanscope @RegistryType = registrytype @Namespace = namespace + @ExcludeImageAssetIds = excludeimageassetids end def deserialize(params) @ScanPeriod = params['ScanPeriod'] @Enable = params['Enable'] @@ -28118,9 +28135,10 @@ @ContainerRunning = params['ContainerRunning'] @ScanEndTime = params['ScanEndTime'] @ScanScope = params['ScanScope'] @RegistryType = params['RegistryType'] @Namespace = params['Namespace'] + @ExcludeImageAssetIds = params['ExcludeImageAssetIds'] end end # UpdateImageRegistryTimingScanTask返回参数结构体 class UpdateImageRegistryTimingScanTaskResponse < TencentCloud::Common::AbstractModel