-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Stable release of Front door API #5474
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
sergey-shandar
merged 3 commits into
Azure:master
from
johsun-msft:johsun/StableFrontDoorApi
Mar 26, 2019
Merged
Changes from all commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
20 changes: 20 additions & 0 deletions
20
...cation/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/README.md
This file contains hidden or 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,20 @@ | ||
| # Public Preview API specification for FrontDoor Azure Resource | ||
|
|
||
| This directory contains the schema specifications for the Front Door Azure Resource. The API will be added to support Front Door on Azure Resource Manager. | ||
|
|
||
| The base swagger document for new features in this preview: [FrontDoor.json](./FrontDoor.json) | ||
|
|
||
| ## Overview | ||
| The Front Door ARM API supports CRUD functionality on four objects in the resource schema: | ||
| `FrontDoor`, a collection of child objects `BackendPool`, a collection of child objects `FrontendEndpoints` and the primary child object `RoutingRule`, which each reference one `BackendPool` and `FrontendEndpoints` . Each routing rule encapsulates | ||
| all of the settings needed to configure the AzureFD backend infrastructure to set up a | ||
| reverse-proxy route to accelerate traffic, detect backend availability, | ||
| and balance between healthy members of the pool. | ||
|
|
||
| ## Generated object-model UML diagram | ||
| This diagram is generated from the swagger spec by "[`oav`](https://github.com/Azure/oav) `generate-uml`" | ||
|  | ||
|
|
||
| ## Swagger and JSON specification reference and tools | ||
| * [OpenAPI specification v2.0 (aka Swagger 2.0)](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md) | ||
| * [Swagger.io online editor](https://editor.swagger.io/) | ||
668 changes: 668 additions & 0 deletions
668
...tdoor/resource-manager/Microsoft.Network/stable/2019-04-01/assets/frontdoor.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 18 additions & 0 deletions
18
...-manager/Microsoft.Network/stable/2019-04-01/examples/CheckFrontdoorNameAvailability.json
This file contains hidden or 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,18 @@ | ||
| { | ||
| "parameters": { | ||
| "api-version": "2019-04-01", | ||
| "checkFrontDoorNameAvailabilityInput": { | ||
| "name": "sampleName", | ||
| "type": "Microsoft.Network/FrontDoors" | ||
| } | ||
| }, | ||
| "responses": { | ||
| "200": { | ||
| "body": { | ||
| "nameAvailability": "Unavailable", | ||
| "reason": "Name is already in use", | ||
| "message": "Name not available" | ||
| } | ||
| } | ||
| } | ||
| } |
19 changes: 19 additions & 0 deletions
19
...ft.Network/stable/2019-04-01/examples/CheckFrontdoorNameAvailabilityWithSubscription.json
This file contains hidden or 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,19 @@ | ||
| { | ||
| "parameters": { | ||
| "api-version": "2019-04-01", | ||
| "subscriptionId": "subid", | ||
| "checkFrontDoorNameAvailabilityInput": { | ||
| "name": "sampleName", | ||
| "type": "Microsoft.Network/FrontDoors/frontendEndpoints" | ||
| } | ||
| }, | ||
| "responses": { | ||
| "200": { | ||
| "body": { | ||
| "nameAvailability": "Unavailable", | ||
| "reason": "Name is already in use", | ||
| "message": "Name not available" | ||
| } | ||
| } | ||
| } | ||
| } |
165 changes: 165 additions & 0 deletions
165
...urce-manager/Microsoft.Network/stable/2019-04-01/examples/FrontdoorBackendPoolCreate.json
This file contains hidden or 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,165 @@ | ||
| { | ||
| "parameters": { | ||
| "api-version": "2019-04-01", | ||
| "subscriptionId": "subid", | ||
| "resourceGroupName": "rg1", | ||
| "frontDoorName": "frontDoor1", | ||
| "backendPoolName": "backendPool1", | ||
| "backendPoolParameters": { | ||
| "name": "backendPool1", | ||
| "properties": { | ||
| "backends": [ | ||
| { | ||
| "address": "w3.contoso.com", | ||
| "httpPort": 80, | ||
| "httpsPort": 443, | ||
| "weight": 1, | ||
| "priority": 2 | ||
| }, | ||
| { | ||
| "address": "contoso.com.website-us-west-2.othercloud.net", | ||
| "httpPort": 80, | ||
| "httpsPort": 443, | ||
| "weight": 2, | ||
| "priority": 1 | ||
| }, | ||
| { | ||
| "address": "contoso1.azurewebsites.net", | ||
| "httpPort": 80, | ||
| "httpsPort": 443, | ||
| "weight": 1, | ||
| "priority": 1 | ||
| } | ||
| ], | ||
| "loadBalancingSettings": { | ||
| "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/loadBalancingSettings/loadBalancingSettings1" | ||
| }, | ||
| "healthProbeSettings": { | ||
| "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/healthProbeSettings/healthProbeSettings1" | ||
| } | ||
| } | ||
| } | ||
| }, | ||
| "responses": { | ||
| "200": { | ||
| "body": { | ||
| "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/backendPools/backendPool1", | ||
| "name": "backendPool1", | ||
| "properties": { | ||
| "backends": [ | ||
| { | ||
| "address": "w3.contoso.com", | ||
| "httpPort": 80, | ||
| "httpsPort": 443, | ||
| "enabledState": "Enabled", | ||
| "weight": 1, | ||
| "priority": 2 | ||
| }, | ||
| { | ||
| "address": "contoso.com.website-us-west-2.othercloud.net", | ||
| "httpPort": 80, | ||
| "httpsPort": 443, | ||
| "enabledState": "Enabled", | ||
| "weight": 2, | ||
| "priority": 1 | ||
| }, | ||
| { | ||
| "address": "contoso1.azurewebsites.net", | ||
| "httpPort": 80, | ||
| "httpsPort": 443, | ||
| "enabledState": "Enabled", | ||
| "weight": 1, | ||
| "priority": 1 | ||
| } | ||
| ], | ||
| "loadBalancingSettings": { | ||
| "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/loadBalancingSettings/loadBalancingSettings1" | ||
| }, | ||
| "healthProbeSettings": { | ||
| "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/healthProbeSettings/healthProbeSettings1" | ||
| } | ||
| } | ||
| } | ||
| }, | ||
| "201": { | ||
| "body": { | ||
| "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/backendPools/backendPool1", | ||
| "name": "backendPool1", | ||
| "properties": { | ||
| "backends": [ | ||
| { | ||
| "address": "w3.contoso.com", | ||
| "httpPort": 80, | ||
| "httpsPort": 443, | ||
| "enabledState": "Enabled", | ||
| "weight": 1, | ||
| "priority": 2 | ||
| }, | ||
| { | ||
| "address": "contoso.com.website-us-west-2.othercloud.net", | ||
| "httpPort": 80, | ||
| "httpsPort": 443, | ||
| "enabledState": "Enabled", | ||
| "weight": 2, | ||
| "priority": 1 | ||
| }, | ||
| { | ||
| "address": "contoso1.azurewebsites.net", | ||
| "httpPort": 80, | ||
| "httpsPort": 443, | ||
| "enabledState": "Enabled", | ||
| "weight": 1, | ||
| "priority": 1 | ||
| } | ||
| ], | ||
| "loadBalancingSettings": { | ||
| "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/loadBalancingSettings/loadBalancingSettings1" | ||
| }, | ||
| "healthProbeSettings": { | ||
| "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/healthProbeSettings/healthProbeSettings1" | ||
| } | ||
| } | ||
| } | ||
| }, | ||
| "202": { | ||
| "body": { | ||
| "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/backendPools/backendPool1", | ||
| "name": "backendPool1", | ||
| "properties": { | ||
| "backends": [ | ||
| { | ||
| "address": "w3.contoso.com", | ||
| "httpPort": 80, | ||
| "httpsPort": 443, | ||
| "enabledState": "Enabled", | ||
| "weight": 1, | ||
| "priority": 2 | ||
| }, | ||
| { | ||
| "address": "contoso.com.website-us-west-2.othercloud.net", | ||
| "httpPort": 80, | ||
| "httpsPort": 443, | ||
| "enabledState": "Enabled", | ||
| "weight": 2, | ||
| "priority": 1 | ||
| }, | ||
| { | ||
| "address": "contoso1.azurewebsites.net", | ||
| "httpPort": 80, | ||
| "httpsPort": 443, | ||
| "enabledState": "Enabled", | ||
| "weight": 1, | ||
| "priority": 1 | ||
| } | ||
| ], | ||
| "loadBalancingSettings": { | ||
| "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/loadBalancingSettings/loadBalancingSettings1" | ||
| }, | ||
| "healthProbeSettings": { | ||
| "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/healthProbeSettings/healthProbeSettings1" | ||
| } | ||
| } | ||
| } | ||
| } | ||
| } | ||
| } |
13 changes: 13 additions & 0 deletions
13
...urce-manager/Microsoft.Network/stable/2019-04-01/examples/FrontdoorBackendPoolDelete.json
This file contains hidden or 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 @@ | ||
| { | ||
| "parameters": { | ||
| "api-version": "2019-04-01", | ||
| "subscriptionId": "subid", | ||
| "resourceGroupName": "rg1", | ||
| "frontDoorName": "frontDoor1", | ||
| "backendPoolName": "backendPool1" | ||
| }, | ||
| "responses": { | ||
| "202": {}, | ||
| "204": {} | ||
| } | ||
| } |
51 changes: 51 additions & 0 deletions
51
...esource-manager/Microsoft.Network/stable/2019-04-01/examples/FrontdoorBackendPoolGet.json
This file contains hidden or 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,51 @@ | ||
| { | ||
| "parameters": { | ||
| "api-version": "2019-04-01", | ||
| "subscriptionId": "subid", | ||
| "resourceGroupName": "rg1", | ||
| "frontDoorName": "frontDoor1", | ||
| "backendPoolName": "backendPool1" | ||
| }, | ||
| "responses": { | ||
| "200": { | ||
| "body": { | ||
| "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/backendPools/backendPool1", | ||
| "name": "backendPool1", | ||
| "properties": { | ||
| "backends": [ | ||
| { | ||
| "address": "w3.contoso.com", | ||
| "httpPort": 80, | ||
| "httpsPort": 443, | ||
| "enabledState": "Enabled", | ||
| "weight": 1, | ||
| "priority": 2 | ||
| }, | ||
| { | ||
| "address": "contoso.com.website-us-west-2.othercloud.net", | ||
| "httpPort": 80, | ||
| "httpsPort": 443, | ||
| "enabledState": "Enabled", | ||
| "weight": 2, | ||
| "priority": 1 | ||
| }, | ||
| { | ||
| "address": "contoso1.azurewebsites.net", | ||
| "httpPort": 80, | ||
| "httpsPort": 443, | ||
| "enabledState": "Enabled", | ||
| "weight": 1, | ||
| "priority": 1 | ||
| } | ||
| ], | ||
| "loadBalancingSettings": { | ||
| "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/loadBalancingSettings/loadBalancingSettings1" | ||
| }, | ||
| "healthProbeSettings": { | ||
| "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/healthProbeSettings/healthProbeSettings1" | ||
| } | ||
| } | ||
| } | ||
| } | ||
| } | ||
| } |
54 changes: 54 additions & 0 deletions
54
...source-manager/Microsoft.Network/stable/2019-04-01/examples/FrontdoorBackendPoolList.json
This file contains hidden or 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,54 @@ | ||
| { | ||
| "parameters": { | ||
| "api-version": "2019-04-01", | ||
| "subscriptionId": "subid", | ||
| "resourceGroupName": "rg1", | ||
| "frontDoorName": "frontDoor1" | ||
| }, | ||
| "responses": { | ||
| "200": { | ||
| "body": { | ||
| "value": [ | ||
| { | ||
| "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/backendPools/backendPool1", | ||
| "name": "backendPool1", | ||
| "properties": { | ||
| "backends": [ | ||
| { | ||
| "address": "w3.contoso.com", | ||
| "httpPort": 80, | ||
| "httpsPort": 443, | ||
| "enabledState": "Enabled", | ||
| "weight": 1, | ||
| "priority": 2 | ||
| }, | ||
| { | ||
| "address": "contoso.com.website-us-west-2.othercloud.net", | ||
| "httpPort": 80, | ||
| "httpsPort": 443, | ||
| "enabledState": "Enabled", | ||
| "weight": 2, | ||
| "priority": 1 | ||
| }, | ||
| { | ||
| "address": "contoso1.azurewebsites.net", | ||
| "httpPort": 80, | ||
| "httpsPort": 443, | ||
| "enabledState": "Enabled", | ||
| "weight": 1, | ||
| "priority": 1 | ||
| } | ||
| ], | ||
| "loadBalancingSettings": { | ||
| "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/loadBalancingSettings/loadBalancingSettings1" | ||
| }, | ||
| "healthProbeSettings": { | ||
| "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/healthProbeSettings/healthProbeSettings1" | ||
| } | ||
| } | ||
| } | ||
| ] | ||
| } | ||
| } | ||
| } | ||
| } |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.