Skip to content

Commit f9fcc83

Browse files
authored
Merge pull request #214325 from roygara/sanUpdates2
San updates2
2 parents b065c92 + c319ee8 commit f9fcc83

File tree

3 files changed

+33
-10
lines changed

3 files changed

+33
-10
lines changed

articles/storage/elastic-san/elastic-san-connect.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ In your virtual network, enable the Storage service endpoint on your subnet. Thi
3838
# [PowerShell](#tab/azure-powershell)
3939

4040
```powershell
41+
$resourceGroupName = "yourResourceGroup"
4142
$vnetName = "yourVirtualNetwork"
4243
$subnetName = "yourSubnet"
4344

articles/storage/elastic-san/elastic-san-create.md

Lines changed: 30 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ This article explains how to deploy and configure an elastic storage area networ
1616

1717
## Prerequisites
1818

19-
- Sign up for the preview at [https://aka.ms/ElasticSANPreviewSignUp](https://aka.ms/ElasticSANPreviewSignUp).
2019
- If you're using Azure PowerShell, use `Install-Module -Name Az.Elastic-SAN -Scope CurrentUser -Repository PSGallery -Force -RequiredVersion .10-preview` to install the preview module.
2120
- If you're using Azure CLI, install the latest version. For installation instructions, see [How to install the Azure CLI](/cli/azure/install-azure-cli).
2221
- Once you've installed the latest version, run `az extension add -n elastic-san` to install the extension for Elastic SAN.
@@ -27,7 +26,15 @@ This article explains how to deploy and configure an elastic storage area networ
2726

2827
## Register for the preview
2928

30-
Register your subscription with Microsoft.ElasticSAN resource provider and the preview feature using the following command:
29+
Sign up for the preview at [https://aka.ms/ElasticSANPreviewSignUp](https://aka.ms/ElasticSANPreviewSignUp).
30+
31+
If your request for access to the preview is approved, register your subscription with Microsoft.ElasticSAN resource provider and the preview feature using the following command:
32+
33+
# [Portal](#tab/azure-portal)
34+
35+
Use either the Azure PowerShell module or the Azure CLI to register your subscription for the preview.
36+
37+
# [PowerShell](#tab/azure-powershell)
3138

3239
```azurepowershell
3340
Register-AzResourceProvider -ProviderNamespace Microsoft.ElasticSan
@@ -41,6 +48,21 @@ Get-AzResourceProvider -ProviderNamespace Microsoft.ElasticSan
4148
Get-AzProviderFeature -FeatureName "ElasticSanPreviewAccess" -ProviderNamespace "Microsoft.ElasticSan"
4249
```
4350

51+
# [Azure CLI](#tab/azure-cli)
52+
53+
```azurecli
54+
az provider register --namespace Microsoft.ElasticSan
55+
az feature register --name ElasticSanPreviewAccess --namespace Microsoft.ElasticSan
56+
```
57+
58+
It may take a few minutes for registration to complete. To confirm you've registered, use the following command:
59+
60+
```azurecli
61+
az provider show --namespace Microsoft.ElasticSan
62+
az feature show --name ElasticSanPreviewAccess --namespace Microsoft.ElasticSan
63+
```
64+
---
65+
4466
## Create the SAN
4567

4668
# [Portal](#tab/azure-portal)
@@ -81,12 +103,12 @@ The following command creates an Elastic SAN that uses locally-redundant storage
81103

82104
```azurecli
83105
## Variables
84-
sanName="yourSANNameHere"
85-
resourceGroupName="yourResourceGroupNameHere"
86-
sanLocation="desiredRegion"
87-
volumeGroupName="desiredVolumeGroupName"
106+
$sanName="yourSANNameHere"
107+
$resourceGroupName="yourResourceGroupNameHere"
108+
$sanLocation="desiredRegion"
109+
$volumeGroupName="desiredVolumeGroupName"
88110
89-
az elastic-san create -n $sanName -g $resourceGroupName -l $sanLocation base-size-tib 100 extended-capacity-size-tib 20 sku “{name:Premium_LRS,tier:Premium}”
111+
az elastic-san create -n $sanName -g $resourceGroupName -l $sanLocation --base-size-tib 100 --extended-capacity-size-tib 20 --sku “{name:Premium_LRS,tier:Premium}”
90112
```
91113
---
92114

@@ -152,7 +174,7 @@ New-AzElasticSanVolume -ResourceGroupName $rgName -ElasticSanName $sanName -Volu
152174
Replace `$volumeName` with the name you'd like the volume to use, then run the following script:
153175

154176
```azurecli
155-
az elastic-san volume-group create --elastic-san-name $sanName -g $resourceGroupName -v volumeGroupName -n $volumeName size-gib 2000
177+
az elastic-san volume-group create --elastic-san-name $sanName -g $resourceGroupName -v volumeGroupName -n $volumeName --size-gib 2000
156178
```
157179
---
158180

articles/storage/elastic-san/elastic-san-expand.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ Update-AzElasticSan -ResourceGroupName $resourceGroupName -Name $sanName -BaseSi
3535
# You can either update the base size or the additional size.
3636
# This command updates the base size, to update the additional size, replace -base-size-tib $newBaseSizeTib with –extended-capacity-size-tib $newExtendedCapacitySizeTib
3737
38-
az elastic-san update -e $sanName -g $resourceGroupName base-size-tib $newBaseSizeTib
38+
az elastic-san update -e $sanName -g $resourceGroupName --base-size-tib $newBaseSizeTib
3939
```
4040

4141
---
@@ -53,7 +53,7 @@ Update-AzElasticSanVolume -ResourceGroupName $resourceGroupName -ElasticSanName
5353
# [Azure CLI](#tab/azure-cli)
5454

5555
```azurecli
56-
az elastic-san update -e $sanName -g $resourceGroupName -v $volumeGroupName -n $volumeName size-gib $newVolumeSize
56+
az elastic-san update -e $sanName -g $resourceGroupName -v $volumeGroupName -n $volumeName --size-gib $newVolumeSize
5757
```
5858

5959
---

0 commit comments

Comments
 (0)