-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Update API specs 2020-04-01 #9383
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
Merged
Changes from 1 commit
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
00f8c8a
Update API specs 2020-04-01
digavino 809613b
Fix place
digavino ec405a6
Fix version
digavino 950eee8
Comments
digavino a257a68
Fix json
digavino aba39df
copy check files
digavino 0659c58
Include old examples
digavino 844e41e
Copy file over
digavino 7fd2250
Add files
digavino c92b9b8
Change version
digavino f270e0d
Try reverting 2020-05-01 changes
digavino ff0936a
Revert 2020-05-01 changes to test
digavino 1c97229
Move version to end of file
digavino cb82fdc
Revert "Move version to end of file"
digavino 689ec58
Revert "Revert 2020-05-01 changes to test"
digavino 342792f
Revert "Try reverting 2020-05-01 changes"
digavino 97e7dab
Remove extra ```
digavino 601ab40
revert breaking 2020-05-01 change
digavino 6ab213b
Fix case
digavino 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
568 changes: 568 additions & 0 deletions
568
...ntdoor/resource-manager/Microsoft.Network/stable/2020-04-01/examples/FrontdoorCreate.json
Large diffs are not rendered by default.
Oops, something went wrong.
214 changes: 214 additions & 0 deletions
214
...frontdoor/resource-manager/Microsoft.Network/stable/2020-04-01/examples/FrontdoorGet.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,214 @@ | ||
| { | ||
| "parameters": { | ||
| "api-version": "2020-01-01", | ||
| "subscriptionId": "subid", | ||
| "resourceGroupName": "rg1", | ||
| "frontDoorName": "frontDoor1" | ||
| }, | ||
| "responses": { | ||
| "200": { | ||
| "body": { | ||
| "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1", | ||
| "name": "frontDoor1", | ||
| "type": "Microsoft.Network/frontDoor", | ||
| "location": "westus", | ||
| "tags": { | ||
| "tag1": "value1", | ||
| "tag2": "value2" | ||
| }, | ||
| "properties": { | ||
| "routingRules": [ | ||
| { | ||
| "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/routingRules/routingRule1", | ||
| "name": "routingRule1", | ||
| "properties": { | ||
| "frontendEndpoints": [ | ||
| { | ||
| "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/frontendEndpoints/frontendEndpoint1" | ||
| }, | ||
| { | ||
| "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/frontendEndpoints/default" | ||
| } | ||
| ], | ||
| "acceptedProtocols": [ | ||
| "Http" | ||
| ], | ||
| "patternsToMatch": [ | ||
| "/*" | ||
| ], | ||
| "routeConfiguration": { | ||
| "@odata.type": "#Microsoft.Azure.FrontDoor.Models.FrontdoorForwardingConfiguration", | ||
| "customForwardingPath": "", | ||
| "forwardingProtocol": "MatchRequest", | ||
| "backendPool": { | ||
| "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/backendPools/backendPool1" | ||
| } | ||
| }, | ||
| "rulesEngine": { | ||
| "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/rulesEngines/rulesEngine1" | ||
| }, | ||
| "enabledState": "Enabled", | ||
| "webApplicationFirewallPolicyLink": { | ||
| "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoorWebApplicationFirewallPolicies/policy1" | ||
| } | ||
| } | ||
| } | ||
| ], | ||
| "healthProbeSettings": [ | ||
| { | ||
| "name": "healthProbeSettings1", | ||
| "properties": { | ||
| "path": "/", | ||
| "protocol": "Http", | ||
| "intervalInSeconds": 120, | ||
| "enabledState": "Enabled", | ||
| "healthProbeMethod": "HEAD" | ||
| } | ||
| } | ||
| ], | ||
| "loadBalancingSettings": [ | ||
| { | ||
| "name": "loadBalancingSettings1", | ||
| "properties": { | ||
| "sampleSize": 4, | ||
| "successfulSamplesRequired": 2 | ||
| } | ||
| } | ||
| ], | ||
| "backendPools": [ | ||
| { | ||
| "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 | ||
| }, | ||
| { | ||
| "privateLinkAlias": "SQLSERVER.d84e61f0-0870-4d24-9746-7438fa0019d1.westus2.azure.privatelinkservice", | ||
| "privateEndpointStatus": "Approved", | ||
| "privateLinkApprovalMessage": "Please approve the connection request for this Private Link", | ||
| "address": "10.0.1.5", | ||
| "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" | ||
| } | ||
| } | ||
| } | ||
| ], | ||
| "frontendEndpoints": [ | ||
| { | ||
| "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/frontendEndpoints/frontendEndpoint1", | ||
| "name": "frontendEndpoint1", | ||
| "properties": { | ||
| "hostName": "www.contoso.com", | ||
| "sessionAffinityEnabledState": "Enabled", | ||
| "sessionAffinityTtlSeconds": 60, | ||
| "webApplicationFirewallPolicyLink": { | ||
| "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoorWebApplicationFirewallPolicies/policy1" | ||
| } | ||
| } | ||
| }, | ||
| { | ||
| "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/frontendEndpoints/default", | ||
| "name": "default", | ||
| "properties": { | ||
| "hostName": "frontDoor1.azurefd.net" | ||
| } | ||
| } | ||
| ], | ||
| "rulesEngines": [ | ||
| { | ||
| "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/rulesEngines/rulesEngine1", | ||
| "name": "rulesEngine1", | ||
| "properties": { | ||
| "rules": [ | ||
| { | ||
| "name": "Rule1", | ||
| "priority": 1, | ||
| "action": { | ||
| "routeConfigurationOverride": { | ||
| "@odata.type": "#Microsoft.Azure.FrontDoor.Models.FrontdoorRedirectConfiguration", | ||
| "redirectType": "Moved", | ||
| "redirectProtocol": "HttpsOnly", | ||
| "customHost": "www.bing.com", | ||
| "customPath": "/api", | ||
| "customFragment": "fragment", | ||
| "customQueryString": "a=b" | ||
| } | ||
| }, | ||
| "matchConditions": [ | ||
| { | ||
| "rulesEngineMatchVariable": "RemoteAddr", | ||
| "rulesEngineOperator": "GeoMatch", | ||
| "rulesEngineMatchValue": [ | ||
| "CH" | ||
| ] | ||
| } | ||
| ], | ||
| "matchProcessingBehavior": "Stop" | ||
| }, | ||
| { | ||
| "name": "Rule2", | ||
| "priority": 2, | ||
| "action": { | ||
| "responseHeaderActions": [ | ||
| { | ||
| "headerActionType": "Overwrite", | ||
| "headerName": "Cache-Control", | ||
| "value": "public, max-age=31536000" | ||
| } | ||
| ] | ||
| }, | ||
| "matchConditions": [ | ||
| { | ||
| "rulesEngineMatchVariable": "FilenameExtension", | ||
| "rulesEngineOperator": "Equal", | ||
| "rulesEngineMatchValue": [ | ||
| "jpg" | ||
| ], | ||
| "transforms": [ | ||
| "Lowercase" | ||
| ] | ||
| } | ||
| ] | ||
| } | ||
| ] | ||
| } | ||
| } | ||
| ], | ||
| "backendPoolsSettings": { | ||
| "enforceCertificateNameCheck": "Enabled", | ||
| "sendRecvTimeoutSeconds": 60 | ||
| }, | ||
| "enabledState": "Enabled", | ||
| "resourceState": "Enabled", | ||
| "provisioningState": "Succeeded", | ||
| "cname": "frontDoor1.azurefd.net" | ||
| } | ||
| } | ||
| } | ||
| } | ||
| } | ||
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.