hnhdigital-os/php-linode-api

View on GitHub
spec-old/Instance/Ips.yml

Summary

Maintainability
Test Coverage
endpoint: linode/instances/%s/ips
description: View networking information for this Linode.
url: https://developers.linode.com/v4/reference/endpoints/linode/instances/$id/ips
load-method: all

parameters:

    linode_id: 
      type: int

get:

  all:
    url: https://developers.linode.com/v4/reference/endpoints/linode/instances/$id/ips#GET
    description: Returns a Linode Networking Object.
    endpoint: 

post:

  add:
    url: https://developers.linode.com/v4/reference/endpoints/linode/instances/$id/ips#POST
    description: Allocates a new IP Address for this Linode.
    endpoint:

    optional-parameters:

      type:
        type: string
        default: "private"
        description: The type of IP Address this is, can be one of "public" or "private". Public IP Addresses, over and above the one included with each Linode, incur an additional monthly charge. If you need an additional Public IP Address you must request one - please open a ticket.

  sharing:
    url: https://developers.linode.com/v4/reference/endpoints/linode/instances/$id/ips/sharing
    description: Sets IP Sharing for this Linode.
    endpoint: /sharing

    parameters:

      ips:
        type: array
        description: A list of IP Addresses this Linode will share.