Namespace

class oci.log_analytics.models.Namespace(**kwargs)

Bases: object

This is the namespace details of a tenancy in Logging Analytics application

Methods

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

Attributes

compartment_id [Required] Gets the compartment_id of this Namespace.
is_data_ever_ingested Gets the is_data_ever_ingested of this Namespace.
is_log_set_enabled Gets the is_log_set_enabled of this Namespace.
is_onboarded [Required] Gets the is_onboarded of this Namespace.
namespace_name [Required] Gets the namespace_name of this Namespace.
__init__(**kwargs)

Initializes a new Namespace 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 Namespace.
  • compartment_id (str) – The value to assign to the compartment_id property of this Namespace.
  • is_onboarded (bool) – The value to assign to the is_onboarded property of this Namespace.
  • is_log_set_enabled (bool) – The value to assign to the is_log_set_enabled property of this Namespace.
  • is_data_ever_ingested (bool) – The value to assign to the is_data_ever_ingested property of this Namespace.
compartment_id

[Required] Gets the compartment_id of this Namespace. The is the tenancy ID

Returns:The compartment_id of this Namespace.
Return type:str
is_data_ever_ingested

Gets the is_data_ever_ingested of this Namespace. This indicates if data has ever been ingested for the tenancy in Logging Analytics

Returns:The is_data_ever_ingested of this Namespace.
Return type:bool
is_log_set_enabled

Gets the is_log_set_enabled of this Namespace. This indicates if the log set feature is enabled for the tenancy

Returns:The is_log_set_enabled of this Namespace.
Return type:bool
is_onboarded

[Required] Gets the is_onboarded of this Namespace. This indicates if the tenancy is onboarded to Logging Analytics

Returns:The is_onboarded of this Namespace.
Return type:bool
namespace_name

[Required] Gets the namespace_name of this Namespace. This is the namespace name of a tenancy

Returns:The namespace_name of this Namespace.
Return type:str