Skip to content

[Reference feedback]: Need acceptable values for --resource arg on az rest command #31473

@mstgms

Description

@mstgms

Type of issue

Other (describe below)

Reference command name

az rest

Feedback

First, thanks for this excellent cli extension.
I am highly using azure cli for purpose about Azure Devops operations. For our one of requirement, I need to compare two branches of a repo with az repos but it hasn't any command for that. Then I tried to rest API of repo diffs via az rest command but I cannot succeed because of missed --resource argument. After hours, thanks to Copilot, I found the correct resource argument for dev.azure.com as --resource "499b84ac-1321-427f-aa17-267ca6975798".
I think that az rest can use on very wide area but the documentation limits us.

Page URL

https://learn.microsoft.com/en-us/cli/azure/reference-index?view=azure-cli-latest

Content source URL

https://github.com/MicrosoftDocs/azure-docs-cli/blob/main/docs-ref-autogen/Latest-version/latest/reference-index.yml

Author

@mikefrobbins

Document Id

87992d8a-9ca1-bc38-c929-ebd6732d75b4

Metadata

Metadata

Assignees

Labels

Auto-AssignAuto assign by botDevOpsService AttentionThis issue is responsible by Azure service team.customer-reportedIssues that are reported by GitHub users external to the Azure organization.needs-triageThis is a new issue that needs to be triaged to the appropriate team.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions