az-lock Verified for current stable LTS

Az Lock Command: Create Read Only Subscription Lock

Use for create read only subscription lock with Az Lock. Exact CLI syntax to create read only subscription lock using Az Lock.

When to use this: Use for create read only subscription lock with Az Lock.

Command Syntax

az lock create -n <lock_name> -t ReadOnly

Command Breakdown

-n
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 subscription 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

Back to Az Lock directory