HostVulnerabilityImpactedHostSummary

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

Bases: object

Information on a host impacted by a vulnerability

Attributes:

LIFECYCLE_STATE_ACTIVE

A constant which can be used with the lifecycle_state property of a HostVulnerabilityImpactedHostSummary.

LIFECYCLE_STATE_CREATING

A constant which can be used with the lifecycle_state property of a HostVulnerabilityImpactedHostSummary.

LIFECYCLE_STATE_DELETED

A constant which can be used with the lifecycle_state property of a HostVulnerabilityImpactedHostSummary.

LIFECYCLE_STATE_DELETING

A constant which can be used with the lifecycle_state property of a HostVulnerabilityImpactedHostSummary.

LIFECYCLE_STATE_FAILED

A constant which can be used with the lifecycle_state property of a HostVulnerabilityImpactedHostSummary.

LIFECYCLE_STATE_UPDATING

A constant which can be used with the lifecycle_state property of a HostVulnerabilityImpactedHostSummary.

compartment_id

[Required] Gets the compartment_id of this HostVulnerabilityImpactedHostSummary.

instance_id

[Required] Gets the instance_id of this HostVulnerabilityImpactedHostSummary.

last_agent_scan_id

[Required] Gets the last_agent_scan_id of this HostVulnerabilityImpactedHostSummary.

lifecycle_state

Gets the lifecycle_state of this HostVulnerabilityImpactedHostSummary.

Methods:

__init__(**kwargs)

Initializes a new HostVulnerabilityImpactedHostSummary object with values from keyword arguments.

LIFECYCLE_STATE_ACTIVE = 'ACTIVE'

A constant which can be used with the lifecycle_state property of a HostVulnerabilityImpactedHostSummary. This constant has a value of “ACTIVE”

LIFECYCLE_STATE_CREATING = 'CREATING'

A constant which can be used with the lifecycle_state property of a HostVulnerabilityImpactedHostSummary. This constant has a value of “CREATING”

LIFECYCLE_STATE_DELETED = 'DELETED'

A constant which can be used with the lifecycle_state property of a HostVulnerabilityImpactedHostSummary. This constant has a value of “DELETED”

LIFECYCLE_STATE_DELETING = 'DELETING'

A constant which can be used with the lifecycle_state property of a HostVulnerabilityImpactedHostSummary. This constant has a value of “DELETING”

LIFECYCLE_STATE_FAILED = 'FAILED'

A constant which can be used with the lifecycle_state property of a HostVulnerabilityImpactedHostSummary. This constant has a value of “FAILED”

LIFECYCLE_STATE_UPDATING = 'UPDATING'

A constant which can be used with the lifecycle_state property of a HostVulnerabilityImpactedHostSummary. This constant has a value of “UPDATING”

__init__(**kwargs)

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

Parameters
  • instance_id (str) – The value to assign to the instance_id property of this HostVulnerabilityImpactedHostSummary.

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

  • last_agent_scan_id (str) – The value to assign to the last_agent_scan_id property of this HostVulnerabilityImpactedHostSummary.

  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this HostVulnerabilityImpactedHostSummary. Allowed values for this property are: “CREATING”, “UPDATING”, “ACTIVE”, “DELETING”, “DELETED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

property compartment_id

[Required] Gets the compartment_id of this HostVulnerabilityImpactedHostSummary. The compartment ID of the impacted host

Returns

The compartment_id of this HostVulnerabilityImpactedHostSummary.

Return type

str

property instance_id

[Required] Gets the instance_id of this HostVulnerabilityImpactedHostSummary. The compute instance ID of the impacted host

Returns

The instance_id of this HostVulnerabilityImpactedHostSummary.

Return type

str

property last_agent_scan_id

[Required] Gets the last_agent_scan_id of this HostVulnerabilityImpactedHostSummary. The ID of the last host agent scan result

Returns

The last_agent_scan_id of this HostVulnerabilityImpactedHostSummary.

Return type

str

property lifecycle_state

Gets the lifecycle_state of this HostVulnerabilityImpactedHostSummary. The current state of the resource.

Allowed values for this property are: “CREATING”, “UPDATING”, “ACTIVE”, “DELETING”, “DELETED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The lifecycle_state of this HostVulnerabilityImpactedHostSummary.

Return type

str