az-lock
Verified for current stable LTS
Az Lock Command: Create Read Only Resource Group Level Lock
Use for create read only resource group level lock with Az Lock. Exact CLI syntax to create read only resource group level lock using Az Lock.
When to use this: Use for create read only resource group level lock with Az Lock.
Command Syntax
az lock create -n <lock_name> -g <group_name> -t ReadOnly az lock create -n <lock_name> -g <group_name> -t ReadOnly Command Breakdown
-n- Command Option
- Tool-specific option used by this command invocation.
-g- Command Option
- Tool-specific option used by this command invocation.
-t- Command Option
- Tool-specific option used by this command invocation.
FAQ
Purpose: Exact syntax to create read only resource group level lock using Az Lock.
Test path: Replace placeholders and run destructive commands in a disposable workspace first.
Flag behavior: Tool version, platform, and shell can change behavior.
Improve This Command
Suggest a correction, safer default, or version-specific note for this entry.
Related Operations
Az Lock Command: Create Read Only Resource Group Lock
az lock create -n <lock_name> -g <group_name> -t ReadOnly Az Lock Command: Create Read Only Subscription Level Lock az lock create -n <lock_name> -t ReadOnly Az Lock Command: Create Read Only Subscription Lock az lock create -n <lock_name> -t ReadOnly Az Lock Command: Create Read Only Resource Group Lock az lock create -n <lock_name> -g <group_name> -t ReadOnly Az Lock Command: Create Read Only Subscription Lock az lock create -n <lock_name> -t ReadOnly