NamespaceSummary¶
- class oci.log_analytics.models.NamespaceSummary(**kwargs)¶
Bases:
objectThe is the namespace summary of a tenancy in Log Analytics application
Attributes:
A constant which can be used with the lifecycle_state property of a NamespaceSummary.
A constant which can be used with the lifecycle_state property of a NamespaceSummary.
[Required] Gets the compartment_id of this NamespaceSummary.
Gets the is_archiving_enabled of this NamespaceSummary.
Gets the is_data_ever_ingested of this NamespaceSummary.
Gets the is_log_set_enabled of this NamespaceSummary.
[Required] Gets the is_onboarded of this NamespaceSummary.
Gets the lifecycle_state of this NamespaceSummary.
[Required] Gets the namespace_name of this NamespaceSummary.
Methods:
__init__(**kwargs)Initializes a new NamespaceSummary object with values from keyword arguments.
- LIFECYCLE_STATE_ACTIVE = 'ACTIVE'¶
A constant which can be used with the lifecycle_state property of a NamespaceSummary. This constant has a value of “ACTIVE”
- LIFECYCLE_STATE_INACTIVE = 'INACTIVE'¶
A constant which can be used with the lifecycle_state property of a NamespaceSummary. This constant has a value of “INACTIVE”
- __init__(**kwargs)¶
Initializes a new NamespaceSummary object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
namespace_name (str) – The value to assign to the namespace_name property of this NamespaceSummary.
compartment_id (str) – The value to assign to the compartment_id property of this NamespaceSummary.
is_onboarded (bool) – The value to assign to the is_onboarded property of this NamespaceSummary.
is_log_set_enabled (bool) – The value to assign to the is_log_set_enabled property of this NamespaceSummary.
is_data_ever_ingested (bool) – The value to assign to the is_data_ever_ingested property of this NamespaceSummary.
is_archiving_enabled (bool) – The value to assign to the is_archiving_enabled property of this NamespaceSummary.
lifecycle_state (str) – The value to assign to the lifecycle_state property of this NamespaceSummary. Allowed values for this property are: “ACTIVE”, “INACTIVE”, ‘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 NamespaceSummary. The is the tenancy ID
- Returns
The compartment_id of this NamespaceSummary.
- Return type
str
- property is_archiving_enabled¶
Gets the is_archiving_enabled of this NamespaceSummary. This indicates if old data can be archived for a tenancy
- Returns
The is_archiving_enabled of this NamespaceSummary.
- Return type
bool
- property is_data_ever_ingested¶
Gets the is_data_ever_ingested of this NamespaceSummary. This indicates if data has ever been ingested for the tenancy in Log Analytics
- Returns
The is_data_ever_ingested of this NamespaceSummary.
- Return type
bool
- property is_log_set_enabled¶
Gets the is_log_set_enabled of this NamespaceSummary. This indicates if the log set feature is enabled for the tenancy
- Returns
The is_log_set_enabled of this NamespaceSummary.
- Return type
bool
- property is_onboarded¶
[Required] Gets the is_onboarded of this NamespaceSummary. This indicates if the tenancy is onboarded to Log Analytics
- Returns
The is_onboarded of this NamespaceSummary.
- Return type
bool
- property lifecycle_state¶
Gets the lifecycle_state of this NamespaceSummary. The current state of the compartment.
Allowed values for this property are: “ACTIVE”, “INACTIVE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The lifecycle_state of this NamespaceSummary.
- Return type
str
- property namespace_name¶
[Required] Gets the namespace_name of this NamespaceSummary. This is the namespace name of a tenancy
- Returns
The namespace_name of this NamespaceSummary.
- Return type
str