Schedule Class
A schedule.
Variables are only populated by the server, and will be ignored when sending a request.
Constructor
Schedule(*, location: str | None = None, tags: dict[str, str] | None = None, status: str | _models.EnableStatus | None = None, task_type: str | None = None, weekly_recurrence: _models.WeekDetails | None = None, daily_recurrence: _models.DayDetails | None = None, hourly_recurrence: _models.HourDetails | None = None, time_zone_id: str | None = None, notification_settings: _models.NotificationSettings | None = None, target_resource_id: str | None = None, **kwargs: Any)
Keyword-Only Parameters
| Name | Description |
|---|---|
|
location
|
The location of the resource. Default value: None
|
|
tags
|
The tags of the resource. Default value: None
|
|
status
|
str or
EnableStatus
The status of the schedule (i.e. Enabled, Disabled). Known values are: "Enabled" and "Disabled". Default value: None
|
|
task_type
|
The task type of the schedule (e.g. LabVmsShutdownTask, LabVmAutoStart). Default value: None
|
|
weekly_recurrence
|
If the schedule will occur only some days of the week, specify the weekly recurrence. Default value: None
|
|
daily_recurrence
|
If the schedule will occur once each day of the week, specify the daily recurrence. Default value: None
|
|
hourly_recurrence
|
If the schedule will occur multiple times a day, specify the hourly recurrence. Default value: None
|
|
time_zone_id
|
The time zone ID (e.g. China Standard Time, Greenland Standard Time,
Pacific Standard time, etc.). The possible values for this property can be found in
Default value: None
|
|
notification_settings
|
Notification settings. Default value: None
|
|
target_resource_id
|
The resource ID to which the schedule belongs. Default value: None
|
Variables
| Name | Description |
|---|---|
|
id
|
The identifier of the resource. |
|
name
|
The name of the resource. |
|
type
|
The type of the resource. |
|
location
|
The location of the resource. |
|
tags
|
The tags of the resource. |
|
status
|
str or
EnableStatus
The status of the schedule (i.e. Enabled, Disabled). Known values are: "Enabled" and "Disabled". |
|
task_type
|
The task type of the schedule (e.g. LabVmsShutdownTask, LabVmAutoStart). |
|
weekly_recurrence
|
If the schedule will occur only some days of the week, specify the weekly recurrence. |
|
daily_recurrence
|
If the schedule will occur once each day of the week, specify the daily recurrence. |
|
hourly_recurrence
|
If the schedule will occur multiple times a day, specify the hourly recurrence. |
|
time_zone_id
|
The time zone ID (e.g. China Standard Time, Greenland Standard Time,
Pacific Standard time, etc.). The possible values for this property can be found in
|
|
notification_settings
|
Notification settings. |
|
created_date
|
The creation date of the schedule. |
|
target_resource_id
|
The resource ID to which the schedule belongs. |
|
provisioning_state
|
The provisioning status of the resource. |
|
unique_identifier
|
The unique immutable identifier of a resource (Guid). |