BackupSchedule Class

Definition

Schedule for backup

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20260301.BackupScheduleTypeConverter))]
public class BackupSchedule : Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20260301.IBackupSchedule
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20260301.BackupScheduleTypeConverter))>]
type BackupSchedule = class
    interface IBackupSchedule
    interface IJsonSerializable
Public Class BackupSchedule
Implements IBackupSchedule
Inheritance
BackupSchedule
Attributes
Implements

Constructors

Name Description
BackupSchedule()

Creates an new BackupSchedule instance.

Properties

Name Description
RepeatingTimeInterval

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) A timezone indicator (Z, +hh:mm, or -hh:mm) may be appended to any of the above. Unsupported formats include compact notation such as T1430, T143045, or T14.5. Examples:
  • R/2023-10-15T14:30:00Z/P1W
  • R/2023-10-15T14:30:45.123+05:30/P1D
  • R/2023-10-15T14:30Z/P1D
TimeZone

Time Zone for a schedule. Supported timezone indicators include:

  • 'Z' for UTC
  • '+00:00'
  • '+05:30'
  • '-08:00' Examples:
  • 2023-10-15T14:30:45Z
  • 2023-10-15T14:30:45.123+05:30
  • 2023-10-15T14:30-08:00

Methods

Name Description
DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of BackupSchedule.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of BackupSchedule.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20260301.IBackupSchedule.

FromJsonString(String)

Creates a new instance of BackupSchedule, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of BackupSchedule into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to