Class: Azure::CostManagement::Mgmt::V2019_01_01::Models::ExportSchedule

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2019-01-01/generated/azure_mgmt_cost_management/models/export_schedule.rb

Overview

The schedule associated with a export.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#recurrenceRecurrenceType

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

Returns:



22
23
24
# File 'lib/2019-01-01/generated/azure_mgmt_cost_management/models/export_schedule.rb', line 22

def recurrence
  @recurrence
end

#recurrence_periodExportRecurrencePeriod

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/2019-01-01/generated/azure_mgmt_cost_management/models/export_schedule.rb', line 27

def recurrence_period
  @recurrence_period
end

#statusStatusType

If inactive, the export’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/2019-01-01/generated/azure_mgmt_cost_management/models/export_schedule.rb', line 18

def status
  @status
end

Class Method Details

.mapperObject

Mapper for ExportSchedule 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/2019-01-01/generated/azure_mgmt_cost_management/models/export_schedule.rb', line 34

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ExportSchedule',
    type: {
      name: 'Composite',
      class_name: 'ExportSchedule',
      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: false,
          serialized_name: 'recurrencePeriod',
          type: {
            name: 'Composite',
            class_name: 'ExportRecurrencePeriod'
          }
        }
      }
    }
  }
end