UpdateContainerScanRecipeDetails

class oci.vulnerability_scanning.models.UpdateContainerScanRecipeDetails(**kwargs)

Bases: object

The information to update an existing container scan recipe

Methods

__init__(**kwargs) Initializes a new UpdateContainerScanRecipeDetails object with values from keyword arguments.

Attributes

defined_tags Gets the defined_tags of this UpdateContainerScanRecipeDetails.
display_name Gets the display_name of this UpdateContainerScanRecipeDetails.
freeform_tags Gets the freeform_tags of this UpdateContainerScanRecipeDetails.
image_count Gets the image_count of this UpdateContainerScanRecipeDetails.
scan_settings Gets the scan_settings of this UpdateContainerScanRecipeDetails.
__init__(**kwargs)

Initializes a new UpdateContainerScanRecipeDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • display_name (str) – The value to assign to the display_name property of this UpdateContainerScanRecipeDetails.
  • image_count (int) – The value to assign to the image_count property of this UpdateContainerScanRecipeDetails.
  • scan_settings (oci.vulnerability_scanning.models.ContainerScanSettings) – The value to assign to the scan_settings property of this UpdateContainerScanRecipeDetails.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this UpdateContainerScanRecipeDetails.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this UpdateContainerScanRecipeDetails.
defined_tags

Gets the defined_tags of this UpdateContainerScanRecipeDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}

Returns:The defined_tags of this UpdateContainerScanRecipeDetails.
Return type:dict(str, dict(str, object))
display_name

Gets the display_name of this UpdateContainerScanRecipeDetails. User friendly name of container scan recipe

Returns:The display_name of this UpdateContainerScanRecipeDetails.
Return type:str
freeform_tags

Gets the freeform_tags of this UpdateContainerScanRecipeDetails. Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {“bar-key”: “value”}

Returns:The freeform_tags of this UpdateContainerScanRecipeDetails.
Return type:dict(str, str)
image_count

Gets the image_count of this UpdateContainerScanRecipeDetails. This field is set equal to the number of images we want to scan in the first go when the recipe is created

Returns:The image_count of this UpdateContainerScanRecipeDetails.
Return type:int
scan_settings

Gets the scan_settings of this UpdateContainerScanRecipeDetails.

Returns:The scan_settings of this UpdateContainerScanRecipeDetails.
Return type:oci.vulnerability_scanning.models.ContainerScanSettings