github.com/smintz/nomad@v0.8.3/website/source/docs/commands/quota/apply.html.md.erb (about)

     1  ---
     2  layout: "docs"
     3  page_title: "Commands: quota apply"
     4  sidebar_current: "docs-commands-quota-apply"
     5  description: >
     6    The quota apply command is used to create or update quota specifications.
     7  ---
     8  
     9  # Command: quota apply
    10  
    11  The `quota apply` command is used to create or update quota specifications.
    12  
    13  ~> Quota commands are new in Nomad 0.7 and are only available with Nomad
    14  Enterprise.
    15  
    16  ## Usage
    17  
    18  ```
    19  nomad quota apply [options] <name> <path>
    20  ```
    21  
    22  The `quota apply` command requires the path to the specification file. The
    23  specification can be read from stdin by setting the path to "-".
    24  
    25  ## General Options
    26  
    27  <%= partial "docs/commands/_general_options" %>
    28  
    29  ## Apply Options
    30  
    31  * `-json`: Parse the input as a JSON quota specification.
    32  
    33  ## Examples
    34  
    35  Create a new quota specification:
    36  
    37  ```
    38  $ nomad quota apply my-quota.hcl
    39  Successfully applied quota specification "my-quota"!
    40  ```