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



59
60
61
# File 'lib/generated/azure_mgmt_insights/models/recurrent_schedule.rb', line 59

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



64
65
66
# File 'lib/generated/azure_mgmt_insights/models/recurrent_schedule.rb', line 64

def hours
  @hours
end

#minutesArray<Integer>

takes effect at.

Returns:

  • (Array<Integer>)

    A collection of minutes at which the profile



68
69
70
# File 'lib/generated/azure_mgmt_insights/models/recurrent_schedule.rb', line 68

def minutes
  @minutes
end

#time_zoneString

examples of valid timezones are: Dateline Standard Time, UTC-11, Hawaiian Standard Time, Alaskan Standard Time, Pacific Standard Time (Mexico), Pacific Standard Time, US Mountain Standard Time, Mountain Standard Time (Mexico), Mountain Standard Time, Central America Standard Time, Central Standard Time, Central Standard Time (Mexico), Canada Central Standard Time, SA Pacific Standard Time, Eastern Standard Time, US Eastern Standard Time, Venezuela Standard Time, Paraguay Standard Time, Atlantic Standard Time, Central Brazilian Standard Time, SA Western Standard Time, Pacific SA Standard Time, Newfoundland Standard Time, E. South America Standard Time, Argentina Standard Time, SA Eastern Standard Time, Greenland Standard Time, Montevideo Standard Time, Bahia Standard Time, UTC-02, Mid-Atlantic Standard Time, Azores Standard Time, Cape Verde Standard Time, Morocco Standard Time, UTC, GMT Standard Time, Greenwich Standard Time, W. Europe Standard Time, Central Europe Standard Time, Romance Standard Time, Central European Standard Time, W. Central Africa Standard Time, Namibia Standard Time, Jordan Standard Time, GTB Standard Time, Middle East Standard Time, Egypt Standard Time, Syria Standard Time, E. Europe Standard Time, South Africa Standard Time, FLE Standard Time, Turkey Standard Time, Israel Standard Time, Kaliningrad Standard Time, Libya Standard Time, Arabic Standard Time, Arab Standard Time, Belarus Standard Time, Russian Standard Time, E. Africa Standard Time, Iran Standard Time, Arabian Standard Time, Azerbaijan Standard Time, Russia Time Zone 3, Mauritius Standard Time, Georgian Standard Time, Caucasus Standard Time, Afghanistan Standard Time, West Asia Standard Time, Ekaterinburg Standard Time, Pakistan Standard Time, India Standard Time, Sri Lanka Standard Time, Nepal Standard Time, Central Asia Standard Time, Bangladesh Standard Time, N. Central Asia Standard Time, Myanmar Standard Time, SE Asia Standard Time, North Asia Standard Time, China Standard Time, North Asia East Standard Time, Singapore Standard Time, W. Australia Standard Time, Taipei Standard Time, Ulaanbaatar Standard Time, Tokyo Standard Time, Korea Standard Time, Yakutsk Standard Time, Cen. Australia Standard Time, AUS Central Standard Time,

  1. Australia Standard Time, AUS Eastern Standard Time, West Pacific

Standard Time, Tasmania Standard Time, Magadan Standard Time, Vladivostok Standard Time, Russia Time Zone 10, Central Pacific Standard Time, Russia Time Zone 11, New Zealand Standard Time, UTC+12, Fiji Standard Time, Kamchatka Standard Time, Tonga Standard Time, Samoa Standard Time, Line Islands Standard Time

Returns:

  • (String)

    the timezone for the hours of the profile. Some



55
56
57
# File 'lib/generated/azure_mgmt_insights/models/recurrent_schedule.rb', line 55

def time_zone
  @time_zone
end

Class Method Details

.mapperObject

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



75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
# File 'lib/generated/azure_mgmt_insights/models/recurrent_schedule.rb', line 75

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