Class PostStartTrialRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.license.PostStartTrialRequest
Start a trial. Start a 30-day trial, which gives access to all subscription
features.
NOTE: You are allowed to start a trial only if your cluster has not already activated a trial for the current major product version. For example, if you have already activated a trial for v8.0, you cannot start a new trial until v9.0. You can, however, request an extended trial at https://www.elastic.co/trialextension.
To check the status of your trial, use the get trial status API.
- 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 TypeFieldDescriptionstatic final Endpoint<PostStartTrialRequest,PostStartTrialResponse, ErrorResponse> Endpoint "license.post_start_trial". -
Method Summary
Modifier and TypeMethodDescriptionfinal Booleanwhether the user has acknowledged acknowledge messages (default: false)final TimePeriod to wait for a connection to the master node.static PostStartTrialRequestfinal Stringtype()The type of trial license to generate (default: "trial")Methods inherited from class co.elastic.clients.elasticsearch._types.RequestBase
toString
-
Field Details
-
_ENDPOINT
Endpoint "license.post_start_trial".
-
-
Method Details
-
of
public static PostStartTrialRequest of(Function<PostStartTrialRequest.Builder, ObjectBuilder<PostStartTrialRequest>> fn) -
acknowledge
whether the user has acknowledged acknowledge messages (default: false)API name:
acknowledge -
masterTimeout
Period to wait for a connection to the master node.API name:
master_timeout -
type
The type of trial license to generate (default: "trial")API name:
type
-