github.com/ferranbt/nomad@v0.9.3-0.20190607002617-85c449b7667c/website/source/docs/commands/quota/inspect.html.md.erb (about)

     1  ---
     2  layout: "docs"
     3  page_title: "Commands: quota inspect"
     4  sidebar_current: "docs-commands-quota-inspect"
     5  description: >
     6    The quota inspect command is used to view raw information about a particular
     7    quota specification.
     8  ---
     9  
    10  # Command: quota inspect
    11  
    12  The `quota inspect` command is used to view raw information about a particular
    13  quota.
    14  
    15  ~> Quota commands are new in Nomad 0.7 and are only available with Nomad
    16  Enterprise.
    17  
    18  ## Usage
    19  
    20  ```
    21  nomad quota inspect [options] <quota_name>
    22  ```
    23  
    24  ## General Options
    25  
    26  <%= partial "docs/commands/_general_options" %>
    27  
    28  ## Inspect Options
    29  
    30  * `-t` : Format and display the quota using a Go template.
    31  
    32  ## Examples
    33  
    34  Inspect a quota specification:
    35  
    36  ```
    37  $ nomad quota inspect default-quota
    38  {
    39      "Spec": {
    40          "CreateIndex": 8,
    41          "Description": "Limit the shared default namespace",
    42          "Limits": [
    43              {
    44                  "Hash": "NLOoV2WBU8ieJIrYXXx8NRb5C2xU61pVVWRDLEIMxlU=",
    45                  "Region": "global",
    46                  "RegionLimit": {
    47                      "CPU": 2500,
    48                      "DiskMB": 0,
    49                      "MemoryMB": 2000,
    50                      "Networks": null
    51                  }
    52              }
    53          ],
    54          "ModifyIndex": 56,
    55          "Name": "default-quota"
    56      },
    57      "UsageLookupErrors": {},
    58      "Usages": {
    59          "global": {
    60              "CreateIndex": 8,
    61              "ModifyIndex": 56,
    62              "Name": "default-quota",
    63              "Used": {
    64                  "NLOoV2WBU8ieJIrYXXx8NRb5C2xU61pVVWRDLEIMxlU=": {
    65                      "Hash": "NLOoV2WBU8ieJIrYXXx8NRb5C2xU61pVVWRDLEIMxlU=",
    66                      "Region": "global",
    67                      "RegionLimit": {
    68                          "CPU": 500,
    69                          "DiskMB": 0,
    70                          "MemoryMB": 256,
    71                          "Networks": null
    72                      }
    73                  }
    74              }
    75          }
    76      }
    77  }
    78  ```