ChangePlanRetentionDetails¶
-
class
oci.database_management.models.
ChangePlanRetentionDetails
(**kwargs)¶ Bases:
object
The details required to change the plan retention period. It takes either credentials or databaseCredential. It’s recommended to provide databaseCredential
Methods
__init__
(**kwargs)Initializes a new ChangePlanRetentionDetails object with values from keyword arguments. Attributes
credentials
Gets the credentials of this ChangePlanRetentionDetails. database_credential
Gets the database_credential of this ChangePlanRetentionDetails. retention_weeks
[Required] Gets the retention_weeks of this ChangePlanRetentionDetails. -
__init__
(**kwargs)¶ Initializes a new ChangePlanRetentionDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - retention_weeks (int) – The value to assign to the retention_weeks property of this ChangePlanRetentionDetails.
- credentials (oci.database_management.models.ManagedDatabaseCredential) – The value to assign to the credentials property of this ChangePlanRetentionDetails.
- database_credential (oci.database_management.models.DatabaseCredentialDetails) – The value to assign to the database_credential property of this ChangePlanRetentionDetails.
-
credentials
¶ Gets the credentials of this ChangePlanRetentionDetails.
Returns: The credentials of this ChangePlanRetentionDetails. Return type: oci.database_management.models.ManagedDatabaseCredential
-
database_credential
¶ Gets the database_credential of this ChangePlanRetentionDetails.
Returns: The database_credential of this ChangePlanRetentionDetails. Return type: oci.database_management.models.DatabaseCredentialDetails
-
retention_weeks
¶ [Required] Gets the retention_weeks of this ChangePlanRetentionDetails. The retention period in weeks. It can range between 5 and 523 weeks.
Returns: The retention_weeks of this ChangePlanRetentionDetails. Return type: int
-