SecurityAttributeSummary

class oci.security_attribute.models.SecurityAttributeSummary(**kwargs)

Bases: object

A security attribute definition that belongs to a specific security attribute namespace.

Methods

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

Attributes

compartment_id Gets the compartment_id of this SecurityAttributeSummary.
description Gets the description of this SecurityAttributeSummary.
id Gets the id of this SecurityAttributeSummary.
is_retired Gets the is_retired of this SecurityAttributeSummary.
lifecycle_state Gets the lifecycle_state of this SecurityAttributeSummary.
name Gets the name of this SecurityAttributeSummary.
security_attribute_namespace_id Gets the security_attribute_namespace_id of this SecurityAttributeSummary.
security_attribute_namespace_name Gets the security_attribute_namespace_name of this SecurityAttributeSummary.
time_created Gets the time_created of this SecurityAttributeSummary.
type Gets the type of this SecurityAttributeSummary.
__init__(**kwargs)

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

Parameters:
  • compartment_id (str) – The value to assign to the compartment_id property of this SecurityAttributeSummary.
  • security_attribute_namespace_id (str) – The value to assign to the security_attribute_namespace_id property of this SecurityAttributeSummary.
  • security_attribute_namespace_name (str) – The value to assign to the security_attribute_namespace_name property of this SecurityAttributeSummary.
  • id (str) – The value to assign to the id property of this SecurityAttributeSummary.
  • name (str) – The value to assign to the name property of this SecurityAttributeSummary.
  • description (str) – The value to assign to the description property of this SecurityAttributeSummary.
  • type (str) – The value to assign to the type property of this SecurityAttributeSummary.
  • is_retired (bool) – The value to assign to the is_retired property of this SecurityAttributeSummary.
  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this SecurityAttributeSummary.
  • time_created (datetime) – The value to assign to the time_created property of this SecurityAttributeSummary.
compartment_id

Gets the compartment_id of this SecurityAttributeSummary. The OCID of the compartment that contains the security attribute.

Returns:The compartment_id of this SecurityAttributeSummary.
Return type:str
description

Gets the description of this SecurityAttributeSummary. The description you assign to the security attribute.

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

Gets the id of this SecurityAttributeSummary. The OCID of the security attribute.

Returns:The id of this SecurityAttributeSummary.
Return type:str
is_retired

Gets the is_retired of this SecurityAttributeSummary. Whether the security attribute is retired. See Managing Security Attributes.

Returns:The is_retired of this SecurityAttributeSummary.
Return type:bool
lifecycle_state

Gets the lifecycle_state of this SecurityAttributeSummary. The security attribute’s current state. After creating a security attribute, make sure its lifecycleState is ACTIVE before using it. After retiring a security attribute, make sure its lifecycleState is INACTIVE before using it. If you delete a security attribute, you cannot delete another security attribute until the deleted security attribute’s lifecycleState changes from DELETING to DELETED.

Returns:The lifecycle_state of this SecurityAttributeSummary.
Return type:str
name

Gets the name of this SecurityAttributeSummary. The name assigned to the security attribute during creation. This is the security attribute. The name must be unique within the security attribute namespace and cannot be changed.

Returns:The name of this SecurityAttributeSummary.
Return type:str
security_attribute_namespace_id

Gets the security_attribute_namespace_id of this SecurityAttributeSummary. The OCID of the namespace that contains the security attribute.

Returns:The security_attribute_namespace_id of this SecurityAttributeSummary.
Return type:str
security_attribute_namespace_name

Gets the security_attribute_namespace_name of this SecurityAttributeSummary. The name of the security attribute namespace that contains the security attribute.

Returns:The security_attribute_namespace_name of this SecurityAttributeSummary.
Return type:str
time_created

Gets the time_created of this SecurityAttributeSummary. Date and time the security attribute was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z

Returns:The time_created of this SecurityAttributeSummary.
Return type:datetime
type

Gets the type of this SecurityAttributeSummary. The data type of the security attribute.

Returns:The type of this SecurityAttributeSummary.
Return type:str