LogSource¶
-
class
oci.sch.models.LogSource(**kwargs)¶ Bases:
objectThe 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_idGets the log_group_id of this LogSource. log_idGets 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
-