Pi Docs
  • Overview
  • What is Pi
  • How It Works
  • Benefits
  • Features
  • Pricing
  • Quota and Limits
  • FAQ
  • Quickstart
    • Install CLI
    • Launch Your First Pod
    • Understand the network
    • Use Volume for Stateful Workload
    • Use Private Image
  • Feature
    • Pod
    • Rootfs
    • Job
    • Volume
    • Floating IP
    • Network
    • Service
    • Secret
    • Region and Zone
  • Reference
    • CLI
      • Info
      • Pod
        • run
        • create
        • delete
        • exec
        • logs
        • get
        • describe
      • Job
        • create
        • delete
        • get
        • describe
      • Service
        • create
        • get
        • describe
        • delete
      • Secret
        • create
        • get
        • describe
        • delete
      • Volume
        • create
        • get
        • delete
      • Floating IP
        • create
        • get
        • name
        • delete
    • API/v1.9
      • Info
        • Get
      • Event
        • Get
      • Pod
        • Create
        • List
        • Read
        • Log
        • Exec
        • Delete
      • Job
        • Create
        • List
        • Read
        • Delete
      • Service
        • Create
        • List
        • Get
        • Delete
      • Secret
        • Create
        • List
        • Get
        • Delete
      • Volume
        • Create
        • List
        • Get
        • Delete
      • Floating IP
        • Create
        • List
        • Get
        • Name
        • Delete
  • FAQ
    • Privacy Policy
    • Terms of Service
    • Acceptable Use Policy
  • Docs version
Powered by GitBook
On this page
  1. Reference
  2. CLI
  3. Floating IP

get

List floating IP(s) or get a floating IP

Usage: pi get fips FIP [OPTIONS]

get information of floating IPs

      -e, --access-key                API access key
      -k, --secret-key                API secret key
      -r, --region                    Region name, default: gcp-us-central1
      -u, --user                      Username
      -o, --output                    Output format (json, ip)
//get fip list
$ pi get fip
FIP             NAME  CREATEDAT                  SERVICES
104.197.x.x           2018-04-08T15:27:49+00:00  test-loadbalancer-nginx
104.197.y.y           2018-04-08T15:31:08+00:00
104.197.z.z           2018-04-08T15:31:10+00:00

//get a fip
$ pi get fip 35.188.x.x -o json
{
  "fip": "35.188.x.x",
  "name": "",
  "createdAt": "2018-04-18T08:10:22.9Z",
  "services": [
    "test-loadbalancer-nginx"
  ]
}
PreviouscreateNextname

Last updated 7 years ago