Class: Azure::CostManagement::Mgmt::V2018_05_31::Models::ReportConfigSchedule

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2018-05-31/generated/azure_mgmt_cost_management/models/report_config_schedule.rb

Overview

The schedule associated with a report config.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#recurrenceRecurrenceType

include: ‘Daily’, ‘Weekly’, ‘Monthly’, ‘Annually’

Returns:



22
23
24
# File 'lib/2018-05-31/generated/azure_mgmt_cost_management/models/report_config_schedule.rb', line 22

def recurrence
  @recurrence
end

#recurrence_periodReportConfigRecurrencePeriod

recurrence. The start date must be in future. If present, the end date must be greater than start date.

Returns:



27
28
29
# File 'lib/2018-05-31/generated/azure_mgmt_cost_management/models/report_config_schedule.rb', line 27

def recurrence_period
  @recurrence_period
end

#statusStatusType

If inactive, the report’s scheduled execution is paused. Possible values include: ‘Active’, ‘Inactive’

Returns:

  • (StatusType)

    The status of the schedule. Whether active or not.



18
19
20
# File 'lib/2018-05-31/generated/azure_mgmt_cost_management/models/report_config_schedule.rb', line 18

def status
  @status
end

Class Method Details

.mapperObject

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



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
59
60
61
62
63
64
65
66
67
68
69
70
71
# File 'lib/2018-05-31/generated/azure_mgmt_cost_management/models/report_config_schedule.rb', line 34

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ReportConfigSchedule',
    type: {
      name: 'Composite',
      class_name: 'ReportConfigSchedule',
      model_properties: {
        status: {
          client_side_validation: true,
          required: false,
          serialized_name: 'status',
          type: {
            name: 'String'
          }
        },
        recurrence: {
          client_side_validation: true,
          required: true,
          serialized_name: 'recurrence',
          type: {
            name: 'String'
          }
        },
        recurrence_period: {
          client_side_validation: true,
          required: true,
          serialized_name: 'recurrencePeriod',
          type: {
            name: 'Composite',
            class_name: 'ReportConfigRecurrencePeriod'
          }
        }
      }
    }
  }
end