BasicRetentionPolicyDescription Class
Describes basic retention policy.
All required parameters must be populated in order to send to Azure.
- Inheritance
-
azure.servicefabric.models._models_py3.RetentionPolicyDescriptionBasicRetentionPolicyDescription
Constructor
BasicRetentionPolicyDescription(*, retention_duration, minimum_number_of_backups: Optional[int] = None, **kwargs)
Parameters
- retention_duration
- <xref:timedelta>
Required
Required. It is the minimum duration for which a backup created, will remain stored in the storage and might get deleted after that span of time. It should be specified in ISO8601 format.
- minimum_number_of_backups
- int
Required
It is the minimum number of backups to be retained at any point of time. If specified with a non zero value, backups will not be deleted even if the backups have gone past retention duration and have number of backups less than or equal to it.
Feedback
Submit and view feedback for