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.

property 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

property log_group_id

Gets the log_group_id of this LogSource. Identifier of the log group. Either _Audit or the OCID of the log group. Note: For the Notifications target, only _Audit is allowed.

Returns

The log_group_id of this LogSource.

Return type

str

property log_id

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

Returns

The log_id of this LogSource.

Return type

str