Compartilhar via


AzureBackupYearlyRetentionPolicy Constructor

Definition

public AzureBackupYearlyRetentionPolicy (string retentionType, int retention, System.Collections.Generic.List<Microsoft.Azure.Management.BackupServices.Models.Month> monthsOfYear, Microsoft.Azure.Commands.AzureBackup.Models.RetentionFormat retentionFormat, System.Collections.Generic.List<string> daysOfMonth, System.Collections.Generic.List<Microsoft.Azure.Management.BackupServices.Models.WeekNumber> weekNumber, System.Collections.Generic.List<DayOfWeek> daysOfWeek);
new Microsoft.Azure.Commands.AzureBackup.Models.AzureBackupYearlyRetentionPolicy : string * int * System.Collections.Generic.List<Microsoft.Azure.Management.BackupServices.Models.Month> * Microsoft.Azure.Commands.AzureBackup.Models.RetentionFormat * System.Collections.Generic.List<string> * System.Collections.Generic.List<Microsoft.Azure.Management.BackupServices.Models.WeekNumber> * System.Collections.Generic.List<DayOfWeek> -> Microsoft.Azure.Commands.AzureBackup.Models.AzureBackupYearlyRetentionPolicy
Public Sub New (retentionType As String, retention As Integer, monthsOfYear As List(Of Month), retentionFormat As RetentionFormat, daysOfMonth As List(Of String), weekNumber As List(Of WeekNumber), daysOfWeek As List(Of DayOfWeek))

Parameters

retentionType
String
retention
Int32
monthsOfYear
List<Month>
retentionFormat
RetentionFormat
daysOfMonth
List<String>
weekNumber
List<WeekNumber>
daysOfWeek
List<DayOfWeek>

Applies to