Class ChangePlanRetentionDetails
The details required to change the plan retention period. It takes either credentials or databaseCredential. It's recommended to provide databaseCredential
Inherited Members
Namespace: Oci.DatabasemanagementService.Models
Assembly: OCI.DotNetSDK.Databasemanagement.dll
Syntax
public class ChangePlanRetentionDetails
Properties
Credentials
Declaration
[JsonProperty(PropertyName = "credentials")]
public ManagedDatabaseCredential Credentials { get; set; }
Property Value
Type | Description |
---|---|
ManagedDatabaseCredential |
DatabaseCredential
Declaration
[JsonProperty(PropertyName = "databaseCredential")]
public DatabaseCredentialDetails DatabaseCredential { get; set; }
Property Value
Type | Description |
---|---|
DatabaseCredentialDetails |
RetentionWeeks
Declaration
[Required(ErrorMessage = "RetentionWeeks is required.")]
[JsonProperty(PropertyName = "retentionWeeks")]
public int? RetentionWeeks { get; set; }
Property Value
Type | Description |
---|---|
int? | The retention period in weeks. It can range between 5 and 523 weeks. |
Remarks
Required