Skip to content

Commit 8b31b27

Browse files
Stuart Camrusscam
Stuart Cam
authored andcommitted
Add node count to ML usage response (#3603)
Relates: elastic/elasticsearch#33863 Add usage remarks.
1 parent 220b2dc commit 8b31b27

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/Nest/XPack/Info/XPackUsage/XPackUsageResponse.cs

+4
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,10 @@ public class MonitoringUsage : XPackUsage
164164

165165
public class MachineLearningUsage : XPackUsage
166166
{
167+
/// <remarks>Valid only for Elasticsearch 6.5.0+</remarks>
168+
[JsonProperty("node_count")]
169+
public int NodeCount { get; internal set; }
170+
167171
[JsonProperty("datafeeds")]
168172
public IReadOnlyDictionary<string, DataFeed> Datafeeds { get; set; } = EmptyReadOnly<string, DataFeed>.Dictionary;
169173

0 commit comments

Comments
 (0)