class Azure::Monitor::Mgmt::V2015_04_01::Models::Recurrence

The repeating times at which this profile begins. This element is not used if the FixedDate element is used.

Attributes

frequency[RW]

@return [RecurrenceFrequency] the recurrence frequency. How often the schedule profile should take effect. This value must be Week, meaning each week will have the same set of profiles. For example, to set a daily schedule, set schedule to every day of the week. The frequency property specifies that the schedule is repeated weekly. Possible values include: 'None', 'Second', 'Minute', 'Hour', 'Day', 'Week', 'Month', 'Year'

schedule[RW]

@return [RecurrentSchedule] the scheduling constraints for when the profile begins.

Private Class Methods

mapper() click to toggle source

Mapper for Recurrence class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/2015-04-01/generated/azure_mgmt_monitor/models/recurrence.rb, line 34
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'Recurrence',
    type: {
      name: 'Composite',
      class_name: 'Recurrence',
      model_properties: {
        frequency: {
          client_side_validation: true,
          required: true,
          serialized_name: 'frequency',
          type: {
            name: 'Enum',
            module: 'RecurrenceFrequency'
          }
        },
        schedule: {
          client_side_validation: true,
          required: true,
          serialized_name: 'schedule',
          type: {
            name: 'Composite',
            class_name: 'RecurrentSchedule'
          }
        }
      }
    }
  }
end