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: str | None = None, tags: Dict[str, str] | None = None, status: str | EnableStatus | None = None, task_type: str | None = None, weekly_recurrence: WeekDetails | None = None, daily_recurrence: DayDetails | None = None, hourly_recurrence: HourDetails | None = None, time_zone_id: str | None = None, notification_settings: NotificationSettings | None = None, target_resource_id: str | None = None, **kwargs)

Parameters

Name Description
location
Required
str

The location of the resource.

tags
Required

A set of tags. The tags of the resource.

status
Required

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

task_type
Required
str

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

weekly_recurrence
Required

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

daily_recurrence
Required

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

hourly_recurrence
Required

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

time_zone_id
Required
str

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

notification_settings
Required

Notification settings.

target_resource_id
Required
str

The resource ID to which the schedule belongs.

Keyword-Only Parameters

Name Description
location
Required
tags
Required
status
Required
task_type
Required
weekly_recurrence
Required
daily_recurrence
Required
hourly_recurrence
Required
time_zone_id
Required
notification_settings
Required
target_resource_id
Required

Variables

Name Description
id
str

The identifier of the resource.

name
str

The name of the resource.

type
str

The type of the resource.

created_date

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).