Class VolumeBackupSchedule
Defines the backup frequency and retention period for a volume backup policy. For more information, see Policy-Based Backups.
Inherited Members
Namespace: Oci.CoreService.Models
Assembly: OCI.DotNetSDK.Core.dll
Syntax
public class VolumeBackupSchedule
Properties
BackupType
Declaration
[Required(ErrorMessage = "BackupType is required.")]
[JsonProperty(PropertyName = "backupType")]
[JsonConverter(typeof(ResponseEnumConverter))]
public VolumeBackupSchedule.BackupTypeEnum? BackupType { get; set; }
Property Value
| Type | Description |
|---|---|
| VolumeBackupSchedule.BackupTypeEnum? | The type of volume backup to create. |
Remarks
Required
DayOfMonth
Declaration
[JsonProperty(PropertyName = "dayOfMonth")]
public int? DayOfMonth { get; set; }
Property Value
| Type | Description |
|---|---|
| int? | The day of the month to schedule the volume backup. |
DayOfWeek
Declaration
[JsonProperty(PropertyName = "dayOfWeek")]
[JsonConverter(typeof(ResponseEnumConverter))]
public VolumeBackupSchedule.DayOfWeekEnum? DayOfWeek { get; set; }
Property Value
| Type | Description |
|---|---|
| VolumeBackupSchedule.DayOfWeekEnum? | The day of the week to schedule the volume backup. |
HourOfDay
Declaration
[JsonProperty(PropertyName = "hourOfDay")]
public int? HourOfDay { get; set; }
Property Value
| Type | Description |
|---|---|
| int? | The hour of the day to schedule the volume backup. |
Month
Declaration
[JsonProperty(PropertyName = "month")]
[JsonConverter(typeof(ResponseEnumConverter))]
public VolumeBackupSchedule.MonthEnum? Month { get; set; }
Property Value
| Type | Description |
|---|---|
| VolumeBackupSchedule.MonthEnum? | The month of the year to schedule the volume backup. |
OffsetSeconds
Declaration
[JsonProperty(PropertyName = "offsetSeconds")]
public int? OffsetSeconds { get; set; }
Property Value
| Type | Description |
|---|---|
| int? | The number of seconds that the volume backup start time should be shifted from the default interval boundaries specified by the period. The volume backup start time is the frequency start time plus the offset. |
OffsetType
Declaration
[JsonProperty(PropertyName = "offsetType")]
[JsonConverter(typeof(ResponseEnumConverter))]
public VolumeBackupSchedule.OffsetTypeEnum? OffsetType { get; set; }
Property Value
| Type | Description |
|---|---|
| VolumeBackupSchedule.OffsetTypeEnum? | Indicates how the offset is defined. If value is |
Period
Declaration
[Required(ErrorMessage = "Period is required.")]
[JsonProperty(PropertyName = "period")]
[JsonConverter(typeof(ResponseEnumConverter))]
public VolumeBackupSchedule.PeriodEnum? Period { get; set; }
Property Value
| Type | Description |
|---|---|
| VolumeBackupSchedule.PeriodEnum? | The volume backup frequency. |
Remarks
Required
RetentionSeconds
Declaration
[Required(ErrorMessage = "RetentionSeconds is required.")]
[JsonProperty(PropertyName = "retentionSeconds")]
public int? RetentionSeconds { get; set; }
Property Value
| Type | Description |
|---|---|
| int? | How long, in seconds, to keep the volume backups created by this schedule. |
Remarks
Required
TimeZone
Declaration
[JsonProperty(PropertyName = "timeZone")]
[JsonConverter(typeof(ResponseEnumConverter))]
public VolumeBackupSchedule.TimeZoneEnum? TimeZone { get; set; }
Property Value
| Type | Description |
|---|---|
| VolumeBackupSchedule.TimeZoneEnum? | Specifies what time zone is the schedule in |