How to create a resource group lock in Azure

0 votes

Hi Guys,

I am new to Azure. I want to create a resource group lock in Azure. How can I create that?

Nov 15, 2020 in Azure by akhtar
• 38,170 points
64 views

1 answer to this question.

0 votes

Hi@akhtar,

Resource Manager Locks provide a way for administrators to lock down Azure resources to prevent deletion or changing of a resource. These locks sit outside of the Role-Based Access Controls (RBAC) hierarchy. You can use the below command to create the lock.

$ az group lock create --lock-type ReadOnly -n lockName -g MyResourceGroup
answered Nov 15, 2020 by MD
• 95,160 points

Related Questions In Azure

0 votes
0 answers

How to create a sub-container in Azure?

How to create a sub-container in Azure ...READ MORE

Jun 28, 2019 in Azure by sabby
• 4,370 points
436 views
0 votes
1 answer

How to create a sub-container in Azure?

You can create a container named "content" and ...READ MORE

answered Jun 28, 2019 in Azure by Perry
• 17,100 points
697 views
0 votes
1 answer

How to create a container in Azure Cloud?

Hi@akhtar, You can launch a container on any ...READ MORE

answered Nov 13, 2020 in Azure by MD
• 95,160 points
61 views
0 votes
1 answer

How to create a managed container registry in Azure?

Hi@akhtar, To run a container, you need an ...READ MORE

answered Nov 13, 2020 in Azure by MD
• 95,160 points
41 views
0 votes
1 answer

What is Azure Cloud Service?

Azure Cloud Services is an example of ...READ MORE

answered Jan 10, 2020 in Azure by Sirajul
• 59,050 points
242 views
0 votes
2 answers

Azure DevOps and its need?

Azure DevOps is a hosted service providing ...READ MORE

answered Aug 28, 2020 in Azure by nbavis
• 380 points
364 views
0 votes
1 answer

What is Azure stack?

Azure Stack is a hybrid cloud computing software solution ...READ MORE

answered Jan 10, 2020 in Azure by Sirajul
• 59,050 points
229 views
0 votes
1 answer

How is Azure Cosmos db different from an Azure SQL db?

Azure Cosmos DB is Microsoft’s globally distributed database ...READ MORE

answered Jan 10, 2020 in Azure by Sirajul
• 59,050 points
1,011 views
0 votes
1 answer

How to update a resource group lock with new notes and type in Azure?

Hi@akhtar, You can update the group lock with ...READ MORE

answered Nov 15, 2020 in Azure by MD
• 95,160 points
78 views
0 votes
1 answer

How to create a virtual network in Azure?

Hi@akhtar, An Azure Virtual Network (VNet) is a representation of ...READ MORE

answered Nov 12, 2020 in Azure by MD
• 95,160 points
64 views