CreateContainerScanTargetDetails

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

Bases: object

The information for a new container scan target

Methods:

__init__(**kwargs)

Initializes a new CreateContainerScanTargetDetails object with values from keyword arguments.

Attributes:

compartment_id

[Required] Gets the compartment_id of this CreateContainerScanTargetDetails.

container_scan_recipe_id

[Required] Gets the container_scan_recipe_id of this CreateContainerScanTargetDetails.

defined_tags

Gets the defined_tags of this CreateContainerScanTargetDetails.

description

Gets the description of this CreateContainerScanTargetDetails.

display_name

Gets the display_name of this CreateContainerScanTargetDetails.

freeform_tags

Gets the freeform_tags of this CreateContainerScanTargetDetails.

target_registry

[Required] Gets the target_registry of this CreateContainerScanTargetDetails.

__init__(**kwargs)

Initializes a new CreateContainerScanTargetDetails 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 CreateContainerScanTargetDetails.

  • compartment_id (str) – The value to assign to the compartment_id property of this CreateContainerScanTargetDetails.

  • description (str) – The value to assign to the description property of this CreateContainerScanTargetDetails.

  • target_registry (oci.vulnerability_scanning.models.CreateContainerScanRegistryDetails) – The value to assign to the target_registry property of this CreateContainerScanTargetDetails.

  • container_scan_recipe_id (str) – The value to assign to the container_scan_recipe_id property of this CreateContainerScanTargetDetails.

  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateContainerScanTargetDetails.

  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateContainerScanTargetDetails.

property compartment_id

[Required] Gets the compartment_id of this CreateContainerScanTargetDetails. The OCID of the container scan target’s compartment

Returns

The compartment_id of this CreateContainerScanTargetDetails.

Return type

str

property container_scan_recipe_id

[Required] Gets the container_scan_recipe_id of this CreateContainerScanTargetDetails. ID of the container scan recipe this target applies.

Returns

The container_scan_recipe_id of this CreateContainerScanTargetDetails.

Return type

str

property defined_tags

Gets the defined_tags of this CreateContainerScanTargetDetails. 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 CreateContainerScanTargetDetails.

Return type

dict(str, dict(str, object))

property description

Gets the description of this CreateContainerScanTargetDetails. Target description.

Returns

The description of this CreateContainerScanTargetDetails.

Return type

str

property display_name

Gets the display_name of this CreateContainerScanTargetDetails. User friendly name of container scan target. If not present, will be auto-generated.

Returns

The display_name of this CreateContainerScanTargetDetails.

Return type

str

property freeform_tags

Gets the freeform_tags of this CreateContainerScanTargetDetails. 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 CreateContainerScanTargetDetails.

Return type

dict(str, str)

property target_registry

[Required] Gets the target_registry of this CreateContainerScanTargetDetails.

Returns

The target_registry of this CreateContainerScanTargetDetails.

Return type

oci.vulnerability_scanning.models.CreateContainerScanRegistryDetails