Sha256: 24ba14f26e5afe298dcfc01c139214fc74ea13b6ab88519c1c87fd6b0fc3ee39

Contents?: true

Size: 1.98 KB

Versions: 7

Compression:

Stored size: 1.98 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::Monitor::Mgmt::V2015_04_01
  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

      # @return [String] 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. Default value:
      # 'Week' .
      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()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'Recurrence',
          type: {
            name: 'Composite',
            class_name: 'Recurrence',
            model_properties: {
              frequency: {
                client_side_validation: true,
                required: true,
                is_constant: true,
                serialized_name: 'frequency',
                default_value: 'Week',
                type: {
                  name: 'String'
                }
              },
              schedule: {
                client_side_validation: true,
                required: true,
                serialized_name: 'schedule',
                type: {
                  name: 'Composite',
                  class_name: 'RecurrentSchedule'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
azure_mgmt_monitor-0.17.6 lib/2015-04-01/generated/azure_mgmt_monitor/models/recurrence.rb
azure_mgmt_monitor-0.17.5 lib/2015-04-01/generated/azure_mgmt_monitor/models/recurrence.rb
azure_mgmt_monitor-0.17.4 lib/2015-04-01/generated/azure_mgmt_monitor/models/recurrence.rb
azure_mgmt_monitor-0.17.3 lib/2015-04-01/generated/azure_mgmt_monitor/models/recurrence.rb
azure_mgmt_monitor-0.17.2 lib/2015-04-01/generated/azure_mgmt_monitor/models/recurrence.rb
azure_mgmt_monitor-0.17.1 lib/2015-04-01/generated/azure_mgmt_monitor/models/recurrence.rb
azure_mgmt_monitor-0.17.0 lib/2015-04-01/generated/azure_mgmt_monitor/models/recurrence.rb