Skip to content

Commit bea6c73

Browse files
committed
Update app-service-undelete.md
reverse capitalization and fix other grammatical issues
1 parent 258c44a commit bea6c73

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

articles/app-service/app-service-undelete.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ If you happened to accidentally delete your app in Azure App Service, you can re
1414

1515
> [!NOTE]
1616
> - Deleted apps are purged from the system 30 days after the initial deletion. After an app is purged, it can't be recovered.
17-
> - Undelete functionality isn't supported for Function apps hosted on the Consumption plan or Elastic Premium plan.
17+
> - Undelete functionality isn't supported for function apps hosted on the Consumption plan or Elastic Premium plan.
1818
> - App Service apps running in an App Service Environment don't support snapshots. Therefore, undelete functionality and clone functionality aren't supported for App Service apps running in an App Service Environment.
1919
>
2020
@@ -49,12 +49,12 @@ The detailed information includes:
4949
## Restore deleted app
5050

5151
>[!NOTE]
52-
>- `Restore-AzDeletedWebApp` isn't supported for Function apps hosted on the Consumption plan or Elastic Premium plan.
52+
>- `Restore-AzDeletedWebApp` isn't supported for function apps hosted on the Consumption plan or Elastic Premium plan.
5353
>- The Restore-AzDeletedWebApp cmdlet restores a deleted web app. The web app specified by TargetResourceGroupName, TargetName, and TargetSlot will be overwritten with the contents and settings of the deleted web app. If the target parameters are not specified, they will automatically be filled with the deleted web app's resource group, name, and slot. If the target web app does not exist, it will automatically be created in the app service plan specified by TargetAppServicePlanName.
5454
>- By default `Restore-AzDeletedWebApp` will restore both your app configuration as well any content. If you want to only restore content, you use the **`-RestoreContentOnly`** flag with this commandlet.
5555
5656

57-
Once the app you want to restore has been identified, you can restore it using `Restore-AzDeletedWebApp`, see below examples
57+
After identifying the app you want to restore, you can restore it using `Restore-AzDeletedWebApp`, as shown in the following examples.
5858
>*You can find the full commandlet reference here: **[Restore-AzDeletedWebApp](/powershell/module/az.websites/restore-azdeletedwebapp)*** .
5959
6060
>Restore to the original app name:
@@ -101,32 +101,32 @@ The inputs for command are:
101101
> [!NOTE]
102102
> If the app was hosted on and then deleted from an App Service Environment, it can be restored only if the corresponding App Service Environment still exists.
103103
104-
## Restore deleted Function app
104+
## Restore deleted function app
105105

106-
If the Function app was hosted on **Dedicated app service plan**, then we have a way to restore it, if it was using default App Service storage.
106+
If the function app was hosted on a **Dedicated app service plan**, it can be restored, as long as it was using the default App Service storage.
107107

108108
1. Fetch the DeletedSiteId of the app version you want to restore, using Get-AzDeletedWebApp cmdlet:
109109

110110
```powershell
111111
Get-AzDeletedWebApp -ResourceGroupName <RGofDeletedApp> -Name <NameofApp>
112112
```
113-
2. Create a new Function app on Dedicated plan. Refer the instructions for [how to create on the portal](../azure-functions/functions-create-function-app-portal.md#create-a-function-app).
114-
3. Restore to the newly created Function app using this cmdlet:
113+
2. Create a new function app in a Dedicated plan. Refer to the instructions for [how to create an app in the portal](../azure-functions/functions-create-function-app-portal.md#create-a-function-app).
114+
3. Restore to the newly created function app using this cmdlet:
115115

116116
```powershell
117117
Restore-AzDeletedWebApp -ResourceGroupName <RGofnewapp> -Name <newApp> -deletedId "/subscriptions/xxxx/providers/Microsoft.Web/locations/xxxx/deletedSites/xxxx"
118118
```
119119

120-
Currently there's no support for Undelete (Restore-AzDeletedWebApp) Function app that's hosted on Consumption plan or Elastic premium plan since the content resides on Azure Files on a Storage account. If you haven't 'hard' deleted the Azure Files storage account or if it exists and hasn't been deleted, then you may use the steps as workaround:
120+
Currently there's no support for Undelete (Restore-AzDeletedWebApp) Function app that's hosted in a Consumption plan or Elastic premium plan since the content resides on Azure Files in a Storage account. If you haven't 'hard' deleted that Azure Files storage account, or if the account exists and file shares haven't been deleted, then you may use the steps as workaround:
121121

122122

123-
1. Create a new Function app on Consumption or Premium plan. Refer the instructions for [how to create on the portal](../azure-functions/functions-create-function-app-portal.md#create-a-function-app).
124-
2. Set the following [app settings](../azure-functions/functions-how-to-use-azure-function-app-settings.md?tabs=portal#settings) to refer to the old storage account for the app content.
123+
1. Create a new function app in a Consumption or Premium plan. Refer the instructions for [how to create an app in the portal](../azure-functions/functions-create-function-app-portal.md#create-a-function-app).
124+
2. Set the following [app settings](../azure-functions/functions-how-to-use-azure-function-app-settings.md?tabs=portal#settings) to refer to the old storage account , which contains the content from the previous app.
125125

126126
| App Setting | Suggested value |
127127
| ------------ | ---------------- |
128-
| **AzureWebJobsStorage** | Connection String for storage account of deleted site |
129-
| **WEBSITE_CONTENTAZUREFILECONNECTIONSTRING** | Connection String for storage account of deleted site |
130-
| **WEBSITE_CONTENTSHARE** | File share on storage account of deleted site |
128+
| **AzureWebJobsStorage** | Connection String for the storage account used by the deleted app. |
129+
| **WEBSITE_CONTENTAZUREFILECONNECTIONSTRING** | Connection String for the storage account used by the deleted app. |
130+
| **WEBSITE_CONTENTSHARE** | File share on storage account used by the deleted app. |
131131

132132

0 commit comments

Comments
 (0)