You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/storage/files/storage-files-developer-overview.md
+14Lines changed: 14 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,6 +13,20 @@ ms.author: pauljewell
13
13
14
14
This article provides an overview of application development with Azure Files and helps you decide which approach is best based on the needs of your app.
15
15
16
+
## Applies to
17
+
| Management model | Billing model | Media tier | Redundancy | SMB | NFS |
Azure Files offers several ways for developers to access data and manage resources in Azure file shares. The following table lists the approaches, summarizes how they work, and provides guidance on when to use each approach:
Copy file name to clipboardExpand all lines: articles/storage/files/storage-files-enable-soft-delete.md
+24-18Lines changed: 24 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,15 +12,21 @@ services: storage
12
12
13
13
# How to enable soft delete on Azure file shares
14
14
15
-
Azure Files offers soft delete for file shares so that you can easily recover your data when it's mistakenly deleted by an application or other storage account user. To learn more about soft delete, see [How to prevent accidental deletion of Azure file shares](storage-files-prevent-file-share-deletion.md).
15
+
Azure Files offers soft delete for file shares so that you can easily recover your data if you mistakenly the file share. To learn more about soft delete, see [How to prevent accidental deletion of Azure file shares](storage-files-prevent-file-share-deletion.md).
16
16
17
17
## Applies to
18
-
19
-
| File share type | SMB | NFS |
20
-
|-|:-:|:-:|
21
-
| Standard file shares (GPv2), LRS/ZRS |||
22
-
| Standard file shares (GPv2), GRS/GZRS |||
@@ -35,12 +41,12 @@ The following sections show how to enable and use soft delete for Azure file sha
35
41
36
42
1. Sign in to the [Azure portal](https://portal.azure.com).
37
43
1. Navigate to your storage account and select **File shares** under **Data storage**.
38
-
1. Select **Disabled** next to **Soft delete**. The **Soft delete** settings pane will appear.
44
+
1. Select **Disabled** next to **Soft delete**.
39
45
1. Select **Enabled** for **Soft delete for all file shares**.
40
46
1. Under **File share retention period in days**, use the slider to specify a number between 1 and 365 days.
41
47
1. Select **Save** to confirm your data retention settings.
42
48
43
-
:::image type="content" source="media/storage-how-to-recover-deleted-account/files-enable-soft-delete-new-ui.png" alt-text="Screenshot of the storage account soft delete settings pane. Highlighting the file shares soft delete section, enable toggle, set a retention period, and save. This will enable soft delete for all file shares in your storage account.":::
49
+
:::image type="content" source="media/storage-how-to-recover-deleted-account/files-enable-soft-delete-new-ui.png" alt-text="Screenshot of the storage account soft delete settings pane. Highlighting the file shares soft delete section, enable toggle, set a retention period, and save. This enables soft delete for all file shares in your storage account.":::
44
50
45
51
# [PowerShell](#tab/azure-powershell)
46
52
To enable soft delete, you must update the settings for all Azure file shares, also known as the `FileService` properties. The following example enables soft delete for all file shares in a storage account. Remember to replace `<resource-group>` and `<storage-account>` with the appropriate values for your environment.
@@ -93,15 +99,15 @@ az storage account file-service-properties show \
93
99
To restore a soft deleted file share:
94
100
95
101
1. Navigate to your storage account and select **File shares**.
96
-
1. On the file share blade, enable **Show deleted shares** to display any shares that have been soft deleted.
102
+
1. On the file share blade, enable **Show deleted shares** to display any shares that are soft deleted.
97
103
98
-
This will display any shares currently in a **Deleted** state.
104
+
This displays any shares currently in a **Deleted** state.
99
105
100
-
:::image type="content" source="media/storage-how-to-recover-deleted-account/undelete-file-share.png" alt-text="If the status column, the column next to the name column, is set to Deleted, then your file share is in a soft deleted state. And will be permanently deleted after your specified retention period.":::
106
+
:::image type="content" source="media/storage-how-to-recover-deleted-account/undelete-file-share.png" alt-text="If the status column, the column next to the name column, is set to Deleted, then your file share is in a soft deleted state, and is be permanently deleted after your specified retention period.":::
101
107
102
-
1. Select the share and select **undelete**. This will restore the share.
108
+
1. Select the share and select **undelete** to restore the share.
103
109
104
-
You can confirm the share is restored since its status switches to **Active**.
110
+
You can confirm the share is restored when its status switches to **Active**.
105
111
106
112
:::image type="content" source="media/storage-how-to-recover-deleted-account/restored-file-share.png" alt-text="If the status column, the column next to the name column, is set to Active, then your file share has been restored.":::
107
113
@@ -115,7 +121,7 @@ Get-AzRmStorageShare `
115
121
-IncludeDeleted
116
122
```
117
123
118
-
Once you've identified the share you'd like to restore, you can use it with the following command to restore it:
124
+
Once you identify the share you want to restore, you can use the following command to restore it:
119
125
120
126
```PowerShell
121
127
Restore-AzRmStorageShare `
@@ -134,7 +140,7 @@ az storage share-rm list \
134
140
--include-deleted
135
141
```
136
142
137
-
Once you've identified the share you'd like to restore, you can restore it with the following command:
143
+
Once you identify the share you'd like to restore, you can restore it with the following command:
@@ -149,11 +155,11 @@ If you want to stop using soft delete, follow these instructions. To permanently
149
155
# [Portal](#tab/azure-portal)
150
156
151
157
1. Navigate to your storage account and select **File shares** under **Data storage**.
152
-
1. Select **Enabled** next to **Soft delete**. The **Soft delete** settings pane will appear.
158
+
1. Select **Enabled** next to **Soft delete**.
153
159
1. Select **Disabled** for **Soft delete for all file shares**.
154
160
1. Select **Save** to confirm your data retention settings.
155
161
156
-
:::image type="content" source="media/storage-how-to-recover-deleted-account/files-disable-soft-delete.png" alt-text="Disabling soft delete will allow you to immediately and permanently delete all file shares in your storage account.":::
162
+
:::image type="content" source="media/storage-how-to-recover-deleted-account/files-disable-soft-delete.png" alt-text="Disabling soft delete allows you to immediately and permanently delete any file shares in your storage account.":::
157
163
158
164
# [PowerShell](#tab/azure-powershell)
159
165
You can use the following command to disable soft delete on your storage account.
Copy file name to clipboardExpand all lines: articles/storage/files/storage-files-faq.md
+1-5Lines changed: 1 addition & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -247,11 +247,7 @@ Alternate data streams are preserved on-premises when Azure File Sync is used.
247
247
248
248
* <aid="transactions-billing"></a>
249
249
**What are transactions in Azure Files, and how are they billed?**
250
-
Protocol transactions occur any time a user, application, script, or service interacts with Azure file shares (writing, reading, listing, deleting files, etc.). It's important to remember that some actions that you might perceive as a single operation might actually involve multiple transactions. For standard Azure file shares billed on a pay-as-you-go model, different types of transactions have different prices based on their impact on the file share. Transactions don't affect billing for premium file shares, which are billed using a provisioned model. For more information, see [Understanding billing](understanding-billing.md).
251
-
252
-
* <aid="share-snapshot-price"></a>
253
-
**How much do share snapshots cost?**
254
-
Share snapshots are incremental in nature. The base share snapshot is the share itself. All subsequent share snapshots are incremental and store only the difference from the preceding share snapshot. You're billed only for the changed content. If you have a share with 100 GiB of data but only 5 GiB has changed since your last share snapshot, the share snapshot consumes only 5 additional GiB, and you're billed for 105 GiB. For more information about transaction and standard egress charges, see the [Pricing page](https://azure.microsoft.com/pricing/details/storage/files/).
250
+
Protocol transactions occur any time a user, application, script, or service interacts with Azure file shares (writing, reading, listing, deleting files, etc.). It's important to remember that some actions that you might perceive as a single operation might actually involve multiple transactions. For pay-as-you-go file shares, different types of transactions have different prices based on their impact on the file share. Transactions don't affect billing for provisioned file shares. For more information, see [Understanding billing](understanding-billing.md).
0 commit comments