Schedule Class

A schedule.

Variables are only populated by the server, and will be ignored when sending a request.

Inheritance
azure.mgmt.devtestlabs.models._models_py3.Resource
Schedule

Constructor

Schedule(*, location: Optional[str] = None, tags: Optional[Dict[str, str]] = None, status: Optional[Union[str, azure.mgmt.devtestlabs.models._dev_test_labs_client_enums.EnableStatus]] = None, task_type: Optional[str] = None, weekly_recurrence: Optional[azure.mgmt.devtestlabs.models._models_py3.WeekDetails] = None, daily_recurrence: Optional[azure.mgmt.devtestlabs.models._models_py3.DayDetails] = None, hourly_recurrence: Optional[azure.mgmt.devtestlabs.models._models_py3.HourDetails] = None, time_zone_id: Optional[str] = None, notification_settings: Optional[azure.mgmt.devtestlabs.models._models_py3.NotificationSettings] = None, target_resource_id: Optional[str] = None, **kwargs)

Parameters

location
str
Required

The location of the resource.

tags
dict[str, str]
Required

A set of tags. The tags of the resource.

status
str or EnableStatus
Required

The status of the schedule (i.e. Enabled, Disabled). Possible values include: "Enabled", "Disabled".

task_type
str
Required

The task type of the schedule (e.g. LabVmsShutdownTask, LabVmAutoStart).

weekly_recurrence
WeekDetails
Required

If the schedule will occur only some days of the week, specify the weekly recurrence.

daily_recurrence
DayDetails
Required

If the schedule will occur once each day of the week, specify the daily recurrence.

hourly_recurrence
HourDetails
Required

If the schedule will occur multiple times a day, specify the hourly recurrence.

time_zone_id
str
Required

The time zone ID (e.g. Pacific Standard time).

notification_settings
NotificationSettings
Required

Notification settings.

target_resource_id
str
Required

The resource ID to which the schedule belongs.

Variables

id
str

The identifier of the resource.

name
str

The name of the resource.

type
str

The type of the resource.

created_date
datetime

The creation date of the schedule.

provisioning_state
str

The provisioning status of the resource.

unique_identifier
str

The unique immutable identifier of a resource (Guid).