@@ -15,6 +15,9 @@ public class ClusterNodesStats
1515 [ JsonProperty ( "jvm" ) ]
1616 public ClusterJvm Jvm { get ; internal set ; }
1717
18+ [ JsonProperty ( "network_types" ) ]
19+ public ClusterNetworkTypes NetworkTypes { get ; internal set ; }
20+
1821 [ JsonProperty ( "os" ) ]
1922 public ClusterOperatingSystemStats OperatingSystem { get ; internal set ; }
2023
@@ -28,6 +31,16 @@ public class ClusterNodesStats
2831 public IReadOnlyCollection < string > Versions { get ; internal set ; }
2932 }
3033
34+ [ JsonObject ]
35+ public class ClusterNetworkTypes
36+ {
37+ [ JsonProperty ( "http_types" ) ]
38+ public IReadOnlyDictionary < string , int > HttpTypes { get ; internal set ; }
39+
40+ [ JsonProperty ( "transport_types" ) ]
41+ public IReadOnlyDictionary < string , int > TransportTypes { get ; internal set ; }
42+ }
43+
3144 [ JsonObject ]
3245 public class ClusterFileSystem
3346 {
@@ -143,8 +156,33 @@ public class ClusterOperatingSystemStats
143156 [ JsonProperty ( "available_processors" ) ]
144157 public int AvailableProcessors { get ; internal set ; }
145158
159+ [ JsonProperty ( "mem" ) ]
160+ public OperatingSystemMemoryInfo Memory { get ; internal set ; }
161+
146162 [ JsonProperty ( "names" ) ]
147163 public IReadOnlyCollection < ClusterOperatingSystemName > Names { get ; internal set ; }
164+
165+ [ JsonProperty ( "pretty_names" ) ]
166+ public IReadOnlyCollection < ClusterOperatingSystemPrettyNane > PrettyNames { get ; internal set ; }
167+ }
168+
169+ [ JsonObject ]
170+ public class OperatingSystemMemoryInfo
171+ {
172+ [ JsonProperty ( "free_in_bytes" ) ]
173+ public long FreeBytes { get ; internal set ; }
174+
175+ [ JsonProperty ( "free_percent" ) ]
176+ public int FreePercent { get ; internal set ; }
177+
178+ [ JsonProperty ( "total_in_bytes" ) ]
179+ public long TotalBytes { get ; internal set ; }
180+
181+ [ JsonProperty ( "used_in_bytes" ) ]
182+ public long UsedBytes { get ; internal set ; }
183+
184+ [ JsonProperty ( "used_percent" ) ]
185+ public int UsedPercent { get ; internal set ; }
148186 }
149187
150188 [ JsonObject ]
0 commit comments