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: azure-local/deploy/deployment-azure-arc-gateway-overview.md
+39-2Lines changed: 39 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -135,9 +135,11 @@ Consider the following limitations of Arc gateway in this release:
135
135
136
136
## Create the Arc gateway resource in Azure
137
137
138
-
You can create an Arc gateway resource in Azure portal as follows:
138
+
You can create an Arc gateway resource using the Azure portal, Azure CLI, or Azure PowerShell.
139
139
140
-
1. Sign in to Azure portal.
140
+
# [Portal](#tab/portal)
141
+
142
+
1. Sign in to [Azure portal](https://ms.portal.azure.com/).
141
143
1. Go to the **Azure Arc > Azure Arc gateway** page, then select **Create**.
142
144
1. Select the subscription and resource group where you want the Arc gateway resource to be managed within Azure. An Arc gateway resource can be used by any Arc-enabled resource in the same Azure tenant.
143
145
1. For **Name**, enter the name for the Arc gateway resource.
@@ -149,6 +151,41 @@ You can create an Arc gateway resource in Azure portal as follows:
149
151
150
152
The gateway creation process takes nine to ten minutes to complete.
151
153
154
+
You can create an Arc gateway resource using the Azure portal, Azure CLI, or Azure PowerShell.
155
+
156
+
157
+
# [CLI](#tab/cli)
158
+
159
+
1. Add the arc gateway extension to your Azure CLI:
160
+
161
+
`az extension add -n arcgateway`
162
+
163
+
1. On a machine with access to Azure, run the following commands to create your Arc gateway resource:
The gateway creation process takes 9-10 minutes to complete.
170
+
171
+
# [PowerShell](#tab/powershell)
172
+
173
+
On a machine with access to Azure, run the following PowerShell command to create your Arc gateway resource:
174
+
175
+
```azurepowershell
176
+
New-AzArcgateway
177
+
-name <gateway name>
178
+
-resource-group <resource group>
179
+
-location <region>
180
+
-subscription <subscription name or id>
181
+
-gateway-type public
182
+
-allowed-features *
183
+
```
184
+
185
+
The gateway creation process takes 9-10 minutes to complete.
186
+
187
+
---
188
+
152
189
## Detach or change the Arc gateway association from the machine
153
190
154
191
To detach the gateway resource from your Arc-enabled server, set the gateway resource ID to `null`. If you want to attach your Arc-enabled server to another Arc gateway resource just update the name and resource ID with the new Arc gateway information:
0 commit comments