/// <summary> /// Initializes a new instance of the ScheduleFragment class. /// </summary> /// <param name="tags">The tags of the resource.</param> /// <param name="status">The status of the schedule (i.e. Enabled, /// Disabled). Possible values include: 'Enabled', 'Disabled'</param> /// <param name="taskType">The task type of the schedule (e.g. /// LabVmsShutdownTask, LabVmAutoStart).</param> /// <param name="weeklyRecurrence">If the schedule will occur only some /// days of the week, specify the weekly recurrence.</param> /// <param name="dailyRecurrence">If the schedule will occur once each /// day of the week, specify the daily recurrence.</param> /// <param name="hourlyRecurrence">If the schedule will occur multiple /// times a day, specify the hourly recurrence.</param> /// <param name="timeZoneId">The time zone ID (e.g. Pacific Standard /// time).</param> /// <param name="notificationSettings">Notification settings.</param> /// <param name="targetResourceId">The resource ID to which the /// schedule belongs</param> public ScheduleFragment(IDictionary <string, string> tags = default(IDictionary <string, string>), string status = default(string), string taskType = default(string), WeekDetailsFragment weeklyRecurrence = default(WeekDetailsFragment), DayDetailsFragment dailyRecurrence = default(DayDetailsFragment), HourDetailsFragment hourlyRecurrence = default(HourDetailsFragment), string timeZoneId = default(string), NotificationSettingsFragment notificationSettings = default(NotificationSettingsFragment), string targetResourceId = default(string)) : base(tags) { Status = status; TaskType = taskType; WeeklyRecurrence = weeklyRecurrence; DailyRecurrence = dailyRecurrence; HourlyRecurrence = hourlyRecurrence; TimeZoneId = timeZoneId; NotificationSettings = notificationSettings; TargetResourceId = targetResourceId; CustomInit(); }
/// <summary> /// Initializes a new instance of the ScheduleCreationParameterFragment /// class. /// </summary> /// <param name="status">The status of the schedule (i.e. Enabled, /// Disabled). Possible values include: 'Enabled', 'Disabled'</param> /// <param name="taskType">The task type of the schedule (e.g. /// LabVmsShutdownTask, LabVmAutoStart).</param> /// <param name="weeklyRecurrence">If the schedule will occur only some /// days of the week, specify the weekly recurrence.</param> /// <param name="dailyRecurrence">If the schedule will occur once each /// day of the week, specify the daily recurrence.</param> /// <param name="hourlyRecurrence">If the schedule will occur multiple /// times a day, specify the hourly recurrence.</param> /// <param name="timeZoneId">The time zone ID (e.g. Pacific Standard /// time).</param> /// <param name="notificationSettings">Notification settings.</param> /// <param name="targetResourceId">The resource ID to which the /// schedule belongs</param> /// <param name="name">The name of the virtual machine or /// environment</param> /// <param name="location">The location of the new virtual machine or /// environment</param> /// <param name="tags">The tags of the resource.</param> public ScheduleCreationParameterFragment(string status = default(string), string taskType = default(string), WeekDetailsFragment weeklyRecurrence = default(WeekDetailsFragment), DayDetailsFragment dailyRecurrence = default(DayDetailsFragment), HourDetailsFragment hourlyRecurrence = default(HourDetailsFragment), string timeZoneId = default(string), NotificationSettingsFragment notificationSettings = default(NotificationSettingsFragment), string targetResourceId = default(string), string name = default(string), string location = default(string), IDictionary <string, string> tags = default(IDictionary <string, string>)) { Status = status; TaskType = taskType; WeeklyRecurrence = weeklyRecurrence; DailyRecurrence = dailyRecurrence; HourlyRecurrence = hourlyRecurrence; TimeZoneId = timeZoneId; NotificationSettings = notificationSettings; TargetResourceId = targetResourceId; Name = name; Location = location; Tags = tags; CustomInit(); }