Public Internet Gateways

Create a Public Internet Gateway

Create a new Public Internet Gateway.

post/public_internet_gateways

Request body

idstring uuid

Identifies the resource.

record_typestring

Identifies the type of the resource.

created_atstring

ISO 8601 formatted date-time indicating when the resource was created.

updated_atstring

ISO 8601 formatted date-time indicating when the resource was updated.

network_idstring uuid

The id of the network associated with the interface.

namestring

A user specified name for the interface.

status'created' | 'provisioning' | 'provisioned' | 'deleting'

The current status of the interface deployment.

region_codestring

The region interface is deployed to.

public_ipstring

The publically accessible ip for this interface.

Example request

{
  "id": "6a09cdc3-8948-47f0-aa62-74ac943d6c58",
  "record_type": "sample_record_type",
  "created_at": "2018-02-02T22:25:27.521Z",
  "updated_at": "2018-02-02T22:25:27.521Z",
  "network_id": "6a09cdc3-8948-47f0-aa62-74ac943d6c58",
  "name": "test interface",
  "status": "provisioned",
  "region_code": "ashburn-va",
  "public_ip": "127.0.0.1"
}

Response

Successful response

Example response

{
  "data": {
    "id": "6a09cdc3-8948-47f0-aa62-74ac943d6c58",
    "record_type": "sample_record_type",
    "created_at": "2018-02-02T22:25:27.521Z",
    "updated_at": "2018-02-02T22:25:27.521Z",
    "network_id": "6a09cdc3-8948-47f0-aa62-74ac943d6c58",
    "name": "test interface",
    "status": "provisioned",
    "region_code": "ashburn-va",
    "public_ip": "127.0.0.1"
  }
}

Changes

Changed in 4 of the 47 revisions of this API.41822

  • 8a8c40f458c5191See the full diff
    • the data response's property type/format changed from object/ to / for status 202

      response-property-type-changed

    • removed the optional property data/created_at from the response with the 202 status

      response-optional-property-removed

    • removed the optional property data/id from the response with the 202 status

      response-optional-property-removed

    • removed the optional property data/name from the response with the 202 status

      response-optional-property-removed

    • removed the optional property data/network_id from the response with the 202 status

      response-optional-property-removed

    • removed the optional property data/public_ip from the response with the 202 status

      response-optional-property-removed

    • removed the optional property data/record_type from the response with the 202 status

      response-optional-property-removed

    • removed the optional property data/region_code from the response with the 202 status

      response-optional-property-removed

    • removed the optional property data/status from the response with the 202 status

      response-optional-property-removed

    • removed the optional property data/updated_at from the response with the 202 status

      response-optional-property-removed

    • added PublicInternetGateway to the data response property allOf list for the response status 202

      response-property-all-of-added

    This revision also has 6 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

  • 50870cc05614110See the full diff
    • the data response's property type/format changed from / to object/ for status 202

      response-property-type-changed

    • added the optional property data/created_at to the response with the 202 status

      response-optional-property-added

    • added the optional property data/id to the response with the 202 status

      response-optional-property-added

    • added the optional property data/name to the response with the 202 status

      response-optional-property-added

    • added the optional property data/network_id to the response with the 202 status

      response-optional-property-added

    • added the optional property data/public_ip to the response with the 202 status

      response-optional-property-added

    • added the optional property data/record_type to the response with the 202 status

      response-optional-property-added

    • added the optional property data/region_code to the response with the 202 status

      response-optional-property-added

    • added the optional property data/status to the response with the 202 status

      response-optional-property-added

    • added the optional property data/updated_at to the response with the 202 status

      response-optional-property-added

    • removed PublicInternetGateway from the data response property allOf list for the response status 202

      response-property-all-of-removed

  • a144ff96b4ac191See the full diff
    • the data response's property type/format changed from object/ to / for status 202

      response-property-type-changed

    • removed the optional property data/created_at from the response with the 202 status

      response-optional-property-removed

    • removed the optional property data/id from the response with the 202 status

      response-optional-property-removed

    • removed the optional property data/name from the response with the 202 status

      response-optional-property-removed

    • removed the optional property data/network_id from the response with the 202 status

      response-optional-property-removed

    • removed the optional property data/public_ip from the response with the 202 status

      response-optional-property-removed

    • removed the optional property data/record_type from the response with the 202 status

      response-optional-property-removed

    • removed the optional property data/region_code from the response with the 202 status

      response-optional-property-removed

    • removed the optional property data/status from the response with the 202 status

      response-optional-property-removed

    • removed the optional property data/updated_at from the response with the 202 status

      response-optional-property-removed

    • added PublicInternetGateway to the data response property allOf list for the response status 202

      response-property-all-of-added

  • 30cb1ddce91b110See the full diff
    • the data response's property type/format changed from / to object/ for status 202

      response-property-type-changed

    • added the optional property data/created_at to the response with the 202 status

      response-optional-property-added

    • added the optional property data/id to the response with the 202 status

      response-optional-property-added

    • added the optional property data/name to the response with the 202 status

      response-optional-property-added

    • added the optional property data/network_id to the response with the 202 status

      response-optional-property-added

    • added the optional property data/public_ip to the response with the 202 status

      response-optional-property-added

    • added the optional property data/record_type to the response with the 202 status

      response-optional-property-added

    • added the optional property data/region_code to the response with the 202 status

      response-optional-property-added

    • added the optional property data/status to the response with the 202 status

      response-optional-property-added

    • added the optional property data/updated_at to the response with the 202 status

      response-optional-property-added

    • removed PublicInternetGateway from the data response property allOf list for the response status 202

      response-property-all-of-removed

    This revision also has 5 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog