你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ScheduleCreationParameter interface
Properties for creating a schedule.
Properties
daily |
If the schedule will occur once each day of the week, specify the daily recurrence. |
hourly |
If the schedule will occur multiple times a day, specify the hourly recurrence. |
location | The location of the new virtual machine or environment NOTE: This property will not be serialized. It can only be populated by the server. |
name | The name of the virtual machine or environment |
notification |
Notification settings. |
status | The status of the schedule (i.e. Enabled, Disabled) |
tags | The tags of the resource. |
target |
The resource ID to which the schedule belongs |
task |
The task type of the schedule (e.g. LabVmsShutdownTask, LabVmAutoStart). |
time |
The time zone ID (e.g. Pacific Standard time). |
weekly |
If the schedule will occur only some days of the week, specify the weekly recurrence. |
Property Details
dailyRecurrence
If the schedule will occur once each day of the week, specify the daily recurrence.
dailyRecurrence?: DayDetails
Property Value
hourlyRecurrence
If the schedule will occur multiple times a day, specify the hourly recurrence.
hourlyRecurrence?: HourDetails
Property Value
location
The location of the new virtual machine or environment NOTE: This property will not be serialized. It can only be populated by the server.
location?: string
Property Value
string
name
The name of the virtual machine or environment
name?: string
Property Value
string
notificationSettings
Notification settings.
notificationSettings?: NotificationSettings
Property Value
status
The status of the schedule (i.e. Enabled, Disabled)
status?: string
Property Value
string
tags
The tags of the resource.
tags?: {[propertyName: string]: string}
Property Value
{[propertyName: string]: string}
targetResourceId
The resource ID to which the schedule belongs
targetResourceId?: string
Property Value
string
taskType
The task type of the schedule (e.g. LabVmsShutdownTask, LabVmAutoStart).
taskType?: string
Property Value
string
timeZoneId
The time zone ID (e.g. Pacific Standard time).
timeZoneId?: string
Property Value
string
weeklyRecurrence
If the schedule will occur only some days of the week, specify the weekly recurrence.
weeklyRecurrence?: WeekDetails