Class: Azure::Compute::Mgmt::V2018_06_01::Models::RollingUpgradeRunningStatus
- Inherits:
-
Object
- Object
- Azure::Compute::Mgmt::V2018_06_01::Models::RollingUpgradeRunningStatus
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-06-01/generated/azure_mgmt_compute/models/rolling_upgrade_running_status.rb
Overview
Information about the current running state of the overall upgrade.
Instance Attribute Summary collapse
-
#code ⇒ RollingUpgradeStatusCode
of the upgrade.
-
#last_action ⇒ RollingUpgradeActionType
rolling upgrade.
-
#last_action_time ⇒ DateTime
Last action time of the upgrade.
-
#start_time ⇒ DateTime
Start time of the upgrade.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for RollingUpgradeRunningStatus class as Ruby Hash.
Instance Attribute Details
#code ⇒ RollingUpgradeStatusCode
of the upgrade. Possible values include: 'RollingForward', 'Cancelled', 'Completed', 'Faulted'
18 19 20 |
# File 'lib/2018-06-01/generated/azure_mgmt_compute/models/rolling_upgrade_running_status.rb', line 18 def code @code end |
#last_action ⇒ RollingUpgradeActionType
rolling upgrade. Possible values include: 'Start', 'Cancel'
25 26 27 |
# File 'lib/2018-06-01/generated/azure_mgmt_compute/models/rolling_upgrade_running_status.rb', line 25 def last_action @last_action end |
#last_action_time ⇒ DateTime
Returns Last action time of the upgrade.
28 29 30 |
# File 'lib/2018-06-01/generated/azure_mgmt_compute/models/rolling_upgrade_running_status.rb', line 28 def last_action_time @last_action_time end |
#start_time ⇒ DateTime
Returns Start time of the upgrade.
21 22 23 |
# File 'lib/2018-06-01/generated/azure_mgmt_compute/models/rolling_upgrade_running_status.rb', line 21 def start_time @start_time end |
Class Method Details
.mapper ⇒ Object
Mapper for RollingUpgradeRunningStatus class as Ruby Hash. This will be used for serialization/deserialization.
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 72 73 74 75 76 77 78 79 80 81 82 83 84 85 |
# File 'lib/2018-06-01/generated/azure_mgmt_compute/models/rolling_upgrade_running_status.rb', line 35 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'RollingUpgradeRunningStatus', type: { name: 'Composite', class_name: 'RollingUpgradeRunningStatus', model_properties: { code: { client_side_validation: true, required: false, read_only: true, serialized_name: 'code', type: { name: 'Enum', module: 'RollingUpgradeStatusCode' } }, start_time: { client_side_validation: true, required: false, read_only: true, serialized_name: 'startTime', type: { name: 'DateTime' } }, last_action: { client_side_validation: true, required: false, read_only: true, serialized_name: 'lastAction', type: { name: 'Enum', module: 'RollingUpgradeActionType' } }, last_action_time: { client_side_validation: true, required: false, read_only: true, serialized_name: 'lastActionTime', type: { name: 'DateTime' } } } } } end |