azure-cli icon indicating copy to clipboard operation
azure-cli copied to clipboard

Update references to "Resource ID" with "Resource URI"

Open lorenzomsft opened this issue 4 years ago • 2 comments

Related command

Is your feature request related to a problem? Please describe.

Describe the solution you'd like

Describe alternatives you've considered

Additional context

Hello team, please consider updating every reference to "resource ID" with "resource URI", as it can be misleading. For example: az vm assess-patches [--ids]

That [--ids] is misleading, as it requires the full VM URI, not the VM id. This is true for so many commands, not only for VM, but also storage and so on. The same behavior is present for Azure PowerShell modules, please consider updating those as well

lorenzomsft avatar Jul 05 '22 09:07 lorenzomsft

Compute

yonzhan avatar Jul 05 '22 10:07 yonzhan

That [--ids] is misleading, as it requires the full VM URI, not the VM id. This is true for so many commands, not only for VM, but also storage and so on.

@lorenzomsft May I ask what the VM Id do you mean?

In fact, the --ids parameter is a general usage in CLI, which requires the user to pass in the complete ARM resource id. For more details, please refer to this doc supporting-the-ids-parameter

zhoxing-ms avatar Aug 01 '22 08:08 zhoxing-ms