LogSource

class oci.sch.models.LogSource(**kwargs)

Bases: object

The logs for this Logging source.

Methods

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

Attributes

compartment_id [Required] Gets the compartment_id of this LogSource.
log_group_id Gets the log_group_id of this LogSource.
log_id Gets the log_id of this LogSource.
__init__(**kwargs)

Initializes a new LogSource 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 LogSource.
  • log_group_id (str) – The value to assign to the log_group_id property of this LogSource.
  • log_id (str) – The value to assign to the log_id property of this LogSource.
compartment_id

[Required] Gets the compartment_id of this LogSource. The OCID of the compartment containing the log source.

Returns:The compartment_id of this LogSource.
Return type:str
log_group_id

Gets the log_group_id of this LogSource. The OCID of the log group. Note: For the Notifications target, only _Audit is allowed. Example OCID for _Audit log group: ocid1.tenancy.oc1..exampleuniqueid/_Audit

Returns:The log_group_id of this LogSource.
Return type:str
log_id

Gets the log_id of this LogSource. The OCID of the log.

Returns:The log_id of this LogSource.
Return type:str