Class: Azure::Compute::Mgmt::V2017_12_01::Models::UpgradeOperationHistoryStatus
- Inherits:
-
Object
- Object
- Azure::Compute::Mgmt::V2017_12_01::Models::UpgradeOperationHistoryStatus
- Includes:
- MsRestAzure
- Defined in:
- lib/2017-12-01/generated/azure_mgmt_compute/models/upgrade_operation_history_status.rb
Overview
Information about the current running state of the overall upgrade.
Instance Attribute Summary collapse
-
#code ⇒ UpgradeState
upgrade.
-
#end_time ⇒ DateTime
End time of the upgrade.
-
#start_time ⇒ DateTime
Start time of the upgrade.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for UpgradeOperationHistoryStatus class as Ruby Hash.
Instance Attribute Details
#code ⇒ UpgradeState
upgrade. Possible values include: 'RollingForward', 'Cancelled', 'Completed', 'Faulted'
18 19 20 |
# File 'lib/2017-12-01/generated/azure_mgmt_compute/models/upgrade_operation_history_status.rb', line 18 def code @code end |
#end_time ⇒ DateTime
Returns End time of the upgrade.
24 25 26 |
# File 'lib/2017-12-01/generated/azure_mgmt_compute/models/upgrade_operation_history_status.rb', line 24 def end_time @end_time end |
#start_time ⇒ DateTime
Returns Start time of the upgrade.
21 22 23 |
# File 'lib/2017-12-01/generated/azure_mgmt_compute/models/upgrade_operation_history_status.rb', line 21 def start_time @start_time end |
Class Method Details
.mapper ⇒ Object
Mapper for UpgradeOperationHistoryStatus class as Ruby Hash. This will be used for serialization/deserialization.
31 32 33 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/2017-12-01/generated/azure_mgmt_compute/models/upgrade_operation_history_status.rb', line 31 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'UpgradeOperationHistoryStatus', type: { name: 'Composite', class_name: 'UpgradeOperationHistoryStatus', model_properties: { code: { client_side_validation: true, required: false, read_only: true, serialized_name: 'code', type: { name: 'Enum', module: 'UpgradeState' } }, start_time: { client_side_validation: true, required: false, read_only: true, serialized_name: 'startTime', type: { name: 'DateTime' } }, end_time: { client_side_validation: true, required: false, read_only: true, serialized_name: 'endTime', type: { name: 'DateTime' } } } } } end |