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
description: Use Azure CLI to manage your resource groups through Azure Resource Manager. Shows how to create, list, and delete resource groups.
4
4
author: mumian
5
5
ms.topic: conceptual
6
-
ms.date: 09/10/2021
7
-
ms.author: jgao
6
+
ms.date: 03/31/2023
8
7
ms.custom: devx-track-azurecli
9
8
---
10
9
11
10
# Manage Azure Resource Groups by using Azure CLI
12
11
13
12
Learn how to use Azure CLI with [Azure Resource Manager](overview.md) to manage your Azure resource groups. For managing Azure resources, see [Manage Azure resources by using Azure CLI](manage-resources-cli.md).
14
13
14
+
## Prerequisites
15
+
16
+
* Azure CLI. For more information, see [How to install the Azure CLI](/cli/azure/install-azure-cli).
17
+
18
+
* After installing, sign in for the first time. For more information, see [How to sign into the Azure CLI](/cli/azure/get-started-with-azure-cli#how-to-sign-into-the-azure-cli).
19
+
15
20
## What is a resource group
16
21
17
22
A resource group is a container that holds related resources for an Azure solution. The resource group can include all the resources for the solution, or only those resources that you want to manage as a group. You decide how you want to add resources to resource groups based on what makes the most sense for your organization. Generally, add resources that share the same lifecycle to the same resource group so you can easily deploy, update, and delete them as a group.
@@ -54,18 +59,44 @@ For more information about how Azure Resource Manager orders the deletion of res
54
59
55
60
You can deploy Azure resources by using Azure CLI, or by deploying an Azure Resource Manager (ARM) template or Bicep file.
56
61
62
+
### Deploy resources by using Storage operations
63
+
57
64
The following example creates a storage account. The name you provide for the storage account must be unique across Azure.
For more information about deploying an ARM template, see [Deploy resources with Resource Manager templates and Azure CLI](../templates/deploy-cli.md).
70
101
71
102
For more information about deploying a Bicep file, see [Deploy resources with Bicep and Azure CLI](../bicep/deploy-cli.md).
description: Use Azure PowerShell to manage your resource groups through Azure Resource Manager. Shows how to create, list, and delete resource groups.
4
4
author: mumian
5
5
ms.topic: conceptual
6
-
ms.date: 09/10/2021
7
-
ms.author: jgao
6
+
ms.date: 03/31/2023
8
7
ms.custom: devx-track-azurepowershell
9
8
10
9
---
11
10
# Manage Azure Resource Groups by using Azure PowerShell
12
11
13
12
Learn how to use Azure PowerShell with [Azure Resource Manager](overview.md) to manage your Azure resource groups. For managing Azure resources, see [Manage Azure resources by using Azure PowerShell](manage-resources-powershell.md).
14
13
14
+
## Prerequisites
15
+
16
+
* Azure PowerShell. For more information, see [Install the Azure Az PowerShell module](/powershell/azure/install-az-ps).
17
+
18
+
* After installing, sign in for the first time. For more information, see [Sign in](/powershell/azure/install-az-ps#sign-in).
19
+
15
20
## What is a resource group
16
21
17
22
A resource group is a container that holds related resources for an Azure solution. The resource group can include all the resources for the solution, or only those resources that you want to manage as a group. You decide how you want to add resources to resource groups based on what makes the most sense for your organization. Generally, add resources that share the same lifecycle to the same resource group so you can easily deploy, update, and delete them as a group.
@@ -54,18 +59,44 @@ For more information about how Azure Resource Manager orders the deletion of res
54
59
55
60
You can deploy Azure resources by using Azure PowerShell, or by deploying an Azure Resource Manager (ARM) template or Bicep file.
56
61
62
+
### Deploy resources by using Storage operations
63
+
57
64
The following example creates a storage account. The name you provide for the storage account must be unique across Azure.
For more information about deploying an ARM template, see [Deploy resources with ARM templates and Azure PowerShell](../templates/deploy-powershell.md).
70
101
71
102
For more information about deploying a Bicep file, see [Deploy resources with Bicep and Azure PowerShell](../bicep/deploy-powershell.md).
@@ -86,6 +117,13 @@ To get the locks for a resource group, use [Get-AzResourceLock](/powershell/modu
0 commit comments