Skip to content

Cannot specify a name when creating a Network Watcher resource with Azure CLI #20199

@crobin1

Description

@crobin1

Is your feature request related to a problem? Please describe.
Azure CLI don't provide a way to specify a name when creating a network watcher resource, like the PowerShell cmdlet and AMR template do.
It's frustrating because it just breaks all the organization naming convention in place.

Describe the solution you'd like
Example:
az network watcher configure -g custom-rg -n my-nw-custom-name -l westus --enabled true

Describe alternatives you've considered
ARM template. But it's a pain to always have to rely to ARM template because of missing feature in the CLI.

Additional context
None.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions