{- "data": [
- {
- "created_at": "2018-02-02T22:25:27.521Z",
- "id": "6a09cdc3-8948-47f0-aa62-74ac943d6c58",
- "record_type": "public_internet_gateway",
- "updated_at": "2018-02-02T22:25:27.521Z",
- "name": "test interface",
- "network_id": "6a09cdc3-8948-47f0-aa62-74ac943d6c58",
- "status": "provisioned",
- "public_ip": "127.0.0.1",
- "region": {
- "code": "ashburn-va",
- "name": "Ashburn",
- "record_type": "region"
}, - "region_code": "ashburn-va"
}
], - "meta": {
- "page_number": 2,
- "page_size": 25,
- "total_pages": 3,
- "total_results": 55
}
}
Create a new Public Internet Gateway.
Successful response
Unprocessable entity. Check the 'detail' field in response for details.
{- "name": "test interface",
- "network_id": "6a09cdc3-8948-47f0-aa62-74ac943d6c58",
- "region_code": "ashburn-va"
}
{- "data": {
- "created_at": "2018-02-02T22:25:27.521Z",
- "id": "6a09cdc3-8948-47f0-aa62-74ac943d6c58",
- "record_type": "public_internet_gateway",
- "updated_at": "2018-02-02T22:25:27.521Z",
- "name": "test interface",
- "network_id": "6a09cdc3-8948-47f0-aa62-74ac943d6c58",
- "status": "provisioned",
- "public_ip": "127.0.0.1",
- "region": {
- "code": "ashburn-va",
- "name": "Ashburn",
- "record_type": "region"
}, - "region_code": "ashburn-va"
}
}
Delete a Public Internet Gateway.
Successful response
object (PublicInternetGatewayRead) | |||||||||||||||||||||
|
{- "data": {
- "created_at": "2018-02-02T22:25:27.521Z",
- "id": "6a09cdc3-8948-47f0-aa62-74ac943d6c58",
- "record_type": "public_internet_gateway",
- "updated_at": "2018-02-02T22:25:27.521Z",
- "name": "test interface",
- "network_id": "6a09cdc3-8948-47f0-aa62-74ac943d6c58",
- "status": "provisioned",
- "public_ip": "127.0.0.1",
- "region": {
- "code": "ashburn-va",
- "name": "Ashburn",
- "record_type": "region"
}, - "region_code": "ashburn-va"
}
}
Retrieve a Public Internet Gateway.
Successful response
object (PublicInternetGatewayRead) | |||||||||||||||||||||
|
{- "data": {
- "created_at": "2018-02-02T22:25:27.521Z",
- "id": "6a09cdc3-8948-47f0-aa62-74ac943d6c58",
- "record_type": "public_internet_gateway",
- "updated_at": "2018-02-02T22:25:27.521Z",
- "name": "test interface",
- "network_id": "6a09cdc3-8948-47f0-aa62-74ac943d6c58",
- "status": "provisioned",
- "public_ip": "127.0.0.1",
- "region": {
- "code": "ashburn-va",
- "name": "Ashburn",
- "record_type": "region"
}, - "region_code": "ashburn-va"
}
}