Class: Azure::CostManagement::Mgmt::V2019_01_01::Models::ExportExecution
- Inherits:
-
Resource
- Object
- Resource
- Azure::CostManagement::Mgmt::V2019_01_01::Models::ExportExecution
- Includes:
- MsRestAzure
- Defined in:
- lib/2019-01-01/generated/azure_mgmt_cost_management/models/export_execution.rb
Overview
A export execution.
Instance Attribute Summary collapse
-
#execution_type ⇒ ExecutionType
values include: ‘OnDemand’, ‘Scheduled’.
-
#file_name ⇒ String
The name of the file export got written to.
-
#processing_end_time ⇒ DateTime
The time when export execution finished.
-
#processing_start_time ⇒ DateTime
The time when export was picked up to be executed.
- #run_settings ⇒ CommonExportProperties
-
#status ⇒ ExecutionStatus
values include: ‘Queued’, ‘InProgress’, ‘Completed’, ‘Failed’, ‘Timeout’, ‘NewDataNotAvailable’, ‘DataNotAvailable’.
-
#submitted_by ⇒ String
export.
-
#submitted_time ⇒ DateTime
The time when export was queued to be executed.
Attributes inherited from Resource
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ExportExecution class as Ruby Hash.
Methods inherited from Resource
Instance Attribute Details
#execution_type ⇒ ExecutionType
values include: ‘OnDemand’, ‘Scheduled’
17 18 19 |
# File 'lib/2019-01-01/generated/azure_mgmt_cost_management/models/export_execution.rb', line 17 def execution_type @execution_type end |
#file_name ⇒ String
Returns The name of the file export got written to.
39 40 41 |
# File 'lib/2019-01-01/generated/azure_mgmt_cost_management/models/export_execution.rb', line 39 def file_name @file_name end |
#processing_end_time ⇒ DateTime
Returns The time when export execution finished.
36 37 38 |
# File 'lib/2019-01-01/generated/azure_mgmt_cost_management/models/export_execution.rb', line 36 def processing_end_time @processing_end_time end |
#processing_start_time ⇒ DateTime
Returns The time when export was picked up to be executed.
33 34 35 |
# File 'lib/2019-01-01/generated/azure_mgmt_cost_management/models/export_execution.rb', line 33 def processing_start_time @processing_start_time end |
#run_settings ⇒ CommonExportProperties
42 43 44 |
# File 'lib/2019-01-01/generated/azure_mgmt_cost_management/models/export_execution.rb', line 42 def run_settings @run_settings end |
#status ⇒ ExecutionStatus
values include: ‘Queued’, ‘InProgress’, ‘Completed’, ‘Failed’, ‘Timeout’, ‘NewDataNotAvailable’, ‘DataNotAvailable’
22 23 24 |
# File 'lib/2019-01-01/generated/azure_mgmt_cost_management/models/export_execution.rb', line 22 def status @status end |
#submitted_by ⇒ String
export. For OnDemand executions, it is the email id. For Scheduled executions, it is the constant value - System.
27 28 29 |
# File 'lib/2019-01-01/generated/azure_mgmt_cost_management/models/export_execution.rb', line 27 def submitted_by @submitted_by end |
#submitted_time ⇒ DateTime
Returns The time when export was queued to be executed.
30 31 32 |
# File 'lib/2019-01-01/generated/azure_mgmt_cost_management/models/export_execution.rb', line 30 def submitted_time @submitted_time end |
Class Method Details
.mapper ⇒ Object
Mapper for ExportExecution class as Ruby Hash. This will be used for serialization/deserialization.
49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 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 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 |
# File 'lib/2019-01-01/generated/azure_mgmt_cost_management/models/export_execution.rb', line 49 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ExportExecution', type: { name: 'Composite', class_name: 'ExportExecution', model_properties: { id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'id', type: { name: 'String' } }, name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'name', type: { name: 'String' } }, type: { client_side_validation: true, required: false, read_only: true, serialized_name: 'type', type: { name: 'String' } }, tags: { client_side_validation: true, required: false, read_only: true, serialized_name: 'tags', type: { name: 'Dictionary', value: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, execution_type: { client_side_validation: true, required: false, serialized_name: 'properties.executionType', type: { name: 'String' } }, status: { client_side_validation: true, required: false, serialized_name: 'properties.status', type: { name: 'String' } }, submitted_by: { client_side_validation: true, required: false, serialized_name: 'properties.submittedBy', type: { name: 'String' } }, submitted_time: { client_side_validation: true, required: false, serialized_name: 'properties.submittedTime', type: { name: 'DateTime' } }, processing_start_time: { client_side_validation: true, required: false, serialized_name: 'properties.processingStartTime', type: { name: 'DateTime' } }, processing_end_time: { client_side_validation: true, required: false, serialized_name: 'properties.processingEndTime', type: { name: 'DateTime' } }, file_name: { client_side_validation: true, required: false, serialized_name: 'properties.fileName', type: { name: 'String' } }, run_settings: { client_side_validation: true, required: false, serialized_name: 'properties.runSettings', type: { name: 'Composite', class_name: 'CommonExportProperties' } } } } } end |