85 lines
4.1 KiB
Plaintext
85 lines
4.1 KiB
Plaintext
[[reference-shared-types-license]]
|
|
|
|
////////
|
|
===========================================================================================================================
|
|
|| ||
|
|
|| ||
|
|
|| ||
|
|
|| ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ ||
|
|
|| ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ ||
|
|
|| ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ ||
|
|
|| ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ ||
|
|
|| ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ ||
|
|
|| ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ ||
|
|
|| ||
|
|
|| ||
|
|
|| This file is autogenerated, DO NOT send pull requests that changes this file directly. ||
|
|
|| You should update the script that does the generation, which can be found in: ||
|
|
|| https://github.com/elastic/elastic-client-generator-js ||
|
|
|| ||
|
|
|| You can run the script with the following command: ||
|
|
|| npm run elasticsearch -- --version <version> ||
|
|
|| ||
|
|
|| ||
|
|
|| ||
|
|
===========================================================================================================================
|
|
////////
|
|
|
|
|
|
|
|
== Shared License types
|
|
|
|
|
|
[discrete]
|
|
[[LicenseLicense]]
|
|
=== LicenseLicense
|
|
|
|
[pass]
|
|
++++
|
|
<pre>
|
|
++++
|
|
interface LicenseLicense {
|
|
expiry_date_in_millis: <<EpochTime>><<<UnitMillis>>>
|
|
issue_date_in_millis: <<EpochTime>><<<UnitMillis>>>
|
|
start_date_in_millis?: <<EpochTime>><<<UnitMillis>>>
|
|
issued_to: string
|
|
issuer: string
|
|
max_nodes?: <<long>> | null
|
|
max_resource_units?: <<long>>
|
|
signature: string
|
|
type: <<LicenseLicenseType>>
|
|
uid: string
|
|
}
|
|
[pass]
|
|
++++
|
|
</pre>
|
|
++++
|
|
|
|
[discrete]
|
|
[[LicenseLicenseStatus]]
|
|
=== LicenseLicenseStatus
|
|
|
|
[pass]
|
|
++++
|
|
<pre>
|
|
++++
|
|
type LicenseLicenseStatus = 'active' | 'valid' | 'invalid' | 'expired'
|
|
[pass]
|
|
++++
|
|
</pre>
|
|
++++
|
|
|
|
[discrete]
|
|
[[LicenseLicenseType]]
|
|
=== LicenseLicenseType
|
|
|
|
[pass]
|
|
++++
|
|
<pre>
|
|
++++
|
|
type LicenseLicenseType = 'missing' | 'trial' | 'basic' | 'standard' | 'dev' | 'silver' | 'gold' | 'platinum' | 'enterprise'
|
|
[pass]
|
|
++++
|
|
</pre>
|
|
++++
|