-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Bring your own Backend operations (#18517)
* add bring your own backend operations * add missing files * fix json formattin * validation fixes * fix * fix more validation * fix ids * fix model validation * fix descriptions * fix environmentName description * change to 202 * revert change to 202
- Loading branch information
Showing
16 changed files
with
979 additions
and
7 deletions.
There are no files selected for viewing
702 changes: 702 additions & 0 deletions
702
specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/StaticSites.json
Large diffs are not rendered by default.
Oops, something went wrong.
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
25 changes: 25 additions & 0 deletions
25
...ource-manager/Microsoft.Web/stable/2022-03-01/examples/GetLinkedBackendForStaticSite.json
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,25 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", | ||
"resourceGroupName": "rg", | ||
"name": "testStaticSite0", | ||
"linkedBackendName": "testBackend", | ||
"api-version": "2021-03-01" | ||
}, | ||
"responses": { | ||
"200": { | ||
"headers": {}, | ||
"body": { | ||
"id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/builds/default/linkedBackends/testBackend", | ||
"name": "testBackend", | ||
"type": "Microsoft.Web/staticSites/builds/linkedBackends", | ||
"properties": { | ||
"backendResourceId": "/subscription/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/backendRg/providers/Microsoft.Web/sites/testBackend", | ||
"region": "West US 2", | ||
"createdOn": "2021-12-24T17:33:11.641Z", | ||
"provisioningState": "Succeeded" | ||
} | ||
} | ||
} | ||
} | ||
} |
26 changes: 26 additions & 0 deletions
26
...-manager/Microsoft.Web/stable/2022-03-01/examples/GetLinkedBackendForStaticSiteBuild.json
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,26 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", | ||
"resourceGroupName": "rg", | ||
"name": "testStaticSite0", | ||
"environmentName": "default", | ||
"linkedBackendName": "testBackend", | ||
"api-version": "2021-03-01" | ||
}, | ||
"responses": { | ||
"200": { | ||
"headers": {}, | ||
"body": { | ||
"id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/builds/default/linkedBackends/testBackend", | ||
"name": "testBackend", | ||
"type": "Microsoft.Web/staticSites/builds/linkedBackends", | ||
"properties": { | ||
"backendResourceId": "/subscription/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/backendRg/providers/Microsoft.Web/sites/testBackend", | ||
"region": "West US 2", | ||
"createdOn": "2021-12-24T17:33:11.641Z", | ||
"provisioningState": "Succeeded" | ||
} | ||
} | ||
} | ||
} | ||
} |
29 changes: 29 additions & 0 deletions
29
...urce-manager/Microsoft.Web/stable/2022-03-01/examples/GetLinkedBackendsForStaticSite.json
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,29 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", | ||
"resourceGroupName": "rg", | ||
"name": "testStaticSite0", | ||
"api-version": "2021-03-01" | ||
}, | ||
"responses": { | ||
"200": { | ||
"headers": {}, | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/builds/default/linkedBackends/testBackend", | ||
"name": "testBackend", | ||
"type": "Microsoft.Web/staticSites/builds/linkedBackends", | ||
"properties": { | ||
"backendResourceId": "/subscription/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/functionRG/providers/Microsoft.Web/sites/testBackend", | ||
"region": "West US 2", | ||
"createdOn": "2020-03-04T17:33:11.641Z", | ||
"provisioningState": "Succeeded" | ||
} | ||
} | ||
], | ||
"nextLink": null | ||
} | ||
} | ||
} | ||
} |
31 changes: 31 additions & 0 deletions
31
...manager/Microsoft.Web/stable/2022-03-01/examples/GetLinkedBackendsForStaticSiteBuild.json
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,31 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", | ||
"resourceGroupName": "rg", | ||
"name": "testStaticSite0", | ||
"environmentName": "default", | ||
"linkedBackendName": "testBackend", | ||
"api-version": "2021-03-01" | ||
}, | ||
"responses": { | ||
"200": { | ||
"headers": {}, | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/builds/default/linkedBackends/testBackend", | ||
"name": "testBackend", | ||
"type": "Microsoft.Web/staticSites/builds/linkedBackends", | ||
"properties": { | ||
"backendResourceId": "/subscription/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/functionRG/providers/Microsoft.Web/sites/testBackend", | ||
"region": "West US 2", | ||
"createdOn": "2020-03-04T17:33:11.641Z", | ||
"provisioningState": "Succeeded" | ||
} | ||
} | ||
], | ||
"nextLink": null | ||
} | ||
} | ||
} | ||
} |
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
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
31 changes: 31 additions & 0 deletions
31
...eb/resource-manager/Microsoft.Web/stable/2022-03-01/examples/LinkBackendToStaticSite.json
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,31 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", | ||
"resourceGroupName": "rg", | ||
"name": "testStaticSite0", | ||
"linkedBackendName": "testBackend", | ||
"api-version": "2021-03-01", | ||
"staticSiteLinkedBackendEnvelope": { | ||
"properties": { | ||
"backendResourceId": "/subscription/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/backendRg/providers/Microsoft.Web/sites/testBackend", | ||
"region": "West US 2" | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"headers": {}, | ||
"body": { | ||
"id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/builds/default/linkedBackends/testBackend", | ||
"name": "testBackend", | ||
"type": "Microsoft.Web/staticSites/builds/linkedBackends", | ||
"properties": { | ||
"backendResourceId": "/subscription/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/backendRg/providers/Microsoft.Web/sites/testBackend", | ||
"region": "West US 2", | ||
"createdOn": "2021-12-24T17:33:11.641Z", | ||
"provisioningState": "Succeeded" | ||
} | ||
} | ||
} | ||
} | ||
} |
32 changes: 32 additions & 0 deletions
32
...source-manager/Microsoft.Web/stable/2022-03-01/examples/LinkBackendToStaticSiteBuild.json
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,32 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", | ||
"resourceGroupName": "rg", | ||
"name": "testStaticSite0", | ||
"environmentName": "default", | ||
"linkedBackendName": "testBackend", | ||
"api-version": "2021-03-01", | ||
"staticSiteLinkedBackendEnvelope": { | ||
"properties": { | ||
"backendResourceId": "/subscription/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/backendRg/providers/Microsoft.Web/sites/testBackend", | ||
"region": "West US 2" | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"headers": {}, | ||
"body": { | ||
"id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/staticSites/testStaticSite0/builds/default/linkedBackends/testBackend", | ||
"name": "testBackend", | ||
"type": "Microsoft.Web/staticSites/builds/linkedBackends", | ||
"properties": { | ||
"backendResourceId": "/subscription/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/backendRg/providers/Microsoft.Web/sites/testBackend", | ||
"region": "West US 2", | ||
"createdOn": "2021-12-24T17:33:11.641Z", | ||
"provisioningState": "Succeeded" | ||
} | ||
} | ||
} | ||
} | ||
} |
14 changes: 14 additions & 0 deletions
14
...esource-manager/Microsoft.Web/stable/2022-03-01/examples/UnlinkBackendFromStaticSite.json
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,14 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", | ||
"resourceGroupName": "rg", | ||
"name": "testStaticSite0", | ||
"linkedBackendName": "testBackend", | ||
"cleanUpAuth": true, | ||
"api-version": "2021-03-01" | ||
}, | ||
"responses": { | ||
"204": {}, | ||
"200": {} | ||
} | ||
} |
15 changes: 15 additions & 0 deletions
15
...ce-manager/Microsoft.Web/stable/2022-03-01/examples/UnlinkBackendFromStaticSiteBuild.json
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,15 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", | ||
"resourceGroupName": "rg", | ||
"name": "testStaticSite0", | ||
"environmentName": "12", | ||
"linkedBackendName": "testBackend", | ||
"cleanUpAuth": true, | ||
"api-version": "2021-03-01" | ||
}, | ||
"responses": { | ||
"204": {}, | ||
"200": {} | ||
} | ||
} |
19 changes: 19 additions & 0 deletions
19
...-manager/Microsoft.Web/stable/2022-03-01/examples/ValidateLinkedBackendForStaticSite.json
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,19 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", | ||
"resourceGroupName": "rg", | ||
"name": "testStaticSite0", | ||
"linkedBackendName": "testBackend", | ||
"api-version": "2021-03-01", | ||
"staticSiteLinkedBackendEnvelope": { | ||
"properties": { | ||
"backendResourceId": "/subscription/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/backendRg/providers/Microsoft.Web/sites/testBackend", | ||
"region": "West US 2" | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"204": {}, | ||
"200": {} | ||
} | ||
} |
20 changes: 20 additions & 0 deletions
20
...ger/Microsoft.Web/stable/2022-03-01/examples/ValidateLinkedBackendForStaticSiteBuild.json
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,20 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", | ||
"resourceGroupName": "rg", | ||
"name": "testStaticSite0", | ||
"environmentName": "default", | ||
"linkedBackendName": "testBackend", | ||
"api-version": "2021-03-01", | ||
"staticSiteLinkedBackendEnvelope": { | ||
"properties": { | ||
"backendResourceId": "/subscription/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/backendRg/providers/Microsoft.Web/sites/testBackend", | ||
"region": "West US 2" | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"204": {}, | ||
"200": {} | ||
} | ||
} |