Configuration¶
- class oci.logging.models.Configuration(**kwargs)¶
Bases:
objectLog object configuration.
Methods:
__init__(**kwargs)Initializes a new Configuration object with values from keyword arguments.
Attributes:
Gets the archiving of this Configuration.
Gets the compartment_id of this Configuration.
[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.
- property archiving¶
Gets the archiving of this Configuration.
- Returns
The archiving of this Configuration.
- Return type
- property 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
- property source¶
[Required] Gets the source of this Configuration.
- Returns
The source of this Configuration.
- Return type