Configuration

class oci.logging.models.Configuration(**kwargs)

Bases: object

Log object configuration.

Methods

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

Attributes

archiving Gets the archiving of this Configuration.
compartment_id Gets the compartment_id of this Configuration.
source [Required] Gets the source of this Configuration.
__init__(**kwargs)

Initializes a new Configuration 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 Configuration.
  • source (oci.logging.models.Source) – The value to assign to the source property of this Configuration.
  • archiving (oci.logging.models.Archiving) – The value to assign to the archiving property of this Configuration.
archiving

Gets the archiving of this Configuration.

Returns:The archiving of this Configuration.
Return type:oci.logging.models.Archiving
compartment_id

Gets the compartment_id of this Configuration. The OCID of the compartment that the resource belongs to.

Returns:The compartment_id of this Configuration.
Return type:str
source

[Required] Gets the source of this Configuration.

Returns:The source of this Configuration.
Return type:oci.logging.models.Source