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

     1  ---
     2  layout: docs
     3  page_title: 'Commands: namespace inspect'
     4  sidebar_title: inspect
     5  description: >
     6    The namespace inspect command is used to view raw information about a
     7    particular namespace.
     8  ---
     9  
    10  # Command: namespace inspect
    11  
    12  The `namespace inspect` command is used to view raw information about a particular
    13  namespace.
    14  
    15  ~> Namespace commands are new in Nomad 0.7 and are only available with Nomad
    16  Enterprise.
    17  
    18  ## Usage
    19  
    20  ```plaintext
    21  nomad namespace inspect [options] <namespace_name>
    22  ```
    23  
    24  ## General Options
    25  
    26  @include 'general_options.mdx'
    27  
    28  ## Inspect Options
    29  
    30  - `-t` : Format and display the namespace using a Go template.
    31  
    32  ## Examples
    33  
    34  Inspect a namespace:
    35  
    36  ```shell-sessionnomad namespace inspect default
    37  {
    38      "CreateIndex": 5,
    39      "Description": "Default shared namespace",
    40      "ModifyIndex": 38,
    41      "Name": "default",
    42      "Quota": "shared-default-quota"
    43  }
    44  ```