New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enhancement: extend pa app get
to allow retrieving apps by their display name
#2174
Comments
Volunteer 🤚 |
Sold! All yours @Abderahman88. Appreciate your help 👏 |
At the moment, I'm getting all apps using I'm trying to use the $filter-parameter in the API call above, but I get following error.
|
If the API doesn't support it then the approach you have at the moment is good 👍 |
@Abderahman88 I am not 100% sure but think that you can use REST filters on that endpoint (https://docs.microsoft.com/en-us/azure/azure-monitor/essentials/rest-api-walkthrough). So perhaps you can do a filter on the displayName property. I haven't tested that though but that might be an option. |
@appieschot I tried a filter but I don't get the error. (see post above)
But for example |
Sorry! Didn't read properly! Looks like getting them all is the only way. If I ever find some time I will have a look at the powershell option as well. Still need to dive into those to spec some other commands as well. |
Currently,
pa app get
allows you to retrieve information of an app by specifying its name which is a GUID. We should also allow specifying the display name which is more user-friendly and something that you could know upfront without having to look it up.This can be picked up after merging #2172
The text was updated successfully, but these errors were encountered: