Public Gateways API.

This API allows you to manage your Public Gateways.

Hierarchy

  • API
    • API

Constructors

Properties

LOCALITIES: Zone[] = ...

Lists the available zones of the API.

Methods

  • Create a DHCP configuration. Create a new DHCP configuration object, containing settings for the assignment of IP addresses to devices on a Private Network attached to a Public Gateway. The response object includes the ID of the DHCP configuration object. You can use this ID as part of a call to Create a Public Gateway connection to a Private Network or Update a Public Gateway connection to a Private Network to directly apply this DHCP configuration.

    Parameters

    Returns Promise<DHCP>

    A Promise of DHCP

  • Get a DHCP configuration. Get a DHCP configuration object, identified by its DHCP ID. The response object contains configuration settings for the assignment of IP addresses to devices on a Private Network attached to a Public Gateway. Note that the response does not contain the IDs of any Private Network / Public Gateway the configuration is attached to. Use the List Public Gateway connections to Private Networks method for that purpose, filtering on DHCP ID.

    Parameters

    Returns Promise<DHCP>

    A Promise of DHCP

  • List DHCP configurations. List DHCP configurations, optionally filtering by Organization, Project, Public Gateway IP address or more. The response is an array of DHCP configuration objects, each identified by a DHCP ID and containing configuration settings for the assignment of IP addresses to devices on a Private Network attached to a Public Gateway. Note that the response does not contain the IDs of any Private Network / Public Gateway the configuration is attached to. Use the List Public Gateway connections to Private Networks method for that purpose, filtering on DHCP ID.

    Parameters

    Returns Promise<ListDHCPsResponse> & {
        "[asyncIterator]": () => AsyncGenerator<DHCP[], void, void>;
        all: () => Promise<DHCP[]>;
    }

    A Promise of ListDHCPsResponse