Class: Azure::ServiceFabric::V6_3_0_9::Models::NodeInfo
- Inherits:
-
Object
- Object
- Azure::ServiceFabric::V6_3_0_9::Models::NodeInfo
- Includes:
- MsRestAzure
- Defined in:
- lib/6.3.0.9/generated/azure_service_fabric/models/node_info.rb
Overview
Information about a node in Service Fabric cluster.
Instance Attribute Summary collapse
-
#code_version ⇒ String
is running.
-
#config_version ⇒ String
the node is using.
-
#fault_domain ⇒ String
The fault domain of the node.
-
#health_state ⇒ HealthState
as Cluster, Node, Application, Service, Partition, Replica etc.
-
#id ⇒ NodeId
identify a node.
-
#instance_id ⇒ String
the node is deterministically generated from the node name and remains same across restarts, the InstanceId changes every time node restarts.
-
#ip_address_or_fqdn ⇒ String
node.
-
#is_seed_node ⇒ Boolean
true if the node is a seed node, otherwise false.
-
#is_stopped ⇒ Boolean
API or not.
-
#name ⇒ String
The name of a Service Fabric node.
-
#node_deactivation_info ⇒ NodeDeactivationInfo
This information is valid for a node that is undergoing deactivation or has already been deactivated.
-
#node_down_at ⇒ DateTime
has never been down then this value will be zero date time.
-
#node_down_time_in_seconds ⇒ String
Down.
-
#node_status ⇒ NodeStatus
‘Invalid’, ‘Up’, ‘Down’, ‘Enabling’, ‘Disabling’, ‘Disabled’, ‘Unknown’, ‘Removed’.
-
#node_up_at ⇒ DateTime
has never been up then this value will be zero date time.
-
#node_up_time_in_seconds ⇒ String
Up.
-
#type ⇒ String
The type of the node.
-
#upgrade_domain ⇒ String
The upgrade domain of the node.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for NodeInfo class as Ruby Hash.
Instance Attribute Details
#code_version ⇒ String
is running.
27 28 29 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/node_info.rb', line 27 def code_version @code_version end |
#config_version ⇒ String
the node is using.
31 32 33 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/node_info.rb', line 31 def config_version @config_version end |
#fault_domain ⇒ String
Returns The fault domain of the node.
56 57 58 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/node_info.rb', line 56 def fault_domain @fault_domain end |
#health_state ⇒ HealthState
as Cluster, Node, Application, Service, Partition, Replica etc. Possible values include: ‘Invalid’, ‘Ok’, ‘Warning’, ‘Error’, ‘Unknown’
45 46 47 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/node_info.rb', line 45 def health_state @health_state end |
#id ⇒ NodeId
identify a node. Node Id is deterministically generated from node name.
60 61 62 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/node_info.rb', line 60 def id @id end |
#instance_id ⇒ String
the node is deterministically generated from the node name and remains same across restarts, the InstanceId changes every time node restarts.
65 66 67 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/node_info.rb', line 65 def instance_id @instance_id end |
#ip_address_or_fqdn ⇒ String
node.
20 21 22 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/node_info.rb', line 20 def ip_address_or_fqdn @ip_address_or_fqdn end |
#is_seed_node ⇒ Boolean
true if the node is a seed node, otherwise false. A quorum of seed nodes are required for proper operation of Service Fabric cluster.
50 51 52 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/node_info.rb', line 50 def is_seed_node @is_seed_node end |
#is_stopped ⇒ Boolean
API or not. Returns true if the node is stopped, otherwise false.
74 75 76 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/node_info.rb', line 74 def is_stopped @is_stopped end |
#name ⇒ String
Returns The name of a Service Fabric node.
16 17 18 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/node_info.rb', line 16 def name @name end |
#node_deactivation_info ⇒ NodeDeactivationInfo
This information is valid for a node that is undergoing deactivation or has already been deactivated.
70 71 72 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/node_info.rb', line 70 def node_deactivation_info @node_deactivation_info end |
#node_down_at ⇒ DateTime
has never been down then this value will be zero date time.
86 87 88 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/node_info.rb', line 86 def node_down_at @node_down_at end |
#node_down_time_in_seconds ⇒ String
Down. Value zero indicates node is not NodeStatus Down.
78 79 80 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/node_info.rb', line 78 def node_down_time_in_seconds @node_down_time_in_seconds end |
#node_status ⇒ NodeStatus
‘Invalid’, ‘Up’, ‘Down’, ‘Enabling’, ‘Disabling’, ‘Disabled’, ‘Unknown’, ‘Removed’
36 37 38 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/node_info.rb', line 36 def node_status @node_status end |
#node_up_at ⇒ DateTime
has never been up then this value will be zero date time.
82 83 84 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/node_info.rb', line 82 def node_up_at @node_up_at end |
#node_up_time_in_seconds ⇒ String
Up. Value zero indicates that the node is not Up.
40 41 42 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/node_info.rb', line 40 def node_up_time_in_seconds @node_up_time_in_seconds end |
#type ⇒ String
Returns The type of the node.
23 24 25 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/node_info.rb', line 23 def type @type end |
#upgrade_domain ⇒ String
Returns The upgrade domain of the node.
53 54 55 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/node_info.rb', line 53 def upgrade_domain @upgrade_domain end |
Class Method Details
.mapper ⇒ Object
Mapper for NodeInfo class as Ruby Hash. This will be used for serialization/deserialization.
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 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/node_info.rb', line 93 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'NodeInfo', type: { name: 'Composite', class_name: 'NodeInfo', model_properties: { name: { client_side_validation: true, required: false, serialized_name: 'Name', type: { name: 'String' } }, ip_address_or_fqdn: { client_side_validation: true, required: false, serialized_name: 'IpAddressOrFQDN', type: { name: 'String' } }, type: { client_side_validation: true, required: false, serialized_name: 'Type', type: { name: 'String' } }, code_version: { client_side_validation: true, required: false, serialized_name: 'CodeVersion', type: { name: 'String' } }, config_version: { client_side_validation: true, required: false, serialized_name: 'ConfigVersion', type: { name: 'String' } }, node_status: { client_side_validation: true, required: false, serialized_name: 'NodeStatus', type: { name: 'String' } }, node_up_time_in_seconds: { client_side_validation: true, required: false, serialized_name: 'NodeUpTimeInSeconds', type: { name: 'String' } }, health_state: { client_side_validation: true, required: false, serialized_name: 'HealthState', type: { name: 'String' } }, is_seed_node: { client_side_validation: true, required: false, serialized_name: 'IsSeedNode', type: { name: 'Boolean' } }, upgrade_domain: { client_side_validation: true, required: false, serialized_name: 'UpgradeDomain', type: { name: 'String' } }, fault_domain: { client_side_validation: true, required: false, serialized_name: 'FaultDomain', type: { name: 'String' } }, id: { client_side_validation: true, required: false, serialized_name: 'Id', type: { name: 'Composite', class_name: 'NodeId' } }, instance_id: { client_side_validation: true, required: false, serialized_name: 'InstanceId', type: { name: 'String' } }, node_deactivation_info: { client_side_validation: true, required: false, serialized_name: 'NodeDeactivationInfo', type: { name: 'Composite', class_name: 'NodeDeactivationInfo' } }, is_stopped: { client_side_validation: true, required: false, serialized_name: 'IsStopped', type: { name: 'Boolean' } }, node_down_time_in_seconds: { client_side_validation: true, required: false, serialized_name: 'NodeDownTimeInSeconds', type: { name: 'String' } }, node_up_at: { client_side_validation: true, required: false, serialized_name: 'NodeUpAt', type: { name: 'DateTime' } }, node_down_at: { client_side_validation: true, required: false, serialized_name: 'NodeDownAt', type: { name: 'DateTime' } } } } } end |