ScheduleCreationParameterFragment Class
Properties for creating a schedule.
Constructor
ScheduleCreationParameterFragment(*, name: str | None = None, location: str | None = None, 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 |
---|---|
name
Required
|
The name of the virtual machine or environment. |
location
Required
|
The location of the new virtual machine or environment. |
tags
Required
|
A set of tags. The tags of the resource. |
status
Required
|
str or
EnableStatus
The status of the schedule (i.e. Enabled, Disabled). Possible values include: "Enabled", "Disabled". |
task_type
Required
|
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
|
The time zone ID (e.g. Pacific Standard time). |
notification_settings
Required
|
Notification settings. |
target_resource_id
Required
|
The resource ID to which the schedule belongs. |
Keyword-Only Parameters
Name | Description |
---|---|
name
Required
|
|
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
|
|
Azure SDK for Python