Sha256: 39f79c7093aa30e1c08eac09dab0d15c9998f7279e7e17c0b5067f5e8b811a5a

Contents?: true

Size: 1.76 KB

Versions: 1

Compression:

Stored size: 1.76 KB

Contents

# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.

module Azure::ARM::Monitor
  module Models
    #
    # The repeating times at which this profile begins. This element is not
    # used if the FixedDate element is used.
    #
    class Recurrence

      include MsRestAzure

      include MsRest::JSONable
      # @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. Possible values include:
      # 'None', 'Second', 'Minute', 'Hour', 'Day', 'Week', 'Month', 'Year'
      attr_accessor :frequency

      # @return [RecurrentSchedule] the scheduling constraints for when the
      # profile begins.
      attr_accessor :schedule


      #
      # Mapper for Recurrence class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          required: false,
          serialized_name: 'Recurrence',
          type: {
            name: 'Composite',
            class_name: 'Recurrence',
            model_properties: {
              frequency: {
                required: true,
                serialized_name: 'frequency',
                type: {
                  name: 'Enum',
                  module: 'RecurrenceFrequency'
                }
              },
              schedule: {
                required: true,
                serialized_name: 'schedule',
                type: {
                  name: 'Composite',
                  class_name: 'RecurrentSchedule'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
azure_mgmt_monitor-0.13.0 lib/generated/azure_mgmt_monitor/models/recurrence.rb