github.com/smintz/nomad@v0.8.3/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                      "IOPS": 0,
    50                      "MemoryMB": 2000,
    51                      "Networks": null
    52                  }
    53              }
    54          ],
    55          "ModifyIndex": 56,
    56          "Name": "default-quota"
    57      },
    58      "UsageLookupErrors": {},
    59      "Usages": {
    60          "global": {
    61              "CreateIndex": 8,
    62              "ModifyIndex": 56,
    63              "Name": "default-quota",
    64              "Used": {
    65                  "NLOoV2WBU8ieJIrYXXx8NRb5C2xU61pVVWRDLEIMxlU=": {
    66                      "Hash": "NLOoV2WBU8ieJIrYXXx8NRb5C2xU61pVVWRDLEIMxlU=",
    67                      "Region": "global",
    68                      "RegionLimit": {
    69                          "CPU": 500,
    70                          "DiskMB": 0,
    71                          "IOPS": 0,
    72                          "MemoryMB": 256,
    73                          "Networks": null
    74                      }
    75                  }
    76              }
    77          }
    78      }
    79  }
    80  ```