ChangePlanRetentionDetails¶
- class oci.database_management.models.ChangePlanRetentionDetails(**kwargs)¶
Bases:
objectThe 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:
Gets the credentials of this ChangePlanRetentionDetails.
Gets the database_credential of this ChangePlanRetentionDetails.
[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.
- property credentials¶
Gets the credentials of this ChangePlanRetentionDetails.
- Returns
The credentials of this ChangePlanRetentionDetails.
- Return type
- property database_credential¶
Gets the database_credential of this ChangePlanRetentionDetails.
- Returns
The database_credential of this ChangePlanRetentionDetails.
- Return type
- property 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