stack es license get cli command
Auth required
Idempotent
Scope: global
elastic stack es license get [options]
Get license information.
--[no-]accept-enterprise- If
true, this parameter returns enterprise for Enterprise license types. Iffalse, 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. --[no-]local- Specifies whether to retrieve local information. From 9.2 onwards the default value is
true, which means the information is retrieved from the responding node. In earlier versions the default isfalse, which means the information is retrieved from the elected master node.
--input-filestring- path to a JSON file to use as command input
-V--[no-]version- Print the Elastic CLI version
--config-filestring- path to a config file (default: ~/.elasticrc.yml)
--use-contextstring- override the active context from the config file
--command-profilestring- restrict available commands to a deployment profile (serverless, stack, default)
--[no-]json- output as JSON
--output-fieldsstring- comma-separated list of fields to include in output (dot-notation supported)
--output-templatestring- Mustache-like template for custom text output (e.g. "{{id}}: {{name}}")
--[no-]dry-run-
validate all inputs and exit without performing any action (preview changes without applying them)