Class: Azure::ARM::Insights::Models::Recurrence

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/generated/azure_mgmt_insights/models/recurrence.rb

Overview

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#frequencyRecurrenceFrequency

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’

Returns:



20
21
22
# File 'lib/generated/azure_mgmt_insights/models/recurrence.rb', line 20

def frequency
  @frequency
end

#scheduleRecurrentSchedule

profile begins.

Returns:



24
25
26
# File 'lib/generated/azure_mgmt_insights/models/recurrence.rb', line 24

def schedule
  @schedule
end

Class Method Details

.mapperObject

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



31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
# File 'lib/generated/azure_mgmt_insights/models/recurrence.rb', line 31

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