YearlyRetentionSchedule Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
YearlyRetentionSchedule() |
Initializes a new instance of the YearlyRetentionSchedule class. |
YearlyRetentionSchedule(String, IList<Nullable<MonthOfYear>>, DailyRetentionFormat, WeeklyRetentionFormat, IList<Nullable<DateTime>>, RetentionDuration) |
Initializes a new instance of the YearlyRetentionSchedule class. |
YearlyRetentionSchedule()
Initializes a new instance of the YearlyRetentionSchedule class.
public YearlyRetentionSchedule ();
Public Sub New ()
Applies to
YearlyRetentionSchedule(String, IList<Nullable<MonthOfYear>>, DailyRetentionFormat, WeeklyRetentionFormat, IList<Nullable<DateTime>>, RetentionDuration)
Initializes a new instance of the YearlyRetentionSchedule class.
public YearlyRetentionSchedule (string retentionScheduleFormatType = default, System.Collections.Generic.IList<Microsoft.Azure.Management.RecoveryServices.Backup.Models.MonthOfYear?> monthsOfYear = default, Microsoft.Azure.Management.RecoveryServices.Backup.Models.DailyRetentionFormat retentionScheduleDaily = default, Microsoft.Azure.Management.RecoveryServices.Backup.Models.WeeklyRetentionFormat retentionScheduleWeekly = default, System.Collections.Generic.IList<DateTime?> retentionTimes = default, Microsoft.Azure.Management.RecoveryServices.Backup.Models.RetentionDuration retentionDuration = default);
new Microsoft.Azure.Management.RecoveryServices.Backup.Models.YearlyRetentionSchedule : string * System.Collections.Generic.IList<Nullable<Microsoft.Azure.Management.RecoveryServices.Backup.Models.MonthOfYear>> * Microsoft.Azure.Management.RecoveryServices.Backup.Models.DailyRetentionFormat * Microsoft.Azure.Management.RecoveryServices.Backup.Models.WeeklyRetentionFormat * System.Collections.Generic.IList<Nullable<DateTime>> * Microsoft.Azure.Management.RecoveryServices.Backup.Models.RetentionDuration -> Microsoft.Azure.Management.RecoveryServices.Backup.Models.YearlyRetentionSchedule
Public Sub New (Optional retentionScheduleFormatType As String = Nothing, Optional monthsOfYear As IList(Of Nullable(Of MonthOfYear)) = Nothing, Optional retentionScheduleDaily As DailyRetentionFormat = Nothing, Optional retentionScheduleWeekly As WeeklyRetentionFormat = Nothing, Optional retentionTimes As IList(Of Nullable(Of DateTime)) = Nothing, Optional retentionDuration As RetentionDuration = Nothing)
Parameters
- retentionScheduleFormatType
- String
Retention schedule format for yearly retention policy. Possible values include: 'Invalid', 'Daily', 'Weekly'
- monthsOfYear
- IList<Nullable<MonthOfYear>>
List of months of year of yearly retention policy.
- retentionScheduleDaily
- DailyRetentionFormat
Daily retention format for yearly retention policy.
- retentionScheduleWeekly
- WeeklyRetentionFormat
Weekly retention format for yearly retention policy.
- retentionDuration
- RetentionDuration
Retention duration of retention Policy.
Applies to
Azure SDK for .NET
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for