Skip to content

[Feature Request] Missing documentation for az devops invoke #1452

Open
@davidmarekmsft

Description

@davidmarekmsft

Is your feature request related to a problem? Please describe.
It's impossible to figure out the name of a resource for az devops invoke, there's no documentation and no way how to figure out the name from the rest api documentation.

Describe the solution you'd like
There should be a way how to figure out the correct area and resource for each REST api call.

Additional context

I wanted to use the az devops invoke command to get a list of leases for a build: https://learn.microsoft.com/en-us/rest/api/azure/devops/build/builds/get-retention-leases-for-build?view=azure-devops-rest-7.1

I tried to use --resource leases, but that failed. The correct resource is buildleases, I haven't found this documented anywhere, I had to modify the invoke.py source code to find the full list of all resource location.

Metadata

Metadata

Assignees

No one assigned

    Labels

    FeatureFeature Work required.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions