Class: Azure::ServiceFabric::V6_4_0_36::Models::NodeTransitionProgress
- Inherits:
-
Object
- Object
- Azure::ServiceFabric::V6_4_0_36::Models::NodeTransitionProgress
- Includes:
- MsRestAzure
- Defined in:
- lib/6.4.0.36/generated/azure_service_fabric/models/node_transition_progress.rb
Overview
Information about an NodeTransition operation. This class contains an OperationState and a NodeTransitionResult. The NodeTransitionResult is not valid until OperationState is Completed or Faulted.
Instance Attribute Summary collapse
-
#node_transition_result ⇒ NodeTransitionResult
operation in a terminal state (Completed or Faulted).
-
#state ⇒ OperationState
include: ‘Invalid’, ‘Running’, ‘RollingBack’, ‘Completed’, ‘Faulted’, ‘Cancelled’, ‘ForceCancelled’.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for NodeTransitionProgress class as Ruby Hash.
Instance Attribute Details
#node_transition_result ⇒ NodeTransitionResult
operation in a terminal state (Completed or Faulted).
25 26 27 |
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/node_transition_progress.rb', line 25 def node_transition_result @node_transition_result end |
#state ⇒ OperationState
include: ‘Invalid’, ‘Running’, ‘RollingBack’, ‘Completed’, ‘Faulted’, ‘Cancelled’, ‘ForceCancelled’
21 22 23 |
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/node_transition_progress.rb', line 21 def state @state end |
Class Method Details
.mapper ⇒ Object
Mapper for NodeTransitionProgress class as Ruby Hash. This will be used for serialization/deserialization.
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 |
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/node_transition_progress.rb', line 32 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'NodeTransitionProgress', type: { name: 'Composite', class_name: 'NodeTransitionProgress', model_properties: { state: { client_side_validation: true, required: false, serialized_name: 'State', type: { name: 'String' } }, node_transition_result: { client_side_validation: true, required: false, serialized_name: 'NodeTransitionResult', type: { name: 'Composite', class_name: 'NodeTransitionResult' } } } } } end |