github.com/adityamillind98/nomad@v0.11.8/website/pages/docs/commands/quota/inspect.mdx (about)

     1  ---
     2  layout: docs
     3  page_title: 'Commands: quota inspect'
     4  sidebar_title: 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  ```plaintext
    21  nomad quota inspect [options] <quota_name>
    22  ```
    23  
    24  ## General Options
    25  
    26  @include 'general_options.mdx'
    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  ```shell-session
    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": [
    72                              {
    73                                  "CIDR": "",
    74                                  "Device": "",
    75                                  "DynamicPorts": null,
    76                                  "IP": "",
    77                                  "MBits": 0,
    78                                  "Mode": "",
    79                                  "ReservedPorts": null
    80                              }
    81                          ]
    82                      }
    83                  }
    84              }
    85          }
    86      }
    87  }
    88  ```