/// <summary>
 /// Initializes a new instance of the ScheduleCreationParameter 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 ScheduleCreationParameter(string status = default(string), string taskType = default(string), WeekDetails weeklyRecurrence = default(WeekDetails), DayDetails dailyRecurrence = default(DayDetails), HourDetails hourlyRecurrence = default(HourDetails), string timeZoneId = default(string), NotificationSettings notificationSettings = default(NotificationSettings), 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();
 }
Exemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the Schedule class.
 /// </summary>
 /// <param name="id">The identifier of the resource.</param>
 /// <param name="name">The name of the resource.</param>
 /// <param name="type">The type of the resource.</param>
 /// <param name="location">The location of the resource.</param>
 /// <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="createdDate">The creation date of the
 /// schedule.</param>
 /// <param name="targetResourceId">The resource ID to which the
 /// schedule belongs</param>
 /// <param name="provisioningState">The provisioning status of the
 /// resource.</param>
 /// <param name="uniqueIdentifier">The unique immutable identifier of a
 /// resource (Guid).</param>
 public Schedule(string id = default(string), string name = default(string), string type = default(string), string location = default(string), IDictionary <string, string> tags = default(IDictionary <string, string>), string status = default(string), string taskType = default(string), WeekDetails weeklyRecurrence = default(WeekDetails), DayDetails dailyRecurrence = default(DayDetails), HourDetails hourlyRecurrence = default(HourDetails), string timeZoneId = default(string), NotificationSettings notificationSettings = default(NotificationSettings), System.DateTime?createdDate = default(System.DateTime?), string targetResourceId = default(string), string provisioningState = default(string), string uniqueIdentifier = default(string))
     : base(id, name, type, location, tags)
 {
     Status               = status;
     TaskType             = taskType;
     WeeklyRecurrence     = weeklyRecurrence;
     DailyRecurrence      = dailyRecurrence;
     HourlyRecurrence     = hourlyRecurrence;
     TimeZoneId           = timeZoneId;
     NotificationSettings = notificationSettings;
     CreatedDate          = createdDate;
     TargetResourceId     = targetResourceId;
     ProvisioningState    = provisioningState;
     UniqueIdentifier     = uniqueIdentifier;
     CustomInit();
 }
Exemplo n.º 3
0
 /// <summary>
 /// Initializes a new instance of the Schedule class.
 /// </summary>
 public Schedule(string status = default(string), string taskType = default(string), WeekDetails weeklyRecurrence = default(WeekDetails), DayDetails dailyRecurrence = default(DayDetails), HourDetails hourlyRecurrence = default(HourDetails), string timeZoneId = default(string), string provisioningState = default(string), string uniqueIdentifier = default(string), string id = default(string), string name = default(string), string type = 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;
     ProvisioningState = provisioningState;
     UniqueIdentifier  = uniqueIdentifier;
     Id       = id;
     Name     = name;
     Type     = type;
     Location = location;
     Tags     = tags;
 }