UpdateLogDetails

class oci.logging.models.UpdateLogDetails(**kwargs)

Bases: object

Update log object properties.

Methods

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

Attributes

configuration Gets the configuration of this UpdateLogDetails.
defined_tags Gets the defined_tags of this UpdateLogDetails.
display_name Gets the display_name of this UpdateLogDetails.
freeform_tags Gets the freeform_tags of this UpdateLogDetails.
is_enabled Gets the is_enabled of this UpdateLogDetails.
retention_duration Gets the retention_duration of this UpdateLogDetails.
__init__(**kwargs)

Initializes a new UpdateLogDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • display_name (str) – The value to assign to the display_name property of this UpdateLogDetails.
  • is_enabled (bool) – The value to assign to the is_enabled property of this UpdateLogDetails.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this UpdateLogDetails.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this UpdateLogDetails.
  • retention_duration (int) – The value to assign to the retention_duration property of this UpdateLogDetails.
  • configuration (oci.logging.models.UpdateConfigurationDetails) – The value to assign to the configuration property of this UpdateLogDetails.
configuration

Gets the configuration of this UpdateLogDetails.

Returns:The configuration of this UpdateLogDetails.
Return type:oci.logging.models.UpdateConfigurationDetails
defined_tags

Gets the defined_tags of this UpdateLogDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.

Example: {“Operations”: {“CostCenter”: “42”}}

Returns:The defined_tags of this UpdateLogDetails.
Return type:dict(str, dict(str, object))
display_name

Gets the display_name of this UpdateLogDetails. The user-friendly display name. This must be unique within the enclosing resource, and it’s changeable. Avoid entering confidential information.

Returns:The display_name of this UpdateLogDetails.
Return type:str
freeform_tags

Gets the freeform_tags of this UpdateLogDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {“Department”: “Finance”}

Returns:The freeform_tags of this UpdateLogDetails.
Return type:dict(str, str)
is_enabled

Gets the is_enabled of this UpdateLogDetails. Whether or not this resource is currently enabled.

Returns:The is_enabled of this UpdateLogDetails.
Return type:bool
retention_duration

Gets the retention_duration of this UpdateLogDetails. Log retention duration in 30-day increments (30, 60, 90 and so on until 180).

Returns:The retention_duration of this UpdateLogDetails.
Return type:int