Schedule Class
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 automatically turning virtual machines in a lab on and off at specified times.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.LabServices.Models.Api20211001Preview.ScheduleTypeConverter))]
public class Schedule : Microsoft.Azure.PowerShell.Cmdlets.LabServices.Models.Api20211001Preview.ISchedule, Microsoft.Azure.PowerShell.Cmdlets.LabServices.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.LabServices.Models.Api20211001Preview.ScheduleTypeConverter))>]
type Schedule = class
interface ISchedule
interface IJsonSerializable
interface IResource
interface IValidates
Public Class Schedule
Implements ISchedule, IValidates
- Inheritance
-
Schedule
- Attributes
- Implements
Constructors
Schedule() |
Creates an new Schedule instance. |
Properties
Id |
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} |
Name |
The name of the resource |
Note |
Notes for this schedule. |
ProvisioningState |
Current provisioning state of the schedule. |
RecurrencePatternExpirationDate |
When the recurrence will expire. This date is inclusive. |
RecurrencePatternFrequency |
The frequency of the recurrence. |
RecurrencePatternInterval |
The interval to invoke the schedule on. For example, interval = 2 and RecurrenceFrequency.Daily will run every 2 days. When no interval is supplied, an interval of 1 is used. |
RecurrencePatternWeekDay |
The week days the schedule runs. Used for when the Frequency is set to Weekly. |
StartAt |
When lab user virtual machines will be started. Timestamp offsets will be ignored and timeZoneId is used instead. |
StopAt |
When lab user virtual machines will be stopped. Timestamp offsets will be ignored and timeZoneId is used instead. |
SystemDataCreatedAt |
The timestamp of resource creation (UTC). |
SystemDataCreatedBy |
The identity that created the resource. |
SystemDataCreatedByType |
The type of identity that created the resource. |
SystemDataLastModifiedAt |
The timestamp of resource last modification (UTC) |
SystemDataLastModifiedBy |
The identity that last modified the resource. |
SystemDataLastModifiedByType |
The type of identity that last modified the resource. |
TimeZoneId |
The IANA timezone id for the schedule. |
Type |
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" |
Methods
BindResourceParameters(Hashtable) | |
DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of Schedule. |
DeserializeFromPSObject(PSObject) | |
FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.LabServices.Models.Api20211001Preview.ISchedule. |
FromJsonString(String) |
Creates a new instance of Schedule, deserializing the content from a json string. |
ToJson(JsonObject, SerializationMode) | |
ToJsonString() |
Serializes this instance to a json string. |
Validate(IEventListener) |
Validates that this object meets the validation criteria. |