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/azure-resource-manager/templates/deploy-to-management-group.md
+12-5Lines changed: 12 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,15 +2,13 @@
2
2
title: Deploy resources to management group
3
3
description: Describes how to deploy resources at the management group scope in an Azure Resource Manager template.
4
4
ms.topic: conceptual
5
-
ms.date: 02/10/2020
5
+
ms.date: 03/02/2020
6
6
---
7
7
8
8
# Create resources at the management group level
9
9
10
10
Typically, you deploy Azure resources to a resource group in your Azure subscription. However, you can also create resources at the management group level. You use management group level deployments to take actions that make sense at that level, such as assigning [role-based access control](../../role-based-access-control/overview.md) or applying [policies](../../governance/policy/overview.md).
11
11
12
-
Currently, to deploy templates at the management group level, you must use the REST API.
13
-
14
12
## Supported resources
15
13
16
14
You can deploy the following resource types at the management group level:
For REST API, use [Deployments - Create At Management Group Scope](/rest/api/resources/deployments/createorupdateatmanagementgroupscope).
46
53
@@ -145,7 +152,7 @@ The following example assigns an existing policy definition to the management gr
145
152
146
153
## Template sample
147
154
148
-
* Create a resource group, a policy and a policy assignment. See [here](https://github.com/Azure/azure-docs-json-samples/blob/master/management-level-deployment/azuredeploy.json).
155
+
*[Create a resource group, a policy and a policy assignment](https://github.com/Azure/azure-docs-json-samples/blob/master/management-level-deployment/azuredeploy.json).
Copy file name to clipboardExpand all lines: articles/azure-resource-manager/templates/deploy-to-subscription.md
+8-7Lines changed: 8 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
title: Deploy resources to subscription
3
3
description: Describes how to create a resource group in an Azure Resource Manager template. It also shows how to deploy resources at the Azure subscription scope.
4
4
ms.topic: conceptual
5
-
ms.date: 02/10/2020
5
+
ms.date: 03/02/2020
6
6
---
7
7
8
8
# Create resource groups and resources at the subscription level
@@ -15,6 +15,7 @@ To deploy templates at the subscription level, use Azure CLI, PowerShell, or RES
15
15
16
16
You can deploy the following resource types at the subscription level:
For the PowerShell deployment command, use [New-AzDeployment](/powershell/module/az.resources/new-azdeployment). The following example deploys a template to create a resource group:
59
+
For the PowerShell deployment command, use [New-AzDeployment](/powershell/module/az.resources/new-azdeployment) or **New-AzSubscriptionDeployment**. The following example deploys a template to create a resource group:
* Create a resource group, lock it and give permissions to it. See [here](https://github.com/Azure/azure-quickstart-templates/tree/master/subscription-level-deployments/create-rg-lock-role-assignment).
373
-
* Create a resource group, a policy and a policy assignment. See [here](https://github.com/Azure/azure-docs-json-samples/blob/master/subscription-level-deployment/azuredeploy.json).
373
+
*[Create a resource group, lock it and give permissions to it](https://github.com/Azure/azure-quickstart-templates/tree/master/subscription-level-deployments/create-rg-lock-role-assignment).
374
+
*[Create a resource group, a policy, and a policy assignment](https://github.com/Azure/azure-docs-json-samples/blob/master/subscription-level-deployment/azuredeploy.json).
0 commit comments