UpdateVolumeGroupBackupDetails¶
- class oci.core.models.UpdateVolumeGroupBackupDetails(**kwargs)¶
Bases:
objectUpdateVolumeGroupBackupDetails model.
Methods:
__init__(**kwargs)Initializes a new UpdateVolumeGroupBackupDetails object with values from keyword arguments.
Attributes:
Gets the defined_tags of this UpdateVolumeGroupBackupDetails.
Gets the display_name of this UpdateVolumeGroupBackupDetails.
Gets the freeform_tags of this UpdateVolumeGroupBackupDetails.
Gets the is_indefinite_retention_enabled of this UpdateVolumeGroupBackupDetails.
Gets the is_prevent_deletion_enabled of this UpdateVolumeGroupBackupDetails.
Gets the is_retention_lock_enabled of this UpdateVolumeGroupBackupDetails.
Gets the retention_period of this UpdateVolumeGroupBackupDetails.
- __init__(**kwargs)¶
Initializes a new UpdateVolumeGroupBackupDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this UpdateVolumeGroupBackupDetails.
display_name (str) – The value to assign to the display_name property of this UpdateVolumeGroupBackupDetails.
freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this UpdateVolumeGroupBackupDetails.
retention_period (oci.core.models.RetentionDuration) – The value to assign to the retention_period property of this UpdateVolumeGroupBackupDetails.
is_prevent_deletion_enabled (bool) – The value to assign to the is_prevent_deletion_enabled property of this UpdateVolumeGroupBackupDetails.
is_retention_lock_enabled (bool) – The value to assign to the is_retention_lock_enabled property of this UpdateVolumeGroupBackupDetails.
is_indefinite_retention_enabled (bool) – The value to assign to the is_indefinite_retention_enabled property of this UpdateVolumeGroupBackupDetails.
- property defined_tags¶
Gets the defined_tags of this UpdateVolumeGroupBackupDetails. 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 UpdateVolumeGroupBackupDetails.
- Return type
dict(str, dict(str, object))
- property display_name¶
Gets the display_name of this UpdateVolumeGroupBackupDetails. A user-friendly name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.
- Returns
The display_name of this UpdateVolumeGroupBackupDetails.
- Return type
str
- property freeform_tags¶
Gets the freeform_tags of this UpdateVolumeGroupBackupDetails. 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 UpdateVolumeGroupBackupDetails.
- Return type
dict(str, str)
- property is_indefinite_retention_enabled¶
Gets the is_indefinite_retention_enabled of this UpdateVolumeGroupBackupDetails. feature that preserves backup data from modification or deletion to ensure it remains available for legal or regulatory investigations or litigation, regardless of standard retention policies. This is an optional field. If it is not specified, it is set to null, no legal hold will be applied to the backups.
- Returns
The is_indefinite_retention_enabled of this UpdateVolumeGroupBackupDetails.
- Return type
bool
- property is_prevent_deletion_enabled¶
Gets the is_prevent_deletion_enabled of this UpdateVolumeGroupBackupDetails. Prevent backups from being deleted during the configured retention period. This is an optional field. If it is not specified, it is set to null, prevent deletion will not be applied to the backups.
- Returns
The is_prevent_deletion_enabled of this UpdateVolumeGroupBackupDetails.
- Return type
bool
- property is_retention_lock_enabled¶
Gets the is_retention_lock_enabled of this UpdateVolumeGroupBackupDetails. feature that prevents deletion or alteration of backup data for a specified period to ensure data protection and regulatory compliance. This is an optional field. If it is not specified, it is set to null, no retention lock will be applied to the backups. This feature should be used in conjunction with the retention-period field.
- Returns
The is_retention_lock_enabled of this UpdateVolumeGroupBackupDetails.
- Return type
bool
- property retention_period¶
Gets the retention_period of this UpdateVolumeGroupBackupDetails.
- Returns
The retention_period of this UpdateVolumeGroupBackupDetails.
- Return type