UpdateOciLoggingConfiguration

class oci.batch.models.UpdateOciLoggingConfiguration(**kwargs)

Bases: oci.batch.models.update_logging_configuration_details.UpdateLoggingConfigurationDetails

The data to update logging configuration for OCI Logging service.

Attributes

TYPE_OCI_LOGGING str(object=’’) -> str
is_job_task_events_propagation_enabled [Required] Gets the is_job_task_events_propagation_enabled of this UpdateOciLoggingConfiguration.
type [Required] Gets the type of this UpdateLoggingConfigurationDetails.

Methods

__init__(**kwargs) Initializes a new UpdateOciLoggingConfiguration object with values from keyword arguments.
get_subtype(object_dictionary) Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
TYPE_OCI_LOGGING = 'OCI_LOGGING'
__init__(**kwargs)

Initializes a new UpdateOciLoggingConfiguration object with values from keyword arguments. The default value of the type attribute of this class is OCI_LOGGING and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • type (str) – The value to assign to the type property of this UpdateOciLoggingConfiguration. Allowed values for this property are: “OCI_LOGGING”
  • is_job_task_events_propagation_enabled (bool) – The value to assign to the is_job_task_events_propagation_enabled property of this UpdateOciLoggingConfiguration.
static get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

is_job_task_events_propagation_enabled

[Required] Gets the is_job_task_events_propagation_enabled of this UpdateOciLoggingConfiguration. A switch to enable or disable propagation of job and task events to the customer’s logs in OCI logging service.

Returns:The is_job_task_events_propagation_enabled of this UpdateOciLoggingConfiguration.
Return type:bool
type

[Required] Gets the type of this UpdateLoggingConfigurationDetails. Type of the logging configuration. Discriminator for sub-entities.

Allowed values for this property are: “OCI_LOGGING”

Returns:The type of this UpdateLoggingConfigurationDetails.
Return type:str