Skip to content

Latest commit

 

History

History
39 lines (30 loc) · 1.84 KB

hcloud_network_create.md

File metadata and controls

39 lines (30 loc) · 1.84 KB

hcloud network create

Create a Network

hcloud network create [options] --name <name> --ip-range <ip-range>

Options

      --enable-protection strings               Enable protection (delete) (default: none)
      --expose-routes-to-vswitch[=true|false]   Expose routes from this Network to the vSwitch connection. It only takes effect if a vSwitch connection is active.
  -h, --help[=true|false]                       help for create
      --ip-range ipNet                          Network IP range (required)
      --label stringToString                    User-defined labels ('key=value') (can be specified multiple times) (default [])
      --name string                             Network name (required)
  -o, --output stringArray                      output options: json|yaml

Options inherited from parent commands

      --config string                           Config file path (default "~/.config/hcloud/cli.toml")
      --context string                          Currently active context
      --debug[=true|false]                      Enable debug output
      --debug-file string                       File to write debug output to
      --endpoint string                         Hetzner Cloud API endpoint (default "https://api.hetzner.cloud/v1")
      --hetzner-endpoint string                 Hetzner API endpoint (default "https://api.hetzner.com/v1")
      --http-timeout duration                   Timeout for HTTP requests (default 0 = no timeout)
      --no-experimental-warnings[=true|false]   If true, experimental warnings are not shown
      --poll-interval duration                  Interval at which to poll information, for example action progress (default 500ms)
      --quiet[=true|false]                      If true, only print error messages

SEE ALSO