Class: Azure::Automation::Mgmt::V2015_10_31::Models::ScheduleCreateOrUpdateParameters

Inherits:
Object
  • Object
show all
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

Class Method Summary collapse

Instance Attribute Details

#advanced_scheduleAdvancedSchedule

Returns Gets or sets the AdvancedSchedule.

Returns:



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

#descriptionString

Returns Gets or sets the description of the schedule.

Returns:

  • (String)

    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_timeDateTime

Returns Gets or sets the end time of the schedule.

Returns:

  • (DateTime)

    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

#frequencyScheduleFrequency

‘Hour’, ‘Week’, ‘Month’

Returns:



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

#intervalObject

Returns Gets or sets the interval of the schedule.

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

#nameString

Returns Gets or sets the name of the Schedule.

Returns:

  • (String)

    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_timeDateTime

Returns Gets or sets the start time of the schedule.

Returns:

  • (DateTime)

    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_zoneString

Returns Gets or sets the time zone of the schedule.

Returns:

  • (String)

    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

.mapperObject

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