| 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 | package Search::Elasticsearch::Client::7_0::Direct::XPack; | ||
| 6 | $Search::Elasticsearch::Client::7_0::Direct::XPack::VERSION = '7.30_1'; # TRIAL | ||
| 7 | |||
| 8 | $Search::Elasticsearch::Client::7_0::Direct::XPack::VERSION = '7.301'; | ||
| 9 | use Moo; | ||
| 10 | with 'Search::Elasticsearch::Client::7_0::Role::API'; | ||
| 11 | with 'Search::Elasticsearch::Role::Client::Direct'; | ||
| 12 | use namespace::clean; | ||
| 13 | |||
| 14 | __PACKAGE__->_install_api('xpack'); | ||
| 15 | |||
| 16 | 1; | ||
| 17 | |||
| 18 | =pod | ||
| 19 | |||
| 20 | =encoding UTF-8 | ||
| 21 | |||
| 22 | =head1 NAME | ||
| 23 | |||
| 24 | Search::Elasticsearch::Client::7_0::Direct::XPack - Plugin providing XPack APIs for Search::Elasticsearch v7.x | ||
| 25 | |||
| 26 | =head1 VERSION | ||
| 27 | |||
| 28 | version 7.30_1 | ||
| 29 | |||
| 30 | =head1 SYNOPSIS | ||
| 31 | |||
| 32 | my $response = $es->xpack->info(); | ||
| 33 | |||
| 34 | =head2 DESCRIPTION | ||
| 35 | |||
| 36 | This class extends the L<Search::Elasticsearch> client with a C<xpack> | ||
| 37 | namespace. | ||
| 38 | |||
| 39 | =head1 METHODS | ||
| 40 | |||
| 41 | =head2 C<info()> | ||
| 42 | |||
| 43 | my $response = $es->xpack->info(); | ||
| 44 | |||
| 45 | Provides general information about the installed X-Pack features. | ||
| 46 | |||
| 47 | See the L<info|https://www.elastic.co/guide/en/elasticsearch/reference/current/info-api.html> | ||
| 48 | for more information. | ||
| 49 | |||
| 50 | =head2 C<usage()> | ||
| 51 | |||
| 52 | my $response = $es->xpack->usage(); | ||
| 53 | |||
| 54 | Provides usage information about the installed X-Pack features. | ||
| 55 | |||
| 56 | See the L<usage|https://www.elastic.co/guide/en/elasticsearch/reference/current/usage-api.html> | ||
| 57 | for more information. | ||
| 58 | |||
| 59 | =head1 AUTHOR | ||
| 60 | |||
| 61 | Enrico Zimuel <enrico.zimuel@elastic.co> | ||
| 62 | |||
| 63 | =head1 COPYRIGHT AND LICENSE | ||
| 64 | |||
| 65 | This software is Copyright (c) 2020 by Elasticsearch BV. | ||
| 66 | |||
| 67 | This is free software, licensed under: | ||
| 68 | |||
| 69 | The Apache License, Version 2.0, January 2004 | ||
| 70 | |||
| 71 | =cut | ||
| 72 | |||
| 73 | __END__ |