github.com/hspak/nomad@v0.7.2-0.20180309000617-bc4ae22a39a5/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  ## Usage
    14  
    15  ```
    16  nomad quota apply [options] <name> <path>
    17  ```
    18  
    19  The `quota apply` command requires the path to the specification file. The
    20  specification can be read from stdin by setting the path to "-".
    21  
    22  ## General Options
    23  
    24  <%= partial "docs/commands/_general_options" %>
    25  
    26  ## Apply Options
    27  
    28  * `-json`: Parse the input as a JSON quota specification.
    29  
    30  ## Examples
    31  
    32  Create a new quota specification:
    33  
    34  ```
    35  $ nomad quota apply my-quota.hcl
    36  Successfully applied quota specification "my-quota"!
    37  ```