[egulu CLI reference](../index.md) / [egulu subnets](index.md)

# egulu subnets create

POST /v1/projects/{project}/locations/{location}/subnets

```sh
egulu subnets create <NAME> [options]
```

## API operation

[Subnets_create](../../api/network/Subnets_create.md): `POST /v1/projects/{project}/locations/{location}/subnets` (network module)

## Arguments

| Name | Required | Description |
|---|---|---|
| `NAME` | yes | the subnetId |

## Options

| Option | Takes | Required | Description |
|---|---|---|---|
| `--display-name` | value | no | displayName |
| `--ipv4-cidr` | value | no | ipv4Cidr |
| `--location` | value | yes | location |
| `--network` | value | no | network |
| `--project` | value | yes | project |
| `--validate-only` | value | no | validateOnly |

The [global options](../index.md) apply too.
