Skip to content

Commit b8ff783

Browse files
committed
cleanup Files redundancy
1 parent 52b6244 commit b8ff783

1 file changed

Lines changed: 6 additions & 24 deletions

File tree

articles/storage/files/files-redundancy.md

Lines changed: 6 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -23,22 +23,6 @@ Azure classic file shares created with the Microsoft.Storage resource provider a
2323

2424
When you create a storage account, you choose a redundancy setting for the storage account that's shared for all storage services exposed by that account. Therefore, all file shares deployed in the same storage account have the same redundancy setting. You might want to isolate file shares in separate storage accounts if they have different redundancy requirements.
2525

26-
## Applies to
27-
| Management model | Billing model | Media tier | Redundancy | SMB | NFS |
28-
|-|-|-|-|:-:|:-:|
29-
| Microsoft.Storage | Provisioned v2 | SSD (premium) | Local (LRS) | ![No](../media/icons/no-icon.png) | ![Yes](../media/icons/yes-icon.png) |
30-
| Microsoft.Storage | Provisioned v2 | SSD (premium) | Zone (ZRS) | ![No](../media/icons/no-icon.png) | ![Yes](../media/icons/yes-icon.png) |
31-
| Microsoft.Storage | Provisioned v2 | HDD (standard) | Local (LRS) | ![Yes](../media/icons/yes-icon.png) | ![No](../media/icons/no-icon.png) |
32-
| Microsoft.Storage | Provisioned v2 | HDD (standard) | Zone (ZRS) | ![Yes](../media/icons/yes-icon.png) | ![No](../media/icons/no-icon.png) |
33-
| Microsoft.Storage | Provisioned v2 | HDD (standard) | Geo (GRS) | ![Yes](../media/icons/yes-icon.png) | ![No](../media/icons/no-icon.png) |
34-
| Microsoft.Storage | Provisioned v2 | HDD (standard) | GeoZone (GZRS) | ![Yes](../media/icons/yes-icon.png) | ![No](../media/icons/no-icon.png) |
35-
| Microsoft.Storage | Provisioned v1 | SSD (premium) | Local (LRS) | ![Yes](../media/icons/yes-icon.png) | ![Yes](../media/icons/yes-icon.png) |
36-
| Microsoft.Storage | Provisioned v1 | SSD (premium) | Zone (ZRS) | ![Yes](../media/icons/yes-icon.png) | ![Yes](../media/icons/yes-icon.png) |
37-
| Microsoft.Storage | Pay-as-you-go | HDD (standard) | Local (LRS) | ![Yes](../media/icons/yes-icon.png) | ![No](../media/icons/no-icon.png) |
38-
| Microsoft.Storage | Pay-as-you-go | HDD (standard) | Zone (ZRS) | ![Yes](../media/icons/yes-icon.png) | ![No](../media/icons/no-icon.png) |
39-
| Microsoft.Storage | Pay-as-you-go | HDD (standard) | Geo (GRS) | ![Yes](../media/icons/yes-icon.png) | ![No](../media/icons/no-icon.png) |
40-
| Microsoft.Storage | Pay-as-you-go | HDD (standard) | GeoZone (GZRS) | ![Yes](../media/icons/yes-icon.png) | ![No](../media/icons/no-icon.png) |
41-
4226
## Redundancy in the primary region
4327

4428
Data in an Azure storage account is always replicated three times in the primary region. Azure Files offers two options for how your data is replicated in the primary region:
@@ -208,20 +192,18 @@ You can verify region supportability for various billing models using the follow
208192

209193
To view region supportability based on different billing models, use Azure PowerShell or Azure CLI.
210194

211-
# [PowerShell](#tab/azure-powershell)
195+
# [Azure PowerShell](#tab/azure-powershell)
212196

213197
```powershell
214-
Powershell:
215-
216198
# Login
217199
Connect-AzAccount
218200
# (Optional but recommended if you have multiple subs)
219201
# Set-AzContext -Subscription $subscriptionID
220202
221203
$subscriptionID = "your-subscription-id-number"
222204
223-
# Get token (now SecureString by default)
224-
$secureToken = (Get-AzAccessToken).Token # SecureString now [1](/powershell/module/az.accounts/get-azaccesstoken?view=azps-15.3.0)
205+
# Get token (output is now SecureString by default, see https://learn.microsoft.com/powershell/module/az.accounts/get-azaccesstoken)
206+
$secureToken = (Get-AzAccessToken).Token # SecureString now
225207
226208
# Convert SecureString -> plaintext (Az 14 migration pattern)
227209
$ssPtr = [System.Runtime.InteropServices.Marshal]::SecureStringToBSTR($secureToken)
@@ -242,11 +224,11 @@ $filteredResult = $result | `
242224
Select-Object -ExpandProperty value | `
243225
Where-Object {
244226
$_.resourceType -eq "storageAccounts" -and
245-
# Filter based on your needs. FileStorage kind includes pv2, and pv1 file share, where StorageV2 kind include PayGO file shares.
227+
# Filter based on your needs. FileStorage account kind includes Pv2 and Pv1 file share, where StorageV2 kind includes PayGO file shares.
246228
$_.kind -in @("FileStorage", "StorageV2") -and
247-
# Filter based on your needs. "Standard_" for PayGO file share, "StandardV2_" for Pv2 file share, "Premium_" for pv1 file shares.
229+
# Filter based on your needs. "Standard_" for PayGO file share, "StandardV2_" for Pv2 file share, "Premium_" for Pv1 file shares.
248230
# $_.name.StartsWith("StandardV2_") -and
249-
# Change region based on your need to see if we currently support the region (all small cases, no space in between).
231+
# Change region based on your need to see if the region is currently supported (all lowercase, no space in between).
250232
# $_.locations -eq "italynorth" -and
251233
$_.name -notin @("Standard_RAGRS", "Standard_RAGZRS")
252234
}

0 commit comments

Comments
 (0)