ScheduleBasedTriggerContext Class

Definition

Schedule based trigger context

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20260301.ScheduleBasedTriggerContextTypeConverter))]
public class ScheduleBasedTriggerContext : Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20260301.IScheduleBasedTriggerContext, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20260301.ScheduleBasedTriggerContextTypeConverter))>]
type ScheduleBasedTriggerContext = class
    interface IScheduleBasedTriggerContext
    interface IJsonSerializable
    interface ITriggerContext
    interface IValidates
Public Class ScheduleBasedTriggerContext
Implements IScheduleBasedTriggerContext, IValidates
Inheritance
ScheduleBasedTriggerContext
Attributes
Implements

Constructors

Name Description
ScheduleBasedTriggerContext()

Creates an new ScheduleBasedTriggerContext instance.

Properties

Name Description
ObjectType

Type of the specific object - used for deserializing

ScheduleRepeatingTimeInterval

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
ScheduleTimeZone

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
TaggingCriterion

List of tags that can be applicable for given schedule.

Methods

Name Description
DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of ScheduleBasedTriggerContext.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ScheduleBasedTriggerContext.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of ScheduleBasedTriggerContext into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to