class Azure::DevTestLabs::Mgmt::V2018_09_15::Models::ScheduleFragment
A schedule.
Attributes
@return [DayDetailsFragment] If the schedule will occur once each day of the week, specify the daily recurrence.
@return [HourDetailsFragment] If the schedule will occur multiple times a day, specify the hourly recurrence.
@return [NotificationSettingsFragment] Notification settings.
@return [EnableStatus] The status of the schedule (i.e. Enabled, Disabled). Possible values include: 'Enabled', 'Disabled'
@return [String] The resource ID to which the schedule belongs
@return [String] The task type of the schedule (e.g. LabVmsShutdownTask, LabVmAutoStart).
@return [String] The time zone ID (e.g. Pacific Standard time).
@return [WeekDetailsFragment] If the schedule will occur only some days of the week, specify the weekly recurrence.
Private Class Methods
Mapper for ScheduleFragment
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/schedule_fragment.rb, line 49 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ScheduleFragment', type: { name: 'Composite', class_name: 'ScheduleFragment', model_properties: { tags: { client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, status: { client_side_validation: true, required: false, serialized_name: 'properties.status', type: { name: 'String' } }, task_type: { client_side_validation: true, required: false, serialized_name: 'properties.taskType', type: { name: 'String' } }, weekly_recurrence: { client_side_validation: true, required: false, serialized_name: 'properties.weeklyRecurrence', type: { name: 'Composite', class_name: 'WeekDetailsFragment' } }, daily_recurrence: { client_side_validation: true, required: false, serialized_name: 'properties.dailyRecurrence', type: { name: 'Composite', class_name: 'DayDetailsFragment' } }, hourly_recurrence: { client_side_validation: true, required: false, serialized_name: 'properties.hourlyRecurrence', type: { name: 'Composite', class_name: 'HourDetailsFragment' } }, time_zone_id: { client_side_validation: true, required: false, serialized_name: 'properties.timeZoneId', type: { name: 'String' } }, notification_settings: { client_side_validation: true, required: false, serialized_name: 'properties.notificationSettings', type: { name: 'Composite', class_name: 'NotificationSettingsFragment' } }, target_resource_id: { client_side_validation: true, required: false, serialized_name: 'properties.targetResourceId', type: { name: 'String' } } } } } end