Class GetServiceAccountsRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.security.GetServiceAccountsRequest
Get service accounts.
Get a list of service accounts that match the provided path parameters.
NOTE: Currently, only the elastic/fleet-server
service account
is available.
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.RequestBase
RequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>>
-
Field Summary
FieldsModifier and TypeFieldDescriptionEndpoint "security.get_service_accounts
". -
Method Summary
Modifier and TypeMethodDescriptionfinal String
The name of the namespace.static GetServiceAccountsRequest
final String
service()
The service name.Methods inherited from class co.elastic.clients.elasticsearch._types.RequestBase
toString
-
Field Details
-
_ENDPOINT
public static final Endpoint<GetServiceAccountsRequest,GetServiceAccountsResponse, _ENDPOINTErrorResponse> Endpoint "security.get_service_accounts
".
-
-
Method Details
-
of
public static GetServiceAccountsRequest of(Function<GetServiceAccountsRequest.Builder, ObjectBuilder<GetServiceAccountsRequest>> fn) -
namespace
The name of the namespace. Omit this parameter to retrieve information about all service accounts. If you omit this parameter, you must also omit theservice
parameter.API name:
namespace
-
service
The service name. Omit this parameter to retrieve information about all service accounts that belong to the specifiednamespace
.API name:
service
-