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 a repository for correctness and performance"
6
+
},
7
+
"stability":"stable",
8
+
"visibility":"public",
9
+
"headers": {
10
+
"accept": [
11
+
"application/json"
12
+
]
13
+
},
14
+
"url":{
15
+
"paths":[
16
+
{
17
+
"path":"/_snapshot/{repository}/_analyze",
18
+
"methods":[
19
+
"POST"
20
+
],
21
+
"parts":{
22
+
"repository":{
23
+
"type":"string",
24
+
"description":"A repository name"
25
+
}
26
+
}
27
+
}
28
+
]
29
+
},
30
+
"params":{
31
+
"blob_count":{
32
+
"type":"number",
33
+
"description":"Number of blobs to create during the test. Defaults to 100."
34
+
},
35
+
"concurrency":{
36
+
"type":"number",
37
+
"description":"Number of operations to run concurrently during the test. Defaults to 10."
38
+
},
39
+
"read_node_count":{
40
+
"type":"number",
41
+
"description":"Number of nodes on which to read a blob after writing. Defaults to 10."
42
+
},
43
+
"early_read_node_count":{
44
+
"type":"number",
45
+
"description":"Number of nodes on which to perform an early read on a blob, i.e. before writing has completed. Early reads are rare actions so the 'rare_action_probability' parameter is also relevant. Defaults to 2."
46
+
},
47
+
"seed":{
48
+
"type":"number",
49
+
"description":"Seed for the random number generator used to create the test workload. Defaults to a random value."
50
+
},
51
+
"rare_action_probability":{
52
+
"type":"number",
53
+
"description":"Probability of taking a rare action such as an early read or an overwrite. Defaults to 0.02."
54
+
},
55
+
"max_blob_size":{
56
+
"type":"string",
57
+
"description":"Maximum size of a blob to create during the test, e.g '1gb' or '100mb'. Defaults to '10mb'."
58
+
},
59
+
"max_total_data_size":{
60
+
"type":"string",
61
+
"description":"Maximum total size of all blobs to create during the test, e.g '1tb' or '100gb'. Defaults to '1gb'."
62
+
},
63
+
"timeout":{
64
+
"type":"time",
65
+
"description":"Explicit operation timeout. Defaults to '30s'."
66
+
},
67
+
"detailed":{
68
+
"type":"boolean",
69
+
"description":"Whether to return detailed results or a summary. Defaults to 'false' so that only the summary is returned."
Copy file name to clipboardExpand all lines: src/Elasticsearch.Net/Api/RequestParameters/RequestParameters.Snapshot.cs
+79Lines changed: 79 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -194,6 +194,85 @@ public TimeSpan MasterTimeout
194
194
}
195
195
}
196
196
197
+
///<summary>Request options for RepositoryAnalyze <para>https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html</para></summary>
///<summary>POST on /_snapshot/{repository}/_analyze <para>https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html</para></summary>
165
+
///<param name = "repository">A repository name</param>
166
+
///<param name = "requestParameters">Request specific configuration such as querystring parameters & request specific connection settings.</param>
///<summary>POST on /_snapshot/{repository}/_analyze <para>https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html</para></summary>
170
+
///<param name = "repository">A repository name</param>
171
+
///<param name = "requestParameters">Request specific configuration such as querystring parameters & request specific connection settings.</param>
///<summary>POST on /_snapshot/{repository}/{snapshot}/_restore <para>https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html</para></summary>
165
176
///<param name = "repository">A repository name</param>
166
177
///<param name = "snapshot">A snapshot name</param>
0 commit comments