-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Marques Johansson <[email protected]>
- Loading branch information
Showing
10 changed files
with
221 additions
and
189 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
## metal loadbalancer-beta | ||
|
||
LoadBalancer BETA operations: create, get, update, and delete. | ||
|
||
### Synopsis | ||
|
||
Information and management for LoadBalancers is on https://deploy.equinix.com/developers/docs/metal/networking/load-balancers/. | ||
|
||
### Options | ||
|
||
``` | ||
-h, --help help for loadbalancer-beta | ||
``` | ||
|
||
### Options inherited from parent commands | ||
|
||
``` | ||
--config string Path to JSON or YAML configuration file | ||
--exclude strings Comma separated Href references to collapse in results, may be dotted three levels deep | ||
--filter stringArray Filter 'get' actions with name value pairs. Filter is not supported by all resources and is implemented as request query parameters. | ||
--http-header strings Headers to add to requests (in format key=value) | ||
--include strings Comma separated Href references to expand in results, may be dotted three levels deep | ||
-o, --output string Output format (*table, json, yaml). env output formats are (*sh, terraform, capp). | ||
--search string Search keyword for use in 'get' actions. Search is not supported by all resources. | ||
--sort-by string Sort fields for use in 'get' actions. Sort is not supported by all resources. | ||
--sort-dir string Sort field direction for use in 'get' actions. Sort is not supported by all resources. | ||
--token string Metal API Token (METAL_AUTH_TOKEN) | ||
``` | ||
|
||
### SEE ALSO | ||
|
||
* [metal](metal.md) - Command line interface for Equinix Metal | ||
* [metal loadbalancer-beta create](metal_loadbalancer-beta_create.md) - Creates a loadbalancer. | ||
* [metal loadbalancer-beta delete](metal_loadbalancer-beta_delete.md) - Deletes a loadbalancer. | ||
* [metal loadbalancer-beta get](metal_loadbalancer-beta_get.md) - Retrieves all the project loadbalancers or the details of a specified loadbalancer. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
## metal loadbalancer-beta create | ||
|
||
Creates a loadbalancer. | ||
|
||
### Synopsis | ||
|
||
Creates a loadbalancer with the specified name. | ||
|
||
``` | ||
metal loadbalancer-beta create -n <loadbalancer_name> -l <location_id_or_metro> [-p <project_UUID>] [--provider <provider_id>] [--port <port_UUID>] [flags] | ||
``` | ||
|
||
### Examples | ||
|
||
``` | ||
# Creates a new loadbalancer named dev-loadbal in the Dallas metro: | ||
metal loadbalancer create --name dev-loadbal -l da | ||
# Creates a new loadbalancer named prod-loadbal in the DC metro: | ||
metal loadbalancer create -n prod-loadbal -l dc | ||
``` | ||
|
||
### Options | ||
|
||
``` | ||
-h, --help help for create | ||
-l, --location string The location's ID. This flag is required. | ||
-n, --name string Name of the loadbalancer | ||
--port strings The port(s) UUID | ||
-p, --project-id string The project's UUID. This flag is required, unless specified in the config created by metal init or set as METAL_PROJECT_ID environment variable. | ||
-r, --provider string The provider ID. (default "loadpvd-gOB_-byp5ebFo7A3LHv2B") | ||
``` | ||
|
||
### Options inherited from parent commands | ||
|
||
``` | ||
--config string Path to JSON or YAML configuration file | ||
--exclude strings Comma separated Href references to collapse in results, may be dotted three levels deep | ||
--filter stringArray Filter 'get' actions with name value pairs. Filter is not supported by all resources and is implemented as request query parameters. | ||
--http-header strings Headers to add to requests (in format key=value) | ||
--include strings Comma separated Href references to expand in results, may be dotted three levels deep | ||
-o, --output string Output format (*table, json, yaml). env output formats are (*sh, terraform, capp). | ||
--search string Search keyword for use in 'get' actions. Search is not supported by all resources. | ||
--sort-by string Sort fields for use in 'get' actions. Sort is not supported by all resources. | ||
--sort-dir string Sort field direction for use in 'get' actions. Sort is not supported by all resources. | ||
--token string Metal API Token (METAL_AUTH_TOKEN) | ||
``` | ||
|
||
### SEE ALSO | ||
|
||
* [metal loadbalancer-beta](metal_loadbalancer-beta.md) - LoadBalancer BETA operations: create, get, update, and delete. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
## metal loadbalancer-beta delete | ||
|
||
Deletes a loadbalancer. | ||
|
||
### Synopsis | ||
|
||
Deletes the specified loadbalancer with a confirmation prompt. To skip the confirmation use --force. | ||
|
||
``` | ||
metal loadbalancer-beta delete --id <loadbalancer_UUID> [--force] [flags] | ||
``` | ||
|
||
### Examples | ||
|
||
``` | ||
# Deletes loadbalancer 50693ba9-e4e4-4d8a-9eb2-4840b11e9375: | ||
metal loadbalancer delete -i 50693ba9-e4e4-4d8a-9eb2-4840b11e9375 | ||
> | ||
✔ Are you sure you want to delete loadbalancer 50693ba9-e4e4-4d8a-9eb2-4840b11e9375: y | ||
# Deletes loadbalancer 50693ba9-e4e4-4d8a-9eb2-4840b11e9375, skipping confirmation: | ||
metal loadbalancer delete -i 50693ba9-e4e4-4d8a-9eb2-4840b11e9375 -f | ||
``` | ||
|
||
### Options | ||
|
||
``` | ||
-f, --force Force removal of the loadbalancer | ||
-h, --help help for delete | ||
-i, --id string The loadbalancer's ID. This flag is required. | ||
``` | ||
|
||
### Options inherited from parent commands | ||
|
||
``` | ||
--config string Path to JSON or YAML configuration file | ||
--exclude strings Comma separated Href references to collapse in results, may be dotted three levels deep | ||
--filter stringArray Filter 'get' actions with name value pairs. Filter is not supported by all resources and is implemented as request query parameters. | ||
--http-header strings Headers to add to requests (in format key=value) | ||
--include strings Comma separated Href references to expand in results, may be dotted three levels deep | ||
-o, --output string Output format (*table, json, yaml). env output formats are (*sh, terraform, capp). | ||
--search string Search keyword for use in 'get' actions. Search is not supported by all resources. | ||
--sort-by string Sort fields for use in 'get' actions. Sort is not supported by all resources. | ||
--sort-dir string Sort field direction for use in 'get' actions. Sort is not supported by all resources. | ||
--token string Metal API Token (METAL_AUTH_TOKEN) | ||
``` | ||
|
||
### SEE ALSO | ||
|
||
* [metal loadbalancer-beta](metal_loadbalancer-beta.md) - LoadBalancer BETA operations: create, get, update, and delete. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
## metal loadbalancer-beta get | ||
|
||
Retrieves all the project loadbalancers or the details of a specified loadbalancer. | ||
|
||
### Synopsis | ||
|
||
Retrieves all the project loadbalancers or the details of a specified loadbalancer. You can specify which loadbalancer by UUID or name. | ||
|
||
``` | ||
metal loadbalancer-beta get [-i <loadbalancer_UUID> | -n <loadbalancer_name>] [flags] | ||
``` | ||
|
||
### Examples | ||
|
||
``` | ||
# Retrieve all loadbalancers: | ||
metal loadbalancer get | ||
# Retrieve a specific loadbalancer by UUID: | ||
metal loadbalancer get -i 2008f885-1aac-406b-8d99-e6963fd21333 | ||
# Retrieve a specific loadbalancer by name: | ||
metal loadbalancer get -n dev-cluster03 | ||
``` | ||
|
||
### Options | ||
|
||
``` | ||
-h, --help help for get | ||
-i, --id string The loadbalancer's UUID, which can be specified in the config created by metal init or set as METAL_PROJECT_ID environment variable. | ||
-n, --loadbalancer string The name of the loadbalancer. | ||
-p, --project-id string The project's UUID. This flag is required, unless specified in the config created by metal init or set as METAL_PROJECT_ID environment variable. | ||
``` | ||
|
||
### Options inherited from parent commands | ||
|
||
``` | ||
--config string Path to JSON or YAML configuration file | ||
--exclude strings Comma separated Href references to collapse in results, may be dotted three levels deep | ||
--filter stringArray Filter 'get' actions with name value pairs. Filter is not supported by all resources and is implemented as request query parameters. | ||
--http-header strings Headers to add to requests (in format key=value) | ||
--include strings Comma separated Href references to expand in results, may be dotted three levels deep | ||
-o, --output string Output format (*table, json, yaml). env output formats are (*sh, terraform, capp). | ||
--search string Search keyword for use in 'get' actions. Search is not supported by all resources. | ||
--sort-by string Sort fields for use in 'get' actions. Sort is not supported by all resources. | ||
--sort-dir string Sort field direction for use in 'get' actions. Sort is not supported by all resources. | ||
--token string Metal API Token (METAL_AUTH_TOKEN) | ||
``` | ||
|
||
### SEE ALSO | ||
|
||
* [metal loadbalancer-beta](metal_loadbalancer-beta.md) - LoadBalancer BETA operations: create, get, update, and delete. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.