Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update all links from metal to deploy #482

Merged
merged 2 commits into from
Aug 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ After installing Equinix Metal CLI, configure your account using `metal init`:
```bash
$ metal init
Equinix Metal API Tokens can be obtained through the portal at https://console.equinix.com/.
See https://metal.equinix.com/developers/docs/accounts/users/ for more details.
See https://deploy.equinix.com/developers/docs/metal/identity-access-management/users/ for more details.

Token (hidden):
Organization ID []: 87e62b5c-7e4e-4a29-ac40-d5df9535868f
Expand Down
2 changes: 1 addition & 1 deletion docs/metal_2fa.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Two-factor Authentication operations: receive, enable, disable.

### Synopsis

Enable or disable two-factor authentication on your user account or receive an OTP token. More information is available at https://metal.equinix.com/developers/docs/accounts/users/#multi-factor-authentication.
Enable or disable two-factor authentication on your user account or receive an OTP token. More information is available at https://deploy.equinix.com/developers/docs/metal/identity-access-management/users/.

### Options

Expand Down
2 changes: 1 addition & 1 deletion docs/metal_capacity.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Capacity operations: get, check

### Synopsis

Capacity operations. For more information on capacity in metros, visit https://metal.equinix.com/developers/docs/locations/metros/. For more information on capacity in facilities, visit https://metal.equinix.com/developers/docs/locations/facilities/.
Capacity operations. For more information on capacity in metros, visit https://deploy.equinix.com/developers/docs/metal/locations/metros/ For more information on capacity in facilities, visit https://deploy.equinix.com/developers/docs/metal/locations/facilities/.

### Options

Expand Down
2 changes: 1 addition & 1 deletion docs/metal_facilities.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Facility operations: get.

### Synopsis

Information about specific facilities. Facility-level operations have mostly been replaced by Metros, but remains for backwards-compatibility. Documentation about facilities is available at https://metal.equinix.com/developers/docs/locations/facilities/.
Information about specific facilities. Facility-level operations have mostly been replaced by Metros, but remains for backwards-compatibility. Documentation about facilities is available at https://deploy.equinix.com/developers/docs/metal/locations/facilities/.

### Options

Expand Down
2 changes: 1 addition & 1 deletion docs/metal_gateway.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Metal Gateway operations: create, delete, and retrieve.

### Synopsis

A Metal Gateway provides a single IPv4 address as a gateway for a subnet. For more information, visit https://metal.equinix.com/developers/docs/networking/metal-gateway/.
A Metal Gateway provides a single IPv4 address as a gateway for a subnet. For more information, visit https://deploy.equinix.com/developers/docs/metal/networking/metal-gateway/.

### Options

Expand Down
2 changes: 1 addition & 1 deletion docs/metal_hardware-reservation.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Hardware reservation operations: get, move.

### Synopsis

Information and operations on Hardware Reservations. Provisioning specific devices from a reservation can be performed with the `metal device` command. Documentation is available on https://metal.equinix.com/developers/docs/deploy/reserved/.
Information and operations on Hardware Reservations. Provisioning specific devices from a reservation can be performed with the `metal device` command. Documentation is available on https://deploy.equinix.com/developers/docs/metal/deploy/reserved/.

### Options

Expand Down
2 changes: 1 addition & 1 deletion docs/metal_ip.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ IP address, reservations, and assignment operations: assign, unassign, remove, a

### Synopsis

IP address and subnet operations, including requesting IPv4 and IPv6 addresses, assigning and removing IPs to servers, and getting information about subnets and their usage. For more information is available on https://metal.equinix.com/developers/docs/networking/ip-addresses/.
IP address and subnet operations, including requesting IPv4 and IPv6 addresses, assigning and removing IPs to servers, and getting information about subnets and their usage. For more information is available on https://deploy.equinix.com/developers/docs/metal/networking/ip-addresses/.

### Options

Expand Down
2 changes: 1 addition & 1 deletion docs/metal_metros.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Metro operations: get.

### Synopsis

Get information on Metro locations. For more information on https://metal.equinix.com/developers/docs/locations/metros/.
Get information on Metro locations. For more information on https://deploy.equinix.com/developers/docs/metal/locations/metros/.

### Options

Expand Down
2 changes: 1 addition & 1 deletion docs/metal_operating-systems.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Operating system operations: get.

### Synopsis

Information on available operating systems. For more information on which operating systems Equinix Metal offers, visit https://metal.equinix.com/developers/docs/operating-systems/supported/.
Information on available operating systems. For more information on which operating systems Equinix Metal offers, visit https://deploy.equinix.com/developers/docs/metal/operating-systems/supported/.

### Options

Expand Down
2 changes: 1 addition & 1 deletion docs/metal_organization.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Organization operations: create, get, update, payment-methods, and delete.

### Synopsis

Information and management of Organization-level settings. Documentation on organizations is in https://metal.equinix.com/developers/docs/accounts/organizations/.
Information and management of Organization-level settings. Documentation on organizations is in https://deploy.equinix.com/developers/docs/metal/identity-access-management/organizations/.

### Options

Expand Down
2 changes: 1 addition & 1 deletion docs/metal_plan.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Plan operations: get.

### Synopsis

Information on server plans. For more information on the different Equinix Metal severs, visit https://metal.equinix.com/developers/docs/hardware/standard-servers/.
Information on server plans. For more information on the different Equinix Metal severs, visit https://deploy.equinix.com/developers/docs/metal/hardware/standard-servers/.

### Options

Expand Down
2 changes: 1 addition & 1 deletion docs/metal_port.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Port operations: get, convert, vlans.

### Synopsis

Information and operations for converting ports between networking modes and managing VLAN assignments to ports. For more information on the different modes, ports, and VLANs, visit https://metal.equinix.com/developers/docs/layer2-networking/overview/.
Information and operations for converting ports between networking modes and managing VLAN assignments to ports. For more information on the different modes, ports, and VLANs, visit https://deploy.equinix.com/developers/docs/metal/layer2-networking/overview/.

### Options

Expand Down
2 changes: 1 addition & 1 deletion docs/metal_project.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Project operations: create, get, update, delete, and bgp-enable, bgp-config, bgp

### Synopsis

Information and management for Projects and Project-level BGP. Documentation on Projects is on https://metal.equinix.com/developers/docs/accounts/projects/, and documentation on BGP is on https://metal.equinix.com/developers/docs/bgp/bgp-on-equinix-metal/.
Information and management for Projects and Project-level BGP. Documentation on Projects is on https://deploy.equinix.com/developers/docs/metal/projects/creating-a-project/, and documentation on BGP is on https://deploy.equinix.com/developers/docs/metal/bgp/bgp-on-equinix-metal/.

### Options

Expand Down
2 changes: 1 addition & 1 deletion docs/metal_ssh-key.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ SSH key operations: create, get, update, and delete.

### Synopsis

SSH key operations for managing SSH keys on user accounts and projects. Keys added to an account or project are added to servers at provision. Documentation is available on https://metal.equinix.com/developers/docs/accounts/ssh-keys/.
SSH key operations for managing SSH keys on user accounts and projects. Keys added to an account or project are added to servers at provision. Documentation is available on https://deploy.equinix.com/developers/docs/metal/identity-access-management/ssh-keys/.

### Options

Expand Down
2 changes: 1 addition & 1 deletion docs/metal_user.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ User operations: get and add.

### Synopsis

Adding users or getting their details. For more information on user and account management, visit https://metal.equinix.com/developers/docs/accounts/users/ in the Equinix Metal documentation.
Adding users or getting their details. For more information on user and account management, visit https://deploy.equinix.com/developers/docs/metal/identity-access-management/users/ in the Equinix Metal documentation.

### Options

Expand Down
2 changes: 1 addition & 1 deletion docs/metal_virtual-network.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Virtual network (VLAN) operations : create, get, delete.

### Synopsis

Managing Virtual Networks on a Project. VLAN assignments to a server's ports is available through the `ports` command. For more information on how VLANs work in Equinix Metal, visit https://metal.equinix.com/developers/docs/layer2-networking/vlans/.
Managing Virtual Networks on a Project. VLAN assignments to a server's ports is available through the `ports` command. For more information on how VLANs work in Equinix Metal, visit https://deploy.equinix.com/developers/docs/metal/layer2-networking/vlans/.

### Options

Expand Down
2 changes: 1 addition & 1 deletion internal/capacity/capacity.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ func (c *Client) NewCommand() *cobra.Command {
cmd := &cobra.Command{
Use: "capacity",
Short: `Capacity operations: get, check`,
Long: "Capacity operations. For more information on capacity in metros, visit https://metal.equinix.com/developers/docs/locations/metros/. For more information on capacity in facilities, visit https://metal.equinix.com/developers/docs/locations/facilities/.",
Long: "Capacity operations. For more information on capacity in metros, visit https://deploy.equinix.com/developers/docs/metal/locations/metros/ For more information on capacity in facilities, visit https://deploy.equinix.com/developers/docs/metal/locations/facilities/.",
PersistentPreRun: func(cmd *cobra.Command, args []string) {
if root := cmd.Root(); root != nil {
if root.PersistentPreRun != nil {
Expand Down
2 changes: 1 addition & 1 deletion internal/facilities/facility.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ func (c *Client) NewCommand() *cobra.Command {
Use: `facilities`,
Aliases: []string{"facility"},
Short: "Facility operations: get.",
Long: "Information about specific facilities. Facility-level operations have mostly been replaced by Metros, but remains for backwards-compatibility. Documentation about facilities is available at https://metal.equinix.com/developers/docs/locations/facilities/.",
Long: "Information about specific facilities. Facility-level operations have mostly been replaced by Metros, but remains for backwards-compatibility. Documentation about facilities is available at https://deploy.equinix.com/developers/docs/metal/locations/facilities/.",
PersistentPreRun: func(cmd *cobra.Command, args []string) {
if root := cmd.Root(); root != nil {
if root.PersistentPreRun != nil {
Expand Down
2 changes: 1 addition & 1 deletion internal/gateway/gateway.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ func (c *Client) NewCommand() *cobra.Command {
Use: `gateway`,
Aliases: []string{"gateways", "metal-gateway", "metal-gateways"},
Short: "Metal Gateway operations: create, delete, and retrieve.",
Long: "A Metal Gateway provides a single IPv4 address as a gateway for a subnet. For more information, visit https://metal.equinix.com/developers/docs/networking/metal-gateway/.",
Long: "A Metal Gateway provides a single IPv4 address as a gateway for a subnet. For more information, visit https://deploy.equinix.com/developers/docs/metal/networking/metal-gateway/.",

PersistentPreRun: func(cmd *cobra.Command, args []string) {
if root := cmd.Root(); root != nil {
Expand Down
2 changes: 1 addition & 1 deletion internal/hardware/hardware.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ func (c *Client) NewCommand() *cobra.Command {
Use: `hardware-reservation`,
Aliases: []string{"hardware-reservations", "hardware"},
Short: "Hardware reservation operations: get, move.",
Long: "Information and operations on Hardware Reservations. Provisioning specific devices from a reservation can be performed with the `metal device` command. Documentation is available on https://metal.equinix.com/developers/docs/deploy/reserved/.",
Long: "Information and operations on Hardware Reservations. Provisioning specific devices from a reservation can be performed with the `metal device` command. Documentation is available on https://deploy.equinix.com/developers/docs/metal/deploy/reserved/.",
PersistentPreRun: func(cmd *cobra.Command, args []string) {
if root := cmd.Root(); root != nil {
if root.PersistentPreRun != nil {
Expand Down
2 changes: 1 addition & 1 deletion internal/init/init.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ func (c *Client) NewCommand() *cobra.Command {
config = c.Servicer.DefaultConfig(true)
}

fmt.Print("Equinix Metal API Tokens can be obtained through the portal at https://console.equinix.com/profile/api-keys\nSee https://metal.equinix.com/developers/docs/accounts/users/ for more details.\n\n")
fmt.Print("Equinix Metal API Tokens can be obtained through the portal at https://console.equinix.com/profile/api-keys\nSee https://deploy.equinix.com/developers/docs/metal/identity-access-management/users/ for more details.\n\n")
fmt.Print("User Token (hidden): ")
b, err := term.ReadPassword(int(syscall.Stdin))
if err != nil {
Expand Down
2 changes: 1 addition & 1 deletion internal/ips/ip.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ func (c *Client) NewCommand() *cobra.Command {
Use: `ip`,
Aliases: []string{"ips", "ip-addresses", "ip-address"},
Short: "IP address, reservations, and assignment operations: assign, unassign, remove, available, request and get.",
Long: "IP address and subnet operations, including requesting IPv4 and IPv6 addresses, assigning and removing IPs to servers, and getting information about subnets and their usage. For more information is available on https://metal.equinix.com/developers/docs/networking/ip-addresses/.",
Long: "IP address and subnet operations, including requesting IPv4 and IPv6 addresses, assigning and removing IPs to servers, and getting information about subnets and their usage. For more information is available on https://deploy.equinix.com/developers/docs/metal/networking/ip-addresses/.",

PersistentPreRun: func(cmd *cobra.Command, args []string) {
if root := cmd.Root(); root != nil {
Expand Down
2 changes: 1 addition & 1 deletion internal/metros/metro.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ func (c *Client) NewCommand() *cobra.Command {
Use: `metros`,
Aliases: []string{"metro"},
Short: "Metro operations: get.",
Long: "Get information on Metro locations. For more information on https://metal.equinix.com/developers/docs/locations/metros/.",
Long: "Get information on Metro locations. For more information on https://deploy.equinix.com/developers/docs/metal/locations/metros/.",
PersistentPreRun: func(cmd *cobra.Command, args []string) {
if root := cmd.Root(); root != nil {
if root.PersistentPreRun != nil {
Expand Down
2 changes: 1 addition & 1 deletion internal/organizations/organization.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ func (c *Client) NewCommand() *cobra.Command {
Use: `organization`,
Aliases: []string{"organizations", "org", "orgs"},
Short: "Organization operations: create, get, update, payment-methods, and delete.",
Long: "Information and management of Organization-level settings. Documentation on organizations is in https://metal.equinix.com/developers/docs/accounts/organizations/.",
Long: "Information and management of Organization-level settings. Documentation on organizations is in https://deploy.equinix.com/developers/docs/metal/identity-access-management/organizations/.",

PersistentPreRun: func(cmd *cobra.Command, args []string) {
if root := cmd.Root(); root != nil {
Expand Down
2 changes: 1 addition & 1 deletion internal/os/os.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ func (c *Client) NewCommand() *cobra.Command {
Use: `operating-systems`,
Aliases: []string{"os"},
Short: "Operating system operations: get.",
Long: "Information on available operating systems. For more information on which operating systems Equinix Metal offers, visit https://metal.equinix.com/developers/docs/operating-systems/supported/.",
Long: "Information on available operating systems. For more information on which operating systems Equinix Metal offers, visit https://deploy.equinix.com/developers/docs/metal/operating-systems/supported/.",
PersistentPreRun: func(cmd *cobra.Command, args []string) {
if root := cmd.Root(); root != nil {
if root.PersistentPreRun != nil {
Expand Down
2 changes: 1 addition & 1 deletion internal/plans/plan.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ func (c *Client) NewCommand() *cobra.Command {
Use: `plan`,
Aliases: []string{"plans"},
Short: "Plan operations: get.",
Long: "Information on server plans. For more information on the different Equinix Metal severs, visit https://metal.equinix.com/developers/docs/hardware/standard-servers/.",
Long: "Information on server plans. For more information on the different Equinix Metal severs, visit https://deploy.equinix.com/developers/docs/metal/hardware/standard-servers/.",
PersistentPreRun: func(cmd *cobra.Command, args []string) {
if root := cmd.Root(); root != nil {
if root.PersistentPreRun != nil {
Expand Down
2 changes: 1 addition & 1 deletion internal/ports/port.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ func (c *Client) NewCommand() *cobra.Command {
Use: `port`,
Aliases: []string{"ports"},
Short: "Port operations: get, convert, vlans.",
Long: "Information and operations for converting ports between networking modes and managing VLAN assignments to ports. For more information on the different modes, ports, and VLANs, visit https://metal.equinix.com/developers/docs/layer2-networking/overview/.",
Long: "Information and operations for converting ports between networking modes and managing VLAN assignments to ports. For more information on the different modes, ports, and VLANs, visit https://deploy.equinix.com/developers/docs/metal/layer2-networking/overview/.",
PersistentPreRun: func(cmd *cobra.Command, args []string) {
if root := cmd.Root(); root != nil {
if root.PersistentPreRun != nil {
Expand Down
2 changes: 1 addition & 1 deletion internal/projects/project.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ func (c *Client) NewCommand() *cobra.Command {
Use: `project`,
Aliases: []string{"projects"},
Short: "Project operations: create, get, update, delete, and bgp-enable, bgp-config, bgp-sessions.",
Long: "Information and management for Projects and Project-level BGP. Documentation on Projects is on https://metal.equinix.com/developers/docs/accounts/projects/, and documentation on BGP is on https://metal.equinix.com/developers/docs/bgp/bgp-on-equinix-metal/.",
Long: "Information and management for Projects and Project-level BGP. Documentation on Projects is on https://deploy.equinix.com/developers/docs/metal/projects/creating-a-project/, and documentation on BGP is on https://deploy.equinix.com/developers/docs/metal/bgp/bgp-on-equinix-metal/.",

PersistentPreRun: func(cmd *cobra.Command, args []string) {
if root := cmd.Root(); root != nil {
Expand Down
2 changes: 1 addition & 1 deletion internal/ssh/ssh.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ func (c *Client) NewCommand() *cobra.Command {
Use: `ssh-key`,
Aliases: []string{`ssh-keys`},
Short: "SSH key operations: create, get, update, and delete.",
Long: "SSH key operations for managing SSH keys on user accounts and projects. Keys added to an account or project are added to servers at provision. Documentation is available on https://metal.equinix.com/developers/docs/accounts/ssh-keys/.",
Long: "SSH key operations for managing SSH keys on user accounts and projects. Keys added to an account or project are added to servers at provision. Documentation is available on https://deploy.equinix.com/developers/docs/metal/identity-access-management/ssh-keys/.",

PersistentPreRun: func(cmd *cobra.Command, args []string) {
if root := cmd.Root(); root != nil {
Expand Down
2 changes: 1 addition & 1 deletion internal/twofa/twofa.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ func (c *Client) NewCommand() *cobra.Command {
Use: `2fa`,
Aliases: []string{"tfa", "mfa", "totp"},
Short: "Two-factor Authentication operations: receive, enable, disable.",
Long: "Enable or disable two-factor authentication on your user account or receive an OTP token. More information is available at https://metal.equinix.com/developers/docs/accounts/users/#multi-factor-authentication.",
Long: "Enable or disable two-factor authentication on your user account or receive an OTP token. More information is available at https://deploy.equinix.com/developers/docs/metal/identity-access-management/users/.",

PersistentPreRun: func(cmd *cobra.Command, args []string) {
if root := cmd.Root(); root != nil {
Expand Down
2 changes: 1 addition & 1 deletion internal/users/user.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ func (c *Client) NewCommand() *cobra.Command {
Use: `user`,
Aliases: []string{"users"},
Short: "User operations: get and add.",
Long: "Adding users or getting their details. For more information on user and account management, visit https://metal.equinix.com/developers/docs/accounts/users/ in the Equinix Metal documentation.",
Long: "Adding users or getting their details. For more information on user and account management, visit https://deploy.equinix.com/developers/docs/metal/identity-access-management/users/ in the Equinix Metal documentation.",

PersistentPreRun: func(cmd *cobra.Command, args []string) {
if root := cmd.Root(); root != nil {
Expand Down
Loading
Loading