Class: Azure::ServiceFabric::V6_5_0_36::Models::NodeUpgradeProgressInfo
- Inherits:
-
Object
- Object
- Azure::ServiceFabric::V6_5_0_36::Models::NodeUpgradeProgressInfo
- Includes:
- MsRestAzure
- Defined in:
- lib/6.5.0.36/generated/azure_service_fabric/models/node_upgrade_progress_info.rb
Overview
Information about the upgrading node and its status
Instance Attribute Summary collapse
-
#node_name ⇒ String
The name of a Service Fabric node.
-
#pending_safety_checks ⇒ Array<SafetyCheckWrapper>
List of pending safety checks.
-
#upgrade_phase ⇒ NodeUpgradePhase
values include: ‘Invalid’, ‘PreUpgradeSafetyCheck’, ‘Upgrading’, ‘PostUpgradeSafetyCheck’.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for NodeUpgradeProgressInfo class as Ruby Hash.
Instance Attribute Details
#node_name ⇒ String
Returns The name of a Service Fabric node.
16 17 18 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/node_upgrade_progress_info.rb', line 16 def node_name @node_name end |
#pending_safety_checks ⇒ Array<SafetyCheckWrapper>
Returns List of pending safety checks.
24 25 26 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/node_upgrade_progress_info.rb', line 24 def pending_safety_checks @pending_safety_checks end |
#upgrade_phase ⇒ NodeUpgradePhase
values include: ‘Invalid’, ‘PreUpgradeSafetyCheck’, ‘Upgrading’, ‘PostUpgradeSafetyCheck’
21 22 23 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/node_upgrade_progress_info.rb', line 21 def upgrade_phase @upgrade_phase end |
Class Method Details
.mapper ⇒ Object
Mapper for NodeUpgradeProgressInfo 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 72 73 74 75 76 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/node_upgrade_progress_info.rb', line 31 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'NodeUpgradeProgressInfo', type: { name: 'Composite', class_name: 'NodeUpgradeProgressInfo', model_properties: { node_name: { client_side_validation: true, required: false, serialized_name: 'NodeName', type: { name: 'String' } }, upgrade_phase: { client_side_validation: true, required: false, serialized_name: 'UpgradePhase', type: { name: 'String' } }, pending_safety_checks: { client_side_validation: true, required: false, serialized_name: 'PendingSafetyChecks', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'SafetyCheckWrapperElementType', type: { name: 'Composite', class_name: 'SafetyCheckWrapper' } } } } } } } end |