fm network
Reference for the fm network command group (auto-generated from fm network --help).
fm network
text
Manage network resources including VPCs, subnets, security groups, public IPs,
load balancers and Application Gateways.
Examples:
fm network vpc list
fm network vpc create --name my-vpc --cidr 10.0.0.0/16
fm network security-group list
fm network public-ip allocate
fm network load-balancer list
fm network appgw list
Usage:
fm network [command]
Aliases:
network, net
Available Commands:
appgw Manage Application Gateways
gateway Manage a VPC's outbound internet path
load-balancer Manage load balancers
public-ip Manage public IPs
security-group Manage security groups
subnet Manage subnets
vpc Manage VPCs
Flags:
-h, --help[=true|false] help for network
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)
Use "fm network [command] --help" for more information about a command.fm network appgw
text
Manage Application Gateways: one Public IP fronting many services in your VPC,
routed by host and URL path, with TLS termination and a Web Application Firewall.
Nothing you author is live until you apply it:
fm network appgw listener create ... # authored
fm network appgw route create ... # authored
fm network appgw apply <gateway> # NOW it is serving
That separation is deliberate. A gateway carries a whole policy -- routes,
backends, firewall and WAF -- and applying it half-written would take a site
down. "configGeneration" is what you have authored; "configRevision" is what
the appliance acknowledged. When they differ there is a change not yet live.
Backends are refused unless they lie inside the gateway's own VPC, and a
backend is not reachable until its security group is authorized:
fm network appgw backend authorize --gateway g --pool p --backend b --security-group sg-1
Examples:
fm network appgw flavors
fm network appgw create --name edge --flavor agw.co1.medium --vpc vpc-1 --subnet sub-1
fm network appgw list
fm network appgw get edge-id
fm network appgw apply edge-id
fm network appgw delete edge-id
Usage:
fm network appgw [command]
Aliases:
appgw, application-gateway, app-gateway
Available Commands:
apply Apply the gateway's authored configuration
audit Show who opened or closed a path to your backends
authorization Inspect and revoke open paths to your backends
backend Manage backends
certificate Manage TLS certificates
create Create an Application Gateway
delete Delete an Application Gateway
flavor Show one Application Gateway size
flavors List Application Gateway sizes
get Show an Application Gateway
health-check Manage a pool's health check
list List Application Gateways
listener Manage listeners
pool Manage backend pools
route Manage routes
tags Read and replace a Application Gateway's resource tags
update Rename an Application Gateway
waf Manage the Web Application Firewall
Flags:
-h, --help[=true|false] help for appgw
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)
Use "fm network appgw [command] --help" for more information about a command.fm network appgw apply
text
Render everything you have authored -- listeners, routes, pools, backends and
the ACTIVE WAF version -- and hand it to the appliance.
The appliance validates the configuration, swaps it in, reloads and answers its
own loopback probe. If any step fails it restores what it was serving before
and reports why: the gateway is left unchanged, never half-configured.
A published WAF version that has never been applied is not protecting anything.
Usage:
fm network appgw apply <gateway-id> [flags]
Flags:
-h, --help[=true|false] help for apply
--no-wait[=true|false] Return as soon as the request is accepted
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm network appgw audit
text
Show the gateway's backend-authorization history.
It outlives the authorizations themselves: a revoke deletes the authorization,
and the record of who opened it must survive that.
Usage:
fm network appgw audit [flags]
Flags:
--gateway string Gateway id (required)
-h, --help[=true|false] help for audit
--limit int Maximum entries to return (the server caps this)
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm network appgw authorization
text
Inspect and revoke open paths to your backends
Usage:
fm network appgw authorization [command]
Aliases:
authorization, authorizations, authz
Available Commands:
list List open paths from the gateway to your security groups
revoke Close one open path
tags Read and replace a backend authorization's resource tags
Flags:
--gateway string Gateway id (required)
-h, --help[=true|false] help for authorization
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)
Use "fm network appgw authorization [command] --help" for more information about a command.fm network appgw authorization list
text
List open paths from the gateway to your security groups
Usage:
fm network appgw authorization list [flags]
Aliases:
list, ls
Flags:
-h, --help[=true|false] help for list
--tag strings only authorizations with this tag, key=value (repeatable; every one must match; key= matches an empty value)
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--gateway string Gateway id (required)
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm network appgw authorization revoke
text
Close one open path from the gateway to a security group.
Addressed by AUTHORIZATION id rather than by backend: two backends behind the
same security group and port share one rule, so "revoke a backend" would be
ambiguous about whether the other one keeps working.
Usage:
fm network appgw authorization revoke <authorization-id> [flags]
Flags:
--force[=true|false] Skip the confirmation prompt
-h, --help[=true|false] help for revoke
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--gateway string Gateway id (required)
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm network appgw authorization tags
text
Read and replace a backend authorization's resource tags
Usage:
fm network appgw authorization tags [command]
Aliases:
tags, tag
Available Commands:
get Show a backend authorization's resource tags
set Replace a backend authorization's resource tags
Flags:
-h, --help[=true|false] help for tags
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--gateway string Gateway id (required)
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)
Use "fm network appgw authorization tags [command] --help" for more information about a command.fm network appgw authorization tags get
text
Show a backend authorization's resource tags
Usage:
fm network appgw authorization tags get <authorization-id> [flags]
Flags:
-h, --help[=true|false] help for get
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--gateway string Gateway id (required)
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm network appgw authorization tags set
text
Replace a backend authorization's resource tags in place with exactly the given set
(replace semantics — any tag not listed is removed). Resource tags are your own
metadata for search and filtering: nothing else about the backend authorization changes, and
the running service is not touched.
The set you pass IS the resulting set. To ADD one tag without disturbing the
others, read the current ones first with 'fm network appgw authorization tags get' and pass them all
back. Use --clear to remove every tag. The tenant's default tags are not
re-applied.
A tag change is not configuration: it needs no 'fm network appgw apply' and reaches no appliance.
Keys beginning frostmoln_ or frostmoln- (any letter case) are reserved and
refused. At most 32 tags; a key is 1-64 bytes, a value at most 256 bytes.
Examples:
fm network appgw authorization tags set auth-123 --gateway gw-1 --tag env=prod --tag owner=team-a
fm network appgw authorization tags set auth-123 --gateway gw-1 --clear
Usage:
fm network appgw authorization tags set <authorization-id> --tag <key=value> [--tag <key=value> ...] [flags]
Flags:
--clear[=true|false] remove ALL tags (mutually exclusive with --tag)
-h, --help[=true|false] help for set
--tag strings tag in key=value format (repeatable; replace semantics)
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--gateway string Gateway id (required)
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm network appgw backend
text
A backend is one destination inside your VPC.
Two things gate a backend, both deliberately:
1. The address must lie inside the gateway's OWN VPC range. Anything else is
refused -- without that check the gateway would be an open proxy.
2. Adding a backend does not open the path to it. The platform never edits
your security groups behind your back; run "backend authorize" to add the
one ingress rule, and it is audited.
Usage:
fm network appgw backend [command]
Aliases:
backend, backends
Available Commands:
add Add a backend to a pool
authorize Open the path from the gateway to a backend's security group
delete Remove a backend from a pool
list List a pool's backends
tags Read and replace a backend's resource tags
Flags:
--gateway string Gateway id (required)
-h, --help[=true|false] help for backend
--pool string Backend pool id (required)
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)
Use "fm network appgw backend [command] --help" for more information about a command.fm network appgw backend add
text
Add a backend to a pool.
A backend is an IP address inside the gateway's own VPC, and a port. An address
outside that VPC is refused server-side — without that rule the gateway would
forward anywhere it was pointed.
--source-kind address (default) --address is an IP in your VPC
Naming a backend by instance id or load balancer id and letting the platform
resolve the address is not available yet; the server refuses those values today,
so this command refuses them -- and --source-id, which only they use -- here,
rather than sending a request it knows will fail.
Examples:
fm network appgw backend add --gateway g --pool p --address 10.0.1.10 --port 8080
Usage:
fm network appgw backend add [flags]
Flags:
--address string IP address inside the gateway's VPC
-h, --help[=true|false] help for add
--port int Backend port (required)
--source-id string Reserved for instance / load balancer backends, which are not available yet
--source-kind string address (the only kind available yet)
--tag strings resource tag in key=value format (repeatable). The tenant's default tags are merged in; a key you set wins
--weight int Relative weight
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--gateway string Gateway id (required)
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
--pool string Backend pool id (required)
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm network appgw backend authorize
text
Add one ingress rule to a security group you own, allowing the gateway's
appliance to reach it.
🔴 The rule is per (security group, protocol, port) -- NOT per backend. Two
backends behind the same security group and port SHARE one authorization, so
removing one backend does not close the path for the other. Revoke by
authorization id, which is what "authorization list" shows.
Every authorize and revoke is recorded: fm network appgw audit --gateway <id>
Usage:
fm network appgw backend authorize [flags]
Flags:
--backend string Backend id (required)
-h, --help[=true|false] help for authorize
--security-group string Security group to open (required)
--tag strings resource tag in key=value format (repeatable). The tenant's default tags are merged in; a key you set wins
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--gateway string Gateway id (required)
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
--pool string Backend pool id (required)
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm network appgw backend delete
text
Remove a backend from a pool
Usage:
fm network appgw backend delete <backend-id> [flags]
Flags:
--force[=true|false] Skip the confirmation prompt
-h, --help[=true|false] help for delete
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--gateway string Gateway id (required)
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
--pool string Backend pool id (required)
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm network appgw backend list
text
List a pool's backends
Usage:
fm network appgw backend list [flags]
Aliases:
list, ls
Flags:
-h, --help[=true|false] help for list
--tag strings only backends with this tag, key=value (repeatable; every one must match; key= matches an empty value)
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--gateway string Gateway id (required)
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
--pool string Backend pool id (required)
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm network appgw backend tags
text
Read and replace a backend's resource tags
Usage:
fm network appgw backend tags [command]
Aliases:
tags, tag
Available Commands:
get Show a backend's resource tags
set Replace a backend's resource tags
Flags:
-h, --help[=true|false] help for tags
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--gateway string Gateway id (required)
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
--pool string Backend pool id (required)
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)
Use "fm network appgw backend tags [command] --help" for more information about a command.fm network appgw backend tags get
text
Show a backend's resource tags
Usage:
fm network appgw backend tags get <backend-id> [flags]
Flags:
-h, --help[=true|false] help for get
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--gateway string Gateway id (required)
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
--pool string Backend pool id (required)
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm network appgw backend tags set
text
Replace a backend's resource tags in place with exactly the given set
(replace semantics — any tag not listed is removed). Resource tags are your own
metadata for search and filtering: nothing else about the backend changes, and
the running service is not touched.
The set you pass IS the resulting set. To ADD one tag without disturbing the
others, read the current ones first with 'fm network appgw backend tags get' and pass them all
back. Use --clear to remove every tag. The tenant's default tags are not
re-applied.
A tag change is not configuration: it needs no 'fm network appgw apply' and reaches no appliance.
Keys beginning frostmoln_ or frostmoln- (any letter case) are reserved and
refused. At most 32 tags; a key is 1-64 bytes, a value at most 256 bytes.
Examples:
fm network appgw backend tags set be-123 --gateway gw-1 --pool pool-1 --tag env=prod --tag owner=team-a
fm network appgw backend tags set be-123 --gateway gw-1 --pool pool-1 --clear
Usage:
fm network appgw backend tags set <backend-id> --tag <key=value> [--tag <key=value> ...] [flags]
Flags:
--clear[=true|false] remove ALL tags (mutually exclusive with --tag)
-h, --help[=true|false] help for set
--tag strings tag in key=value format (repeatable; replace semantics)
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--gateway string Gateway id (required)
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
--pool string Backend pool id (required)
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm network appgw certificate
text
Manage a gateway's TLS material.
A private key is write-only. It is never returned by any endpoint, never
printed, and is not a field on anything this CLI can dump -- so a --output json
of a certificate cannot leak one.
Usage:
fm network appgw certificate [command]
Aliases:
certificate, certificates, cert
Available Commands:
delete Delete a certificate
get Show a certificate
list List certificates
tags Read and replace a certificate's resource tags
upload Upload a certificate and its private key
Flags:
--gateway string Gateway id (required)
-h, --help[=true|false] help for certificate
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)
Use "fm network appgw certificate [command] --help" for more information about a command.fm network appgw certificate delete
text
Delete a certificate
Usage:
fm network appgw certificate delete <certificate-id> [flags]
Flags:
--force[=true|false] Skip the confirmation prompt
-h, --help[=true|false] help for delete
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--gateway string Gateway id (required)
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm network appgw certificate get
text
Show a certificate
Usage:
fm network appgw certificate get <certificate-id> [flags]
Flags:
-h, --help[=true|false] help for get
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--gateway string Gateway id (required)
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm network appgw certificate list
text
List certificates
Usage:
fm network appgw certificate list [flags]
Aliases:
list, ls
Flags:
-h, --help[=true|false] help for list
--tag strings only certificates with this tag, key=value (repeatable; every one must match; key= matches an empty value)
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--gateway string Gateway id (required)
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm network appgw certificate tags
text
Read and replace a certificate's resource tags
Usage:
fm network appgw certificate tags [command]
Aliases:
tags, tag
Available Commands:
get Show a certificate's resource tags
set Replace a certificate's resource tags
Flags:
-h, --help[=true|false] help for tags
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--gateway string Gateway id (required)
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)
Use "fm network appgw certificate tags [command] --help" for more information about a command.fm network appgw certificate tags get
text
Show a certificate's resource tags
Usage:
fm network appgw certificate tags get <certificate-id> [flags]
Flags:
-h, --help[=true|false] help for get
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--gateway string Gateway id (required)
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm network appgw certificate tags set
text
Replace a certificate's resource tags in place with exactly the given set
(replace semantics — any tag not listed is removed). Resource tags are your own
metadata for search and filtering: nothing else about the certificate changes, and
the running service is not touched.
The set you pass IS the resulting set. To ADD one tag without disturbing the
others, read the current ones first with 'fm network appgw certificate tags get' and pass them all
back. Use --clear to remove every tag. The tenant's default tags are not
re-applied.
A tag change is not configuration: it needs no 'fm network appgw apply' and reaches no appliance.
Keys beginning frostmoln_ or frostmoln- (any letter case) are reserved and
refused. At most 32 tags; a key is 1-64 bytes, a value at most 256 bytes.
Examples:
fm network appgw certificate tags set cert-123 --gateway gw-1 --tag env=prod --tag owner=team-a
fm network appgw certificate tags set cert-123 --gateway gw-1 --clear
Usage:
fm network appgw certificate tags set <certificate-id> --tag <key=value> [--tag <key=value> ...] [flags]
Flags:
--clear[=true|false] remove ALL tags (mutually exclusive with --tag)
-h, --help[=true|false] help for set
--tag strings tag in key=value format (repeatable; replace semantics)
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--gateway string Gateway id (required)
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm network appgw certificate upload
text
Upload a certificate chain and its private key.
--chain and --private-key each take either a path to a PEM file or the PEM text
itself.
Example:
fm network appgw certificate upload --gateway g --name www \
--chain ./fullchain.pem --private-key ./privkey.pem
Usage:
fm network appgw certificate upload [flags]
Flags:
--chain string Certificate chain: PEM text or a path (required)
-h, --help[=true|false] help for upload
--name string Certificate name (required)
--private-key string Private key: a path, or - for stdin (required). Passing the key text directly puts it in your shell history and in this process's command line.
--tag strings resource tag in key=value format (repeatable). The tenant's default tags are merged in; a key you set wins
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--gateway string Gateway id (required)
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm network appgw create
text
Create an Application Gateway in one of your VPCs.
Public IP:
--public-ip-mode allocated (default) the platform draws an address from the
pool and RELEASES it when the gateway is deleted.
--public-ip-mode selected use an address you already hold, named by
--public-ip. It is used as-is and is NEVER
released when the gateway is deleted.
Provisioning is asynchronous and takes a few minutes. The command waits by
default, reporting progress as it goes, and fails if provisioning fails.
--no-wait returns as soon as the create is accepted and prints the OPERATION
alongside the gateway id. The operation is the half that survives: a create
that fails before anything is built discards the gateway row, so its id then
reads as no such gateway and the operation is what carries the reason.
Examples:
fm network appgw create --name edge --flavor agw.co1.medium --vpc vpc-1 --subnet sub-1
fm network appgw create --name edge --flavor agw.co1.large --vpc vpc-1 --subnet sub-1 \
--public-ip-mode selected --public-ip pip-abc
Usage:
fm network appgw create [flags]
Flags:
--flavor string Flavor id, e.g. agw.co1.medium (required)
-h, --help[=true|false] help for create
--name string Gateway name (required)
--no-wait[=true|false] Return as soon as the request is accepted
--public-ip string Your own Public IP id (with --public-ip-mode selected)
--public-ip-mode string allocated | selected (default "allocated")
--subnet string Subnet id (required)
--tag strings resource tag in key=value format (repeatable). The tenant's default tags are merged in; a key you set wins
--vpc string VPC id (required)
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm network appgw delete
text
Delete an Application Gateway and everything it fronts.
Whether your Public IP survives depends on how the gateway got it. The
confirmation prompt says which, read from the gateway itself rather than
guessed:
publicIpMode = allocated the address is RELEASED with the gateway.
publicIpMode = selected the address is yours and is left untouched.
Usage:
fm network appgw delete <gateway-id> [flags]
Flags:
--force[=true|false] Skip the confirmation prompt
-h, --help[=true|false] help for delete
--no-wait[=true|false] Return as soon as the request is accepted
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm network appgw flavor
text
Show one Application Gateway size
Usage:
fm network appgw flavor <flavor-id> [flags]
Flags:
-h, --help[=true|false] help for flavor
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm network appgw flavors
text
List the Application Gateway size catalog.
A size is described by what the appliance carries, not by the machine it runs
on. LISTENERS, ROUTES, BACKENDS and WAF RULES are structural caps, not advice:
exceeding one is refused. CONNECTIONS is the connection ceiling the size is rated
for; a listener's own --max-connections may raise the appliance above it.
REQ/S is a rating rather than a guarantee -- nothing enforces it, and real
throughput depends on your rules, TLS settings and backends.
Usage:
fm network appgw flavors [flags]
Aliases:
flavors, flavor
Flags:
-h, --help[=true|false] help for flavors
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm network appgw get
text
Show an Application Gateway
Usage:
fm network appgw get <gateway-id> [flags]
Flags:
-h, --help[=true|false] help for get
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm network appgw health-check
text
Manage a pool's health check
Usage:
fm network appgw health-check [command]
Aliases:
health-check, healthcheck, hc
Available Commands:
delete Remove a pool's health check
get Show a pool's health check
set Replace a pool's health check
Flags:
--gateway string Gateway id (required)
-h, --help[=true|false] help for health-check
--pool string Backend pool id (required)
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)
Use "fm network appgw health-check [command] --help" for more information about a command.fm network appgw health-check delete
text
Leave the pool with NO health check.
From the next apply the gateway stops probing this pool's backends and treats
every enabled one as available. Use it when the backends decide their own
availability -- a supervised service, or one behind its own load balancer -- and
a probe from the gateway would only add a second opinion.
⚠ For everything else, keep a check: without one, a backend that has stopped
answering still receives its share of traffic.
A pool that already has no health check is not an error -- the command says so
and exits 0, so running it twice, or from a script that cannot know, is safe.
Example:
fm network appgw health-check delete --gateway g --pool p
Usage:
fm network appgw health-check delete [flags]
Flags:
--force[=true|false] Skip the confirmation prompt
-h, --help[=true|false] help for delete
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--gateway string Gateway id (required)
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
--pool string Backend pool id (required)
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm network appgw health-check get
text
Show a pool's health check
Usage:
fm network appgw health-check get [flags]
Flags:
-h, --help[=true|false] help for get
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--gateway string Gateway id (required)
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
--pool string Backend pool id (required)
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm network appgw health-check set
text
Replace a pool's health check.
This is a REPLACE, not a merge: fields you do not pass go back to the server's
default -- including --port, which reverts to probing each backend's own port,
and --proxy-protocol, which reverts to OFF. --timeout must be strictly less
than --interval.
--port probes somewhere other than the backend's own port: a mail server
answering SMTP on 25 with a health endpoint on 8080. It is REQUIRED for a pool
behind a ranged tcp listener, whose backends are forwarded to on whatever port
the client used and so have no fixed port to probe.
--proxy-protocol sends the PROXY protocol v2 header on the PROBE connection, as
the pool's own --proxy-protocol does on the connections carrying traffic. It
means something only together with --port, and OFF does NOT mean "no header on
the probes": a probe with no --port of its own dials the backend's own address
and port, so it inherits the pool's connection settings and already carries the
header whenever the pool sends one. --port opts the probe out of those settings
and takes the header with it; this flag is how you put it back. The pool's own
--proxy-protocol must already be on, or the server refuses this.
🔴 LEAVING --proxy-protocol OUT TURNS IT OFF, the same way leaving --port out
reverts the probe port. Retuning --interval on a probe that had it means
passing --proxy-protocol again in the same command -- otherwise the probes stop
sending the header at the next apply, and a port that REQUIRES it then fails
every probe and marks every backend in the pool unhealthy.
--protocol tcp opens a connection and closes it, so --path and
--expected-status do not apply to it and are refused.
To have no health check at all, use "health-check delete" -- not an empty set.
Example:
fm network appgw health-check set --gateway g --pool p \
--protocol http --path /healthz --expected-status 200 --interval 10 --timeout 3
fm network appgw health-check set --gateway g --pool p --protocol http --path /healthz --port 8080
fm network appgw health-check set --gateway g --pool p --protocol tcp --port 8080 --proxy-protocol
Usage:
fm network appgw health-check set [flags]
Flags:
--expected-status string Expected status, e.g. 200 or 200-299 (http/https only)
--healthy-threshold int Successes before a backend is healthy
-h, --help[=true|false] help for set
--interval int Seconds between probes
--path string Path to probe (http/https only)
--port int Probe THIS port instead of each backend's own. Required for a pool behind a RANGED tcp listener, whose backends have no fixed port to probe
--protocol string http | https | tcp
--proxy-protocol[=true|false] Send a PROXY protocol v2 header on the PROBE connection. Meaningful only with --port, and OFF whenever it is left out -- a set that omits it stops the probes sending the header at the next apply. Requires the pool's own --proxy-protocol
--timeout int Probe timeout in seconds (must be < interval)
--unhealthy-threshold int Failures before a backend is unhealthy
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--gateway string Gateway id (required)
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
--pool string Backend pool id (required)
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm network appgw list
text
List Application Gateways
Usage:
fm network appgw list [flags]
Aliases:
list, ls
Flags:
-h, --help[=true|false] help for list
--tag strings only gateways with this tag, key=value (repeatable; every one must match; key= matches an empty value)
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm network appgw listener
text
A listener is one bound port on the gateway -- or, on a tcp listener, a range
of them. Routes hang off a listener, not off the gateway, which is what lets a
tcp listener -- which cannot honour host or path routing -- be additive rather
than a redesign.
http, https inspected, routed by host and path, TLS-terminated on https,
and covered by the Web Application Firewall.
tcp bytes forwarded at layer 4 to ONE backend pool. No TLS
termination (TLS stays end to end), no routes, no WAF -- the
source-CIDR, geo, rate-limit and connection controls still
apply.
Creating a listener OPENS its port on the gateway's public ingress and deleting
one closes it, without waiting for an apply. Its ROUTING still takes effect on
apply, as everything else here does.
Usage:
fm network appgw listener [command]
Aliases:
listener, listeners
Available Commands:
create Create a listener
delete Delete a listener
get Show a listener
list List listeners
tags Read and replace a listener's resource tags
Flags:
--gateway string Gateway id (required)
-h, --help[=true|false] help for listener
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)
Use "fm network appgw listener [command] --help" for more information about a command.fm network appgw listener create
text
Create a listener on a gateway.
--protocol http | https one port, routed by host and path.
--protocol tcp bytes forwarded at layer 4 to the pool named by
--backend-pool. A tcp listener has no routes, so it
names its pool here; it terminates no TLS and is not
inspected by the WAF.
Certificates, --tls-min-version, --tls-cipher-profile and --redirect-to-https
may only be set on an https listener, and are refused on a tcp one. Geo blocking
needs at least one country when the mode is allow or deny.
--port-range-end makes a tcp listener bind a RANGE, first to last inclusive.
Each connection is forwarded to the SAME port on the backend that the client
connected to, so 8000-8100 reaches 8000-8100 on your servers -- which is why
the pool's health check must then set a --port of its own: those backends have
no fixed port to probe.
🔴 --rate-limit-rps AND --rate-limit-burst COUNT CONNECTIONS ON A tcp LISTENER,
not requests -- there is no request to count at layer 4. For SMTP, IMAP or MQTT,
where one connection carries a whole session, an HTTP figure reused here is a
limit orders of magnitude tighter than it looks.
Examples:
fm network appgw listener create --gateway g --name http --protocol http --port 80 --redirect-to-https
fm network appgw listener create --gateway g --name https --protocol https --port 443 \
--certificate cert-1 --tls-min-version 1.2 --allowed-cidr 0.0.0.0/0
fm network appgw listener create --gateway g --name smtp --protocol tcp --port 25 \
--backend-pool pool-mail
fm network appgw listener create --gateway g --name passive-ftp --protocol tcp \
--port 30000 --port-range-end 30100 --backend-pool pool-ftp
Usage:
fm network appgw listener create [flags]
Flags:
--allowed-cidr strings Allow only these source CIDRs (repeatable)
--backend-pool string Backend pool this listener forwards to (tcp only, and required there: a tcp listener has no routes)
--certificate string Default certificate id (https only)
--denied-cidr strings Deny these source CIDRs (repeatable)
--geo-block-mode string off | allow | deny
--geo-country strings ISO country code (repeatable; required with allow/deny)
-h, --help[=true|false] help for create
--max-connections int Maximum concurrent connections
--name string Listener name (required)
--port int Port to bind, or the FIRST port of a range (required)
--port-range-end int Last port of a range, INCLUSIVE (tcp only; must be greater than --port). Each connection reaches the same port on the backend, so the pool's health check needs its own --port
--protocol string http | https | tcp (required)
--rate-limit-burst int Ceiling inside any one second, same unit as --rate-limit-rps
--rate-limit-rps int Sustained rate per source: REQUESTS per second on http/https, CONNECTIONS per second on tcp
--redirect-to-https[=true|false] Redirect http to https
--sni-certificate strings Additional certificate id for SNI (repeatable, https only)
--tag strings resource tag in key=value format (repeatable). The tenant's default tags are merged in; a key you set wins
--tls-cipher-profile string modern | intermediate
--tls-min-version string 1.2 | 1.3
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--gateway string Gateway id (required)
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm network appgw listener delete
text
Delete a listener
Usage:
fm network appgw listener delete <listener-id> [flags]
Flags:
--force[=true|false] Skip the confirmation prompt
-h, --help[=true|false] help for delete
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--gateway string Gateway id (required)
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm network appgw listener get
text
Show a listener
Usage:
fm network appgw listener get <listener-id> [flags]
Flags:
-h, --help[=true|false] help for get
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--gateway string Gateway id (required)
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm network appgw listener list
text
List listeners
Usage:
fm network appgw listener list [flags]
Aliases:
list, ls
Flags:
-h, --help[=true|false] help for list
--tag strings only listeners with this tag, key=value (repeatable; every one must match; key= matches an empty value)
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--gateway string Gateway id (required)
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm network appgw listener tags
text
Read and replace a listener's resource tags
Usage:
fm network appgw listener tags [command]
Aliases:
tags, tag
Available Commands:
get Show a listener's resource tags
set Replace a listener's resource tags
Flags:
-h, --help[=true|false] help for tags
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--gateway string Gateway id (required)
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)
Use "fm network appgw listener tags [command] --help" for more information about a command.fm network appgw listener tags get
text
Show a listener's resource tags
Usage:
fm network appgw listener tags get <listener-id> [flags]
Flags:
-h, --help[=true|false] help for get
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--gateway string Gateway id (required)
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm network appgw listener tags set
text
Replace a listener's resource tags in place with exactly the given set
(replace semantics — any tag not listed is removed). Resource tags are your own
metadata for search and filtering: nothing else about the listener changes, and
the running service is not touched.
The set you pass IS the resulting set. To ADD one tag without disturbing the
others, read the current ones first with 'fm network appgw listener tags get' and pass them all
back. Use --clear to remove every tag. The tenant's default tags are not
re-applied.
A tag change is not configuration: it needs no 'fm network appgw apply' and reaches no appliance.
Keys beginning frostmoln_ or frostmoln- (any letter case) are reserved and
refused. At most 32 tags; a key is 1-64 bytes, a value at most 256 bytes.
Examples:
fm network appgw listener tags set lsn-123 --gateway gw-1 --tag env=prod --tag owner=team-a
fm network appgw listener tags set lsn-123 --gateway gw-1 --clear
Usage:
fm network appgw listener tags set <listener-id> --tag <key=value> [--tag <key=value> ...] [flags]
Flags:
--clear[=true|false] remove ALL tags (mutually exclusive with --tag)
-h, --help[=true|false] help for set
--tag strings tag in key=value format (repeatable; replace semantics)
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--gateway string Gateway id (required)
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm network appgw pool
text
Manage backend pools
Usage:
fm network appgw pool [command]
Aliases:
pool, pools, backend-pool
Available Commands:
create Create a backend pool
delete Delete a backend pool
get Show a backend pool
list List backend pools
tags Read and replace a backend pool's resource tags
update Change a backend pool's settings
Flags:
--gateway string Gateway id (required)
-h, --help[=true|false] help for pool
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)
Use "fm network appgw pool [command] --help" for more information about a command.fm network appgw pool create
text
Create a backend pool.
Re-encrypt to the backends by setting --protocol https. --tls-verify-backend
then decides whether the backend's certificate is checked; leaving it unset
keeps the server's default rather than silently turning verification off.
--proxy-protocol makes the gateway prepend a PROXY protocol v2 header to every
connection, so the backends see the real client address instead of the
gateway's. It is off unless asked for, and the backend must be configured to
read the header FIRST -- one that is not expecting it reads the header as the
first bytes of your protocol and every connection fails. Use "pool update" to
turn it on once the backend is ready.
Examples:
fm network appgw pool create --gateway g --name web --protocol http --algorithm round_robin
fm network appgw pool create --gateway g --name api --protocol https \
--tls-verify-backend --tls-server-name api.internal --tls-ca-certificate ./ca.pem
fm network appgw pool create --gateway g --name mail --proxy-protocol
Usage:
fm network appgw pool create [flags]
Flags:
--algorithm string round_robin | least_connections | source_ip
-h, --help[=true|false] help for create
--name string Pool name (required)
--protocol string http | https
--proxy-protocol[=true|false] Prepend a PROXY protocol v2 header so backends see the real client address. THE BACKEND MUST BE CONFIGURED TO READ IT FIRST -- one that is not expecting the header reads it as the first bytes of your protocol and every connection fails
--session-affinity string none | cookie | source_ip
--session-cookie string Cookie name (required with --session-affinity cookie)
--tag strings resource tag in key=value format (repeatable). The tenant's default tags are merged in; a key you set wins
--timeout-connect-ms int Connect timeout in milliseconds
--timeout-response-ms int Response timeout in milliseconds
--tls-ca-certificate string CA to verify backends against: PEM text or a path
--tls-server-name string Server name to present to the backend
--tls-verify-backend[=true|false] Verify the backend's certificate
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--gateway string Gateway id (required)
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm network appgw pool delete
text
Delete a backend pool
Usage:
fm network appgw pool delete <pool-id> [flags]
Flags:
--force[=true|false] Skip the confirmation prompt
-h, --help[=true|false] help for delete
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--gateway string Gateway id (required)
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm network appgw pool get
text
Show a backend pool
Usage:
fm network appgw pool get <pool-id> [flags]
Flags:
-h, --help[=true|false] help for get
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--gateway string Gateway id (required)
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm network appgw pool list
text
List backend pools
Usage:
fm network appgw pool list [flags]
Aliases:
list, ls
Flags:
-h, --help[=true|false] help for list
--tag strings only pools with this tag, key=value (repeatable; every one must match; key= matches an empty value)
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--gateway string Gateway id (required)
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm network appgw pool tags
text
Read and replace a backend pool's resource tags
Usage:
fm network appgw pool tags [command]
Aliases:
tags, tag
Available Commands:
get Show a backend pool's resource tags
set Replace a backend pool's resource tags
Flags:
-h, --help[=true|false] help for tags
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--gateway string Gateway id (required)
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)
Use "fm network appgw pool tags [command] --help" for more information about a command.fm network appgw pool tags get
text
Show a backend pool's resource tags
Usage:
fm network appgw pool tags get <pool-id> [flags]
Flags:
-h, --help[=true|false] help for get
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--gateway string Gateway id (required)
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm network appgw pool tags set
text
Replace a backend pool's resource tags in place with exactly the given set
(replace semantics — any tag not listed is removed). Resource tags are your own
metadata for search and filtering: nothing else about the backend pool changes, and
the running service is not touched.
The set you pass IS the resulting set. To ADD one tag without disturbing the
others, read the current ones first with 'fm network appgw pool tags get' and pass them all
back. Use --clear to remove every tag. The tenant's default tags are not
re-applied.
A tag change is not configuration: it needs no 'fm network appgw apply' and reaches no appliance.
Keys beginning frostmoln_ or frostmoln- (any letter case) are reserved and
refused. At most 32 tags; a key is 1-64 bytes, a value at most 256 bytes.
Examples:
fm network appgw pool tags set pool-123 --gateway gw-1 --tag env=prod --tag owner=team-a
fm network appgw pool tags set pool-123 --gateway gw-1 --clear
Usage:
fm network appgw pool tags set <pool-id> --tag <key=value> [--tag <key=value> ...] [flags]
Flags:
--clear[=true|false] remove ALL tags (mutually exclusive with --tag)
-h, --help[=true|false] help for set
--tag strings tag in key=value format (repeatable; replace semantics)
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--gateway string Gateway id (required)
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm network appgw pool update
text
Change the settings of a pool that already exists.
Only the flags you pass are sent; everything else is left exactly as it is. The
pool's NAME cannot be changed here, and neither can its backends or its health
check -- those have their own commands.
This is how --proxy-protocol is turned on for a live pool. Without it the only
way was to delete the pool, which first means deleting the tcp listener holding
it -- closing its public port that instant -- and building both again: an outage
to change one setting.
🔴 TURNING --proxy-protocol ON OR OFF CHANGES THE BYTES THE BACKEND RECEIVES.
Configure the backend to parse the header first (Postfix
smtpd_upstream_proxy_protocol=haproxy, Dovecot haproxy_trusted_networks, nginx
"proxy_protocol" on the listen line), THEN set this, then apply. A backend that
is not expecting the header reads it as the first bytes of your protocol and
every connection fails. Turning it off is the same change in reverse.
The three free-text settings accept an empty string and it CLEARS them:
--session-cookie "", --tls-ca-certificate "", --tls-server-name "".
Examples:
fm network appgw pool update p-1 --gateway g --proxy-protocol
fm network appgw pool update p-1 --gateway g --algorithm least_connections --timeout-response-ms 30000
fm network appgw pool update p-1 --gateway g --tls-server-name ""
Usage:
fm network appgw pool update <pool-id> [flags]
Flags:
--algorithm string round_robin | least_connections | source_ip
-h, --help[=true|false] help for update
--protocol string http | https
--proxy-protocol[=true|false] Prepend a PROXY protocol v2 header so backends see the real client address. THE BACKEND MUST BE CONFIGURED TO READ IT FIRST -- one that is not expecting the header reads it as the first bytes of your protocol and every connection fails
--session-affinity string none | cookie | source_ip
--session-cookie string Cookie name (required with --session-affinity cookie)
--timeout-connect-ms int Connect timeout in milliseconds
--timeout-response-ms int Response timeout in milliseconds
--tls-ca-certificate string CA to verify backends against: PEM text or a path
--tls-server-name string Server name to present to the backend
--tls-verify-backend[=true|false] Verify the backend's certificate
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--gateway string Gateway id (required)
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm network appgw route
text
A route matches a request on a listener by host and path, and forwards it to a
backend pool.
Priority is EXPLICIT and lower wins. There is no implicit longest-prefix rule,
because that would make one route's effect depend on another route's contents:
adding a route would silently reorder the others while a plan showed no change.
Omitting --priority puts the new route LAST.
Usage:
fm network appgw route [command]
Aliases:
route, routes
Available Commands:
create Create a route
delete Delete a route
get Show a route
list List routes, in evaluation order
reorder Reassign route priorities atomically
tags Read and replace a route's resource tags
Flags:
--gateway string Gateway id (required)
-h, --help[=true|false] help for route
--listener string Listener id (required)
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)
Use "fm network appgw route [command] --help" for more information about a command.fm network appgw route create
text
Create a route on a listener.
--match-type prefix (default) path is a prefix
--match-type exact path must match exactly
--match-type regex path is an RE2 regular expression
Header values set with --set-header and --set-response-header are treated as
secrets: fm never prints one back. "route get" shows each header's name with
"(value hidden)", and -o json / -o yaml carry the names only. A route cannot
be edited, so changing a value means deleting the route and creating it again.
Examples:
fm network appgw route create --gateway g --listener l --name api \
--host api.example.com --path /v1 --pool pool-1
fm network appgw route create --gateway g --listener l --name spa \
--path / --pool pool-2 --priority 900
Usage:
fm network appgw route create [flags]
Flags:
-h, --help[=true|false] help for create
--host string Host to match, e.g. api.example.com or *.example.com
--match-type string prefix | exact | regex
--name string Route name (required)
--path string Path to match
--pool string Backend pool id to forward to (required)
--priority int Evaluation priority, lower wins (default: last)
--remove-header strings Remove a request header (repeatable)
--rewrite-path-prefix string Replace the matched prefix before forwarding
--set-header stringArray Set a request header, name=value (repeatable)
--set-response-header stringArray Set a response header, name=value (repeatable)
--tag strings resource tag in key=value format (repeatable). The tenant's default tags are merged in; a key you set wins
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--gateway string Gateway id (required)
--listener string Listener id (required)
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm network appgw route delete
text
Delete a route
Usage:
fm network appgw route delete <route-id> [flags]
Flags:
--force[=true|false] Skip the confirmation prompt
-h, --help[=true|false] help for delete
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--gateway string Gateway id (required)
--listener string Listener id (required)
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm network appgw route get
text
Show a route
Usage:
fm network appgw route get <route-id> [flags]
Flags:
-h, --help[=true|false] help for get
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--gateway string Gateway id (required)
--listener string Listener id (required)
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm network appgw route list
text
List routes, in evaluation order
Usage:
fm network appgw route list [flags]
Aliases:
list, ls
Flags:
-h, --help[=true|false] help for list
--tag strings only routes with this tag, key=value (repeatable; every one must match; key= matches an empty value)
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--gateway string Gateway id (required)
--listener string Listener id (required)
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm network appgw route reorder
text
Reassign route priorities in one call.
Pass --route <route-id>=<priority> once per route. The server refuses a
duplicate id or a duplicate priority, so a half-applied reorder -- two routes
briefly sharing a priority -- is not expressible.
Example:
fm network appgw route reorder --gateway g --listener l \
--route rt-api=100 --route rt-static=200 --route rt-spa=900
Usage:
fm network appgw route reorder [flags]
Flags:
-h, --help[=true|false] help for reorder
--route stringArray <route-id>=<priority> (repeatable, required)
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--gateway string Gateway id (required)
--listener string Listener id (required)
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm network appgw route tags
text
Read and replace a route's resource tags
Usage:
fm network appgw route tags [command]
Aliases:
tags, tag
Available Commands:
get Show a route's resource tags
set Replace a route's resource tags
Flags:
-h, --help[=true|false] help for tags
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--gateway string Gateway id (required)
--listener string Listener id (required)
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)
Use "fm network appgw route tags [command] --help" for more information about a command.fm network appgw route tags get
text
Show a route's resource tags
Usage:
fm network appgw route tags get <route-id> [flags]
Flags:
-h, --help[=true|false] help for get
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--gateway string Gateway id (required)
--listener string Listener id (required)
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm network appgw route tags set
text
Replace a route's resource tags in place with exactly the given set
(replace semantics — any tag not listed is removed). Resource tags are your own
metadata for search and filtering: nothing else about the route changes, and
the running service is not touched.
The set you pass IS the resulting set. To ADD one tag without disturbing the
others, read the current ones first with 'fm network appgw route tags get' and pass them all
back. Use --clear to remove every tag. The tenant's default tags are not
re-applied.
A tag change is not configuration: it needs no 'fm network appgw apply' and reaches no appliance.
Keys beginning frostmoln_ or frostmoln- (any letter case) are reserved and
refused. At most 32 tags; a key is 1-64 bytes, a value at most 256 bytes.
Examples:
fm network appgw route tags set rt-123 --gateway gw-1 --listener lsn-1 --tag env=prod --tag owner=team-a
fm network appgw route tags set rt-123 --gateway gw-1 --listener lsn-1 --clear
Usage:
fm network appgw route tags set <route-id> --tag <key=value> [--tag <key=value> ...] [flags]
Flags:
--clear[=true|false] remove ALL tags (mutually exclusive with --tag)
-h, --help[=true|false] help for set
--tag strings tag in key=value format (repeatable; replace semantics)
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--gateway string Gateway id (required)
--listener string Listener id (required)
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm network appgw tags
text
Read and replace a Application Gateway's resource tags
Usage:
fm network appgw tags [command]
Aliases:
tags, tag
Available Commands:
get Show a Application Gateway's resource tags
set Replace a Application Gateway's resource tags
Flags:
-h, --help[=true|false] help for tags
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)
Use "fm network appgw tags [command] --help" for more information about a command.fm network appgw tags get
text
Show a Application Gateway's resource tags
Usage:
fm network appgw tags get <gateway-id> [flags]
Flags:
-h, --help[=true|false] help for get
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm network appgw tags set
text
Replace a Application Gateway's resource tags in place with exactly the given set
(replace semantics — any tag not listed is removed). Resource tags are your own
metadata for search and filtering: nothing else about the Application Gateway changes, and
the running service is not touched.
The set you pass IS the resulting set. To ADD one tag without disturbing the
others, read the current ones first with 'fm network appgw tags get' and pass them all
back. Use --clear to remove every tag. The tenant's default tags are not
re-applied.
A tag change is not configuration: it needs no 'fm network appgw apply' and reaches no appliance.
Keys beginning frostmoln_ or frostmoln- (any letter case) are reserved and
refused. At most 32 tags; a key is 1-64 bytes, a value at most 256 bytes.
Examples:
fm network appgw tags set gw-123 --tag env=prod --tag owner=team-a
fm network appgw tags set gw-123 --clear
Usage:
fm network appgw tags set <gateway-id> --tag <key=value> [--tag <key=value> ...] [flags]
Flags:
--clear[=true|false] remove ALL tags (mutually exclusive with --tag)
-h, --help[=true|false] help for set
--tag strings tag in key=value format (repeatable; replace semantics)
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm network appgw update
text
Rename an Application Gateway
Usage:
fm network appgw update <gateway-id> [flags]
Flags:
-h, --help[=true|false] help for update
--name string New name (required)
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm network appgw waf
text
Author and publish a gateway's Web Application Firewall ruleset.
Four ideas, and everything else follows from them:
THE FIREWALL IS COMPOSED, NOT SINGULAR. A GATEWAY-scoped policy carries the
managed ruleset for the whole gateway. An OVERLAY-scoped policy adds your own
rules to ONE listener or ONE route, and carries no managed ruleset -- so the
managed-ruleset dials (paranoia level, anomaly threshold, ruleset version)
belong to the gateway policy alone. "create --scope" decides which you are
making, and it cannot be changed afterwards.
AN OVERLAY INHERITS ITS MODE. An overlay policy defaults to mode "inherit":
if the gateway policy blocks, the overlay blocks. So an overlay whose mode
reads "inherit" may be refusing requests right now, and everything fm prints
says so -- "block (inherited)", never a bare "detect".
DRAFT vs ACTIVE. Rule and exclusion writes land on the DRAFT and change
nothing a request sees. "publish" freezes the draft and makes it active.
DRY RUN IS A GATE, NOT ADVICE. Publishing is REFUSED until a completed
dry-run exists for exactly what you are about to publish. The dry-run
replays recent traffic and reports what would NEWLY be blocked, and it runs
under a time budget, so it also refuses a ruleset too expensive to evaluate.
Editing anything -- including a setting like paranoia level -- invalidates
the dry-run automatically.
PUBLISHED IS NOT LIVE. A published version reaches the appliance on the next
"fm network appgw apply".
Rules you did not write:
Some rules are platform-owned. You cannot edit or delete them. Where the
platform allows it you may opt out, and "rule opt-out" is the only write you
may make to one.
Examples:
fm network appgw waf get --gateway g
fm network appgw waf rule set --gateway g --key block-admin --kind raw --file ./rule.conf
fm network appgw waf dry-run --gateway g
fm network appgw waf publish --gateway g
fm network appgw apply g
Usage:
fm network appgw waf [command]
Available Commands:
attach Attach a WAF policy to the gateway, a listener or a route
audit Show who changed this policy, and when
create Create a WAF policy
delete Delete the WAF policy
detach Remove a WAF policy attachment
diff Compare two rulesets, rule by rule
draft Show what is being edited
dry-run Replay recent traffic against the draft
dry-runs List past dry-runs
exclusion Create, replace or delete an exclusion
exclusions List the exclusions being edited, or an earlier version's
export Write the ruleset as a portable document
get Show the WAF policy
import Apply a portable ruleset document to the draft
list List WAF policies
mode Switch the WAF between detect, block and inherit
publish Freeze the draft and make it the enforced version
rollback Go back to an earlier published version
rule Create, replace, delete or opt out of a rule
rules List the rules being edited, or an earlier version's
set Change the WAF policy's settings
tags Read and replace a WAF policy's resource tags
versions Show the policy's version history
Flags:
--gateway string Gateway id (required)
-h, --help[=true|false] help for waf
--policy string WAF policy id (only needed when the gateway has more than one)
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)
Use "fm network appgw waf [command] --help" for more information about a command.fm network appgw waf attach
text
Attach a WAF policy at one of the three levels.
(no flags) the GATEWAY. Takes a gateway-scoped policy: the
managed ruleset for everything the gateway serves.
--listener <id> one LISTENER. Takes an overlay-scoped policy.
--listener <id> --route <id>
one ROUTE. Takes an overlay-scoped policy.
Attaching is separate from authoring: a policy exists, is published and is
rolled back without being attached to anything, and detaching does not delete
it.
The scope has to match the level, and fm checks before sending -- attaching a
gateway policy to a listener would compile the managed ruleset into an overlay,
which the server refuses.
Examples:
fm network appgw waf attach --gateway g --policy wp-gateway
fm network appgw waf attach --gateway g --policy wp-api --listener l-1
fm network appgw waf attach --gateway g --policy wp-admin --listener l-1 --route r-7
Usage:
fm network appgw waf attach [flags]
Flags:
-h, --help[=true|false] help for attach
--listener string Attach at this listener instead of the gateway
--route string Attach at this route (needs --listener)
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--gateway string Gateway id (required)
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
--policy string WAF policy id (only needed when the gateway has more than one)
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm network appgw waf audit
text
Show the policy's administrative history: who published a version, who rolled
back, who opted out of a platform rule.
This is NOT a record of what the firewall did to a request.
Usage:
fm network appgw waf audit [flags]
Flags:
-h, --help[=true|false] help for audit
--limit int Maximum entries to return (the server caps this)
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--gateway string Gateway id (required)
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
--policy string WAF policy id (only needed when the gateway has more than one)
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm network appgw waf create
text
Create a WAF policy on a gateway.
--scope gateway (default) the gateway's policy. It carries the MANAGED
ruleset and the dials that tune it -- paranoia level,
anomaly threshold, managed ruleset version. Attach it with
"waf attach".
--scope overlay your own rules on ONE listener or ONE route. It carries NO
managed ruleset, so none of those dials apply, and its
default mode is "inherit": it blocks when the gateway
policy blocks. Attach it with "waf attach --listener" or
"--route".
Scope is fixed at create. There is no move.
A gateway policy's default mode is DETECT: the ruleset runs and records what it
would have done, and blocks nothing. That is deliberate -- adopt blocking after
you have seen what detect mode matched, not before.
Examples:
fm network appgw waf create --gateway g --name default
fm network appgw waf create --gateway g --name api-rules --scope overlay
Usage:
fm network appgw waf create [flags]
Flags:
--allowed-methods strings HTTP methods the managed ruleset accepts, e.g. GET,HEAD,PROPFIND. OMIT to leave the current setting alone; pass an EMPTY value (--allowed-methods "") to clear the override and go back to the platform default, which is kept current for you. Anything outside the list is refused with 403 regardless of --anomaly-threshold. TRACE, TRACK, CONNECT and DEBUG may never be listed. Gateway-scoped policies only
--allowed-request-content-types strings Request Content-Type values the managed ruleset accepts, e.g. application/json,application/vnd.acme.v2+json. OMIT to leave the current setting alone; pass an EMPTY value (--allowed-request-content-types "") to clear the override and go back to the platform default, which is kept current for you and has been widened three times. That default is not "everything": a vendor type such as application/vnd.acme.v2+json can never be in it, and adding one is the commonest reason to set this flag. Lowercase type/subtype, no parameters. Gateway-scoped policies only
--anomaly-threshold int Anomaly score at which a request is refused (1-1000). Gateway-scoped policies only
--crs-version fm network appgw waf get Managed ruleset version. Gateway-scoped policies only; the server accepts only the version this build ships, see fm network appgw waf get
--fail-mode string open | closed -- what to do if the engine is unavailable
-h, --help[=true|false] help for create
--mode string detect | block | inherit (inherit: overlay policies only)
--name string Policy name (required)
--paranoia-level int Managed-ruleset paranoia level (1-4; higher catches more and false-positives more). Gateway-scoped policies only
--request-body-limit int Largest request body the gateway ACCEPTS, in bytes (4096-1048576). A larger body is refused 413, not served uninspected, so lowering this lowers the maximum request size your application receives. The gateway's flavor may bound it below this range
--scope string gateway (default) | overlay -- fixed at create; an overlay carries no managed ruleset and attaches to a listener or a route
--tag strings resource tag in key=value format (repeatable). The tenant's default tags are merged in; a key you set wins
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--gateway string Gateway id (required)
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
--policy string WAF policy id (only needed when the gateway has more than one)
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm network appgw waf delete
text
Delete the WAF policy
Usage:
fm network appgw waf delete [flags]
Flags:
--force[=true|false] Skip the confirmation prompt
-h, --help[=true|false] help for delete
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--gateway string Gateway id (required)
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
--policy string WAF policy id (only needed when the gateway has more than one)
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm network appgw waf detach
text
Remove the WAF policy attachment at one of the three levels.
(no flags) the GATEWAY's policy.
--listener <id> one LISTENER's overlay.
--listener <id> --route <id>
one ROUTE's overlay.
The policy itself is untouched: its rules, versions and history all survive, and
it can be attached again.
A detach removes only the policy you were shown. fm first reads which policy is
attached, names it, and then asks the server to detach THAT policy -- so if
someone attaches a different one in between, nothing is detached and fm says
what is attached now (exit 1). If nothing is attached there, fm says so and
exits 0 without changing anything.
--policy <id> names the policy you expect to be attached instead of reading it.
The detach happens only if that exact policy is attached; if another one is, or
nothing is, it is refused (exit 1) and nothing changes.
🔴 Detaching the GATEWAY policy changes what every INHERITING overlay does.
An overlay in "inherit" resolves against the gateway policy's mode; with no
gateway policy there is nothing blocking to inherit, so those overlays fall back
to detect and stop refusing anything.
Examples:
fm network appgw waf detach --gateway g
fm network appgw waf detach --gateway g --listener l-1
fm network appgw waf detach --gateway g --listener l-1 --route r-7
fm network appgw waf detach --gateway g --policy waf_8aXobbjrjPFLcvVByxDsUS
Usage:
fm network appgw waf detach [flags]
Flags:
--force[=true|false] Skip the confirmation prompt
-h, --help[=true|false] help for detach
--listener string Attach at this listener instead of the gateway
--route string Attach at this route (needs --listener)
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--gateway string Gateway id (required)
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
--policy string WAF policy id (only needed when the gateway has more than one)
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm network appgw waf diff
text
Compare two rulesets and print what actually differs.
--from and --to each take: draft | active | a version number | a file path.
Defaults are --from active --to draft, which answers the question you have
right before publishing: what am I about to change?
The comparison is keyed on rule KEY, never on position, so inserting one rule
does not report every rule after it as changed.
Examples:
fm network appgw waf diff --gateway g
fm network appgw waf diff --gateway g --from 3 --to 4
fm network appgw waf diff --gateway g --from ./waf.json --to draft
Usage:
fm network appgw waf diff [flags]
Flags:
--from string draft | active | <version> | <file> (default "active")
-h, --help[=true|false] help for diff
--to string draft | active | <version> | <file> (default "draft")
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--gateway string Gateway id (required)
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
--policy string WAF policy id (only needed when the gateway has more than one)
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm network appgw waf draft
text
Show what is being edited
Usage:
fm network appgw waf draft [flags]
Flags:
-h, --help[=true|false] help for draft
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--gateway string Gateway id (required)
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
--policy string WAF policy id (only needed when the gateway has more than one)
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm network appgw waf dry-run
text
Replay recent traffic against the draft and report what would change.
This is REQUIRED before publishing. It is not advice:
* publish is refused with 409 unless a completed dry-run matches exactly
what you are about to publish, settings included;
* the replay runs under a time budget, so a ruleset too expensive to
evaluate is refused here rather than slowing every real request.
The replay runs ON THE APPLIANCE against request SIGNATURES -- method, host,
path, header names, body size. Your users' request bodies are never stored and
never leave your VPC; only counts and a would-be-blocked sample come back.
Read "newly blocked" before you publish. It is the number that says whether
this change breaks someone.
Usage:
fm network appgw waf dry-run [flags]
Flags:
-h, --help[=true|false] help for dry-run
--tag strings resource tag in key=value format (repeatable). The tenant's default tags are merged in; a key you set wins
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--gateway string Gateway id (required)
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
--policy string WAF policy id (only needed when the gateway has more than one)
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm network appgw waf dry-runs
text
List past dry-runs
Usage:
fm network appgw waf dry-runs [flags]
fm network appgw waf dry-runs [command]
Available Commands:
tags Read and replace a WAF dry run's resource tags
Flags:
-h, --help[=true|false] help for dry-runs
--tag strings only dry runs with this tag, key=value (repeatable; every one must match; key= matches an empty value)
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--gateway string Gateway id (required)
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
--policy string WAF policy id (only needed when the gateway has more than one)
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)
Use "fm network appgw waf dry-runs [command] --help" for more information about a command.fm network appgw waf dry-runs tags
text
Read and replace a WAF dry run's resource tags
Usage:
fm network appgw waf dry-runs tags [command]
Aliases:
tags, tag
Available Commands:
get Show a WAF dry run's resource tags
set Replace a WAF dry run's resource tags
Flags:
-h, --help[=true|false] help for tags
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--gateway string Gateway id (required)
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
--policy string WAF policy id (only needed when the gateway has more than one)
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)
Use "fm network appgw waf dry-runs tags [command] --help" for more information about a command.fm network appgw waf dry-runs tags get
text
Show a WAF dry run's resource tags
Usage:
fm network appgw waf dry-runs tags get <dry-run-id> [flags]
Flags:
-h, --help[=true|false] help for get
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--gateway string Gateway id (required)
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
--policy string WAF policy id (only needed when the gateway has more than one)
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm network appgw waf dry-runs tags set
text
Replace a WAF dry run's resource tags in place with exactly the given set
(replace semantics — any tag not listed is removed). Resource tags are your own
metadata for search and filtering: nothing else about the WAF dry run changes, and
the running service is not touched.
The set you pass IS the resulting set. To ADD one tag without disturbing the
others, read the current ones first with 'fm network appgw waf dry-runs tags get' and pass them all
back. Use --clear to remove every tag. The tenant's default tags are not
re-applied.
A tag change is not configuration: it needs no 'fm network appgw apply' and reaches no appliance.
Keys beginning frostmoln_ or frostmoln- (any letter case) are reserved and
refused. At most 32 tags; a key is 1-64 bytes, a value at most 256 bytes.
Examples:
fm network appgw waf dry-runs tags set dr-123 --gateway gw-1 --tag env=prod --tag owner=team-a
fm network appgw waf dry-runs tags set dr-123 --gateway gw-1 --clear
Usage:
fm network appgw waf dry-runs tags set <dry-run-id> --tag <key=value> [--tag <key=value> ...] [flags]
Flags:
--clear[=true|false] remove ALL tags (mutually exclusive with --tag)
-h, --help[=true|false] help for set
--tag strings tag in key=value format (repeatable; replace semantics)
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--gateway string Gateway id (required)
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
--policy string WAF policy id (only needed when the gateway has more than one)
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm network appgw waf exclusion
text
An exclusion narrows a rule so it stops matching a request shape you know is
good -- a field that legitimately contains SQL, an upload endpoint, an API that
posts XML.
Target exactly one of --target-secrule-id or --target-tag.
Usage:
fm network appgw waf exclusion [command]
Available Commands:
delete Remove an exclusion from the draft
set Create or replace an exclusion in the draft
Flags:
-h, --help[=true|false] help for exclusion
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--gateway string Gateway id (required)
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
--policy string WAF policy id (only needed when the gateway has more than one)
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)
Use "fm network appgw waf exclusion [command] --help" for more information about a command.fm network appgw waf exclusion delete
text
Remove an exclusion from the draft
Usage:
fm network appgw waf exclusion delete [flags]
Flags:
--force[=true|false] Skip the confirmation prompt
-h, --help[=true|false] help for delete
--key string Exclusion key (required)
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--gateway string Gateway id (required)
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
--policy string WAF policy id (only needed when the gateway has more than one)
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm network appgw waf exclusion set
text
Create or replace an exclusion, keyed on --key.
Example:
fm network appgw waf exclusion set --gateway g --key allow-query-in-search \
--target-secrule-id 942100 --variable ARGS --selector q --path-pattern '^/search'
Usage:
fm network appgw waf exclusion set [flags]
Flags:
--description string Why this exclusion exists
-h, --help[=true|false] help for set
--key string Exclusion key (required)
--ordinal int Evaluation order
--path-pattern string Limit the exclusion to matching paths
--selector string Specific field within the variable, e.g. a parameter name
--target-secrule-id int Rule to narrow, by SecRule id
--target-tag string Rules to narrow, by tag
--variable string Variable to exclude, e.g. ARGS (required)
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--gateway string Gateway id (required)
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
--policy string WAF policy id (only needed when the gateway has more than one)
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm network appgw waf exclusions
text
List the exclusions being edited, or an earlier version's
Usage:
fm network appgw waf exclusions [flags]
Flags:
--active[=true|false] Read the version being enforced instead of the draft
-h, --help[=true|false] help for exclusions
--version int Read a specific published version
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--gateway string Gateway id (required)
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
--policy string WAF policy id (only needed when the gateway has more than one)
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm network appgw waf export
text
Write the ruleset you own as a JSON document on stdout.
The output is canonical -- sorted, with server-assigned ids and timestamps
stripped -- so this is meaningful:
fm network appgw waf export --gateway g > waf.json
git diff waf.json
What is included is exactly what YOU can author: your rules, your exclusions,
your settings, and your opt-out decisions about platform rules. Platform rules
themselves are not, because you cannot import one back.
The document records the policy's SCOPE, and an overlay's mode of "inherit",
because those decide what the rest of it means. Neither is importable -- scope
is fixed at create -- so import checks them and refuses a document written for
the other kind of policy.
By default this exports the DRAFT. Use --active or --version N for a published
version.
Usage:
fm network appgw waf export [flags]
Flags:
--active[=true|false] Read the version being enforced instead of the draft
--file string Write to a file instead of stdout
-h, --help[=true|false] help for export
--version int Read a specific published version
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--gateway string Gateway id (required)
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
--policy string WAF policy id (only needed when the gateway has more than one)
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm network appgw waf get
text
Show the WAF policy
Usage:
fm network appgw waf get [flags]
Flags:
-h, --help[=true|false] help for get
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--gateway string Gateway id (required)
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
--policy string WAF policy id (only needed when the gateway has more than one)
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm network appgw waf import
text
Read a document written by "export" and write it to the DRAFT.
Nothing is published and nothing is applied: run a dry-run, publish, then
"fm network appgw apply".
By default this is ADDITIVE -- rules in the document are written, rules already
in the draft and absent from the document are left alone. Pass --prune to make
the draft match the document exactly, deleting what the document does not
contain. Prune is not the default because the common case is importing one
team's rules into a policy that also holds another's, and a silent delete there
is the worst possible outcome.
fm network appgw waf import --gateway g --file waf.json
fm network appgw waf import --gateway g --file waf.json --prune
Usage:
fm network appgw waf import [flags]
Flags:
--file string Read from a file, or - for stdin (default "-")
-h, --help[=true|false] help for import
--prune[=true|false] Delete draft rules and exclusions the document does not contain
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--gateway string Gateway id (required)
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
--policy string WAF policy id (only needed when the gateway has more than one)
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm network appgw waf list
text
List WAF policies
Usage:
fm network appgw waf list [flags]
Aliases:
list, ls
Flags:
-h, --help[=true|false] help for list
--tag strings only policies with this tag, key=value (repeatable; every one must match; key= matches an empty value)
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--gateway string Gateway id (required)
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
--policy string WAF policy id (only needed when the gateway has more than one)
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm network appgw waf mode
text
Switch the WAF between detect, block and inherit.
detect the ruleset runs and records what it WOULD have done. Nothing is
blocked. This is the safe place to start and the safe place to
return to.
block matching requests are refused.
inherit take the mode from the GATEWAY policy: block if it blocks, detect
otherwise. OVERLAY policies only -- a gateway policy has nothing to
inherit from -- and it is what an overlay defaults to.
Going to block is a real change to what your users experience. Run a dry-run
first and read what it says would be newly blocked.
So is going to inherit, when the gateway policy blocks. It is not the cautious
option: it means "whatever the gateway does", and fm tells you which that is.
Usage:
fm network appgw waf mode <detect|block|inherit> [flags]
Flags:
-h, --help[=true|false] help for mode
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--gateway string Gateway id (required)
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
--policy string WAF policy id (only needed when the gateway has more than one)
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm network appgw waf publish
text
Freeze the draft and make it the policy's active version.
Refused with 409 if no completed dry-run matches the draft exactly. Run
"fm network appgw waf dry-run" first.
Publishing an UNCHANGED draft does nothing and says so, rather than creating an
identical version -- which is what keeps a repeated deploy from versioning on
every run.
Publishing does not make the ruleset live. It reaches the appliance on the next
"fm network appgw apply".
Usage:
fm network appgw waf publish [flags]
Flags:
-h, --help[=true|false] help for publish
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--gateway string Gateway id (required)
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
--policy string WAF policy id (only needed when the gateway has more than one)
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm network appgw waf rollback
text
Copy an earlier version's rules into the draft and publish it.
History is never rewritten: this produces a NEW version whose compiled ruleset
is byte-identical to the one you rolled back to, and which records where it
came from.
fm network appgw waf rollback --gateway g --to-version 3
fm network appgw apply g
Usage:
fm network appgw waf rollback [flags]
Flags:
-h, --help[=true|false] help for rollback
--to-version int Version to roll back to (required)
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--gateway string Gateway id (required)
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
--policy string WAF policy id (only needed when the gateway has more than one)
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm network appgw waf rule
text
Create, replace, delete or opt out of a rule
Usage:
fm network appgw waf rule [command]
Available Commands:
delete Remove a rule from the draft
opt-out Turn a platform rule off (or back on) for this gateway
set Create or replace a rule in the draft
Flags:
-h, --help[=true|false] help for rule
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--gateway string Gateway id (required)
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
--policy string WAF policy id (only needed when the gateway has more than one)
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)
Use "fm network appgw waf rule [command] --help" for more information about a command.fm network appgw waf rule delete
text
Remove a rule from the draft
Usage:
fm network appgw waf rule delete [flags]
Flags:
--force[=true|false] Skip the confirmation prompt
-h, --help[=true|false] help for delete
--key string Rule key (required)
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--gateway string Gateway id (required)
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
--policy string WAF policy id (only needed when the gateway has more than one)
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm network appgw waf rule opt-out
text
Turn a platform-owned rule off, or back on.
This is the ONLY write you may make to a rule you do not own, and only where
the rule allows it. Gateway self-protection rules do not, and refuse.
Use it when an emergency virtual patch is a false positive for your traffic.
Your version history records exactly when you did it.
fm network appgw waf rule opt-out --gateway g --key platform-cve-2026-1234
fm network appgw waf rule opt-out --gateway g --key platform-cve-2026-1234 --opted-out=false
Usage:
fm network appgw waf rule opt-out [flags]
Flags:
-h, --help[=true|false] help for opt-out
--key string Platform rule key (required)
--opted-out[=true|false] true to turn it off, false to turn it back on (default true)
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--gateway string Gateway id (required)
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
--policy string WAF policy id (only needed when the gateway has more than one)
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm network appgw waf rule set
text
Create or replace a rule, keyed on --key.
The key IS the rule's identity: it is the diff anchor, the Terraform address
and what a report points at. Sending the same key again replaces the rule, so
this is safe to run repeatedly from a script.
Three kinds, exactly one payload each:
--kind builder a structured rule, from --file (JSON)
--kind raw SecLang text, from --raw or --file
--kind managedOverride change a platform-managed rule:
--managed-secrule-id N --managed-action disable
--managed-action updateTarget --managed-target ...
Raw rules are checked at write time -- parsed, directive-allow-listed and size
capped -- so a mistake is a 400 naming the line, not a surprise at publish.
A BUILDER FILE holds the builder object alone -- conditions, action, phase:
{
"phase": 1,
"conditions": [
{ "variable": "REQUEST_HEADERS", "selector": "User-Agent",
"operator": "@rx", "value": "(?i)sqlmap|nikto" }
],
"action": { "type": "deny", "status": 403, "message": "known scanner" }
}
Conditions are ANDed: every one must match. An OR is two rules.
"type": "deny" refuse the request with "status" (403 when unset)
"type": "log" record the match and change nothing else
"type": "allow" do not refuse this request
ALLOW EXEMPTS FAR LESS THAN THE WORD SUGGESTS. What it skips is the managed
ruleset's anomaly-score decision -- the one that refuses a request for
accumulating enough suspicion, and the one that produces false positives. Use it
for traffic you know is safe and that the managed rules keep scoring: an uptime
checker, a webhook sender, a payload shape that looks like an attack and is not.
Everything else still refuses. The policy's allowedMethods and
allowedRequestContentTypes lists, a request body the gateway could not parse,
your own deny rules and any rule Frostmoln placed on the policy all still apply,
because the rule runs after them. And EVERY CONDITION MUST MATCH: an allow with
two conditions exempts a request only when both are true, the same as a deny --
"this path AND my signed sender" is not "this path, for anyone".
An allowed request is also not scored, so it carries no anomaly-score line in
the inspection record.
"allow" requires "phase": 2 and is REFUSED at phase 1 rather than moved: at
phase 1 it would also skip the gateway's own method and content-type refusals,
which are not exemptable. A rule that only reads headers still works at phase 2.
{
"phase": 2,
"conditions": [
{ "variable": "REQUEST_URI", "operator": "@beginsWith", "value": "/health" },
{ "variable": "REQUEST_HEADERS", "selector": "X-Uptime-Token",
"operator": "@streq", "value": "s3cret" }
],
"action": { "type": "allow", "message": "uptime checker" }
}
"status" is the response code for a deny and is ignored otherwise. "message" is
recorded whatever the action is -- it is how you tell your own rules apart in
the log, including which allow rule exempted a request.
"allow" is not available to --kind raw.
Examples:
fm network appgw waf rule set --gateway g --key block-admin --kind raw --file ./rule.conf
fm network appgw waf rule set --gateway g --key block-scanners --kind builder --file ./deny.json
fm network appgw waf rule set --gateway g --key allow-health --kind builder --file ./allow.json
fm network appgw waf rule set --gateway g --key quiet-942100 --kind managedOverride \
--managed-secrule-id 942100 --managed-action disable
Usage:
fm network appgw waf rule set [flags]
Flags:
--description string What this rule is for
--enabled[=true|false] Whether the rule is evaluated (default true)
--file string Read the rule body from a file, or - for stdin
-h, --help[=true|false] help for set
--key string Rule key: your stable name for this rule (required)
--kind string builder | raw | managedOverride (required)
--managed-action string disable | updateTarget
--managed-secrule-id int Managed rule to override (--kind managedOverride)
--managed-target string New target (--managed-action updateTarget)
--ordinal int Evaluation order within the policy
--raw string SecLang rule text (--kind raw)
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--gateway string Gateway id (required)
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
--policy string WAF policy id (only needed when the gateway has more than one)
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm network appgw waf rules
text
List rules.
By default this shows the DRAFT -- what you are editing. Use --active for what
is being enforced right now, or --version N for a frozen version.
Usage:
fm network appgw waf rules [flags]
Aliases:
rules, rule-list
Flags:
--active[=true|false] Read the version being enforced instead of the draft
-h, --help[=true|false] help for rules
--version int Read a specific published version
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--gateway string Gateway id (required)
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
--policy string WAF policy id (only needed when the gateway has more than one)
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm network appgw waf set
text
Change a WAF policy's settings.
Only the flags you pass are changed; the rest are left alone.
🔴 Settings are part of what a dry-run is taken against, so changing one
invalidates the current dry-run and the next publish is refused until you run
another. That is the point: the dry-run must describe the ruleset that is about
to go live, settings included.
Usage:
fm network appgw waf set [flags]
Flags:
--allowed-methods strings HTTP methods the managed ruleset accepts, e.g. GET,HEAD,PROPFIND. OMIT to leave the current setting alone; pass an EMPTY value (--allowed-methods "") to clear the override and go back to the platform default, which is kept current for you. Anything outside the list is refused with 403 regardless of --anomaly-threshold. TRACE, TRACK, CONNECT and DEBUG may never be listed. Gateway-scoped policies only
--allowed-request-content-types strings Request Content-Type values the managed ruleset accepts, e.g. application/json,application/vnd.acme.v2+json. OMIT to leave the current setting alone; pass an EMPTY value (--allowed-request-content-types "") to clear the override and go back to the platform default, which is kept current for you and has been widened three times. That default is not "everything": a vendor type such as application/vnd.acme.v2+json can never be in it, and adding one is the commonest reason to set this flag. Lowercase type/subtype, no parameters. Gateway-scoped policies only
--anomaly-threshold int Anomaly score at which a request is refused (1-1000). Gateway-scoped policies only
--crs-version fm network appgw waf get Managed ruleset version. Gateway-scoped policies only; the server accepts only the version this build ships, see fm network appgw waf get
--fail-mode string open | closed -- what to do if the engine is unavailable
-h, --help[=true|false] help for set
--mode string detect | block | inherit (inherit: overlay policies only)
--paranoia-level int Managed-ruleset paranoia level (1-4; higher catches more and false-positives more). Gateway-scoped policies only
--request-body-limit int Largest request body the gateway ACCEPTS, in bytes (4096-1048576). A larger body is refused 413, not served uninspected, so lowering this lowers the maximum request size your application receives. The gateway's flavor may bound it below this range
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--gateway string Gateway id (required)
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
--policy string WAF policy id (only needed when the gateway has more than one)
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm network appgw waf tags
text
Read and replace a WAF policy's resource tags
Usage:
fm network appgw waf tags [command]
Aliases:
tags, tag
Available Commands:
get Show a WAF policy's resource tags
set Replace a WAF policy's resource tags
Flags:
-h, --help[=true|false] help for tags
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--gateway string Gateway id (required)
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
--policy string WAF policy id (only needed when the gateway has more than one)
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)
Use "fm network appgw waf tags [command] --help" for more information about a command.fm network appgw waf tags get
text
Show a WAF policy's resource tags
Usage:
fm network appgw waf tags get [flags]
Flags:
-h, --help[=true|false] help for get
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--gateway string Gateway id (required)
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
--policy string WAF policy id (only needed when the gateway has more than one)
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm network appgw waf tags set
text
Replace a WAF policy's resource tags in place with exactly the given set
(replace semantics — any tag not listed is removed). Resource tags are your own
metadata for search and filtering: nothing else about the WAF policy changes, and
the running service is not touched.
The set you pass IS the resulting set. To ADD one tag without disturbing the
others, read the current ones first with 'fm network appgw waf tags get' and pass them all
back. Use --clear to remove every tag. The tenant's default tags are not
re-applied.
A tag change is not configuration: it needs no 'fm network appgw apply' and reaches no appliance.
Keys beginning frostmoln_ or frostmoln- (any letter case) are reserved and
refused. At most 32 tags; a key is 1-64 bytes, a value at most 256 bytes.
Examples:
fm network appgw waf tags set --gateway gw-1 --policy pol-1 --tag env=prod --tag owner=team-a
fm network appgw waf tags set --gateway gw-1 --policy pol-1 --clear
Usage:
fm network appgw waf tags set --tag <key=value> [--tag <key=value> ...] [flags]
Flags:
--clear[=true|false] remove ALL tags (mutually exclusive with --tag)
-h, --help[=true|false] help for set
--tag strings tag in key=value format (repeatable; replace semantics)
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--gateway string Gateway id (required)
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
--policy string WAF policy id (only needed when the gateway has more than one)
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm network appgw waf versions
text
Show every frozen version of this policy, newest first.
History is never mutated. A rollback does not erase anything -- it produces a
NEW version whose compiled ruleset is identical to the one rolled back to, and
says which one it came from.
Usage:
fm network appgw waf versions [flags]
fm network appgw waf versions [command]
Available Commands:
tags Read and replace a WAF policy version's resource tags
Flags:
-h, --help[=true|false] help for versions
--tag strings only versions with this tag, key=value (repeatable; every one must match; key= matches an empty value)
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--gateway string Gateway id (required)
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
--policy string WAF policy id (only needed when the gateway has more than one)
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)
Use "fm network appgw waf versions [command] --help" for more information about a command.fm network appgw waf versions tags
text
Read and replace a WAF policy version's resource tags
Usage:
fm network appgw waf versions tags [command]
Aliases:
tags, tag
Available Commands:
get Show a WAF policy version's resource tags
set Replace a WAF policy version's resource tags
Flags:
-h, --help[=true|false] help for tags
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--gateway string Gateway id (required)
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
--policy string WAF policy id (only needed when the gateway has more than one)
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)
Use "fm network appgw waf versions tags [command] --help" for more information about a command.fm network appgw waf versions tags get
text
Show a WAF policy version's resource tags
Usage:
fm network appgw waf versions tags get <version> [flags]
Flags:
-h, --help[=true|false] help for get
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--gateway string Gateway id (required)
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
--policy string WAF policy id (only needed when the gateway has more than one)
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm network appgw waf versions tags set
text
Replace a WAF policy version's resource tags in place with exactly the given set
(replace semantics — any tag not listed is removed). Resource tags are your own
metadata for search and filtering: nothing else about the WAF policy version changes, and
the running service is not touched.
The set you pass IS the resulting set. To ADD one tag without disturbing the
others, read the current ones first with 'fm network appgw waf versions tags get' and pass them all
back. Use --clear to remove every tag. The tenant's default tags are not
re-applied.
A tag change is not configuration: it needs no 'fm network appgw apply' and reaches no appliance.
Keys beginning frostmoln_ or frostmoln- (any letter case) are reserved and
refused. At most 32 tags; a key is 1-64 bytes, a value at most 256 bytes.
Examples:
fm network appgw waf versions tags set 3 --gateway gw-1 --tag env=prod --tag owner=team-a
fm network appgw waf versions tags set 3 --gateway gw-1 --clear
Usage:
fm network appgw waf versions tags set <version> --tag <key=value> [--tag <key=value> ...] [flags]
Flags:
--clear[=true|false] remove ALL tags (mutually exclusive with --tag)
-h, --help[=true|false] help for set
--tag strings tag in key=value format (repeatable; replace semantics)
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--gateway string Gateway id (required)
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
--policy string WAF policy id (only needed when the gateway has more than one)
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm network gateway
text
Manage the gateway for a VPC.
A gateway is how a VPC reaches the internet outbound. A VPC has at most one. A
VPC without one is isolated: no outbound internet access, and no DNS resolution
or managed-service connectivity either, because both are reached over the same
path.
There is one mode, "public-ip": the VPC leaves through its own router gateway.
What differs is WHICH address that gateway uses, and that is the whole decision.
no --public-ip-id the platform picks the address and keeps it HIDDEN. It has
no id, is in none of your public IP lists, draws nothing
from your Public IP quota and never reaches an invoice.
Nothing pins it, so it is redrawn if the router or the VPC
is rebuilt. Do NOT publish it, put it in DNS, or give it to
a partner to allow-list.
--public-ip-id a Public IP of yours becomes the source address. It is
pinned to the VPC, listed in "fm network public-ip list",
counted against your Public IP quota and billed as a Public
IP. This is the address that is safe to publish.
"fm network gateway adopt-public-ip" turns a hidden address into a Public IP of
yours in place, without changing the address or interrupting traffic.
The "nat" mode is WITHDRAWN and can no longer be chosen. A VPC still in nat mode
keeps working and still reads here; move it off with
"fm network gateway set-mode --vpc-id <vpc-id> --mode public-ip --yes".
Usage:
fm network gateway [command]
Aliases:
gateway, gw
Available Commands:
adopt-public-ip Take ownership of a gateway's existing outbound source address
create Give a VPC outbound internet access
delete Remove a VPC's outbound internet access
get Show a VPC's gateway
list List the tenant's gateways
set-mode Change how a VPC's outbound traffic is addressed
tags Read and replace a VPC gateway's resource tags
Flags:
-h, --help[=true|false] help for gateway
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)
Use "fm network gateway [command] --help" for more information about a command.fm network gateway adopt-public-ip
text
Turn this VPC's existing outbound source address into a public IP you own.
A gateway created without --public-ip-id carries a PLATFORM-ALLOCATED address.
It has no id, appears in none of your public IP lists, draws nothing from your
Public IP quota and never reaches an invoice — but if the router or the VPC is
ever rebuilt the platform draws a new one at random, so it is not an address to
give a partner to allow-list or to publish in DNS.
Adopting records that same address as a public IP in your tenant.
The address does NOT change and nothing is interrupted. No traffic moves, no
connection drops, no infrastructure call is made — this is bookkeeping.
Two consequences, which are why this is your choice rather than something the
platform does for you:
- the address becomes QUOTA-COUNTED against your Public IP quota and BILLABLE
as a public IP, like any other address you hold
- the address becomes PINNED to this VPC, which is the point: it survives a
gateway, router or VPC rebuild instead of being redrawn, so it is finally
safe to publish or to give a partner to allow-list
Only a gateway in public-ip mode has an address of its own to adopt; a VPC still
in the withdrawn nat mode has none. Running this again on a gateway that has
already been adopted changes nothing.
Usage:
fm network gateway adopt-public-ip [flags]
Examples:
fm network gateway adopt-public-ip --vpc-id vpc-abc123
Flags:
-h, --help[=true|false] help for adopt-public-ip
--vpc-id string VPC ID (required)
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm network gateway create
text
Give a VPC outbound internet access.
--mode is required and is never defaulted, so a VPC never acquires an outbound
path because a flag was omitted. "public-ip" is the only mode: the VPC leaves
through its own router gateway. ("nat" is withdrawn — see below.)
--public-ip-id decides WHICH address that gateway uses, and the two answers are
not the same address with a different price. They differ in what you may do with
the address afterwards:
omitted the platform picks the address and keeps it HIDDEN. It has
no id, is in none of your public IP lists, draws nothing
from your Public IP quota and never reaches an invoice.
NOTHING PINS IT: it is redrawn if the router or the VPC is
rebuilt. Do NOT publish it, put it in DNS, or give it to a
partner to allow-list — the day it is redrawn, whatever
relied on it breaks with no warning.
--public-ip-id a Public IP of yours becomes the source address. It is
pinned to the VPC and survives a gateway, router or VPC
rebuild; it is listed in "fm network public-ip list",
counted against your Public IP quota, and billed as a
Public IP. THIS is the address that is safe to publish or
to give a partner to allow-list.
Started without one and need a stable address later? "fm network gateway
adopt-public-ip" turns the hidden address into a Public IP of yours in place —
same address, no interruption.
If the VPC already has a gateway, change it with
"fm network gateway set-mode" rather than creating a second one.
--tag (repeatable) sets the gateway's resource tags. The tenant's default tags
are merged in, a key you set winning — at create only; afterwards
"fm network gateway tags set" replaces the whole set.
The "nat" mode is WITHDRAWN and is refused here: the shared platform address it
used no longer exists, and it is not coming back. A VPC already on nat keeps
working until you move it with
"fm network gateway set-mode --vpc-id <vpc-id> --mode public-ip --yes".
Usage:
fm network gateway create [flags]
Examples:
fm network gateway create --vpc-id vpc-abc123 --mode public-ip
fm network gateway create --vpc-id vpc-abc123 --mode public-ip --public-ip-id pip-abc123
fm network gateway create --vpc-id vpc-abc123 --mode public-ip --tag env=prod
Flags:
-h, --help[=true|false] help for create
--mode string gateway mode (required): "public-ip" - internet access through the VPC's own router gateway. Without --public-ip-id the platform picks that source address and keeps it HIDDEN: no id, in none of your public IP lists, 0 public IPs drawn from your quota, never on an invoice - but nothing pins it, so it is redrawn if the router or VPC is rebuilt and must NOT be published or allow-listed. --public-ip-id instead names a Public IP of yours: pinned, listed, counted against your Public IP quota and billed as a Public IP - that is the address that is safe to publish
--public-ip-id string the Public IP of yours to use as this VPC's outbound source address (only with --mode public-ip): it is pinned to the VPC, listed in "fm network public-ip list", counted against your Public IP quota and billed as a Public IP - the address that is safe to publish or give a partner to allow-list. Omit it and the VPC sends its outbound traffic from a platform-allocated HIDDEN address instead: no id, in none of your public IP lists, no quota drawn, never on an invoice - and unpinned, so it is redrawn if the router or VPC is rebuilt. Do NOT publish or allow-list that one
--tag strings resource tag in key=value format (repeatable). The tenant's default tags are merged in; a key you set wins
--vpc-id string VPC ID (required)
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm network gateway delete
text
Remove a VPC's gateway.
This costs more than internet access. The VPC also loses DNS resolution and
managed-service connectivity, because both are reached over the same path.
--yes is required to confirm.
Usage:
fm network gateway delete [flags]
Examples:
fm network gateway delete --vpc-id vpc-abc123 --yes
Flags:
-h, --help[=true|false] help for delete
--vpc-id string VPC ID (required)
--yes[=true|false] confirm loss of internet, DNS and managed-service connectivity
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm network gateway get
text
Show a VPC's gateway.
A VPC with no gateway is reported as such rather than as an error. Note that an
unknown VPC id, or one belonging to another tenant, looks exactly the same — an
empty result is not proof that a VPC you own has no gateway. Pair it with
"fm network vpc get <vpc-id>", which does report a missing VPC.
Usage:
fm network gateway get [flags]
Examples:
fm network gateway get --vpc-id vpc-abc123
Flags:
-h, --help[=true|false] help for get
--vpc-id string VPC ID (required)
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm network gateway list
text
List every gateway in the tenant.
A VPC with no gateway is absent from this list rather than listed with an empty
address — "no gateway" is the absence of the resource, and such a VPC is
isolated.
To ask about one VPC, use "fm network gateway get --vpc-id <id>".
--tag narrows the list to gateways carrying every given key=value tag.
Usage:
fm network gateway list [flags]
Examples:
fm network gateway list
fm network gateway list --tag env=prod
Flags:
-h, --help[=true|false] help for list
--tag strings only gateways with this tag, key=value (repeatable; every one must match; key= matches an empty value)
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm network gateway set-mode
text
Change a VPC's gateway mode in place.
The gateway itself is not recreated, so it keeps its ID. Switching changes this VPC's outbound source address and drops existing connections, which must re-establish; internet access itself continues — the VPC is not taken off the internet, and
this is not the same as removing the gateway. Anything that allow-lists the
VPC's current source address has to be updated afterwards, and DNS and
managed-service traffic use the new address too, since they travel the same
path.
"public-ip" is the only mode: the VPC leaves through its own router gateway.
--public-ip-id decides which address that gateway uses.
--public-ip-id a Public IP of yours becomes the source address: pinned to
the VPC, listed in "fm network public-ip list", counted
against your Public IP quota and billed as a Public IP.
This is the address that is safe to publish or give a
partner to allow-list.
omitted the gateway keeps the address it already has. Entering
public-ip mode without one, the platform picks a HIDDEN
address: no id, in none of your public IP lists, no quota
drawn, never on an invoice — and pinned by nothing, so it
is redrawn if the router or the VPC is rebuilt. Do NOT
publish that one or give it to a partner to allow-list.
Switching a VPC OFF a Public IP of yours leaves that address in your tenant as an
unattached public IP: it stays quota-counted and billed as a Public IP until you
release it with "fm network public-ip release".
Passing a --public-ip-id that differs from the address the gateway already uses
is a real change even when the mode is unchanged: the VPC's outbound source
address moves to the new one, so it needs --yes like any other re-mode.
The "nat" mode is WITHDRAWN and is refused here. This command is how a VPC still
on nat moves off it: --mode public-ip gives it a router gateway of its own.
--yes is required to confirm.
Usage:
fm network gateway set-mode [flags]
Examples:
fm network gateway set-mode --vpc-id vpc-abc123 --mode public-ip --yes
fm network gateway set-mode --vpc-id vpc-abc123 --mode public-ip --public-ip-id pip-abc123 --yes
Flags:
-h, --help[=true|false] help for set-mode
--mode string gateway mode (required): "public-ip" - internet access through the VPC's own router gateway. Without --public-ip-id the platform picks that source address and keeps it HIDDEN: no id, in none of your public IP lists, 0 public IPs drawn from your quota, never on an invoice - but nothing pins it, so it is redrawn if the router or VPC is rebuilt and must NOT be published or allow-listed. --public-ip-id instead names a Public IP of yours: pinned, listed, counted against your Public IP quota and billed as a Public IP - that is the address that is safe to publish
--public-ip-id string the Public IP of yours to use as this VPC's outbound source address (only with --mode public-ip): it is pinned to the VPC, listed in "fm network public-ip list", counted against your Public IP quota and billed as a Public IP - the address that is safe to publish or give a partner to allow-list. Omit it and the VPC sends its outbound traffic from a platform-allocated HIDDEN address instead: no id, in none of your public IP lists, no quota drawn, never on an invoice - and unpinned, so it is redrawn if the router or VPC is rebuilt. Do NOT publish or allow-list that one
--vpc-id string VPC ID (required)
--yes[=true|false] confirm the source-address change and the loss of internet, DNS and managed-service connectivity during the switch
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm network gateway tags
text
Read and replace a VPC gateway's resource tags
Usage:
fm network gateway tags [command]
Aliases:
tags, tag
Available Commands:
get Show a VPC gateway's resource tags
set Replace a VPC gateway's resource tags
Flags:
-h, --help[=true|false] help for tags
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)
Use "fm network gateway tags [command] --help" for more information about a command.fm network gateway tags get
text
Show a VPC gateway's resource tags
Usage:
fm network gateway tags get --vpc-id <vpc-id> [flags]
Flags:
-h, --help[=true|false] help for get
--vpc-id string VPC ID (required)
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm network gateway tags set
text
Replace a VPC gateway's resource tags in place with exactly the given set
(replace semantics — any tag not listed is removed). Resource tags are your own
metadata for search and filtering: nothing else about the VPC gateway changes, and
the running service is not touched.
The set you pass IS the resulting set. To ADD one tag without disturbing the
others, read the current ones first with 'fm network gateway tags get' and pass them all
back. Use --clear to remove every tag. The tenant's default tags are not
re-applied.
A tag change is not a gateway change: it needs no --yes, does not touch the
VPC's connectivity and does not change its outbound source address.
Keys beginning frostmoln_ or frostmoln- (any letter case) are reserved and
refused. At most 32 tags; a key is 1-64 bytes, a value at most 256 bytes.
Examples:
fm network gateway tags set --vpc-id vpc-123 --tag env=prod --tag owner=team-a
fm network gateway tags set --vpc-id vpc-123 --clear
Usage:
fm network gateway tags set --vpc-id <vpc-id> --tag <key=value> [--tag <key=value> ...] [flags]
Flags:
--clear[=true|false] remove ALL tags (mutually exclusive with --tag)
-h, --help[=true|false] help for set
--tag strings tag in key=value format (repeatable; replace semantics)
--vpc-id string VPC ID (required)
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm network load-balancer
text
Manage load balancers, listeners, pools, members, and health monitors.
Type decision tree:
l7 (default) - HTTP/HTTPS/TLS termination, header insertion,
PROXY protocol. Runs on a managed data-plane VM.
l4 - TCP/UDP/SCTP only. No HTTP/HTTPS listeners, no header
insertion, no TLS termination, no PROXY protocol. Zero VM
overhead, source-IP preserving.
There is no in-place type migration: destroy and recreate to switch.
Listener allowed-cidr:
Listener access is deny-by-default. You MUST pass --allowed-cidr at least once.
To allow all sources explicitly, pass --allowed-cidr 0.0.0.0/0.
On an l4 load balancer 0.0.0.0/0 is the only accepted value: it cannot
restrict sources at the listener. The client IP is preserved, so restrict
sources in the backend members' security group instead.
PROXY protocol caveat:
When a pool sets --proxy-protocol v1|v2, the backend members MUST be configured
to accept PROXY protocol headers or traffic will break. Acknowledge with
--proxy-protocol-ack (or confirm interactively).
Examples:
fm network lb create --name web-lb --vpc vpc-123 --subnet subnet-456
fm network lb create --name l4-lb --vpc vpc-123 --subnet subnet-456 --type l4
fm network lb list
fm network lb get web-lb
fm network lb listener create --lb web-lb --name https --protocol https --port 443 --allowed-cidr 0.0.0.0/0
fm network lb pool create --lb web-lb --name web-pool --protocol http --algorithm round_robin
fm network lb member create --pool pool-789 --address 10.0.1.10 --port 8080
fm network lb delete web-lb
Usage:
fm network load-balancer [command]
Aliases:
load-balancer, lb, loadbalancer, lbs
Available Commands:
create Create a load balancer
delete Delete a load balancer
get Get load balancer details
health-monitor Manage pool health monitors
list List load balancers
listener Manage load balancer listeners
member Manage pool members
pool Manage load balancer pools
tags Read and replace a load balancer's tags
update Update a load balancer
Flags:
-h, --help[=true|false] help for load-balancer
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)
Use "fm network load-balancer [command] --help" for more information about a command.fm network load-balancer create
text
Create a new load balancer.
The load balancer is provisioned asynchronously and can take a few minutes. By
default the command waits until it becomes active. Use --no-wait to return
immediately.
Type:
l7 (default) - HTTP/HTTPS/TLS, header insertion, PROXY protocol.
l4 - TCP/UDP/SCTP only, source-IP preserving, lower overhead.
Scheme:
internal (default) - private VIP only, reachable within the VPC.
public - attach a pre-allocated public IP (--public-ip) to
the VIP for external reachability.
Examples:
fm network lb create --name web-lb --vpc vpc-123 --subnet subnet-456
fm network lb create --name l4-lb --vpc vpc-123 --subnet subnet-456 --type l4
fm network lb create --name pub-lb --vpc vpc-123 --subnet subnet-456 --scheme public --public-ip pip-789
fm network lb create --name web-lb --vpc vpc-123 --subnet subnet-456 --no-wait
Usage:
fm network load-balancer create [flags]
Flags:
--description string load balancer description
-h, --help[=true|false] help for create
--name string load balancer name (required)
--no-wait[=true|false] return immediately instead of waiting for provisioning
--public-ip string ID of a pre-allocated public IP to attach (required when --scheme public)
--scheme string reachability: internal (private VIP only) or public (attach a public IP) (default "internal")
--subnet string subnet ID (required)
--tag strings tags in key=value format
--type string load-balancer type: l7 (default) or l4 (default "l7")
--vip-address string requested VIP address
--vpc string VPC ID (required)
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm network load-balancer delete
text
Delete a load balancer.
Deletion cascades to all listeners, pools, and members. The
delete is asynchronous; by default the command waits until the load balancer is
gone. Use --no-wait to return immediately.
Examples:
fm network lb delete lb-123
fm network lb delete lb-123 --force --no-wait
Usage:
fm network load-balancer delete <load-balancer-id> [flags]
Flags:
--force[=true|false] skip confirmation prompt
-h, --help[=true|false] help for delete
--no-wait[=true|false] return immediately instead of waiting for deletion
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm network load-balancer get
text
Get detailed information about a specific load balancer.
Usage:
fm network load-balancer get <load-balancer-id> [flags]
Flags:
-h, --help[=true|false] help for get
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm network load-balancer health-monitor
text
Manage the health monitor of a load balancer pool.
A pool has at most one health monitor. It is scoped to a pool via --pool; the
owning load balancer is resolved automatically, or pass --lb to target it
directly and skip the lookup.
Examples:
fm network lb health-monitor create --pool pool-1 --type http --url-path /healthz
fm network lb health-monitor create --pool pool-1 --type tcp --delay 5 --timeout 3 --max-retries 3
fm network lb health-monitor create --lb lb-123 --pool pool-1 --type tcp
fm network lb health-monitor create --pool pool-1 --type tcp --tag env=prod
fm network lb health-monitor get --pool pool-1
fm network lb health-monitor tags get --pool pool-1
fm network lb health-monitor delete --pool pool-1
Usage:
fm network load-balancer health-monitor [command]
Aliases:
health-monitor, health-monitors, hm, healthmonitor
Available Commands:
create Create a health monitor
delete Delete the pool health monitor
get Get the pool health monitor
tags Read and replace a health monitor's tags
update Update the pool health monitor
Flags:
-h, --help[=true|false] help for health-monitor
--lb string load balancer ID that owns the pool (optional; skips the owning-LB lookup)
--pool string pool ID (required)
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)
Use "fm network load-balancer health-monitor [command] --help" for more information about a command.fm network load-balancer health-monitor create
text
Create a health monitor on a pool.
Usage:
fm network load-balancer health-monitor create [flags]
Flags:
--delay int seconds between health checks (default 5)
-h, --help[=true|false] help for create
--http-method string HTTP method to use for probing
--max-retries int failed checks before marking a member down (default 3)
--name string health monitor name
--no-wait[=true|false] return once the request is accepted instead of waiting for it to complete
--tag strings tags in key=value format (repeatable)
--timeout int seconds to wait for a response (default 3)
--type string health check type: tcp, http, https (required)
--url-path string HTTP URL path to probe
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--lb string load balancer ID that owns the pool (optional; skips the owning-LB lookup)
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
--pool string pool ID (required)
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm network load-balancer health-monitor delete
text
Delete the health monitor of a pool.
Usage:
fm network load-balancer health-monitor delete [flags]
Flags:
-h, --help[=true|false] help for delete
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--lb string load balancer ID that owns the pool (optional; skips the owning-LB lookup)
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
--pool string pool ID (required)
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm network load-balancer health-monitor get
text
Get the health monitor of a pool.
Usage:
fm network load-balancer health-monitor get [flags]
Flags:
-h, --help[=true|false] help for get
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--lb string load balancer ID that owns the pool (optional; skips the owning-LB lookup)
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
--pool string pool ID (required)
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm network load-balancer health-monitor tags
text
Read and replace a health monitor's tags
Usage:
fm network load-balancer health-monitor tags [command]
Aliases:
tags, tag
Available Commands:
get Show a health monitor's tags
set Replace a health monitor's tags
Flags:
-h, --help[=true|false] help for tags
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--lb string load balancer ID that owns the pool (optional; skips the owning-LB lookup)
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
--pool string pool ID (required)
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)
Use "fm network load-balancer health-monitor tags [command] --help" for more information about a command.fm network load-balancer health-monitor tags get
text
Show a health monitor's tags
Usage:
fm network load-balancer health-monitor tags get [flags]
Flags:
-h, --help[=true|false] help for get
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--lb string load balancer ID that owns the pool (optional; skips the owning-LB lookup)
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
--pool string pool ID (required)
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm network load-balancer health-monitor tags set
text
Replace a pool health monitor's tags in place with exactly the given
set (replace semantics — any tag not listed is removed).
The set you pass IS the resulting set. To ADD one tag without disturbing the
others, read the current ones first with 'fm network lb health-monitor tags get' and
pass them all back.
Use --clear to remove every tag.
These are the health monitor's OWN tags. Its pool and the load balancer carry
their own and are untouched.
The write is asynchronous — it is accepted immediately and applied by a
workflow, so a following 'tags get' may briefly still show the old set.
Examples:
fm network lb health-monitor tags set --pool pool-1 --tag env=prod --tag owner=team-a
fm network lb health-monitor tags set --pool pool-1 --clear
Usage:
fm network load-balancer health-monitor tags set --pool <pool-id> --tag <key=value> [--tag <key=value> ...] [flags]
Flags:
--clear[=true|false] remove ALL tags (mutually exclusive with --tag)
-h, --help[=true|false] help for set
--tag strings tag in key=value format (repeatable; replace semantics)
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--lb string load balancer ID that owns the pool (optional; skips the owning-LB lookup)
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
--pool string pool ID (required)
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm network load-balancer health-monitor update
text
Update the health monitor of a pool.
Usage:
fm network load-balancer health-monitor update [flags]
Flags:
--delay int seconds between health checks
-h, --help[=true|false] help for update
--http-method string HTTP method to use for probing
--max-retries int failed checks before marking a member down
--name string new name
--no-wait[=true|false] return once the request is accepted instead of waiting for it to complete
--timeout int seconds to wait for a response
--url-path string HTTP URL path to probe
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--lb string load balancer ID that owns the pool (optional; skips the owning-LB lookup)
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
--pool string pool ID (required)
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm network load-balancer list
text
List all load balancers.
Examples:
fm network lb list
fm network lb list --name web-lb
Usage:
fm network load-balancer list [flags]
Flags:
-h, --help[=true|false] help for list
--name string filter by name
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm network load-balancer listener
text
Manage load balancer listeners.
Listener access is deny-by-default: you MUST pass --allowed-cidr at least once on
create. To allow all sources explicitly, pass --allowed-cidr 0.0.0.0/0. On an l4
load balancer 0.0.0.0/0 is the only accepted value; restrict sources in the
backend members' security group instead (the client IP is preserved).
L7 protocols (http, https, terminated_https), --insert-header and
--tls-certificate require the l7 type. They are rejected on l4 load
balancers, which are L4-only (tcp, udp, sctp).
Examples:
fm network lb listener create --lb lb-123 --name https --protocol https --port 443 --allowed-cidr 0.0.0.0/0
fm network lb listener create --lb l7-lb-123 --name tcp --protocol tcp --port 5432 --allowed-cidr 10.0.0.0/8 # restricting sources needs an l7 LB
fm network lb listener list --lb lb-123
fm network lb listener delete --lb lb-123 listener-1
Usage:
fm network load-balancer listener [command]
Aliases:
listener, listeners
Available Commands:
create Create a listener
delete Delete a listener
get Get listener details
list List listeners
update Update a listener
Flags:
-h, --help[=true|false] help for listener
--lb string load balancer ID (required)
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)
Use "fm network load-balancer listener [command] --help" for more information about a command.fm network load-balancer listener create
text
Create a listener on a load balancer.
You MUST pass --allowed-cidr at least once (deny-by-default). Pass
--allowed-cidr 0.0.0.0/0 to allow all sources explicitly. On an l4 load
balancer 0.0.0.0/0 is the only accepted value; restrict sources in the
backend members' security group instead (the client IP is preserved).
Usage:
fm network load-balancer listener create [flags]
Flags:
--allowed-cidr strings allowed source CIDR (required, repeatable; use 0.0.0.0/0 to allow all)
--default-pool string default pool ID
--description string listener description
-h, --help[=true|false] help for create
--insert-header strings headers to insert in key=value format (type l7 only)
--name string listener name (required)
--no-wait[=true|false] return once the request is accepted instead of waiting for it to complete
--port int listener port (required)
--protocol string protocol: tcp, udp, http, https, terminated_https, sctp (required)
--tls-certificate string TLS certificate ID (type l7 only)
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--lb string load balancer ID (required)
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm network load-balancer listener delete
text
Delete a listener from a load balancer.
Usage:
fm network load-balancer listener delete <listener-id> [flags]
Flags:
-h, --help[=true|false] help for delete
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--lb string load balancer ID (required)
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm network load-balancer listener get
text
Get detailed information about a specific listener.
Usage:
fm network load-balancer listener get <listener-id> [flags]
Flags:
-h, --help[=true|false] help for get
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--lb string load balancer ID (required)
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm network load-balancer listener list
text
List the listeners of a load balancer.
Usage:
fm network load-balancer listener list [flags]
Flags:
-h, --help[=true|false] help for list
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--lb string load balancer ID (required)
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm network load-balancer listener update
text
Update a listener's name or description.
Usage:
fm network load-balancer listener update <listener-id> [flags]
Flags:
--allowed-cidr strings replace allowed source CIDRs
--description string new description
-h, --help[=true|false] help for update
--name string new name
--no-wait[=true|false] return once the request is accepted instead of waiting for it to complete
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--lb string load balancer ID (required)
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm network load-balancer member
text
Manage members of a load balancer pool.
Members are scoped to a pool via --pool. The owning load balancer is resolved
automatically from the pool; pass --lb to target it directly and skip the lookup.
Examples:
fm network lb member create --pool pool-1 --address 10.0.1.10 --port 8080
fm network lb member create --lb lb-123 --pool pool-1 --address 10.0.1.10 --port 8080
fm network lb member create --pool pool-1 --address 10.0.2.10 --port 8080 --weight 2
fm network lb member create --pool pool-1 --address 192.168.9.5 --port 8080 --cross-vpc
fm network lb member list --pool pool-1
fm network lb member delete --pool pool-1 member-1
Usage:
fm network load-balancer member [command]
Aliases:
member, members
Available Commands:
create Create a pool member
delete Delete a pool member
get Get pool member details
list List pool members
tags Read and replace a pool member's tags
update Update a pool member
Flags:
-h, --help[=true|false] help for member
--lb string load balancer ID that owns the pool (optional; skips the owning-LB lookup)
--pool string pool ID (required)
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)
Use "fm network load-balancer member [command] --help" for more information about a command.fm network load-balancer member create
text
Create a member on a pool.
--tag (repeatable) sets the member's resource tags. The tenant's default tags are
merged in, a key you set winning — at create only; afterwards
'fm network lb member tags set' replaces the whole set.
Usage:
fm network load-balancer member create [flags]
Flags:
--address string member IP address (required)
--cross-vpc[=true|false] acknowledge the member is outside the load balancer's VPC subnet
-h, --help[=true|false] help for create
--name string member name
--no-wait[=true|false] return once the request is accepted instead of waiting for it to complete
--port int member port (required)
--subnet string member subnet ID
--tag strings resource tag in key=value format (repeatable). The tenant's default tags are merged in; a key you set wins
--weight int member weight
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--lb string load balancer ID that owns the pool (optional; skips the owning-LB lookup)
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
--pool string pool ID (required)
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm network load-balancer member delete
text
Delete a member from a pool.
Usage:
fm network load-balancer member delete <member-id> [flags]
Flags:
-h, --help[=true|false] help for delete
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--lb string load balancer ID that owns the pool (optional; skips the owning-LB lookup)
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
--pool string pool ID (required)
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm network load-balancer member get
text
Get detailed information about a specific pool member.
Usage:
fm network load-balancer member get <member-id> [flags]
Flags:
-h, --help[=true|false] help for get
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--lb string load balancer ID that owns the pool (optional; skips the owning-LB lookup)
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
--pool string pool ID (required)
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm network load-balancer member list
text
List the members of a pool.
Usage:
fm network load-balancer member list [flags]
Flags:
-h, --help[=true|false] help for list
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--lb string load balancer ID that owns the pool (optional; skips the owning-LB lookup)
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
--pool string pool ID (required)
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm network load-balancer member tags
text
Read and replace a pool member's tags
Usage:
fm network load-balancer member tags [command]
Aliases:
tags, tag
Available Commands:
get Show a pool member's tags
set Replace a pool member's tags
Flags:
-h, --help[=true|false] help for tags
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--lb string load balancer ID that owns the pool (optional; skips the owning-LB lookup)
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
--pool string pool ID (required)
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)
Use "fm network load-balancer member tags [command] --help" for more information about a command.fm network load-balancer member tags get
text
Show a pool member's tags
Usage:
fm network load-balancer member tags get <member-id> [flags]
Flags:
-h, --help[=true|false] help for get
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--lb string load balancer ID that owns the pool (optional; skips the owning-LB lookup)
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
--pool string pool ID (required)
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm network load-balancer member tags set
text
Replace a pool member's tags in place with exactly the given set (replace
semantics — any tag not listed is removed).
The set you pass IS the resulting set. To ADD one tag without disturbing the
others, read the current ones first with 'fm network lb member tags get' and pass them
all back.
Use --clear to remove every tag. The tenant's default tags are not re-applied:
they are merged in only when the member is created.
These are the member's OWN tags. The load balancer, its listeners, the pool and
its health monitor carry their own and are untouched, and a tag change does not
touch the load balancer's configuration.
The write is asynchronous — it is accepted immediately and applied by a
workflow, so a following 'tags get' may briefly still show the old set.
Examples:
fm network lb member tags set --pool pool-1 member-1 --tag env=prod --tag owner=team-a
fm network lb member tags set --lb lb-123 --pool pool-1 member-1 --clear
Usage:
fm network load-balancer member tags set <member-id> --tag <key=value> [--tag <key=value> ...] [flags]
Flags:
--clear[=true|false] remove ALL tags (mutually exclusive with --tag)
-h, --help[=true|false] help for set
--tag strings tag in key=value format (repeatable; replace semantics)
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--lb string load balancer ID that owns the pool (optional; skips the owning-LB lookup)
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
--pool string pool ID (required)
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm network load-balancer member update
text
Update a pool member's name or weight.
Usage:
fm network load-balancer member update <member-id> [flags]
Flags:
-h, --help[=true|false] help for update
--name string new name
--no-wait[=true|false] return once the request is accepted instead of waiting for it to complete
--weight int new weight
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--lb string load balancer ID that owns the pool (optional; skips the owning-LB lookup)
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
--pool string pool ID (required)
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm network load-balancer pool
text
Manage load balancer pools of backend members.
PROXY protocol (--proxy-protocol v1|v2) makes the load balancer prepend a PROXY
header so members see the real client source IP. The backend members MUST be
configured to accept it or traffic will break - acknowledge with
--proxy-protocol-ack. PROXY protocol requires type l7; it is
rejected on l4 load balancers.
Examples:
fm network lb pool create --lb lb-123 --name web --protocol http --algorithm round_robin
fm network lb pool create --lb lb-123 --listener listener-1 --name web --protocol http --algorithm least_connections
fm network lb pool create --lb lb-123 --name proxied --protocol tcp --algorithm source_ip --proxy-protocol v2 --proxy-protocol-ack
fm network lb pool create --lb lb-123 --name web --protocol http --algorithm round_robin --tag env=prod
fm network lb pool list --lb lb-123
fm network lb pool tags get --lb lb-123 pool-1
fm network lb pool delete --lb lb-123 pool-1
Usage:
fm network load-balancer pool [command]
Aliases:
pool, pools
Available Commands:
create Create a pool
delete Delete a pool
get Get pool details
list List pools
tags Read and replace a pool's tags
update Update a pool
Flags:
-h, --help[=true|false] help for pool
--lb string load balancer ID (required)
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)
Use "fm network load-balancer pool [command] --help" for more information about a command.fm network load-balancer pool create
text
Create a pool on a load balancer.
Usage:
fm network load-balancer pool create [flags]
Flags:
--algorithm string algorithm: round_robin, least_connections, source_ip, source_ip_port (required)
--description string pool description
-h, --help[=true|false] help for create
--listener string listener ID to attach the pool to
--name string pool name (required)
--no-wait[=true|false] return once the request is accepted instead of waiting for it to complete
--protocol string protocol: tcp, udp, http, https, terminated_https, sctp (required)
--proxy-protocol string PROXY protocol: none, v1, v2 (type l7 only) (default "none")
--proxy-protocol-ack[=true|false] acknowledge that members accept PROXY protocol
--tag strings tags in key=value format (repeatable)
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--lb string load balancer ID (required)
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm network load-balancer pool delete
text
Delete a pool from a load balancer.
Usage:
fm network load-balancer pool delete <pool-id> [flags]
Flags:
-h, --help[=true|false] help for delete
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--lb string load balancer ID (required)
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm network load-balancer pool get
text
Get detailed information about a specific pool.
Usage:
fm network load-balancer pool get <pool-id> [flags]
Flags:
-h, --help[=true|false] help for get
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--lb string load balancer ID (required)
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm network load-balancer pool list
text
List the pools of a load balancer.
Usage:
fm network load-balancer pool list [flags]
Flags:
-h, --help[=true|false] help for list
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--lb string load balancer ID (required)
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm network load-balancer pool tags
text
Read and replace a pool's tags
Usage:
fm network load-balancer pool tags [command]
Aliases:
tags, tag
Available Commands:
get Show a pool's tags
set Replace a pool's tags
Flags:
-h, --help[=true|false] help for tags
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--lb string load balancer ID (required)
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)
Use "fm network load-balancer pool tags [command] --help" for more information about a command.fm network load-balancer pool tags get
text
Show a pool's tags
Usage:
fm network load-balancer pool tags get <pool-id> [flags]
Flags:
-h, --help[=true|false] help for get
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--lb string load balancer ID (required)
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm network load-balancer pool tags set
text
Replace a pool's tags in place with exactly the given set (replace
semantics — any tag not listed is removed).
The set you pass IS the resulting set. To ADD one tag without disturbing the
others, read the current ones first with 'fm network lb pool tags get' and pass them
all back.
Use --clear to remove every tag.
These are the pool's OWN tags. The load balancer, its listeners, its members
and the pool's health monitor carry their own and are untouched.
The write is asynchronous — it is accepted immediately and applied by a
workflow, so a following 'tags get' may briefly still show the old set.
Examples:
fm network lb pool tags set --lb lb-123 pool-1 --tag env=prod --tag owner=team-a
fm network lb pool tags set --lb lb-123 pool-1 --clear
Usage:
fm network load-balancer pool tags set <pool-id> --tag <key=value> [--tag <key=value> ...] [flags]
Flags:
--clear[=true|false] remove ALL tags (mutually exclusive with --tag)
-h, --help[=true|false] help for set
--tag strings tag in key=value format (repeatable; replace semantics)
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--lb string load balancer ID (required)
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm network load-balancer pool update
text
Update a pool's name, description, or algorithm.
Usage:
fm network load-balancer pool update <pool-id> [flags]
Flags:
--algorithm string new algorithm: round_robin, least_connections, source_ip, source_ip_port
--description string new description
-h, --help[=true|false] help for update
--name string new name
--no-wait[=true|false] return once the request is accepted instead of waiting for it to complete
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--lb string load balancer ID (required)
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm network load-balancer tags
text
Read and replace a load balancer's tags
Usage:
fm network load-balancer tags [command]
Aliases:
tags, tag
Available Commands:
get Show a load balancer's tags
set Replace a load balancer's tags
Flags:
-h, --help[=true|false] help for tags
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)
Use "fm network load-balancer tags [command] --help" for more information about a command.fm network load-balancer tags get
text
Show the resource's tags: yours one key=value per line, then any keys the
platform manages, listed separately as read-only. Those are kept when you
replace your tags, so they are not part of the set to pass to 'tags set'.
Under -o json or -o yaml only your own tags are printed — exactly the set 'tags
set' accepts, so the output can be fed back to it. Pass --include-platform to
print every key instead, the platform's included.
A key or value that contains a comma, '=', a quote, leading, trailing or
repeated spaces, or any unusual character is shown quoted, and one longer than
256 characters is cut short with '…'.
Usage:
fm network load-balancer tags get <load-balancer-id> [flags]
Flags:
-h, --help[=true|false] help for get
--include-platform[=true|false] under -o json/yaml, print every key, the platform's included (default: only yours, the set 'tags set' accepts)
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm network load-balancer tags set
text
Replace a load balancer's tags in place with exactly the given set
(replace semantics — any tag not listed is removed).
The set you pass IS the resulting set. To ADD one tag without disturbing the
others, read the current ones first with 'fm network lb tags get' and pass them all
back.
Use --clear to remove every tag.
Keys in the platform's frostmoln_ namespace are Frostmoln's, not yours:
'tags get' lists them apart from your tags, the API refuses a --tag that sets
one, and the replace keeps them. Leave them out; --clear removes only your own
tags.
These are the load balancer's OWN tags. Listeners, pools, members and health
monitors carry their own and are untouched — see 'fm network lb pool tags' and
'fm network lb health-monitor tags'.
Examples:
fm network lb tags set lb-123 --tag env=prod --tag owner=team-a
fm network lb tags set lb-123 --clear
Usage:
fm network load-balancer tags set <load-balancer-id> --tag <key=value> [--tag <key=value> ...] [flags]
Flags:
--clear[=true|false] remove ALL tags (mutually exclusive with --tag)
-h, --help[=true|false] help for set
--tag strings tag in key=value format (repeatable; replace semantics)
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm network load-balancer update
text
Update a load balancer's name or description.
Examples:
fm network lb update lb-123 --name new-name
fm network lb update lb-123 --description "Production frontend"
Usage:
fm network load-balancer update <load-balancer-id> [flags]
Flags:
--description string new description
-h, --help[=true|false] help for update
--name string new name
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm network public-ip
text
Manage public (elastic) IP addresses.
Usage:
fm network public-ip [command]
Aliases:
public-ip, fip, elastic-ip
Available Commands:
allocate Allocate a public IP
associate Associate a public IP with an instance
disassociate Disassociate a public IP from an instance
get Get public IP details
list List public IPs
release Release a public IP
tags Read and replace a public IP's tags
Flags:
-h, --help[=true|false] help for public-ip
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)
Use "fm network public-ip [command] --help" for more information about a command.fm network public-ip allocate
text
Allocate a new public IP address.
Examples:
fm network public-ip allocate
fm network public-ip allocate --region sweden
Usage:
fm network public-ip allocate [flags]
Flags:
-h, --help[=true|false] help for allocate
--no-wait[=true|false] return once the request is accepted instead of waiting for it to complete
--region string region to allocate in
--tag strings tags in key=value format
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm network public-ip associate
text
Associate a public IP address with a compute instance.
The public IP is bound to the instance's network port, resolved from the
instance automatically. For an instance with multiple network ports, pass
--port-id to choose which one (or to bind a port directly without an instance).
Usage:
fm network public-ip associate <public-ip-id> [instance-id] [flags]
Flags:
-h, --help[=true|false] help for associate
--no-wait[=true|false] return once the request is accepted instead of waiting for it to complete
--port-id string bind a specific port directly (overrides instance lookup; required for multi-NIC instances)
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm network public-ip disassociate
text
Disassociate a public IP address from a compute instance.
Usage:
fm network public-ip disassociate <public-ip-id> [flags]
Flags:
-h, --help[=true|false] help for disassociate
--no-wait[=true|false] return once the request is accepted instead of waiting for it to complete
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm network public-ip get
text
Get detailed information about a specific public IP.
Usage:
fm network public-ip get <public-ip-id> [flags]
Flags:
-h, --help[=true|false] help for get
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm network public-ip list
text
List all public IP addresses.
Usage:
fm network public-ip list [flags]
Flags:
-h, --help[=true|false] help for list
--status string filter by status: available, in_use, pending, error
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm network public-ip release
text
Release (delete) a public IP address.
This is IRREVERSIBLE and it is the only irreversible action on this resource.
The address returns to the platform pool: you cannot get that address back, and
anything that allow-lists it or resolves to it stops working. To free an address
temporarily, detach it with "fm network public-ip disassociate <id>" instead.
You are asked to confirm unless --force is given, and the prompt names the
address and what currently holds it.
An address that is a VPC's outbound source address cannot be released while it
is: the API refuses it, because releasing it would change what that VPC's
traffic comes from and take its internet, DNS and managed-service path with it.
Point that VPC at another address first —
"fm network public-ip get <id>" says which VPC holds it.
Usage:
fm network public-ip release <public-ip-id> [flags]
Flags:
--force[=true|false] skip the confirmation prompt (required in scripts; the release is irreversible)
-h, --help[=true|false] help for release
--no-wait[=true|false] return once the request is accepted instead of waiting for it to complete
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm network public-ip tags
text
Read and replace a public IP's tags
Usage:
fm network public-ip tags [command]
Aliases:
tags, tag
Available Commands:
get Show a public IP's tags
set Replace a public IP's tags
Flags:
-h, --help[=true|false] help for tags
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)
Use "fm network public-ip tags [command] --help" for more information about a command.fm network public-ip tags get
text
Show the resource's tags: yours one key=value per line, then any keys the
platform manages, listed separately as read-only. Those are kept when you
replace your tags, so they are not part of the set to pass to 'tags set'.
Under -o json or -o yaml only your own tags are printed — exactly the set 'tags
set' accepts, so the output can be fed back to it. Pass --include-platform to
print every key instead, the platform's included.
A key or value that contains a comma, '=', a quote, leading, trailing or
repeated spaces, or any unusual character is shown quoted, and one longer than
256 characters is cut short with '…'.
Usage:
fm network public-ip tags get <public-ip-id> [flags]
Flags:
-h, --help[=true|false] help for get
--include-platform[=true|false] under -o json/yaml, print every key, the platform's included (default: only yours, the set 'tags set' accepts)
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm network public-ip tags set
text
Replace a public IP's tags in place with exactly the given set
(replace semantics — any tag not listed is removed).
The set you pass IS the resulting set. To ADD one tag without disturbing the
others, read the current ones first with 'fm network public-ip tags get' and
pass them all back.
Use --clear to remove every tag.
Keys in the platform's frostmoln_ namespace are Frostmoln's, not yours:
'tags get' lists them apart from your tags, the API refuses a --tag that sets
one, and the replace keeps them. Leave them out; --clear removes only your own
tags.
An address that is a VPC's outbound source address carries no floating IP to
hold tags, so the API refuses the update and names the VPC — nothing is changed.
Examples:
fm network public-ip tags set pip-123 --tag env=prod --tag owner=team-a
fm network public-ip tags set pip-123 --clear
Usage:
fm network public-ip tags set <public-ip-id> --tag <key=value> [--tag <key=value> ...] [flags]
Flags:
--clear[=true|false] remove ALL tags (mutually exclusive with --tag)
-h, --help[=true|false] help for set
--tag strings tag in key=value format (repeatable; replace semantics)
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm network security-group
text
Manage security groups (firewalls).
Usage:
fm network security-group [command]
Aliases:
security-group, security-groups, sg, firewall
Available Commands:
add-rule Add a rule to a security group
create Create a security group
delete Delete a security group
delete-rule Delete a rule from a security group
get Get security group details
list List security groups
tags Read and replace a security group's tags
Flags:
-h, --help[=true|false] help for security-group
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)
Use "fm network security-group [command] --help" for more information about a command.fm network security-group add-rule
text
Add a firewall rule to a security group.
Examples:
fm network security-group add-rule sg-123 --direction ingress --protocol tcp --port 22 --cidr 0.0.0.0/0
fm network security-group add-rule sg-123 --direction ingress --protocol tcp --port-min 80 --port-max 443 --cidr 10.0.0.0/8
fm network security-group add-rule sg-123 --direction egress --protocol any --cidr 0.0.0.0/0
Usage:
fm network security-group add-rule <security-group-id> [flags]
Flags:
--cidr string source/destination CIDR
--direction string rule direction: ingress or egress (required)
-h, --help[=true|false] help for add-rule
--no-wait[=true|false] return once the request is accepted instead of waiting for it to complete
--port int single port number
--port-max int maximum port number
--port-min int minimum port number
--protocol string protocol: tcp, udp, icmp, any (required)
--rule-description string rule description
--source-group string source security group ID
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm network security-group create
text
Create a new security group.
Examples:
fm network security-group create --name web-servers
fm network security-group create --name db-servers --vpc vpc-123 --description "Database servers"
fm network security-group create --name web-servers --tag env=prod --tag owner=team-a
Usage:
fm network security-group create [flags]
Flags:
--description string security group description
-h, --help[=true|false] help for create
--name string security group name (required)
--no-wait[=true|false] return once the request is accepted instead of waiting for it to complete
--tag strings tags in key=value format
--vpc string VPC ID
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm network security-group delete
text
Delete a security group.
Usage:
fm network security-group delete <security-group-id> [flags]
Flags:
-h, --help[=true|false] help for delete
--no-wait[=true|false] return once the request is accepted instead of waiting for it to complete
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm network security-group delete-rule
text
Delete a firewall rule from a security group.
Usage:
fm network security-group delete-rule <security-group-id> <rule-id> [flags]
Flags:
-h, --help[=true|false] help for delete-rule
--no-wait[=true|false] return once the request is accepted instead of waiting for it to complete
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm network security-group get
text
Get detailed information about a specific security group.
Usage:
fm network security-group get <security-group-id> [flags]
Flags:
-h, --help[=true|false] help for get
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm network security-group list
text
List all security groups.
Usage:
fm network security-group list [flags]
Flags:
-h, --help[=true|false] help for list
--vpc string filter by VPC ID
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm network security-group tags
text
Read and replace a security group's tags
Usage:
fm network security-group tags [command]
Aliases:
tags, tag
Available Commands:
get Show a security group's tags
set Replace a security group's tags
Flags:
-h, --help[=true|false] help for tags
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)
Use "fm network security-group tags [command] --help" for more information about a command.fm network security-group tags get
text
Show the resource's tags: yours one key=value per line, then any keys the
platform manages, listed separately as read-only. Those are kept when you
replace your tags, so they are not part of the set to pass to 'tags set'.
Under -o json or -o yaml only your own tags are printed — exactly the set 'tags
set' accepts, so the output can be fed back to it. Pass --include-platform to
print every key instead, the platform's included.
A key or value that contains a comma, '=', a quote, leading, trailing or
repeated spaces, or any unusual character is shown quoted, and one longer than
256 characters is cut short with '…'.
Usage:
fm network security-group tags get <security-group-id> [flags]
Flags:
-h, --help[=true|false] help for get
--include-platform[=true|false] under -o json/yaml, print every key, the platform's included (default: only yours, the set 'tags set' accepts)
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm network security-group tags set
text
Replace a security group's tags in place with exactly the given set
(replace semantics — any tag not listed is removed).
The set you pass IS the resulting set. To ADD one tag without disturbing the
others, read the current ones first with 'fm network security-group tags get'
and pass them all back.
Use --clear to remove every tag.
Keys in the platform's frostmoln_ namespace are Frostmoln's, not yours:
'tags get' lists them apart from your tags, the API refuses a --tag that sets
one, and the replace keeps them. Leave them out; --clear removes only your own
tags.
Only the tags change: the group's name, description and rules are left as they
are. A security group Frostmoln manages for a managed service cannot be
modified, so the API refuses the update and nothing is changed.
Examples:
fm network security-group tags set sg-123 --tag env=prod --tag owner=team-a
fm network security-group tags set sg-123 --clear
Usage:
fm network security-group tags set <security-group-id> --tag <key=value> [--tag <key=value> ...] [flags]
Flags:
--clear[=true|false] remove ALL tags (mutually exclusive with --tag)
-h, --help[=true|false] help for set
--tag strings tag in key=value format (repeatable; replace semantics)
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm network subnet
text
Manage subnets within VPCs.
Usage:
fm network subnet [command]
Aliases:
subnet, subnets
Available Commands:
create Create a subnet
delete Delete a subnet
get Get subnet details
list List subnets
Flags:
-h, --help[=true|false] help for subnet
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)
Use "fm network subnet [command] --help" for more information about a command.fm network subnet create
text
Create a new subnet within a VPC.
Examples:
fm network subnet create --name public --cidr 10.0.1.0/24 --vpc vpc-123
fm network subnet create --name private --cidr 10.0.2.0/24 --vpc vpc-123 --zone sweden-a
Usage:
fm network subnet create [flags]
Flags:
--cidr string subnet CIDR block (required)
--description string subnet description
--dns strings DNS server addresses
--gateway string gateway IP address
-h, --help[=true|false] help for create
--name string subnet name (required)
--no-wait[=true|false] return once the request is accepted instead of waiting for it to complete
--tag strings tags in key=value format
--vpc string VPC ID (required)
--zone string availability zone
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm network subnet delete
text
Delete a subnet.
Usage:
fm network subnet delete <subnet-id> [flags]
Flags:
-h, --help[=true|false] help for delete
--no-wait[=true|false] return once the request is accepted instead of waiting for it to complete
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm network subnet get
text
Get detailed information about a specific subnet.
Usage:
fm network subnet get <subnet-id> [flags]
Flags:
-h, --help[=true|false] help for get
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm network subnet list
text
List all subnets.
Usage:
fm network subnet list [flags]
Flags:
-h, --help[=true|false] help for list
--vpc string filter by VPC ID
--zone string filter by zone
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm network vpc
text
Manage Virtual Private Clouds (VPCs).
Usage:
fm network vpc [command]
Aliases:
vpc, vpcs
Available Commands:
create Create a VPC
delete Delete a VPC
get Get VPC details
list List VPCs
route Manage a VPC's static routes
tags Read and replace a VPC's tags
update Update a VPC
Flags:
-h, --help[=true|false] help for vpc
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)
Use "fm network vpc [command] --help" for more information about a command.fm network vpc create
text
Create a new VPC.
Internal DNS: every VPC gets a DNS label, and with it the internal domain
<label>.<tenant>.<org>.fm.internal, inside which its VMs resolve by name
(<instance-name>.<domain>) from inside the VPC only. Without --dns-label the
label is derived from --name (lowercased, other characters become '-', at most
63) and a derived label never fails: one already used in the tenant gets -2, -3.
An explicit --dns-label must be free in the tenant, or the create fails with
VPCDNSLabelTaken. The label can never be changed afterwards, not even by a
rename.
Examples:
fm network vpc create --name my-vpc --cidr 10.0.0.0/16
fm network vpc create --name production --cidr 172.16.0.0/12 --description "Production VPC"
fm network vpc create --name "Malmö Väst" --cidr 10.1.0.0/16 --dns-label malmo
Usage:
fm network vpc create [flags]
Flags:
--cidr string VPC CIDR block (required)
--description string VPC description
--dns-label string the VPC's DNS label (an RFC 1123 label: a-z, 0-9, '-', at most 63; must be free in the tenant). Default: derived from --name. Cannot be changed after create
--gateway string outbound connectivity for the VPC: "none" (default when omitted; isolated - no internet, no DNS, no managed-service connectivity, spends 0 public IPs) or "public-ip" (internet access through the VPC's own router gateway; the platform picks that source address and keeps it hidden - it has no id, is in none of your public IP lists, draws 0 public IPs from your quota and never reaches an invoice, but nothing pins it, so it is redrawn if the router or VPC is rebuilt and must NOT be published or given to a partner to allow-list. For an address that is pinned, listed, counted against your Public IP quota and billed as a Public IP, attach one of your own afterwards with "fm network gateway set-mode --public-ip-id")
-h, --help[=true|false] help for create
--name string VPC name (required)
--no-wait[=true|false] return once the request is accepted instead of waiting for it to complete
--tag strings tags in key=value format
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm network vpc delete
text
Delete a VPC.
By default, the VPC must be empty; deleting a VPC that still has subnets (or
other child resources) fails with a message listing what must be removed first.
--force cascade-deletes the VPC's own NETWORKING: its subnets and security
groups, any network interfaces left in it, the Public IPs attached to those
interfaces (which cannot be reclaimed), and the router attachment. It does not
remove anything running in the VPC, and it refuses while any such resource is
still there — load balancers, instances, and the managed services that run on
them (databases, caches, message brokers, web servers, Kubernetes nodes),
including stopped ones. Delete those first.
The delete is asynchronous; by default the command waits until the VPC is gone
and reports the real outcome. Use --no-wait to return as soon as the request is
accepted.
Examples:
fm network vpc delete vpc-123
fm network vpc delete vpc-123 --force
fm network vpc delete vpc-123 --no-wait
Usage:
fm network vpc delete <vpc-id> [flags]
Flags:
--force[=true|false] cascade-delete the VPC's own networking (refuses while anything is still running in it)
-h, --help[=true|false] help for delete
--no-wait[=true|false] return once the request is accepted instead of waiting for it to complete
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm network vpc get
text
Get detailed information about a specific VPC.
Usage:
fm network vpc get <vpc-id> [flags]
Flags:
-h, --help[=true|false] help for get
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm network vpc list
text
List all VPCs.
Usage:
fm network vpc list [flags]
Flags:
-h, --help[=true|false] help for list
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm network vpc route
text
Manage a VPC's static routes
Usage:
fm network vpc route [command]
Aliases:
route, routes
Available Commands:
add Add a static route to a VPC
list List a VPC's static routes
remove Remove a static route from a VPC
Flags:
-h, --help[=true|false] help for route
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)
Use "fm network vpc route [command] --help" for more information about a command.fm network vpc route add
text
Add one static route to a VPC.
The next hop is an address on a subnet attached to this VPC, or the reserved
token 'internet', which means "out this VPC's own internet gateway". A route is
matched on its DESTINATION only, so it applies to every instance in the VPC.
A DEFAULT ROUTE (0.0.0.0/0) sends all traffic leaving this VPC to your next hop.
While it is in place, Public IPs on instances in this VPC stop serving: the reply
is routed by this same table, and its destination is the internet client. DNS and
managed services keep working - they ride platform routes that out-specify a
default route. A default route also counts as TWO against this VPC's route limit.
ANY ROUTE TO AN INSTANCE lets that instance source addresses it does not own. An
instance can only forward for others if the platform stops dropping the packets
it sends with somebody else's source address, so the platform grants that
automatically for every address named as a next hop - you configure nothing and
there is nothing to request. The grant covers this VPC's attached subnets plus
the destination of every route pointing at that address; a default route's
destination is the whole address space, so an instance holding the VPC's default
route may source ANY address, not only addresses inside the VPC. Treat such an
instance as a trusted device: security group rules elsewhere in this VPC that
match on a source address or a source security group no longer constrain it, and
it can claim another instance's address on the subnet as well.
Removing the last route naming that address is the only thing that withdraws the
grant. It is NOT bounded by the instance's lifetime - it is re-derived onto
whichever port holds the address, so replacing the instance restores forwarding
by itself, and giving that address to another instance hands that instance the
permission. A route naming an address no instance holds is accepted and silently
forwards nothing, so check it against the address on the appliance's interface.
A next-hop address holds at most TEN ranges. The VPC's attached subnets of the
same address family are counted first and a default route counts as two, so a VPC
with many subnets can reach the ceiling on its first route - past that point
removing routes does not help, and the remedy is a second appliance address.
Examples:
fm network vpc route add vpc-123 --destination 203.0.113.0/24 --next-hop 10.0.1.10
fm network vpc route add vpc-123 --destination 198.51.100.7/32 --next-hop internet
fm network vpc route add vpc-123 --destination 0.0.0.0/0 --next-hop 10.0.1.10
Usage:
fm network vpc route add <vpc-id> --destination <cidr> --next-hop <address|internet> [flags]
Flags:
--destination string destination CIDR (required)
-h, --help[=true|false] help for add
--next-hop string next hop: an address on an attached subnet, or "internet" (required)
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm network vpc route list
text
List the static routes you own on a VPC.
Platform-owned routes are not listed: they are not part of your route set and
cannot be removed, so showing them would offer a route you cannot act on.
Examples:
fm network vpc route list vpc-123
Usage:
fm network vpc route list <vpc-id> [flags]
Flags:
-h, --help[=true|false] help for list
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm network vpc route remove
text
Remove the route with that destination from a VPC.
A default route is removed WHOLE: 0.0.0.0/0 takes out both of the rows the
platform stores it as, in one write, or neither. Removing it hands egress back to
this VPC's own gateway and Public IPs on instances here start serving again.
A removal names the next hop it read, so if something else changed the route in
between, nothing is written and the command reports a write conflict rather than
success. Run it again.
Examples:
fm network vpc route remove vpc-123 203.0.113.0/24
fm network vpc route remove vpc-123 0.0.0.0/0
Usage:
fm network vpc route remove <vpc-id> <destination> [flags]
Aliases:
remove, delete
Flags:
-h, --help[=true|false] help for remove
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm network vpc tags
text
Read and replace a VPC's tags
Usage:
fm network vpc tags [command]
Aliases:
tags, tag
Available Commands:
get Show a VPC's tags
set Replace a VPC's tags
Flags:
-h, --help[=true|false] help for tags
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)
Use "fm network vpc tags [command] --help" for more information about a command.fm network vpc tags get
text
Show the resource's tags: yours one key=value per line, then any keys the
platform manages, listed separately as read-only. Those are kept when you
replace your tags, so they are not part of the set to pass to 'tags set'.
Under -o json or -o yaml only your own tags are printed — exactly the set 'tags
set' accepts, so the output can be fed back to it. Pass --include-platform to
print every key instead, the platform's included.
A key or value that contains a comma, '=', a quote, leading, trailing or
repeated spaces, or any unusual character is shown quoted, and one longer than
256 characters is cut short with '…'.
Usage:
fm network vpc tags get <vpc-id> [flags]
Flags:
-h, --help[=true|false] help for get
--include-platform[=true|false] under -o json/yaml, print every key, the platform's included (default: only yours, the set 'tags set' accepts)
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm network vpc tags set
text
Replace a VPC's tags in place with exactly the given set
(replace semantics — any tag not listed is removed).
The set you pass IS the resulting set. To ADD one tag without disturbing the
others, read the current ones first with 'fm network vpc tags get' and pass them
all back.
Use --clear to remove every tag.
Keys in the platform's frostmoln_ namespace are Frostmoln's, not yours:
'tags get' lists them apart from your tags, the API refuses a --tag that sets
one, and the replace keeps them. Leave them out; --clear removes only your own
tags.
Examples:
fm network vpc tags set vpc-123 --tag env=prod --tag owner=team-a
fm network vpc tags set vpc-123 --clear
Usage:
fm network vpc tags set <vpc-id> --tag <key=value> [--tag <key=value> ...] [flags]
Flags:
--clear[=true|false] remove ALL tags (mutually exclusive with --tag)
-h, --help[=true|false] help for set
--tag strings tag in key=value format (repeatable; replace semantics)
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)fm network vpc update
text
Update a VPC's name or description.
Only the flags given are changed. A rename never moves the VPC's DNS label or
domain: the label is fixed at create.
Examples:
fm network vpc update vpc-123 --name production --description "Production VPC"
Usage:
fm network vpc update <vpc-id> [flags]
Flags:
--description string new VPC description
-h, --help[=true|false] help for update
--name string new VPC name (does not change the DNS label)
Global Flags:
--config string config file (default is $FM_CONFIG, else $HOME/.fm/config.yaml)
-d, --debug[=true|false] enable debug/verbose output
--no-color[=true|false] disable colored output
-o, --output string output format: table, json, yaml, wide (default "table")
-q, --quiet[=true|false] suppress non-essential output
--tenant string tenant ID to operate on (overrides the active/default tenant; also FM_TENANT)