|
| 1 | +## stackit beta network-interface create |
| 2 | + |
| 3 | +Creates a network interface |
| 4 | + |
| 5 | +### Synopsis |
| 6 | + |
| 7 | +Creates a network interface. |
| 8 | + |
| 9 | +``` |
| 10 | +stackit beta network-interface create [flags] |
| 11 | +``` |
| 12 | + |
| 13 | +### Examples |
| 14 | + |
| 15 | +``` |
| 16 | + Create a network interface for network with ID "xxx" |
| 17 | + $ stackit beta network-interface create --network-id xxx |
| 18 | +
|
| 19 | + Create a network interface with allowed addresses, labels, a name, security groups and nic security enabled for network with ID "xxx" |
| 20 | + $ stackit beta network-interface create --network-id xxx --allowed-addresses "1.1.1.1,8.8.8.8,9.9.9.9" --labels key=value,key2=value2 --name NAME --security-groups "UUID1,UUID2" --nic-security |
| 21 | +``` |
| 22 | + |
| 23 | +### Options |
| 24 | + |
| 25 | +``` |
| 26 | + --allowed-addresses strings List of allowed IPs |
| 27 | + -h, --help Help for "stackit beta network-interface create" |
| 28 | + -i, --ipv4 string IPv4 address |
| 29 | + -s, --ipv6 string IPv6 address |
| 30 | + --labels stringToString Labels are key-value string pairs which can be attached to a network-interface. E.g. '--labels key1=value1,key2=value2,...' (default []) |
| 31 | + -n, --name string Network interface name |
| 32 | + --network-id string Network ID |
| 33 | + -b, --nic-security If this is set to false, then no security groups will apply to this network interface. (default true) |
| 34 | + --security-groups strings List of security groups |
| 35 | +``` |
| 36 | + |
| 37 | +### Options inherited from parent commands |
| 38 | + |
| 39 | +``` |
| 40 | + -y, --assume-yes If set, skips all confirmation prompts |
| 41 | + --async If set, runs the command asynchronously |
| 42 | + -o, --output-format string Output format, one of ["json" "pretty" "none" "yaml"] |
| 43 | + -p, --project-id string Project ID |
| 44 | + --verbosity string Verbosity of the CLI, one of ["debug" "info" "warning" "error"] (default "info") |
| 45 | +``` |
| 46 | + |
| 47 | +### SEE ALSO |
| 48 | + |
| 49 | +* [stackit beta network-interface](./stackit_beta_network-interface.md) - Provides functionality for Network Interface |
| 50 | + |
0 commit comments