UpdateBackupDetails

class oci.mysql.models.UpdateBackupDetails(**kwargs)

Bases: object

The Backup metadata which can be updated.

Methods

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

Attributes

defined_tags Gets the defined_tags of this UpdateBackupDetails.
description Gets the description of this UpdateBackupDetails.
display_name Gets the display_name of this UpdateBackupDetails.
freeform_tags Gets the freeform_tags of this UpdateBackupDetails.
retention_in_days Gets the retention_in_days of this UpdateBackupDetails.
__init__(**kwargs)

Initializes a new UpdateBackupDetails 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 UpdateBackupDetails.
  • description (str) – The value to assign to the description property of this UpdateBackupDetails.
  • retention_in_days (int) – The value to assign to the retention_in_days property of this UpdateBackupDetails.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this UpdateBackupDetails.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this UpdateBackupDetails.
defined_tags

Gets the defined_tags of this UpdateBackupDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}

Returns:The defined_tags of this UpdateBackupDetails.
Return type:dict(str, dict(str, object))
description

Gets the description of this UpdateBackupDetails. A user-supplied description for the backup.

Returns:The description of this UpdateBackupDetails.
Return type:str
display_name

Gets the display_name of this UpdateBackupDetails. A user-supplied display name for the backup.

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

Gets the freeform_tags of this UpdateBackupDetails. Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {“bar-key”: “value”}

Returns:The freeform_tags of this UpdateBackupDetails.
Return type:dict(str, str)
retention_in_days

Gets the retention_in_days of this UpdateBackupDetails. The number of days backups are retained.

Returns:The retention_in_days of this UpdateBackupDetails.
Return type:int