DetectorSummary

class oci.cloud_guard.models.DetectorSummary(**kwargs)

Bases: object

Summary information for a detector.

Attributes

LIFECYCLE_STATE_ACTIVE A constant which can be used with the lifecycle_state property of a DetectorSummary.
LIFECYCLE_STATE_CREATING A constant which can be used with the lifecycle_state property of a DetectorSummary.
LIFECYCLE_STATE_DELETED A constant which can be used with the lifecycle_state property of a DetectorSummary.
LIFECYCLE_STATE_DELETING A constant which can be used with the lifecycle_state property of a DetectorSummary.
LIFECYCLE_STATE_FAILED A constant which can be used with the lifecycle_state property of a DetectorSummary.
LIFECYCLE_STATE_INACTIVE A constant which can be used with the lifecycle_state property of a DetectorSummary.
LIFECYCLE_STATE_UPDATING A constant which can be used with the lifecycle_state property of a DetectorSummary.
description Gets the description of this DetectorSummary.
id [Required] Gets the id of this DetectorSummary.
lifecycle_state Gets the lifecycle_state of this DetectorSummary.
locks Gets the locks of this DetectorSummary.

Methods

__init__(**kwargs) Initializes a new DetectorSummary object with values from keyword arguments.
LIFECYCLE_STATE_ACTIVE = 'ACTIVE'

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

LIFECYCLE_STATE_CREATING = 'CREATING'

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

LIFECYCLE_STATE_DELETED = 'DELETED'

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

LIFECYCLE_STATE_DELETING = 'DELETING'

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

LIFECYCLE_STATE_FAILED = 'FAILED'

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

LIFECYCLE_STATE_INACTIVE = 'INACTIVE'

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

LIFECYCLE_STATE_UPDATING = 'UPDATING'

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

__init__(**kwargs)

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

Parameters:
  • id (str) – The value to assign to the id property of this DetectorSummary.
  • description (str) – The value to assign to the description property of this DetectorSummary.
  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this DetectorSummary. Allowed values for this property are: “CREATING”, “UPDATING”, “ACTIVE”, “INACTIVE”, “DELETING”, “DELETED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • locks (list[oci.cloud_guard.models.ResourceLock]) – The value to assign to the locks property of this DetectorSummary.
description

Gets the description of this DetectorSummary. Detector description

Returns:The description of this DetectorSummary.
Return type:str
id

[Required] Gets the id of this DetectorSummary. Unique identifier for the detector

Returns:The id of this DetectorSummary.
Return type:str
lifecycle_state

Gets the lifecycle_state of this DetectorSummary. The current lifecycle state of the resource

Allowed values for this property are: “CREATING”, “UPDATING”, “ACTIVE”, “INACTIVE”, “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 DetectorSummary.
Return type:str
locks

Gets the locks of this DetectorSummary. Locks associated with this resource.

Returns:The locks of this DetectorSummary.
Return type:list[oci.cloud_guard.models.ResourceLock]