Class: Azure::ServiceFabric::V6_5_0_36::Models::PartitionPrimaryMoveAnalysisEvent
- Inherits:
-
PartitionAnalysisEvent
- Object
- FabricEvent
- PartitionEvent
- PartitionAnalysisEvent
- Azure::ServiceFabric::V6_5_0_36::Models::PartitionPrimaryMoveAnalysisEvent
- Includes:
- MsRestAzure
- Defined in:
- lib/6.5.0.36/generated/azure_service_fabric/models/partition_primary_move_analysis_event.rb
Overview
Partition Primary Move Analysis event.
Instance Attribute Summary collapse
-
#current_node ⇒ String
The name of a Service Fabric node.
-
#Kind ⇒ Object
Returns the value of attribute Kind.
-
#move_reason ⇒ String
Move reason.
-
#previous_node ⇒ String
The name of a Service Fabric node.
-
#relevant_traces ⇒ String
Relevant traces.
-
#when_move_completed ⇒ DateTime
Time when the move was completed.
Attributes inherited from PartitionAnalysisEvent
Attributes inherited from PartitionEvent
Attributes inherited from FabricEvent
#category, #event_instance_id, #has_correlated_events, #time_stamp
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for PartitionPrimaryMoveAnalysisEvent class as Ruby Hash.
Instance Method Summary collapse
-
#initialize ⇒ PartitionPrimaryMoveAnalysisEvent
constructor
A new instance of PartitionPrimaryMoveAnalysisEvent.
Constructor Details
#initialize ⇒ PartitionPrimaryMoveAnalysisEvent
Returns a new instance of PartitionPrimaryMoveAnalysisEvent.
16 17 18 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/partition_primary_move_analysis_event.rb', line 16 def initialize @Kind = "PartitionPrimaryMoveAnalysis" end |
Instance Attribute Details
#current_node ⇒ String
Returns The name of a Service Fabric node.
29 30 31 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/partition_primary_move_analysis_event.rb', line 29 def current_node @current_node end |
#Kind ⇒ Object
Returns the value of attribute Kind.
20 21 22 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/partition_primary_move_analysis_event.rb', line 20 def Kind @Kind end |
#move_reason ⇒ String
Returns Move reason.
32 33 34 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/partition_primary_move_analysis_event.rb', line 32 def move_reason @move_reason end |
#previous_node ⇒ String
Returns The name of a Service Fabric node.
26 27 28 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/partition_primary_move_analysis_event.rb', line 26 def previous_node @previous_node end |
#relevant_traces ⇒ String
Returns Relevant traces.
35 36 37 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/partition_primary_move_analysis_event.rb', line 35 def relevant_traces @relevant_traces end |
#when_move_completed ⇒ DateTime
Returns Time when the move was completed.
23 24 25 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/partition_primary_move_analysis_event.rb', line 23 def when_move_completed @when_move_completed end |
Class Method Details
.mapper ⇒ Object
Mapper for PartitionPrimaryMoveAnalysisEvent class as Ruby Hash. This will be used for serialization/deserialization.
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 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 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/partition_primary_move_analysis_event.rb', line 42 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'PartitionPrimaryMoveAnalysis', type: { name: 'Composite', class_name: 'PartitionPrimaryMoveAnalysisEvent', model_properties: { event_instance_id: { client_side_validation: true, required: true, serialized_name: 'EventInstanceId', type: { name: 'String' } }, category: { client_side_validation: true, required: false, serialized_name: 'Category', type: { name: 'String' } }, time_stamp: { client_side_validation: true, required: true, serialized_name: 'TimeStamp', type: { name: 'DateTime' } }, has_correlated_events: { client_side_validation: true, required: false, serialized_name: 'HasCorrelatedEvents', type: { name: 'Boolean' } }, Kind: { client_side_validation: true, required: true, serialized_name: 'Kind', type: { name: 'String' } }, partition_id: { client_side_validation: true, required: true, serialized_name: 'PartitionId', type: { name: 'String' } }, metadata: { client_side_validation: true, required: true, serialized_name: 'Metadata', type: { name: 'Composite', class_name: 'AnalysisEventMetadata' } }, when_move_completed: { client_side_validation: true, required: true, serialized_name: 'WhenMoveCompleted', type: { name: 'DateTime' } }, previous_node: { client_side_validation: true, required: true, serialized_name: 'PreviousNode', type: { name: 'String' } }, current_node: { client_side_validation: true, required: true, serialized_name: 'CurrentNode', type: { name: 'String' } }, move_reason: { client_side_validation: true, required: true, serialized_name: 'MoveReason', type: { name: 'String' } }, relevant_traces: { client_side_validation: true, required: true, serialized_name: 'RelevantTraces', type: { name: 'String' } } } } } end |