az lock
Manage Azure locks. Azure CLI reference
5 commands 9 options Its page in the Azure CLI reference
Commands
Options
--idsOne or more resource IDs (space-delimited).--lock-type, -tThe type of lock restriction.--name, -nName of the lock--namespaceProvider namespace (Ex: 'Microsoft.Provider')--notesNotes about this lock.--parentThe parent path (Ex: 'resA/myA/resB/myB')--resource-group, -gName of resource group.--resource-name, --resourceName or ID of the resource being locked.--resource-typeThe resource type (Ex: 'resC').