ArmDataProtectionBackupModelFactory.DataProtectionBackupSchedule 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.
Schedule for backup.
public static Azure.ResourceManager.DataProtectionBackup.Models.DataProtectionBackupSchedule DataProtectionBackupSchedule(System.Collections.Generic.IEnumerable<string> repeatingTimeIntervals = default, string timeZone = default);
static member DataProtectionBackupSchedule : seq<string> * string -> Azure.ResourceManager.DataProtectionBackup.Models.DataProtectionBackupSchedule
Public Shared Function DataProtectionBackupSchedule (Optional repeatingTimeIntervals As IEnumerable(Of String) = Nothing, Optional timeZone As String = Nothing) As DataProtectionBackupSchedule
Parameters
- repeatingTimeIntervals
- IEnumerable<String>
Repeating time intervals that define the backup schedule.
Each value must follow the format: R/YYYY-MM-DDThh:mm:ss[.fff][Z|(+/-)hh:mm]/Duration
Only the exact formats listed below are supported. Other ISO 8601 variations are not accepted.
Supported time formats:
- `Thh:mm:ss.fff` (with milliseconds)
- `Thh:mm:ss` (with seconds)
- `Thh:mm` (hours and minutes only)
- `R/2023-10-15T14:30:00Z/P1W`
- `R/2023-10-15T14:30:45.123+05:30/P1D`
- `R/2023-10-15T14:30Z/P1D`
- timeZone
- String
Time Zone for a schedule. Supported timezone indicators include:
- 'Z' for UTC
- '+00:00'
- '+05:30'
- '-08:00'
- 2023-10-15T14:30:45Z
- 2023-10-15T14:30:45.123+05:30
- 2023-10-15T14:30-08:00
Returns
A new DataProtectionBackupSchedule instance for mocking.