ArmRecoveryServicesBackupModelFactory.WeeklyRetentionFormat Method
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.
Weekly retention format.
public static Azure.ResourceManager.RecoveryServicesBackup.Models.WeeklyRetentionFormat WeeklyRetentionFormat(System.Collections.Generic.IEnumerable<Azure.ResourceManager.RecoveryServicesBackup.Models.BackupDayOfWeek> daysOfTheWeek = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.RecoveryServicesBackup.Models.BackupWeekOfMonth> weeksOfTheMonth = default);
static member WeeklyRetentionFormat : seq<Azure.ResourceManager.RecoveryServicesBackup.Models.BackupDayOfWeek> * seq<Azure.ResourceManager.RecoveryServicesBackup.Models.BackupWeekOfMonth> -> Azure.ResourceManager.RecoveryServicesBackup.Models.WeeklyRetentionFormat
Public Shared Function WeeklyRetentionFormat (Optional daysOfTheWeek As IEnumerable(Of BackupDayOfWeek) = Nothing, Optional weeksOfTheMonth As IEnumerable(Of BackupWeekOfMonth) = Nothing) As WeeklyRetentionFormat
Parameters
- daysOfTheWeek
- IEnumerable<BackupDayOfWeek>
List of days of the week.
- weeksOfTheMonth
- IEnumerable<BackupWeekOfMonth>
List of weeks of month.
Returns
A new WeeklyRetentionFormat instance for mocking.