ScheduleProtectedDatabaseDeletionDetails

class oci.recovery.models.ScheduleProtectedDatabaseDeletionDetails(**kwargs)

Bases: object

The details for scheduling deletion of the protected database

Attributes

DELETION_SCHEDULE_DELETE_AFTER_72_HOURS A constant which can be used with the deletion_schedule property of a ScheduleProtectedDatabaseDeletionDetails.
DELETION_SCHEDULE_DELETE_AFTER_RETENTION_PERIOD A constant which can be used with the deletion_schedule property of a ScheduleProtectedDatabaseDeletionDetails.
deletion_schedule Gets the deletion_schedule of this ScheduleProtectedDatabaseDeletionDetails.

Methods

__init__(**kwargs) Initializes a new ScheduleProtectedDatabaseDeletionDetails object with values from keyword arguments.
DELETION_SCHEDULE_DELETE_AFTER_72_HOURS = 'DELETE_AFTER_72_HOURS'

A constant which can be used with the deletion_schedule property of a ScheduleProtectedDatabaseDeletionDetails. This constant has a value of “DELETE_AFTER_72_HOURS”

DELETION_SCHEDULE_DELETE_AFTER_RETENTION_PERIOD = 'DELETE_AFTER_RETENTION_PERIOD'

A constant which can be used with the deletion_schedule property of a ScheduleProtectedDatabaseDeletionDetails. This constant has a value of “DELETE_AFTER_RETENTION_PERIOD”

__init__(**kwargs)

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

Parameters:deletion_schedule (str) – The value to assign to the deletion_schedule property of this ScheduleProtectedDatabaseDeletionDetails. Allowed values for this property are: “DELETE_AFTER_RETENTION_PERIOD”, “DELETE_AFTER_72_HOURS”
deletion_schedule

Gets the deletion_schedule of this ScheduleProtectedDatabaseDeletionDetails. Defines a preferred schedule to delete a protected database after you terminate the source database. * The default schedule is DELETE_AFTER_72_HOURS, so that the delete operation can occur 72 hours (3 days) after the source database is terminated. * The alternate schedule is DELETE_AFTER_RETENTION_PERIOD. Specify this option if you want to delete a protected database only after the policy-defined backup retention period expires.

Allowed values for this property are: “DELETE_AFTER_RETENTION_PERIOD”, “DELETE_AFTER_72_HOURS”

Returns:The deletion_schedule of this ScheduleProtectedDatabaseDeletionDetails.
Return type:str