UpdateLongTermBackupDetails¶
- class oci.recovery.models.UpdateLongTermBackupDetails(**kwargs)¶
Bases:
objectThe information to be updated.
Methods:
__init__(**kwargs)Initializes a new UpdateLongTermBackupDetails object with values from keyword arguments.
Attributes:
Gets the defined_tags of this UpdateLongTermBackupDetails.
Gets the display_name of this UpdateLongTermBackupDetails.
Gets the freeform_tags of this UpdateLongTermBackupDetails.
Gets the retention_period of this UpdateLongTermBackupDetails.
- __init__(**kwargs)¶
Initializes a new UpdateLongTermBackupDetails 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 UpdateLongTermBackupDetails.
retention_period (list[oci.recovery.models.RetentionPeriodValue]) – The value to assign to the retention_period property of this UpdateLongTermBackupDetails.
freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this UpdateLongTermBackupDetails.
defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this UpdateLongTermBackupDetails.
- property defined_tags¶
Gets the defined_tags of this UpdateLongTermBackupDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}. For more information, see Resource Tags
- Returns
The defined_tags of this UpdateLongTermBackupDetails.
- Return type
dict(str, dict(str, object))
- property display_name¶
Gets the display_name of this UpdateLongTermBackupDetails. A user provided name for the long term backup. The ‘displayName’ does not have to be unique, and it can be modified. Avoid entering confidential information.
- Returns
The display_name of this UpdateLongTermBackupDetails.
- Return type
str
- property freeform_tags¶
Gets the freeform_tags of this UpdateLongTermBackupDetails. 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 UpdateLongTermBackupDetails.
- Return type
dict(str, str)
- property retention_period¶
Gets the retention_period of this UpdateLongTermBackupDetails. The maximum period to retain the long-term backup. Specify the retention period type and the duration for the long-term backup. If you have chosen the retention period type as ‘DAYS’, then specify a duration ranging from 90 days to 3650 days. If you have chosen the retention period type as ‘YEARS’, then specify a duration ranging from 1 year to 10 years.
- Returns
The retention_period of this UpdateLongTermBackupDetails.
- Return type