elasticsearch-xpack 6.8.3 → 7.0.0.pre
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +17 -0
- data/LICENSE.txt +202 -21
- data/Rakefile +20 -1
- data/elasticsearch-xpack.gemspec +46 -31
- data/examples/watcher/error_500.rb +18 -7
- data/lib/elasticsearch/xpack.rb +40 -3
- data/lib/elasticsearch/xpack/api/actions/graph/explore.rb +17 -4
- data/lib/elasticsearch/xpack/api/actions/info.rb +16 -3
- data/lib/elasticsearch/xpack/api/actions/license/delete.rb +16 -3
- data/lib/elasticsearch/xpack/api/actions/license/get.rb +16 -3
- data/lib/elasticsearch/xpack/api/actions/license/get_basic_status.rb +16 -3
- data/lib/elasticsearch/xpack/api/actions/license/get_trial_status.rb +16 -3
- data/lib/elasticsearch/xpack/api/actions/license/post.rb +16 -3
- data/lib/elasticsearch/xpack/api/actions/license/post_start_basic.rb +16 -3
- data/lib/elasticsearch/xpack/api/actions/license/post_start_trial.rb +16 -3
- data/lib/elasticsearch/xpack/api/actions/machine_learning/close_job.rb +17 -4
- data/lib/elasticsearch/xpack/api/actions/machine_learning/delete_calendar.rb +16 -3
- data/lib/elasticsearch/xpack/api/actions/machine_learning/delete_calendar_event.rb +16 -3
- data/lib/elasticsearch/xpack/api/actions/machine_learning/delete_calendar_job.rb +16 -3
- data/lib/elasticsearch/xpack/api/actions/machine_learning/delete_datafeed.rb +16 -3
- data/lib/elasticsearch/xpack/api/actions/machine_learning/delete_expired_data.rb +16 -3
- data/lib/elasticsearch/xpack/api/actions/machine_learning/delete_filter.rb +16 -3
- data/lib/elasticsearch/xpack/api/actions/machine_learning/delete_forecast.rb +1 -5
- data/lib/elasticsearch/xpack/api/actions/machine_learning/delete_job.rb +16 -3
- data/lib/elasticsearch/xpack/api/actions/machine_learning/delete_model_snapshot.rb +16 -3
- data/lib/elasticsearch/xpack/api/actions/machine_learning/find_file_structure.rb +0 -4
- data/lib/elasticsearch/xpack/api/actions/machine_learning/flush_job.rb +16 -3
- data/lib/elasticsearch/xpack/api/actions/machine_learning/forecast.rb +16 -3
- data/lib/elasticsearch/xpack/api/actions/machine_learning/get_buckets.rb +16 -3
- data/lib/elasticsearch/xpack/api/actions/machine_learning/get_calendar_events.rb +16 -3
- data/lib/elasticsearch/xpack/api/actions/machine_learning/get_calendars.rb +16 -3
- data/lib/elasticsearch/xpack/api/actions/machine_learning/get_categories.rb +16 -3
- data/lib/elasticsearch/xpack/api/actions/machine_learning/get_datafeed_stats.rb +16 -3
- data/lib/elasticsearch/xpack/api/actions/machine_learning/get_datafeeds.rb +16 -3
- data/lib/elasticsearch/xpack/api/actions/machine_learning/get_filters.rb +16 -3
- data/lib/elasticsearch/xpack/api/actions/machine_learning/get_influencers.rb +16 -3
- data/lib/elasticsearch/xpack/api/actions/machine_learning/get_job_stats.rb +16 -3
- data/lib/elasticsearch/xpack/api/actions/machine_learning/get_jobs.rb +16 -3
- data/lib/elasticsearch/xpack/api/actions/machine_learning/get_model_snapshots.rb +16 -3
- data/lib/elasticsearch/xpack/api/actions/machine_learning/get_overall_buckets.rb +16 -3
- data/lib/elasticsearch/xpack/api/actions/machine_learning/get_records.rb +16 -3
- data/lib/elasticsearch/xpack/api/actions/machine_learning/info.rb +16 -3
- data/lib/elasticsearch/xpack/api/actions/machine_learning/open_job.rb +16 -3
- data/lib/elasticsearch/xpack/api/actions/machine_learning/post_calendar_events.rb +16 -3
- data/lib/elasticsearch/xpack/api/actions/machine_learning/post_data.rb +16 -3
- data/lib/elasticsearch/xpack/api/actions/machine_learning/preview_datafeed.rb +16 -3
- data/lib/elasticsearch/xpack/api/actions/machine_learning/put_calendar.rb +16 -3
- data/lib/elasticsearch/xpack/api/actions/machine_learning/put_calendar_job.rb +16 -3
- data/lib/elasticsearch/xpack/api/actions/machine_learning/put_datafeed.rb +16 -3
- data/lib/elasticsearch/xpack/api/actions/machine_learning/put_filter.rb +16 -3
- data/lib/elasticsearch/xpack/api/actions/machine_learning/put_job.rb +16 -3
- data/lib/elasticsearch/xpack/api/actions/machine_learning/revert_model_snapshot.rb +16 -3
- data/lib/elasticsearch/xpack/api/actions/machine_learning/set_upgrade_mode.rb +5 -9
- data/lib/elasticsearch/xpack/api/actions/machine_learning/start_datafeed.rb +16 -3
- data/lib/elasticsearch/xpack/api/actions/machine_learning/stop_datafeed.rb +16 -3
- data/lib/elasticsearch/xpack/api/actions/machine_learning/update_datafeed.rb +16 -3
- data/lib/elasticsearch/xpack/api/actions/machine_learning/update_filter.rb +0 -4
- data/lib/elasticsearch/xpack/api/actions/machine_learning/update_job.rb +16 -3
- data/lib/elasticsearch/xpack/api/actions/machine_learning/update_model_snapshot.rb +0 -4
- data/lib/elasticsearch/xpack/api/actions/machine_learning/validate.rb +0 -4
- data/lib/elasticsearch/xpack/api/actions/machine_learning/validate_detector.rb +0 -4
- data/lib/elasticsearch/xpack/api/actions/migration/deprecations.rb +16 -3
- data/lib/elasticsearch/xpack/api/actions/migration/get_assistance.rb +16 -3
- data/lib/elasticsearch/xpack/api/actions/migration/upgrade.rb +16 -3
- data/lib/elasticsearch/xpack/api/actions/monitoring/bulk.rb +16 -3
- data/lib/elasticsearch/xpack/api/actions/rollup/delete_job.rb +16 -3
- data/lib/elasticsearch/xpack/api/actions/rollup/get_jobs.rb +16 -3
- data/lib/elasticsearch/xpack/api/actions/rollup/get_rollup_caps.rb +16 -3
- data/lib/elasticsearch/xpack/api/actions/rollup/get_rollup_index_caps.rb +0 -4
- data/lib/elasticsearch/xpack/api/actions/rollup/put_job.rb +16 -3
- data/lib/elasticsearch/xpack/api/actions/rollup/rollup_search.rb +17 -4
- data/lib/elasticsearch/xpack/api/actions/rollup/start_job.rb +16 -3
- data/lib/elasticsearch/xpack/api/actions/rollup/stop_job.rb +16 -3
- data/lib/elasticsearch/xpack/api/actions/security/authenticate.rb +16 -3
- data/lib/elasticsearch/xpack/api/actions/security/change_password.rb +16 -3
- data/lib/elasticsearch/xpack/api/actions/security/clear_cached_realms.rb +16 -3
- data/lib/elasticsearch/xpack/api/actions/security/clear_cached_roles.rb +16 -3
- data/lib/elasticsearch/xpack/api/actions/security/create_api_key.rb +0 -4
- data/lib/elasticsearch/xpack/api/actions/security/delete_privileges.rb +0 -4
- data/lib/elasticsearch/xpack/api/actions/security/delete_role.rb +16 -3
- data/lib/elasticsearch/xpack/api/actions/security/delete_role_mapping.rb +16 -3
- data/lib/elasticsearch/xpack/api/actions/security/delete_user.rb +16 -3
- data/lib/elasticsearch/xpack/api/actions/security/disable_user.rb +16 -3
- data/lib/elasticsearch/xpack/api/actions/security/enable_user.rb +16 -3
- data/lib/elasticsearch/xpack/api/actions/security/get_api_key.rb +6 -10
- data/lib/elasticsearch/xpack/api/actions/security/get_privileges.rb +0 -4
- data/lib/elasticsearch/xpack/api/actions/security/get_role.rb +16 -3
- data/lib/elasticsearch/xpack/api/actions/security/get_role_mapping.rb +16 -3
- data/lib/elasticsearch/xpack/api/actions/security/get_token.rb +16 -3
- data/lib/elasticsearch/xpack/api/actions/security/get_user.rb +16 -3
- data/lib/elasticsearch/xpack/api/actions/security/get_user_privileges.rb +0 -4
- data/lib/elasticsearch/xpack/api/actions/security/has_privileges.rb +0 -4
- data/lib/elasticsearch/xpack/api/actions/security/invalidate_api_key.rb +0 -4
- data/lib/elasticsearch/xpack/api/actions/security/invalidate_token.rb +16 -3
- data/lib/elasticsearch/xpack/api/actions/security/put_privileges.rb +0 -4
- data/lib/elasticsearch/xpack/api/actions/security/put_role.rb +16 -3
- data/lib/elasticsearch/xpack/api/actions/security/put_role_mapping.rb +16 -3
- data/lib/elasticsearch/xpack/api/actions/security/put_user.rb +16 -3
- data/lib/elasticsearch/xpack/api/actions/sql/clear_cursor.rb +16 -3
- data/lib/elasticsearch/xpack/api/actions/sql/query.rb +16 -3
- data/lib/elasticsearch/xpack/api/actions/sql/translate.rb +16 -3
- data/lib/elasticsearch/xpack/api/actions/ssl/certificates.rb +16 -3
- data/lib/elasticsearch/xpack/api/actions/usage.rb +16 -3
- data/lib/elasticsearch/xpack/api/actions/watcher/ack_watch.rb +16 -3
- data/lib/elasticsearch/xpack/api/actions/watcher/activate_watch.rb +16 -3
- data/lib/elasticsearch/xpack/api/actions/watcher/deactivate_watch.rb +16 -3
- data/lib/elasticsearch/xpack/api/actions/watcher/delete_watch.rb +16 -3
- data/lib/elasticsearch/xpack/api/actions/watcher/execute_watch.rb +16 -3
- data/lib/elasticsearch/xpack/api/actions/watcher/get_watch.rb +16 -3
- data/lib/elasticsearch/xpack/api/actions/watcher/put_watch.rb +16 -3
- data/lib/elasticsearch/xpack/api/actions/watcher/restart.rb +16 -3
- data/lib/elasticsearch/xpack/api/actions/watcher/start.rb +16 -3
- data/lib/elasticsearch/xpack/api/actions/watcher/stats.rb +16 -3
- data/lib/elasticsearch/xpack/api/actions/watcher/stop.rb +16 -3
- data/lib/elasticsearch/xpack/api/namespace/graph.rb +16 -3
- data/lib/elasticsearch/xpack/api/namespace/license.rb +16 -3
- data/lib/elasticsearch/xpack/api/namespace/machine_learning.rb +16 -3
- data/lib/elasticsearch/xpack/api/namespace/migration.rb +16 -3
- data/lib/elasticsearch/xpack/api/namespace/monitoring.rb +16 -3
- data/lib/elasticsearch/xpack/api/namespace/rollup.rb +16 -3
- data/lib/elasticsearch/xpack/api/namespace/security.rb +16 -3
- data/lib/elasticsearch/xpack/api/namespace/sql.rb +16 -3
- data/lib/elasticsearch/xpack/api/namespace/ssl.rb +16 -3
- data/lib/elasticsearch/xpack/api/namespace/watcher.rb +16 -3
- data/lib/elasticsearch/xpack/version.rb +17 -4
- metadata +45 -54
@@ -1,6 +1,19 @@
|
|
1
|
-
# Licensed to Elasticsearch B.V under one or more
|
2
|
-
#
|
3
|
-
#
|
1
|
+
# Licensed to Elasticsearch B.V. under one or more contributor
|
2
|
+
# license agreements. See the NOTICE file distributed with
|
3
|
+
# this work for additional information regarding copyright
|
4
|
+
# ownership. Elasticsearch B.V. licenses this file to you under
|
5
|
+
# the Apache License, Version 2.0 (the "License"); you may
|
6
|
+
# not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing,
|
12
|
+
# software distributed under the License is distributed on an
|
13
|
+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
14
|
+
# KIND, either express or implied. See the License for the
|
15
|
+
# specific language governing permissions and limitations
|
16
|
+
# under the License.
|
4
17
|
|
5
18
|
module Elasticsearch
|
6
19
|
module XPack
|
@@ -1,6 +1,19 @@
|
|
1
|
-
# Licensed to Elasticsearch B.V under one or more
|
2
|
-
#
|
3
|
-
#
|
1
|
+
# Licensed to Elasticsearch B.V. under one or more contributor
|
2
|
+
# license agreements. See the NOTICE file distributed with
|
3
|
+
# this work for additional information regarding copyright
|
4
|
+
# ownership. Elasticsearch B.V. licenses this file to you under
|
5
|
+
# the Apache License, Version 2.0 (the "License"); you may
|
6
|
+
# not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing,
|
12
|
+
# software distributed under the License is distributed on an
|
13
|
+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
14
|
+
# KIND, either express or implied. See the License for the
|
15
|
+
# specific language governing permissions and limitations
|
16
|
+
# under the License.
|
4
17
|
|
5
18
|
module Elasticsearch
|
6
19
|
module XPack
|
@@ -1,6 +1,19 @@
|
|
1
|
-
# Licensed to Elasticsearch B.V under one or more
|
2
|
-
#
|
3
|
-
#
|
1
|
+
# Licensed to Elasticsearch B.V. under one or more contributor
|
2
|
+
# license agreements. See the NOTICE file distributed with
|
3
|
+
# this work for additional information regarding copyright
|
4
|
+
# ownership. Elasticsearch B.V. licenses this file to you under
|
5
|
+
# the Apache License, Version 2.0 (the "License"); you may
|
6
|
+
# not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing,
|
12
|
+
# software distributed under the License is distributed on an
|
13
|
+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
14
|
+
# KIND, either express or implied. See the License for the
|
15
|
+
# specific language governing permissions and limitations
|
16
|
+
# under the License.
|
4
17
|
|
5
18
|
module Elasticsearch
|
6
19
|
module XPack
|
@@ -1,6 +1,19 @@
|
|
1
|
-
# Licensed to Elasticsearch B.V under one or more
|
2
|
-
#
|
3
|
-
#
|
1
|
+
# Licensed to Elasticsearch B.V. under one or more contributor
|
2
|
+
# license agreements. See the NOTICE file distributed with
|
3
|
+
# this work for additional information regarding copyright
|
4
|
+
# ownership. Elasticsearch B.V. licenses this file to you under
|
5
|
+
# the Apache License, Version 2.0 (the "License"); you may
|
6
|
+
# not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing,
|
12
|
+
# software distributed under the License is distributed on an
|
13
|
+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
14
|
+
# KIND, either express or implied. See the License for the
|
15
|
+
# specific language governing permissions and limitations
|
16
|
+
# under the License.
|
4
17
|
|
5
18
|
module Elasticsearch
|
6
19
|
module XPack
|
@@ -20,7 +33,7 @@ module Elasticsearch
|
|
20
33
|
raise ArgumentError, "Required argument 'index' missing" unless arguments[:index]
|
21
34
|
raise ArgumentError, "Required argument 'body' missing" unless arguments[:body]
|
22
35
|
|
23
|
-
valid_params = [ :typed_keys ]
|
36
|
+
valid_params = [ :typed_keys, :rest_total_hits_as_int ]
|
24
37
|
|
25
38
|
method = Elasticsearch::API::HTTP_GET
|
26
39
|
path = "#{arguments[:index]}/_rollup_search"
|
@@ -1,6 +1,19 @@
|
|
1
|
-
# Licensed to Elasticsearch B.V under one or more
|
2
|
-
#
|
3
|
-
#
|
1
|
+
# Licensed to Elasticsearch B.V. under one or more contributor
|
2
|
+
# license agreements. See the NOTICE file distributed with
|
3
|
+
# this work for additional information regarding copyright
|
4
|
+
# ownership. Elasticsearch B.V. licenses this file to you under
|
5
|
+
# the Apache License, Version 2.0 (the "License"); you may
|
6
|
+
# not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing,
|
12
|
+
# software distributed under the License is distributed on an
|
13
|
+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
14
|
+
# KIND, either express or implied. See the License for the
|
15
|
+
# specific language governing permissions and limitations
|
16
|
+
# under the License.
|
4
17
|
|
5
18
|
module Elasticsearch
|
6
19
|
module XPack
|
@@ -1,6 +1,19 @@
|
|
1
|
-
# Licensed to Elasticsearch B.V under one or more
|
2
|
-
#
|
3
|
-
#
|
1
|
+
# Licensed to Elasticsearch B.V. under one or more contributor
|
2
|
+
# license agreements. See the NOTICE file distributed with
|
3
|
+
# this work for additional information regarding copyright
|
4
|
+
# ownership. Elasticsearch B.V. licenses this file to you under
|
5
|
+
# the Apache License, Version 2.0 (the "License"); you may
|
6
|
+
# not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing,
|
12
|
+
# software distributed under the License is distributed on an
|
13
|
+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
14
|
+
# KIND, either express or implied. See the License for the
|
15
|
+
# specific language governing permissions and limitations
|
16
|
+
# under the License.
|
4
17
|
|
5
18
|
module Elasticsearch
|
6
19
|
module XPack
|
@@ -1,6 +1,19 @@
|
|
1
|
-
# Licensed to Elasticsearch B.V under one or more
|
2
|
-
#
|
3
|
-
#
|
1
|
+
# Licensed to Elasticsearch B.V. under one or more contributor
|
2
|
+
# license agreements. See the NOTICE file distributed with
|
3
|
+
# this work for additional information regarding copyright
|
4
|
+
# ownership. Elasticsearch B.V. licenses this file to you under
|
5
|
+
# the Apache License, Version 2.0 (the "License"); you may
|
6
|
+
# not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing,
|
12
|
+
# software distributed under the License is distributed on an
|
13
|
+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
14
|
+
# KIND, either express or implied. See the License for the
|
15
|
+
# specific language governing permissions and limitations
|
16
|
+
# under the License.
|
4
17
|
|
5
18
|
module Elasticsearch
|
6
19
|
module XPack
|
@@ -1,6 +1,19 @@
|
|
1
|
-
# Licensed to Elasticsearch B.V under one or more
|
2
|
-
#
|
3
|
-
#
|
1
|
+
# Licensed to Elasticsearch B.V. under one or more contributor
|
2
|
+
# license agreements. See the NOTICE file distributed with
|
3
|
+
# this work for additional information regarding copyright
|
4
|
+
# ownership. Elasticsearch B.V. licenses this file to you under
|
5
|
+
# the Apache License, Version 2.0 (the "License"); you may
|
6
|
+
# not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing,
|
12
|
+
# software distributed under the License is distributed on an
|
13
|
+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
14
|
+
# KIND, either express or implied. See the License for the
|
15
|
+
# specific language governing permissions and limitations
|
16
|
+
# under the License.
|
4
17
|
|
5
18
|
module Elasticsearch
|
6
19
|
module XPack
|
@@ -1,6 +1,19 @@
|
|
1
|
-
# Licensed to Elasticsearch B.V under one or more
|
2
|
-
#
|
3
|
-
#
|
1
|
+
# Licensed to Elasticsearch B.V. under one or more contributor
|
2
|
+
# license agreements. See the NOTICE file distributed with
|
3
|
+
# this work for additional information regarding copyright
|
4
|
+
# ownership. Elasticsearch B.V. licenses this file to you under
|
5
|
+
# the Apache License, Version 2.0 (the "License"); you may
|
6
|
+
# not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing,
|
12
|
+
# software distributed under the License is distributed on an
|
13
|
+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
14
|
+
# KIND, either express or implied. See the License for the
|
15
|
+
# specific language governing permissions and limitations
|
16
|
+
# under the License.
|
4
17
|
|
5
18
|
module Elasticsearch
|
6
19
|
module XPack
|
@@ -1,6 +1,19 @@
|
|
1
|
-
# Licensed to Elasticsearch B.V under one or more
|
2
|
-
#
|
3
|
-
#
|
1
|
+
# Licensed to Elasticsearch B.V. under one or more contributor
|
2
|
+
# license agreements. See the NOTICE file distributed with
|
3
|
+
# this work for additional information regarding copyright
|
4
|
+
# ownership. Elasticsearch B.V. licenses this file to you under
|
5
|
+
# the Apache License, Version 2.0 (the "License"); you may
|
6
|
+
# not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing,
|
12
|
+
# software distributed under the License is distributed on an
|
13
|
+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
14
|
+
# KIND, either express or implied. See the License for the
|
15
|
+
# specific language governing permissions and limitations
|
16
|
+
# under the License.
|
4
17
|
|
5
18
|
module Elasticsearch
|
6
19
|
module XPack
|
@@ -1,7 +1,3 @@
|
|
1
|
-
# Licensed to Elasticsearch B.V under one or more agreements.
|
2
|
-
# Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
|
3
|
-
# See the LICENSE file in the project root for more information
|
4
|
-
|
5
1
|
# Licensed to Elasticsearch B.V. under one or more contributor
|
6
2
|
# license agreements. See the NOTICE file distributed with
|
7
3
|
# this work for additional information regarding copyright
|
@@ -1,6 +1,19 @@
|
|
1
|
-
# Licensed to Elasticsearch B.V under one or more
|
2
|
-
#
|
3
|
-
#
|
1
|
+
# Licensed to Elasticsearch B.V. under one or more contributor
|
2
|
+
# license agreements. See the NOTICE file distributed with
|
3
|
+
# this work for additional information regarding copyright
|
4
|
+
# ownership. Elasticsearch B.V. licenses this file to you under
|
5
|
+
# the Apache License, Version 2.0 (the "License"); you may
|
6
|
+
# not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing,
|
12
|
+
# software distributed under the License is distributed on an
|
13
|
+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
14
|
+
# KIND, either express or implied. See the License for the
|
15
|
+
# specific language governing permissions and limitations
|
16
|
+
# under the License.
|
4
17
|
|
5
18
|
module Elasticsearch
|
6
19
|
module XPack
|
@@ -1,6 +1,19 @@
|
|
1
|
-
# Licensed to Elasticsearch B.V under one or more
|
2
|
-
#
|
3
|
-
#
|
1
|
+
# Licensed to Elasticsearch B.V. under one or more contributor
|
2
|
+
# license agreements. See the NOTICE file distributed with
|
3
|
+
# this work for additional information regarding copyright
|
4
|
+
# ownership. Elasticsearch B.V. licenses this file to you under
|
5
|
+
# the Apache License, Version 2.0 (the "License"); you may
|
6
|
+
# not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing,
|
12
|
+
# software distributed under the License is distributed on an
|
13
|
+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
14
|
+
# KIND, either express or implied. See the License for the
|
15
|
+
# specific language governing permissions and limitations
|
16
|
+
# under the License.
|
4
17
|
|
5
18
|
module Elasticsearch
|
6
19
|
module XPack
|
@@ -1,6 +1,19 @@
|
|
1
|
-
# Licensed to Elasticsearch B.V under one or more
|
2
|
-
#
|
3
|
-
#
|
1
|
+
# Licensed to Elasticsearch B.V. under one or more contributor
|
2
|
+
# license agreements. See the NOTICE file distributed with
|
3
|
+
# this work for additional information regarding copyright
|
4
|
+
# ownership. Elasticsearch B.V. licenses this file to you under
|
5
|
+
# the Apache License, Version 2.0 (the "License"); you may
|
6
|
+
# not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing,
|
12
|
+
# software distributed under the License is distributed on an
|
13
|
+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
14
|
+
# KIND, either express or implied. See the License for the
|
15
|
+
# specific language governing permissions and limitations
|
16
|
+
# under the License.
|
4
17
|
|
5
18
|
module Elasticsearch
|
6
19
|
module XPack
|
@@ -1,6 +1,19 @@
|
|
1
|
-
# Licensed to Elasticsearch B.V under one or more
|
2
|
-
#
|
3
|
-
#
|
1
|
+
# Licensed to Elasticsearch B.V. under one or more contributor
|
2
|
+
# license agreements. See the NOTICE file distributed with
|
3
|
+
# this work for additional information regarding copyright
|
4
|
+
# ownership. Elasticsearch B.V. licenses this file to you under
|
5
|
+
# the Apache License, Version 2.0 (the "License"); you may
|
6
|
+
# not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing,
|
12
|
+
# software distributed under the License is distributed on an
|
13
|
+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
14
|
+
# KIND, either express or implied. See the License for the
|
15
|
+
# specific language governing permissions and limitations
|
16
|
+
# under the License.
|
4
17
|
|
5
18
|
module Elasticsearch
|
6
19
|
module XPack
|
@@ -1,6 +1,19 @@
|
|
1
|
-
# Licensed to Elasticsearch B.V under one or more
|
2
|
-
#
|
3
|
-
#
|
1
|
+
# Licensed to Elasticsearch B.V. under one or more contributor
|
2
|
+
# license agreements. See the NOTICE file distributed with
|
3
|
+
# this work for additional information regarding copyright
|
4
|
+
# ownership. Elasticsearch B.V. licenses this file to you under
|
5
|
+
# the Apache License, Version 2.0 (the "License"); you may
|
6
|
+
# not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing,
|
12
|
+
# software distributed under the License is distributed on an
|
13
|
+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
14
|
+
# KIND, either express or implied. See the License for the
|
15
|
+
# specific language governing permissions and limitations
|
16
|
+
# under the License.
|
4
17
|
|
5
18
|
module Elasticsearch
|
6
19
|
module XPack
|
@@ -1,7 +1,3 @@
|
|
1
|
-
# Licensed to Elasticsearch B.V under one or more agreements.
|
2
|
-
# Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
|
3
|
-
# See the LICENSE file in the project root for more information
|
4
|
-
|
5
1
|
# Licensed to Elasticsearch B.V. under one or more contributor
|
6
2
|
# license agreements. See the NOTICE file distributed with
|
7
3
|
# this work for additional information regarding copyright
|
@@ -25,23 +21,23 @@ module Elasticsearch
|
|
25
21
|
module Security
|
26
22
|
module Actions
|
27
23
|
|
28
|
-
#
|
24
|
+
# Creates an API key for access without requiring basic authentication.
|
29
25
|
#
|
30
|
-
# @option arguments [String] :id
|
26
|
+
# @option arguments [String] :id API key id of the API key to be retrieved.
|
31
27
|
#
|
32
|
-
# @option arguments [String] :name
|
28
|
+
# @option arguments [String] :name API key name of the API key to be retrieved.
|
33
29
|
#
|
34
|
-
# @option arguments [String] :
|
30
|
+
# @option arguments [String] :username user name of the user who created this API key to be retrieved.
|
35
31
|
#
|
36
|
-
# @option arguments [String] :
|
32
|
+
# @option arguments [String] :realm_name realm name of the user who created this API key to be retrieved.
|
37
33
|
#
|
38
34
|
# @see https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-api-key.html
|
39
35
|
#
|
40
36
|
def get_api_key(arguments={})
|
41
37
|
|
42
38
|
valid_params = [ :id,
|
43
|
-
:username,
|
44
39
|
:name,
|
40
|
+
:username,
|
45
41
|
:realm_name ]
|
46
42
|
|
47
43
|
method = Elasticsearch::API::HTTP_GET
|
@@ -1,6 +1,19 @@
|
|
1
|
-
# Licensed to Elasticsearch B.V under one or more
|
2
|
-
#
|
3
|
-
#
|
1
|
+
# Licensed to Elasticsearch B.V. under one or more contributor
|
2
|
+
# license agreements. See the NOTICE file distributed with
|
3
|
+
# this work for additional information regarding copyright
|
4
|
+
# ownership. Elasticsearch B.V. licenses this file to you under
|
5
|
+
# the Apache License, Version 2.0 (the "License"); you may
|
6
|
+
# not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing,
|
12
|
+
# software distributed under the License is distributed on an
|
13
|
+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
14
|
+
# KIND, either express or implied. See the License for the
|
15
|
+
# specific language governing permissions and limitations
|
16
|
+
# under the License.
|
4
17
|
|
5
18
|
module Elasticsearch
|
6
19
|
module XPack
|