class Azure::CostManagement::Mgmt::V2018_05_31::Models::ReportConfigSchedule

The schedule associated with a report config.

Attributes

recurrence[RW]

@return [RecurrenceType] The schedule recurrence. Possible values include: 'Daily', 'Weekly', 'Monthly', 'Annually'

recurrence_period[RW]

@return [ReportConfigRecurrencePeriod] Has start and end date of the recurrence. The start date must be in future. If present, the end date must be greater than start date.

status[RW]

@return [StatusType] The status of the schedule. Whether active or not. If inactive, the report's scheduled execution is paused. Possible values include: 'Active', 'Inactive'

Public Class Methods

mapper() click to toggle source

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

# 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