ScheduleFragment Class

A schedule.

Inheritance
azure.mgmt.devtestlabs.models._models_py3.UpdateResource
ScheduleFragment

Constructor

ScheduleFragment(*, tags: Dict[str, str] | None = None, status: str | EnableStatus | None = None, task_type: str | None = None, weekly_recurrence: WeekDetailsFragment | None = None, daily_recurrence: DayDetailsFragment | None = None, hourly_recurrence: HourDetailsFragment | None = None, time_zone_id: str | None = None, notification_settings: NotificationSettingsFragment | None = None, target_resource_id: str | None = None, **kwargs)

Parameters

Name Description
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
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