UpdateHostScanTargetDetails

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

Bases: object

The information to update an existing host scan target

Methods

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

Attributes

defined_tags Gets the defined_tags of this UpdateHostScanTargetDetails.
description Gets the description of this UpdateHostScanTargetDetails.
display_name Gets the display_name of this UpdateHostScanTargetDetails.
freeform_tags Gets the freeform_tags of this UpdateHostScanTargetDetails.
host_scan_recipe_id Gets the host_scan_recipe_id of this UpdateHostScanTargetDetails.
instance_ids Gets the instance_ids of this UpdateHostScanTargetDetails.
target_compartment_id Gets the target_compartment_id of this UpdateHostScanTargetDetails.
__init__(**kwargs)

Initializes a new UpdateHostScanTargetDetails 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 UpdateHostScanTargetDetails.
  • description (str) – The value to assign to the description property of this UpdateHostScanTargetDetails.
  • target_compartment_id (str) – The value to assign to the target_compartment_id property of this UpdateHostScanTargetDetails.
  • instance_ids (list[str]) – The value to assign to the instance_ids property of this UpdateHostScanTargetDetails.
  • host_scan_recipe_id (str) – The value to assign to the host_scan_recipe_id property of this UpdateHostScanTargetDetails.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this UpdateHostScanTargetDetails.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this UpdateHostScanTargetDetails.
defined_tags

Gets the defined_tags of this UpdateHostScanTargetDetails. 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 UpdateHostScanTargetDetails.
Return type:dict(str, dict(str, object))
description

Gets the description of this UpdateHostScanTargetDetails. Target description.

Returns:The description of this UpdateHostScanTargetDetails.
Return type:str
display_name

Gets the display_name of this UpdateHostScanTargetDetails. Target identifier, which can be renamed. Avoid entering confidential information.

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

Gets the freeform_tags of this UpdateHostScanTargetDetails. 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 UpdateHostScanTargetDetails.
Return type:dict(str, str)
host_scan_recipe_id

Gets the host_scan_recipe_id of this UpdateHostScanTargetDetails. ID of the host scan recipe this target applies.

Returns:The host_scan_recipe_id of this UpdateHostScanTargetDetails.
Return type:str
instance_ids

Gets the instance_ids of this UpdateHostScanTargetDetails. List of compute instance IDs to target (optional). If empty, targets the entire targetCompartmentId.

Returns:The instance_ids of this UpdateHostScanTargetDetails.
Return type:list[str]
target_compartment_id

Gets the target_compartment_id of this UpdateHostScanTargetDetails. Compartment ID to target. If a list of hosts is provided, all hosts must be in this compartment.

Returns:The target_compartment_id of this UpdateHostScanTargetDetails.
Return type:str