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
@@ -42,55 +42,86 @@ 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:
|`<ResourceGroupName>`| The name of the resource group where the resources are to be deployed. |
50
-
|`<ElasticSanName>`| The name of the Elastic SAN to be created. |
49
+
|`<ResourceGroupName>`| The name of the resource group where the resources will be deployed. |
50
+
|`<ElasticSanName>`| The name of the Elastic SAN to be created.<br>*The Elastic SAN name must be between 3 and 24 characters long. The name may only contain lowercase letters, numbers, hyphens and underscores, and must begin and end with a letter or a number. Each hyphen and underscore must be preceded and followed by an alphanumeric character.*|
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
-
|`<Location>`| The region where new resources will be created. |
53
+
|`<Location>`| The region where the new resources will be created. |
54
+
|`<Zone>`| The availability zone where the Elastic SAN will be created.<br> *Specify the same availability zone as the zone that will host your workload.*<br>*Use only if the Elastic SAN will use locally-redundant storage.*<br> *Must be a zone supported in the target location such as `1`, `2`, or `3`.*|
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:
|`<ResourceGroupName>`| The name of the resource group where the resources are to be deployed. |
78
-
|`<ElasticSanName>`| The name of the Elastic SAN to be created. |
91
+
|`<ResourceGroupName>`| The name of the resource group where the resources will be deployed. |
92
+
|`<ElasticSanName>`| The name of the Elastic SAN to be created.<br>*The Elastic SAN name must be between 3 and 24 characters long. The name may only contain lowercase letters, numbers, hyphens and underscores, and must begin and end with a letter or a number. Each hyphen and underscore must be preceded and followed by an alphanumeric character.*|
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
-
|`<Location>`| The region where new resources will be created. |
95
+
|`<Location>`| The region where the new resources will be created. |
96
+
|`<Zone>`| The availability zone where the Elastic SAN will be created.<br> *Specify the same availability zone as the zone that will host your workload.*<br>*Use only if the Elastic SAN will use locally-redundant storage.*<br> *Must be a zone supported in the target location such as `1`, `2`, or `3`.*|
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