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
property credentials

Gets the credentials of this ChangePlanRetentionDetails.

Returns

The credentials of this ChangePlanRetentionDetails.

Return type

oci.database_management.models.ManagedDatabaseCredential

property database_credential

Gets the database_credential of this ChangePlanRetentionDetails.

Returns

The database_credential of this ChangePlanRetentionDetails.

Return type

oci.database_management.models.DatabaseCredentialDetails

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