Class: Azure::ARM::Insights::Models::RecurrentSchedule

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

Overview

The scheduling constraints for when the profile begins.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#daysArray<String>

effect on. Possible values are Sunday through Saturday.

Returns:

  • (Array<String>)

    the collection of days that the profile takes



22
23
24
# File 'lib/generated/azure_mgmt_insights/models/recurrent_schedule.rb', line 22

def days
  @days
end

#hoursArray<Integer>

effect on. Values supported are 0 to 23 on the 24-hour clock (AM/PM times are not supported).

Returns:

  • (Array<Integer>)

    A collection of hours that the profile takes



27
28
29
# File 'lib/generated/azure_mgmt_insights/models/recurrent_schedule.rb', line 27

def hours
  @hours
end

#minutesArray<Integer>

takes effect at.

Returns:

  • (Array<Integer>)

    A collection of minutes at which the profile



31
32
33
# File 'lib/generated/azure_mgmt_insights/models/recurrent_schedule.rb', line 31

def minutes
  @minutes
end

#time_zoneString

examples of valid timezone ids over here: msdn.microsoft.com/en-us/library/azure/dn931928.aspx

Returns:

  • (String)

    the time zone for the hours of the profile. See



18
19
20
# File 'lib/generated/azure_mgmt_insights/models/recurrent_schedule.rb', line 18

def time_zone
  @time_zone
end

Class Method Details

.mapperObject

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



38
39
40
41
42
43
44
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
# File 'lib/generated/azure_mgmt_insights/models/recurrent_schedule.rb', line 38

def self.mapper()
  {
    required: false,
    serialized_name: 'RecurrentSchedule',
    type: {
      name: 'Composite',
      class_name: 'RecurrentSchedule',
      model_properties: {
        time_zone: {
          required: false,
          serialized_name: 'timeZone',
          type: {
            name: 'String'
          }
        },
        days: {
          required: false,
          serialized_name: 'days',
          type: {
            name: 'Sequence',
            element: {
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        hours: {
          required: false,
          serialized_name: 'hours',
          type: {
            name: 'Sequence',
            element: {
                required: false,
                serialized_name: 'NumberElementType',
                type: {
                  name: 'Number'
                }
            }
          }
        },
        minutes: {
          required: false,
          serialized_name: 'minutes',
          type: {
            name: 'Sequence',
            element: {
                required: false,
                serialized_name: 'NumberElementType',
                type: {
                  name: 'Number'
                }
            }
          }
        }
      }
    }
  }
end