-
Notifications
You must be signed in to change notification settings - Fork 75
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add OpenAPI spec for dedicated egress IPs (#875)
* Add OpenAPI spec for dedicated egress IPs * Update OpenAPI for app creation and updates
- Loading branch information
Showing
8 changed files
with
60 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
type: object | ||
description: Specification for app egress configurations. | ||
properties: | ||
type: | ||
$ref: app_egress_type_spec.yml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
title: The app egress type. | ||
type: string | ||
default: AUTOASSIGN | ||
example: AUTOASSIGN | ||
enum: | ||
- AUTOASSIGN | ||
- DEDICATED_IP |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -74,5 +74,8 @@ properties: | |
ingress: | ||
$ref: app_ingress_spec.yml | ||
|
||
egress: | ||
$ref: app_egress_spec.yml | ||
|
||
required: | ||
- name |
13 changes: 13 additions & 0 deletions
13
specification/resources/apps/models/apps_dedicated_egress_ip.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
type: object | ||
readOnly: true | ||
properties: | ||
ip: | ||
title: The IP address of the dedicated egress IP. | ||
type: string | ||
example: 192.168.1.1 | ||
id: | ||
title: The ID of the dedicated egress IP. | ||
type: string | ||
example: 9e7bc2ac-205a-45d6-919c-e1ac5e73f962 | ||
status: | ||
$ref: apps_dedicated_egress_ip_status.yml |
10 changes: 10 additions & 0 deletions
10
specification/resources/apps/models/apps_dedicated_egress_ip_status.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
title: The status of the dedicated egress IP. | ||
type: string | ||
readOnly: true | ||
default: UNKNOWN | ||
enum: | ||
- UNKNOWN | ||
- ASSIGNING | ||
- ASSIGNED | ||
- REMOVED | ||
example: ASSIGNED |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters