Show / Hide Table of Contents

Class RetentionPeriodValue

Specifies the retention period for the long-term backup.

Inheritance
object
RetentionPeriodValue
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.RecoveryService.Models
Assembly: OCI.DotNetSDK.Recovery.dll
Syntax
public class RetentionPeriodValue

Properties

RetentionCount

Declaration
[Required(ErrorMessage = "RetentionCount is required.")]
[JsonProperty(PropertyName = "retentionCount")]
public int? RetentionCount { get; set; }
Property Value
Type Description
int?

Specifies the duration (in days or years) to retain the long-term backup. If you have chosen the retentionPeriodType as 'DAYS', then specify a duration ranging from 90 days to 3650 days. If you have chosen the retentionPeriodType as 'YEARS', then specify a duration ranging from 1 year to 10 years.

Remarks

Required

RetentionPeriodType

Declaration
[Required(ErrorMessage = "RetentionPeriodType is required.")]
[JsonProperty(PropertyName = "retentionPeriodType")]
[JsonConverter(typeof(ResponseEnumConverter))]
public RetentionPeriodValue.RetentionPeriodTypeEnum? RetentionPeriodType { get; set; }
Property Value
Type Description
RetentionPeriodValue.RetentionPeriodTypeEnum?

Specifies the retention period type for the long-term backup. Allowed values are DAYS or YEARS.

Remarks

Required

In this article
Back to top