UpdateOciLoggingConfiguration¶
- class oci.batch.models.UpdateOciLoggingConfiguration(**kwargs)¶
Bases:
UpdateLoggingConfigurationDetailsThe data to update logging configuration for OCI Logging service.
Attributes:
A constant which can be used with the type property of a UpdateLoggingConfigurationDetails.
[Required] Gets the is_job_task_events_propagation_enabled of this UpdateOciLoggingConfiguration.
[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'¶
A constant which can be used with the type property of a UpdateLoggingConfigurationDetails. This constant has a value of “OCI_LOGGING”
- __init__(**kwargs)¶
Initializes a new UpdateOciLoggingConfiguration object with values from keyword arguments. The default value of the
typeattribute of this class isOCI_LOGGINGand 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.
- property 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
- property 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