> For the complete documentation index, see [llms.txt](https://docs.cloudeka.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cloudeka.ai/cloudeka-api-list/command-reference/cldkctl-flexi/network/subnet/detail.md).

# detail

View details of a specific VPC network in your project. This command allows you to retrieve detailed information about a VPC by providing its unique identifier (VPC ID).

## Usage

```
cldkctl flexi network subnet detail [flags]
```

## Aliases

```
detail, detail, dtl
```

## Steps

Follow the steps below to run and view the result of this command:

#### Interactive Mode

1. Run the following command in your terminal:

```
cldkctl flexi network subnet detail -i
```

2. The terminal displays a list of available **VPCs**. Select the VPC where the subnet is located.

<figure><img src="https://2882153758-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fi9YWb69HFXLHYlXffReU%2Fuploads%2Fgit-blob-ec032198973ceb35cb8c6f8515187fe84f07281d%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

3. The terminal displays a list of available **Subnets** in the selected VPC. Select the subnet that you want to view.

<figure><img src="https://2882153758-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fi9YWb69HFXLHYlXffReU%2Fuploads%2Fgit-blob-a7e76f1864ccb674ba92e1ed4206f9ef897647d2%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

4. The terminal displays the command output.
5. When prompted with **Continue?**, select **y** to return to the previous menu or **n** to exit the process.

<figure><img src="https://2882153758-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fi9YWb69HFXLHYlXffReU%2Fuploads%2Fgit-blob-3f624b2b534d3854fd5d6c2a8f6f4024183b4295%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

<figure><img src="https://2882153758-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fi9YWb69HFXLHYlXffReU%2Fuploads%2Fgit-blob-1338f77fb06d9699fbaca7d6bc283d4cc4f6eb7f%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

#### Non-Interactive Mode

1. Provide all required values using command flags.
2. Add `--auto-confirm` or `-y` to skip confirmation prompts in non-interactive mode.
3. Run the command in your terminal.
4. Once completed successfully, the terminal displays the success message.

<figure><img src="https://2882153758-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fi9YWb69HFXLHYlXffReU%2Fuploads%2Fgit-blob-6ac3716143b2da26403c701f3a39101e79e851ff%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

## Flags

{% hint style="info" %}
This command supports [global flags](/cloudeka-api-list/global-flags.md). Refer to the Global Flags section for details
{% endhint %}

| Flag          | Shorthand | Default | Description                                  |
| ------------- | --------- | ------- | -------------------------------------------- |
| --help        | -h        |         | Help for the detail command.                 |
| --interactive | -i        | false   | Force interactive TUI mode                   |
| --subnet-id   |           |         | Subnet ID (required in non-interactive mode) |
| --vpc-id      |           |         | VPC ID (required in non-interactive mode)    |
