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/elastic-san/elastic-san-create.md
+47-16Lines changed: 47 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -42,7 +42,7 @@ This article explains how to deploy and configure an elastic storage area networ
42
42
43
43
# [PowerShell](#tab/azure-powershell)
44
44
45
-
Replace all placeholder text with your own values when assigning values to variables and use the same variables in of all the examples in this article:
45
+
Use one of these sets of sample code to create an Elastic SAN that uses locally redundant storage or zone-redundant storage. Replace all placeholder text with your own values and use the same variables in of all the examples in this article:
@@ -51,26 +51,40 @@ Replace all placeholder text with your own values when assigning values to varia
51
51
|`<ElasticSanVolumeGroupName>`| The name of the Elastic SAN Volume Group to be created. |
52
52
|`<VolumeName>`| The name of the Elastic SAN Volume to be created. |
53
53
|`<Location>`| The region where new resources will be created. |
54
+
|`<Zone>`| The availability zone where the Elastic SAN will be created if it will use locally-redundant storage.<br> *Must be `1`, `2`, or `3`. Specify the same availability zone as the zone that will host your workload.*|
54
55
55
-
The following command creates an Elastic SAN that uses locally redundant storage. To create one that uses zone-redundant storage, replace `Premium_LRS` with `Premium_ZRS`.
56
+
The following command creates an Elastic SAN that uses locally-redundant storage.
56
57
57
58
```azurepowershell
58
-
## Variables
59
-
$RgName = "<ResourceGroupName>"
60
-
## Select the same availability zone as where you plan to host your workload
61
-
$Zone = 1
62
-
## Select the same region as your Azure virtual network
Replace all placeholder text with your own values when assigning values to variables and use the same variables in of all the examples in this article:
87
+
Use one of these sets of sample code to create an Elastic SAN that uses locally redundant storage or zone-redundant storage. Replace all placeholder text with your own values and use the same variables in of all the examples in this article:
@@ -79,18 +93,35 @@ Replace all placeholder text with your own values when assigning values to varia
79
93
|`<ElasticSanVolumeGroupName>`| The name of the Elastic SAN Volume Group to be created. |
80
94
|`<VolumeName>`| The name of the Elastic SAN Volume to be created. |
81
95
|`<Location>`| The region where new resources will be created. |
96
+
|`<Zone>`| The availability zone where the Elastic SAN will be created if it will use locally-redundant storage.<br> *Must be `1`, `2`, or `3`. Specify the same availability zone as the zone that will host your workload.*|
97
+
98
+
The following command creates an Elastic SAN that uses locally-redundant storage.
82
99
83
-
The following command creates an Elastic SAN that uses locally redundant storage. To create one that uses zone-redundant storage, replace `Premium_LRS` with `Premium_ZRS`.
@@ -109,7 +140,7 @@ Now that you've configured the basic settings and provisioned your storage, you
109
140
The following sample command creates an Elastic SAN volume group in the Elastic SAN you created previously. Use the same variables and values you defined when you [created the Elastic SAN](#create-the-san).
110
141
111
142
```azurepowershell
112
-
## Create the volume group, this script only creates one.
143
+
# Create the volume group, this script only creates one.
0 commit comments