Class: Azure::CostManagement::Mgmt::V2019_01_01::Models::ExportSchedule
- Inherits:
-
Object
- Object
- Azure::CostManagement::Mgmt::V2019_01_01::Models::ExportSchedule
- 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
-
#recurrence ⇒ RecurrenceType
include: ‘Daily’, ‘Weekly’, ‘Monthly’, ‘Annually’.
-
#recurrence_period ⇒ ExportRecurrencePeriod
recurrence.
-
#status ⇒ StatusType
If inactive, the export’s scheduled execution is paused.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ExportSchedule class as Ruby Hash.
Instance Attribute Details
#recurrence ⇒ RecurrenceType
include: ‘Daily’, ‘Weekly’, ‘Monthly’, ‘Annually’
22 23 24 |
# File 'lib/2019-01-01/generated/azure_mgmt_cost_management/models/export_schedule.rb', line 22 def recurrence @recurrence end |
#recurrence_period ⇒ ExportRecurrencePeriod
recurrence. The start date must be in future. If present, the end date must be greater than start date.
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 |
#status ⇒ StatusType
If inactive, the export’s scheduled execution is paused. Possible values include: ‘Active’, ‘Inactive’
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
.mapper ⇒ Object
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 |