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