Scripts to use Equinix Bare Metal API
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

39 lines
1.1 KiB

#!/bin/bash
# Usage:
# eqx-create-org [name]
# Example:
# eqx-create-org fooorg
# eqx-create-org fooorg --description "barrog" --website "http://127.0.0.1"
set -x
packet \
organization \
create \
--name "$@"
exit
Example:
packet organization create -n [name]
Usage:
packet organization create [flags]
Flags:
-d, --description string Description of the organization
-h, --help help for create
-l, --logo string Logo URL]
-n, --name string Name of the organization
-t, --twitter string Twitter URL of the organization
-w, --website string Website URL of the organization
Global Flags:
--config string Path to JSON or YAML configuration file
--exclude strings Comma seperated Href references to collapse in results, may be dotted three levels deep
--include strings Comma seperated Href references to expand in results, may be dotted three levels deep
-j, --json JSON output
--search string Search keyword for use in 'get' actions. Search is not supported by all resources.
-y, --yaml YAML output