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: Azure Resource Manager template samples for features within Resource Manager
4
+
services: azure-resource-manager
5
+
author: tfitzmac
6
+
7
+
ms.service: azure-resource-manager
8
+
ms.devlang: na
9
+
ms.topic: sample
10
+
ms.tgt_pltfrm: na
11
+
ms.date: 11/16/2018
12
+
ms.author: tomfitz
13
+
---
14
+
# Azure Resource Manager templates for management features
15
+
16
+
The following table includes links to Azure Resource Manager templates for features provided by Resource Manager.
17
+
18
+
|||
19
+
|-|-|
20
+
|**Role assignments**||
21
+
|[Assign role for resource group](https://github.com/Azure/azure-quickstart-templates/tree/master/101-rbac-builtinrole-resourcegroup)| Assigns a built-in role to a user for an existing resource group. |
22
+
|[Assign role for existing virtual machine](https://github.com/Azure/azure-quickstart-templates/tree/master/101-rbac-builtinrole-virtualmachine)| Assigns a built-in role to a user for an existing VM. |
23
+
|[Assign role for several virtual machines](https://github.com/Azure/azure-quickstart-templates/tree/master/201-rbac-builtinrole-multipleVMs)| Assigns built-in roles to users for more than one virtual machine. |
24
+
|[Assign role for Azure subscription](https://github.com/Azure/azure-quickstart-templates/tree/master/subscription-level-deployments/subscription-role-assigment)| Assigns a role to a user for an Azure subscription. |
25
+
|**Role definition**||
26
+
|[Create custom role definition](https://github.com/Azure/azure-quickstart-templates/tree/master/subscription-level-deployments/create-role-def)| Creates a new role definition in an Azure subscription. |
27
+
|**Resource lock**||
28
+
|[Lock resource group](https://github.com/Azure/azure-quickstart-templates/tree/master/subscription-level-deployments/create-rg-lock-role-assignment)| Creates a resource group, and applies a **DoNotDelete** lock to the resource group. Assigns the contributor role to a user. |
0 commit comments