You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"description": "Analyzes the disk usage of each field of an index or data stream"
6
+
},
7
+
"stability": "experimental",
8
+
"visibility": "public",
9
+
"headers": {
10
+
"accept": [
11
+
"application/json"
12
+
]
13
+
},
14
+
"url": {
15
+
"paths": [
16
+
{
17
+
"path": "/{index}/_disk_usage",
18
+
"methods": [
19
+
"POST"
20
+
],
21
+
"parts": {
22
+
"index": {
23
+
"type": "string",
24
+
"description": "Comma-separated list of indices or data streams to analyze the disk usage"
25
+
}
26
+
}
27
+
}
28
+
]
29
+
},
30
+
"params": {
31
+
"run_expensive_tasks": {
32
+
"type": "boolean",
33
+
"description": "Must be set to [true] in order for the task to be performed. Defaults to false."
34
+
},
35
+
"flush": {
36
+
"type": "boolean",
37
+
"description": "Whether flush or not before analyzing the index disk usage. Defaults to true"
38
+
},
39
+
"ignore_unavailable": {
40
+
"type": "boolean",
41
+
"description": "Whether specified concrete indices should be ignored when unavailable (missing or closed)"
42
+
},
43
+
"allow_no_indices": {
44
+
"type": "boolean",
45
+
"description": "Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified)"
46
+
},
47
+
"expand_wildcards": {
48
+
"type": "enum",
49
+
"options": [
50
+
"open",
51
+
"closed",
52
+
"hidden",
53
+
"none",
54
+
"all"
55
+
],
56
+
"default": "open",
57
+
"description": "Whether to expand wildcard expression to concrete indices that are open, closed or both."
Copy file name to clipboardExpand all lines: src/Elasticsearch.Net/Api/RequestParameters/RequestParameters.Indices.cs
+42Lines changed: 42 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -357,6 +357,48 @@ public TimeSpan Timeout
357
357
}
358
358
}
359
359
360
+
///<summary>Request options for DiskUsage <para>https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-disk-usage.html</para></summary>
///<summary>POST on /{index}/_disk_usage <para>https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-disk-usage.html</para></summary>
235
+
///<param name = "index">Comma-separated list of indices or data streams to analyze the disk usage</param>
236
+
///<param name = "requestParameters">Request specific configuration such as querystring parameters & request specific connection settings.</param>
237
+
///<remarks>Note: Experimental within the Elasticsearch server, this functionality is Experimental and may be changed or removed completely in a future release. Elastic will take a best effort approach to fix any issues, but experimental features are not subject to the support SLA of official GA features. This functionality is subject to potential breaking changes within a minor version, meaning that your referencing code may break when this library is upgraded.</remarks>
///<summary>POST on /{index}/_disk_usage <para>https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-disk-usage.html</para></summary>
241
+
///<param name = "index">Comma-separated list of indices or data streams to analyze the disk usage</param>
242
+
///<param name = "requestParameters">Request specific configuration such as querystring parameters & request specific connection settings.</param>
243
+
///<remarks>Note: Experimental within the Elasticsearch server, this functionality is Experimental and may be changed or removed completely in a future release. Elastic will take a best effort approach to fix any issues, but experimental features are not subject to the support SLA of official GA features. This functionality is subject to potential breaking changes within a minor version, meaning that your referencing code may break when this library is upgraded.</remarks>
0 commit comments