UpdateOcirContainerScanRegistryDetails¶
-
class
oci.vulnerability_scanning.models.
UpdateOcirContainerScanRegistryDetails
(**kwargs)¶ Bases:
oci.vulnerability_scanning.models.update_container_scan_registry_details.UpdateContainerScanRegistryDetails
Registry information for a OCI Registry target
Methods
__init__
(**kwargs)Initializes a new UpdateOcirContainerScanRegistryDetails object with values from keyword arguments. get_subtype
(object_dictionary)Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype. Attributes
compartment_id
Gets the compartment_id of this UpdateOcirContainerScanRegistryDetails. repositories
Gets the repositories of this UpdateOcirContainerScanRegistryDetails. type
[Required] Gets the type of this UpdateContainerScanRegistryDetails. url
Gets the url of this UpdateContainerScanRegistryDetails. -
__init__
(**kwargs)¶ Initializes a new UpdateOcirContainerScanRegistryDetails object with values from keyword arguments. The default value of the
type
attribute of this class isOCIR
and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):Parameters: - type (str) – The value to assign to the type property of this UpdateOcirContainerScanRegistryDetails.
- url (str) – The value to assign to the url property of this UpdateOcirContainerScanRegistryDetails.
- compartment_id (str) – The value to assign to the compartment_id property of this UpdateOcirContainerScanRegistryDetails.
- repositories (list[str]) – The value to assign to the repositories property of this UpdateOcirContainerScanRegistryDetails.
-
compartment_id
¶ Gets the compartment_id of this UpdateOcirContainerScanRegistryDetails. The OCID of the compartment to perform the scans in. All listed repositories must be in the compartment.
Returns: The compartment_id of this UpdateOcirContainerScanRegistryDetails. Return type: str
-
static
get_subtype
(object_dictionary)¶ Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
-
repositories
¶ Gets the repositories of this UpdateOcirContainerScanRegistryDetails. List of repositories to scan images in. If left empty, the target defaults to scanning all repos in the compartmentId
Returns: The repositories of this UpdateOcirContainerScanRegistryDetails. Return type: list[str]
-
type
¶ [Required] Gets the type of this UpdateContainerScanRegistryDetails. The scan level
Returns: The type of this UpdateContainerScanRegistryDetails. Return type: str
-
url
¶ Gets the url of this UpdateContainerScanRegistryDetails. URL of the registry. Required for non-OCIR registry types (for OCIR registry types, it can be inferred from the tenancy). If null, will not be updated.
Returns: The url of this UpdateContainerScanRegistryDetails. Return type: str
-