Page cover
For the complete documentation index, see llms.txt. This page is also available as Markdown.

add-floatingip

Add floating ip to a flexi instance in your project. This command allows you to add floating ip to a flexi instance.

Usage

cldkctl flexi instance add-floatingip [name] [flags]

Steps

Follow the steps below to run and view the result of this command:

Interactive Mode

  1. Run the following command in your terminal:

cldkctl flexi instance add-floatingip [instance-name] -i
  1. Replace [instance-name] with the name of the instance.

  2. Select the floating IP type.

  1. Select the billing type.

  1. Select the port.

  2. Confirm the floating IP addition by selecting Confirm.

  1. Once completed successfully, the terminal displays the success message.

Non-Interactive Mode

  1. Provide all required values using command flags.

  2. Add --auto-confirm or -y to skip confirmation prompts in non-interactive mode.

  3. Run the command in your terminal.

  4. Once completed successfully, the terminal displays the success message.

Flags

This command supports global flags. Refer to the Global Flags section for details

Flags
Shorthand
Default
Description

--auto-confirm

-y

false

Skip confirmation prompt in non-interactive mode

--billing-type

Billing type: Fixed, PPU, Monthly, or Trial (required in non-interactive mode)

--help

-h

help for add-floatingip

--interactive

-i

false

Force interactive TUI mode

--ip-type

Floating IP type ID (required in non-interactive mode)

--port-id

VPC Port ID (required in non-interactive mode)

--project

-p

Specify project ID

--voucher-id

Voucher ID (required when billing-type is Trial)

Last updated