ScheduleCreationParameter Class

Properties for creating a schedule.

Inheritance
ScheduleCreationParameter

Constructor

ScheduleCreationParameter(*, name: Optional[str] = None, 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

name
str
Required

The name of the virtual machine or environment.

location
str
Required

The location of the new virtual machine or environment.

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.