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": "Migrates the indices and ILM policies away from custom node attribute allocation routing to data tiers routing"
6
+
},
7
+
"stability":"stable",
8
+
"visibility":"public",
9
+
"headers":{
10
+
"accept": [ "application/json"],
11
+
"content_type": ["application/json"]
12
+
},
13
+
"url":{
14
+
"paths":[
15
+
{
16
+
"path":"/_ilm/migrate_to_data_tiers",
17
+
"methods":[
18
+
"POST"
19
+
]
20
+
}
21
+
]
22
+
},
23
+
"params": {
24
+
"dry_run": {
25
+
"type": "boolean",
26
+
"description": "If set to true it will simulate the migration, providing a way to retrieve the ILM policies and indices that need to be migrated. The default is false"
27
+
}
28
+
},
29
+
"body":{
30
+
"description":"Optionally specify a legacy index template name to delete and optionally specify a node attribute name used for index shard routing (defaults to \"data\")",
Copy file name to clipboardExpand all lines: src/ApiGenerator/RestSpecification/Core/ml.put_job.json
+25
Original file line number
Diff line number
Diff line change
@@ -26,6 +26,31 @@
26
26
}
27
27
]
28
28
},
29
+
"params":{
30
+
"ignore_unavailable":{
31
+
"type":"boolean",
32
+
"description":"Ignore unavailable indexes (default: false). Only set if datafeed_config is provided."
33
+
},
34
+
"allow_no_indices":{
35
+
"type":"boolean",
36
+
"description":"Ignore if the source indices expressions resolves to no concrete indices (default: true). Only set if datafeed_config is provided."
37
+
},
38
+
"ignore_throttled":{
39
+
"type":"boolean",
40
+
"description":"Ignore indices that are marked as throttled (default: true). Only set if datafeed_config is provided."
41
+
},
42
+
"expand_wildcards":{
43
+
"type":"enum",
44
+
"options":[
45
+
"open",
46
+
"closed",
47
+
"hidden",
48
+
"none",
49
+
"all"
50
+
],
51
+
"description":"Whether source index expressions should get expanded to open or closed indices (default: open). Only set if datafeed_config is provided."
Copy file name to clipboardExpand all lines: src/Elasticsearch.Net/Api/RequestParameters/RequestParameters.IndexLifecycleManagement.cs
+14
Original file line number
Diff line number
Diff line change
@@ -61,6 +61,20 @@ public class GetIlmStatusRequestParameters : RequestParameters<GetIlmStatusReque
61
61
{
62
62
}
63
63
64
+
///<summary>Request options for MigrateToDataTiers <para>https://www.elastic.co/guide/en/elasticsearch/reference/current/ilm-migrate-to-data-tiers.html</para></summary>
/// If set to true it will simulate the migration, providing a way to retrieve the ILM policies and indices that need to be migrated. The
69
+
/// default is false
70
+
///</summary>
71
+
publicbool?DryRun
72
+
{
73
+
get=>Q<bool?>("dry_run");
74
+
set=>Q("dry_run",value);
75
+
}
76
+
}
77
+
64
78
///<summary>Request options for MoveToStep <para>https://www.elastic.co/guide/en/elasticsearch/reference/current/ilm-move-to-step.html</para></summary>
///<summary>Ignore if the source indices expressions resolves to no concrete indices (default: true). Only set if datafeed_config is provided.</summary>
677
+
publicbool?AllowNoIndices
678
+
{
679
+
get=>Q<bool?>("allow_no_indices");
680
+
set=>Q("allow_no_indices",value);
681
+
}
682
+
683
+
///<summary>Whether source index expressions should get expanded to open or closed indices (default: open). Only set if datafeed_config is provided.</summary>
684
+
publicExpandWildcards?ExpandWildcards
685
+
{
686
+
get=>Q<ExpandWildcards?>("expand_wildcards");
687
+
set=>Q("expand_wildcards",value);
688
+
}
689
+
690
+
///<summary>Ignore indices that are marked as throttled (default: true). Only set if datafeed_config is provided.</summary>
691
+
publicbool?IgnoreThrottled
692
+
{
693
+
get=>Q<bool?>("ignore_throttled");
694
+
set=>Q("ignore_throttled",value);
695
+
}
696
+
697
+
///<summary>Ignore unavailable indexes (default: false). Only set if datafeed_config is provided.</summary>
698
+
publicbool?IgnoreUnavailable
699
+
{
700
+
get=>Q<bool?>("ignore_unavailable");
701
+
set=>Q("ignore_unavailable",value);
702
+
}
676
703
}
677
704
678
705
///<summary>Request options for PutTrainedModel <para>https://www.elastic.co/guide/en/elasticsearch/reference/current/put-trained-models.html</para></summary>
Copy file name to clipboardExpand all lines: src/Elasticsearch.Net/Api/RequestParameters/RequestParameters.Security.cs
+30
Original file line number
Diff line number
Diff line change
@@ -204,6 +204,11 @@ public Refresh? Refresh
204
204
}
205
205
}
206
206
207
+
///<summary>Request options for EnrollKibana <para>https://www.elastic.co/guide/en/elasticsearch/reference/master/security-api-enroll-kibana.html</para></summary>
///<summary>Request options for EnrollNode <para>https://www.elastic.co/guide/en/elasticsearch/reference/master/security-api-node-enrollment.html</para></summary>
///<summary>Request options for SamlAuthenticate <para>https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-saml-authenticate.html</para></summary>
///<summary>Request options for SamlCompleteLogout <para>https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-saml-complete-logout.html</para></summary>
///<summary>Request options for SamlInvalidate <para>https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-saml-invalidate.html</para></summary>
///<summary>Request options for SamlLogout <para>https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-saml-logout.html</para></summary>
///<summary>Request options for SamlPrepareAuthentication <para>https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-saml-prepare-authentication.html</para></summary>
///<summary>Request options for SamlServiceProviderMetadata <para>https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-saml-sp-metadata.html</para></summary>
///<summary>Request options for GetCertificates <para>https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-ssl.html</para></summary>
///<summary>POST on /_ilm/migrate_to_data_tiers <para>https://www.elastic.co/guide/en/elasticsearch/reference/current/ilm-migrate-to-data-tiers.html</para></summary>
102
+
///<param name = "body">Optionally specify a legacy index template name to delete and optionally specify a node attribute name used for index shard routing (defaults to "data")</param>
103
+
///<param name = "requestParameters">Request specific configuration such as querystring parameters & request specific connection settings.</param>
///<summary>POST on /_ilm/migrate_to_data_tiers <para>https://www.elastic.co/guide/en/elasticsearch/reference/current/ilm-migrate-to-data-tiers.html</para></summary>
107
+
///<param name = "body">Optionally specify a legacy index template name to delete and optionally specify a node attribute name used for index shard routing (defaults to "data")</param>
108
+
///<param name = "requestParameters">Request specific configuration such as querystring parameters & request specific connection settings.</param>
0 commit comments