SimplyStack
APIAPIMetaMeta
(opens in a new tab)
    • Introduction
    • Responses
    • Get DNS Attributes
    • Get DNS Nameservers
    • Get Floating Ipv4 Address
    • Get Floating Ipv4 Attributes
    • Get Floating Ipv4 Index
    • Get Floating Ipv4 State
    • Get Anchor Interface Ipv4 Address
    • Get Anchor Interface Ipv4 Attributes
    • Get Anchor Interface Ipv4 Gateway
    • Get Anchor Interface Ipv4 Netmask
    • Get Network Interface Index
    • Get Public Interface Attributes
    • Get Public Interface Index
    • Get Public Interface Ipv4 Address
    • Get Public Interface Ipv4 Attributes
    • Get Public Interface Ipv4 Gateway
    • Get Public Interface Ipv4 Netmask
    • Get Public Interface Ipv6 Address
    • Get Public Interface Ipv6 Attributes
    • Get Public Interface Ipv6 Cidr
    • Get Public Interface Ipv6 Gateway
    • Get Public Interface Mac Address
    • Get Public Interface Type
    • Get Hostname
    • Get Metadata Index
    • Get Metadata Json
    • Get Public Keys
    • Get Region
    • Get Stacklet Id
    • Get User Data
    • Get Vendor Data

On This Page

  • Endpoint
  • Response
  • Example
Question? Give us feedback → (opens in a new tab)Edit this page
Meta
Network Interfaces
Get Public Interface Ipv4 Attributes

Get Public Interface IPv4 Attributes

Returns an index of the attributes of the IPv4 Public interface.

Endpoint

http://169.254.169.254/metadata/v1/interfaces/public/0/ipv4/

Response

—200

A list of IPv4 interface attributes in plan text.

Example

text
address
netmask
gateway
Get Public Interface Ipv4 AddressGet Public Interface Ipv4 Gateway

© 2023 SimplyStack. All rights reserved.