Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,102 @@
"nextLinkName": "nextLink"
}
}
},
"/subscriptions/{subscriptionId}/providers/Microsoft.Web/locations/{location}/deletedSites": {
"get": {
"tags": [
"DeletedWebApps"
],
"summary": "Get all deleted apps for a subscription at location",
"description": "Get all deleted apps for a subscription at location",
"operationId": "DeletedWebApps_ListByLocation",
"parameters": [
{
"name": "location",
"in": "path",
"required": true,
"type": "string"
},
{
"$ref": "#/parameters/subscriptionIdParameter"
},
{
"$ref": "#/parameters/apiVersionParameter"
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/DeletedWebAppCollection"
}
},
"default": {
"description": "App Service error response.",
"schema": {
"$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse"
}
}
},
"x-ms-examples": {
"List Deleted Web App by Location": {
"$ref": "./examples/ListDeletedWebAppsByLocation.json"
}
},
"x-ms-pageable": {
"nextLinkName": "nextLink"
}
}
},
"/subscriptions/{subscriptionId}/providers/Microsoft.Web/locations/{location}/deletedSites/{deletedSiteId}": {
"get": {
"tags": [
"DeletedWebApps"
],
"summary": "Get deleted app for a subscription at location.",
"description": "Get deleted app for a subscription at location.",
"operationId": "DeletedWebApps_GetDeletedWebAppByLocation",
"parameters": [
{
"name": "location",
"in": "path",
"required": true,
"type": "string"
},
{
"name": "deletedSiteId",
"in": "path",
"description": "The numeric ID of the deleted app, e.g. 12345",
"required": true,
"type": "string"
},
{
"$ref": "#/parameters/subscriptionIdParameter"
},
{
"$ref": "#/parameters/apiVersionParameter"
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "./CommonDefinitions.json#/definitions/DeletedSite"
}
},
"default": {
"description": "App Service error response.",
"schema": {
"$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse"
}
}
},
"x-ms-examples": {
"Get Deleted Web App by Location": {
"$ref": "./examples/GetDeletedWebAppByLocation.json"
}
}
}
}
},
"definitions": {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"parameters": {
"subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
"location": "West US 2",
"deletedSiteId": "9",
"api-version": "2018-02-01"
},
"responses": {
"200": {
"headers": {},
"body": {
"name": "wussite6",
"type": "Microsoft.Web/locations/deletedSites",
"properties": {
"deletedSiteId": 9,
"deletedTimestamp": "2019-05-09T22:29:05.1337007",
"subscription": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
"resourceGroup": "rg1",
"deletedSiteName": "wussite6",
"slot": "Production",
"kind": "app",
"geoRegionName": "West US 2"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"parameters": {
"subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
"location": "West US 2",
"api-version": "2018-02-01"
},
"responses": {
"200": {
"headers": {},
"body": {
"value": [
{
"name": "wussite6",
"type": "Microsoft.Web/locations/deletedSites",
"properties": {
"deletedSiteId": 9,
"deletedTimestamp": "2019-05-09T22:29:05.1337007",
"subscription": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
"resourceGroup": "rg1",
"deletedSiteName": "wussite6",
"slot": "Production",
"kind": "app",
"geoRegionName": "West US 2"
}
}
],
"nextLink": null
}
}
}
}