Compartilhar via


YearlyRetentionSchedule Construtores

Definição

Sobrecargas

YearlyRetentionSchedule()

Inicializa uma nova instância da classe YearlyRetentionSchedule.

YearlyRetentionSchedule(String, IList<Nullable<MonthOfYear>>, DailyRetentionFormat, WeeklyRetentionFormat, IList<Nullable<DateTime>>, RetentionDuration)

Inicializa uma nova instância da classe YearlyRetentionSchedule.

YearlyRetentionSchedule()

Inicializa uma nova instância da classe YearlyRetentionSchedule.

public YearlyRetentionSchedule ();
Public Sub New ()

Aplica-se a

YearlyRetentionSchedule(String, IList<Nullable<MonthOfYear>>, DailyRetentionFormat, WeeklyRetentionFormat, IList<Nullable<DateTime>>, RetentionDuration)

Inicializa uma nova instância da classe YearlyRetentionSchedule.

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)

Parâmetros

retentionScheduleFormatType
String

Formato de agendamento de retenção para a política de retenção anual. Os valores possíveis incluem: 'Invalid', 'Daily', 'Weekly'

monthsOfYear
IList<Nullable<MonthOfYear>>

Lista de meses do ano da política de retenção anual.

retentionScheduleDaily
DailyRetentionFormat

Formato de retenção diária para a política de retenção anual.

retentionScheduleWeekly
WeeklyRetentionFormat

Formato de retenção semanal para a política de retenção anual.

retentionTimes
IList<Nullable<DateTime>>

Tempos de retenção da política de retenção.

retentionDuration
RetentionDuration

Duração da retenção da Política de retenção.

Aplica-se a