CreateContainerScanRecipeDetails¶
- class oci.vulnerability_scanning.models.CreateContainerScanRecipeDetails(**kwargs)¶
Bases:
objectThe information for a new container scan recipe
Methods:
__init__(**kwargs)Initializes a new CreateContainerScanRecipeDetails object with values from keyword arguments.
Attributes:
[Required] Gets the compartment_id of this CreateContainerScanRecipeDetails.
Gets the defined_tags of this CreateContainerScanRecipeDetails.
Gets the display_name of this CreateContainerScanRecipeDetails.
Gets the freeform_tags of this CreateContainerScanRecipeDetails.
Gets the image_count of this CreateContainerScanRecipeDetails.
[Required] Gets the scan_settings of this CreateContainerScanRecipeDetails.
- __init__(**kwargs)¶
Initializes a new CreateContainerScanRecipeDetails 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 CreateContainerScanRecipeDetails.
compartment_id (str) – The value to assign to the compartment_id property of this CreateContainerScanRecipeDetails.
image_count (int) – The value to assign to the image_count property of this CreateContainerScanRecipeDetails.
scan_settings (oci.vulnerability_scanning.models.ContainerScanSettings) – The value to assign to the scan_settings property of this CreateContainerScanRecipeDetails.
freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateContainerScanRecipeDetails.
defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateContainerScanRecipeDetails.
- property compartment_id¶
[Required] Gets the compartment_id of this CreateContainerScanRecipeDetails. The OCID of the container scan recipe’s compartment
- Returns
The compartment_id of this CreateContainerScanRecipeDetails.
- Return type
str
- property defined_tags¶
Gets the defined_tags of this CreateContainerScanRecipeDetails. 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 CreateContainerScanRecipeDetails.
- Return type
dict(str, dict(str, object))
- property display_name¶
Gets the display_name of this CreateContainerScanRecipeDetails. User friendly name of container scan recipe. If not present, will be auto-generated.
- Returns
The display_name of this CreateContainerScanRecipeDetails.
- Return type
str
- property freeform_tags¶
Gets the freeform_tags of this CreateContainerScanRecipeDetails. 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 CreateContainerScanRecipeDetails.
- Return type
dict(str, str)
- property image_count¶
Gets the image_count of this CreateContainerScanRecipeDetails. 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 CreateContainerScanRecipeDetails.
- Return type
int
- property scan_settings¶
[Required] Gets the scan_settings of this CreateContainerScanRecipeDetails.
- Returns
The scan_settings of this CreateContainerScanRecipeDetails.
- Return type