ByCloud Docs
GuidesCLIAPISDK

Create floating IP

bycloud networking floating-ips --floating_network_id <floating_network_id> [flags]

Allocate a new floating IP from an external network

Options

--output

(-o)

stringoptional

Output format: text, json, or yaml

Values: "text", "json", "yaml"

Default: "text"

Body Options

--floating_network_id

stringrequired

External network to allocate from

--description

stringoptional

--dns_domain

stringoptional

--dns_name

stringoptional

--fixed_ip_address

stringoptional

Fixed IP to associate with (if port has multiple IPs)

--floating_ip_address

stringoptional

Specific IP to allocate (if available)

--port_id

stringoptional

Port to associate with

--subnet_id

stringoptional

Subnet to allocate from

--tags

arrayoptional

Command

bycloud networking floating-ips \
--floating_network_id "abc-123"

Output

ID 550e8400-e29b-41d4-a716-446655440000
CRN crn:spo1:network:floating-ip:550e8400-e29b-41d4-a716-446655440000
DESCRIPTION string
FLOATING_IP_ADDRESS 203.0.113.10
FLOATING_NETWORK_ID 550e8400-e29b-41d4-a716-446655440001
STATUS ACTIVE
PORT_ID 550e8400-e29b-41d4-a716-446655440000
FIXED_IP_ADDRESS string
ROUTER_ID 550e8400-e29b-41d4-a716-446655440000
DNS_DOMAIN string
DNS_NAME string
TAGS web, frontend
PROJECT_ID 550e8400-e29b-41d4-a716-446655440000
CREATED_AT 2024-01-15T10:30:00Z
UPDATED_AT 2024-01-15T10:30:00Z