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

  • Get a Public Gateway connection to a Private Network. Get details of a given connection between a Public Gateway and a Private Network (this connection = a GatewayNetwork), specified by its gateway_network_id. The response object contains details of the connection including the IDs of the Public Gateway and Private Network, the dates the connection was created/updated and its configuration settings.

    Parameters

    Returns Promise<GatewayNetwork>

    A Promise of GatewayNetwork

  • 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

  • List Public Gateway connections to Private Networks. List the connections between Public Gateways and Private Networks (a connection = a GatewayNetwork). You can choose to filter by gateway-id to list all Private Networks attached to the specified Public Gateway, or by private_network_id to list all Public Gateways attached to the specified Private Network. Other query parameters are also available. The result is an array of GatewayNetwork objects, each giving details of the connection between a given Public Gateway and a given Private Network.

    Parameters

    Returns Promise<ListGatewayNetworksResponse> & {
        [asyncIterator]: (() => AsyncGenerator<GatewayNetwork[], void, void>);
        all: (() => Promise<GatewayNetwork[]>);
    }

    A Promise of ListGatewayNetworksResponse

  • Upgrade a Public Gateway to the latest version and/or to a different commercial offer type. Upgrade a given Public Gateway to the newest software version or to a different commercial offer type. This applies the latest bugfixes and features to your Public Gateway. Note that gateway service will be interrupted during the update.

    Parameters

    Returns Promise<Gateway>

    A Promise of Gateway