ScheduleCreationParameterFragment Class

Properties for creating a schedule.

Inheritance
ScheduleCreationParameterFragment

Constructor

ScheduleCreationParameterFragment(*, 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.WeekDetailsFragment] = None, daily_recurrence: Optional[azure.mgmt.devtestlabs.models._models_py3.DayDetailsFragment] = None, hourly_recurrence: Optional[azure.mgmt.devtestlabs.models._models_py3.HourDetailsFragment] = None, time_zone_id: Optional[str] = None, notification_settings: Optional[azure.mgmt.devtestlabs.models._models_py3.NotificationSettingsFragment] = 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
WeekDetailsFragment
Required

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

daily_recurrence
DayDetailsFragment
Required

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

hourly_recurrence
HourDetailsFragment
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
NotificationSettingsFragment
Required

Notification settings.

target_resource_id
str
Required

The resource ID to which the schedule belongs.