github.com/iqoqo/nomad@v0.11.3-0.20200911112621-d7021c74d101/website/pages/docs/commands/quota/apply.mdx (about)

     1  ---
     2  layout: docs
     3  page_title: 'Commands: quota apply'
     4  sidebar_title: 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  ```plaintext
    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  @include 'general_options.mdx'
    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  ```shell-sessionnomad quota apply my-quota.hcl
    38  Successfully applied quota specification "my-quota"!
    39  ```