Nomad Functions
Functions
Retrieve a list of ACL Policies.
Retrieve information on an ACL Policy.
Get information on an ACL Role.
Retrieve a list of ACL Roles.
Get a list of ACL tokens.
Retrieve a list of allocations from Nomad.
Retrieve a list of datacenters.
Retrieve a list of deployments in Nomad.
Get information on a dynamic host volume from Nomad.
Get information on a job ID. The aim of this datasource is to enable you to act on various settings and states of a particular job. An error is triggered if zero or more than one result is returned by the query.
Parse a HCL jobspec and produce the equivalent JSON encoded job.
Retrieve the cluster JWKS public keys. The keys are returned both as a list of maps (keys
), and as a list of PEM-encoded strings (pem_keys
), which may be more convenient for use.
Get information about a namespace in Nomad.
Retrieve a list of namespaces available in Nomad.
Get information about a node pool in Nomad.
Retrieve a list of node pools available in Nomad.
Lookup a plugin by ID. The aim of this datasource is to determine whether a particular plugin exists on the cluster, to find information on the health and availability of the plugin, and to optionally wait for the plugin before performing actions the require an available plugin controller. If a plugin with the specified ID does not exist and the datasource is not configured to wait, it will result in an error. For simple existence checks, use the nomad.getPlugins
listing datasource.
Retrieve a list of dynamic plugins in Nomad.
Retrieve a list of regions available in Nomad.
Retrieve a list of Scaling Policies.
Retrieve a Scaling Policy.
Retrieve the cluster's scheduler configuration.
Retrieve a list of volumes in Nomad.