cloud hosted deployment-templates get-deployment-templates-v2 cli command
Auth required
elastic cloud hosted deployment-templates get-deployment-templates-v2 \
--region <region> \
[options]
Get deployment templates
--regionstringrequired- Region of the deployment templates
--metadatastring- An optional key/value pair in the form of (key:value) that will act as a filter and exclude any templates that do not have a matching metadata item associated.
--[no-]show-instance-configurations- If true, will return details for each instance configuration referenced by the template.
--[no-]show-max-zones- If true, will populate the max_zones field in the instance configurations. Only relevant if show_instance_configurations=true.
--stack-versionstring- If present, it will cause the returned deployment templates to be adapted to return only the elements allowed in that version.
--[no-]hide-deprecated- If true, templates flagged as deprecated will NOT be returned.
--input-filestring- path to a JSON file to use as command input
--[no-]dry-run- validate all inputs and exit without performing any action (preview changes without applying them)
--[no-]json-
output as JSON