Class GetLicenseRequest

java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.license.GetLicenseRequest

public class GetLicenseRequest extends RequestBase
Get license information. Returns information about your Elastic license, including its type, its status, when it was issued, and when it expires. For more information about the different types of licenses, refer to Elastic Stack subscriptions.
See Also:
  • Field Details

  • Method Details

    • of

    • acceptEnterprise

      @Deprecated @Nullable public final Boolean acceptEnterprise()
      Deprecated.
      7.6.0
      If true, this parameter returns enterprise for Enterprise license types. If false, this parameter returns platinum for both platinum and enterprise license types. This behavior is maintained for backwards compatibility. This parameter is deprecated and will always be set to true in 8.x.

      API name: accept_enterprise

    • local

      @Nullable public final Boolean local()
      Specifies whether to retrieve local information. The default value is false, which means the information is retrieved from the master node.

      API name: local