Class ScheduleEntry
Patch schedule entry for a Premium Redis Cache.
Namespace: System.Dynamic.ExpandoObject
Assembly: Microsoft.Azure.Management.Redis.dll
Syntax
public class ScheduleEntry
Constructors
ScheduleEntry()
Initializes a new instance of the ScheduleEntry class.
Declaration
public ScheduleEntry ();
ScheduleEntry(DayOfWeek, Int32, Nullable<TimeSpan>)
Initializes a new instance of the ScheduleEntry class.
Declaration
public ScheduleEntry (Microsoft.Azure.Management.Redis.Models.DayOfWeek dayOfWeek, int startHourUtc, Nullable<TimeSpan> maintenanceWindow = null);
Parameters
|
DayOfWeek
dayOfWeek
Day of the week when a cache can be patched. Possible values include: 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday', 'Sunday', 'Everyday', 'Weekend' |
|
Int32
startHourUtc
Start hour after which cache patching can start. |
|
Nullable<TimeSpan>
maintenanceWindow
ISO8601 timespan specifying how much time cache patching can take. |
Properties
DayOfWeek
Gets or sets day of the week when a cache can be patched. Possible values include: 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday', 'Sunday', 'Everyday', 'Weekend'
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="dayOfWeek")]
public Microsoft.Azure.Management.Redis.Models.DayOfWeek DayOfWeek { get; set; }
Property Value
|
DayOfWeek
|
MaintenanceWindow
Gets or sets ISO8601 timespan specifying how much time cache patching can take.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="maintenanceWindow")]
public Nullable<TimeSpan> MaintenanceWindow { get; set; }
Property Value
|
Nullable<TimeSpan>
|
StartHourUtc
Gets or sets start hour after which cache patching can start.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="startHourUtc")]
public int StartHourUtc { get; set; }
Property Value
|
Int32
|
Methods
Validate()
Validate the object.
Declaration
public virtual void Validate ();
Exceptions
|
ValidationException
Thrown if validation fails |