Class: Azure::Automation::Mgmt::V2015_10_31::Models::ScheduleCreateOrUpdateParameters
- Inherits:
-
Object
- Object
- Azure::Automation::Mgmt::V2015_10_31::Models::ScheduleCreateOrUpdateParameters
- Includes:
- MsRestAzure
- Defined in:
- lib/2015-10-31/generated/azure_mgmt_automation/models/schedule_create_or_update_parameters.rb
Overview
The parameters supplied to the create or update schedule operation.
Instance Attribute Summary collapse
-
#advanced_schedule ⇒ AdvancedSchedule
Gets or sets the AdvancedSchedule.
-
#description ⇒ String
Gets or sets the description of the schedule.
-
#expiry_time ⇒ DateTime
Gets or sets the end time of the schedule.
-
#frequency ⇒ ScheduleFrequency
‘Hour’, ‘Week’, ‘Month’.
-
#interval ⇒ Object
Gets or sets the interval of the schedule.
-
#name ⇒ String
Gets or sets the name of the Schedule.
-
#start_time ⇒ DateTime
Gets or sets the start time of the schedule.
-
#time_zone ⇒ String
Gets or sets the time zone of the schedule.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ScheduleCreateOrUpdateParameters class as Ruby Hash.
Instance Attribute Details
#advanced_schedule ⇒ AdvancedSchedule
Returns Gets or sets the AdvancedSchedule.
38 39 40 |
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/schedule_create_or_update_parameters.rb', line 38 def advanced_schedule @advanced_schedule end |
#description ⇒ String
Returns Gets or sets the description of the schedule.
19 20 21 |
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/schedule_create_or_update_parameters.rb', line 19 def description @description end |
#expiry_time ⇒ DateTime
Returns Gets or sets the end time of the schedule.
25 26 27 |
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/schedule_create_or_update_parameters.rb', line 25 def expiry_time @expiry_time end |
#frequency ⇒ ScheduleFrequency
‘Hour’, ‘Week’, ‘Month’
32 33 34 |
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/schedule_create_or_update_parameters.rb', line 32 def frequency @frequency end |
#interval ⇒ Object
Returns Gets or sets the interval of the schedule.
28 29 30 |
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/schedule_create_or_update_parameters.rb', line 28 def interval @interval end |
#name ⇒ String
Returns Gets or sets the name of the Schedule.
16 17 18 |
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/schedule_create_or_update_parameters.rb', line 16 def name @name end |
#start_time ⇒ DateTime
Returns Gets or sets the start time of the schedule.
22 23 24 |
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/schedule_create_or_update_parameters.rb', line 22 def start_time @start_time end |
#time_zone ⇒ String
Returns Gets or sets the time zone of the schedule.
35 36 37 |
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/schedule_create_or_update_parameters.rb', line 35 def time_zone @time_zone end |
Class Method Details
.mapper ⇒ Object
Mapper for ScheduleCreateOrUpdateParameters class as Ruby Hash. This will be used for serialization/deserialization.
45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 |
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/schedule_create_or_update_parameters.rb', line 45 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ScheduleCreateOrUpdateParameters', type: { name: 'Composite', class_name: 'ScheduleCreateOrUpdateParameters', model_properties: { name: { client_side_validation: true, required: true, serialized_name: 'name', type: { name: 'String' } }, description: { client_side_validation: true, required: false, serialized_name: 'properties.description', type: { name: 'String' } }, start_time: { client_side_validation: true, required: true, serialized_name: 'properties.startTime', type: { name: 'DateTime' } }, expiry_time: { client_side_validation: true, required: false, serialized_name: 'properties.expiryTime', type: { name: 'DateTime' } }, interval: { client_side_validation: true, required: false, serialized_name: 'properties.interval', type: { name: 'Object' } }, frequency: { client_side_validation: true, required: true, serialized_name: 'properties.frequency', type: { name: 'String' } }, time_zone: { client_side_validation: true, required: false, serialized_name: 'properties.timeZone', type: { name: 'String' } }, advanced_schedule: { client_side_validation: true, required: false, serialized_name: 'properties.advancedSchedule', type: { name: 'Composite', class_name: 'AdvancedSchedule' } } } } } end |