-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
Using az lab vm show to view artifacts doesn't work #7903
Comments
I see the same error when querying for "networkInterface". When I try to expand that using "--expand", |
This means the service does not support the value you supplied. |
@tjprescott Do you mean the the value I provided for the expand parameter is incorrect? I also tried the below command with lesser properties in expand and got the same error: Let me know if I am interpreting this wrong. |
Nevermind, I figured out my mistake. I switched to command prompt, and I had to change ' to " and then the command works as expected. I think the doc should be updated to use double quotes there? |
In powershell, this can be use: |
My goal is to view the available/installed artifacts on a VM in dev test lab.
By calling:
It displays a json response in which there is an "artifacts" property but its value is null.
When I try to use the --expand parameter as it is described in the documentation it returns an error:
The error:
I searched through the issues and noticed that the expand property is planned for deprecation. Please advice what to use and how to list the artifacts in the DevTest lab.
Documentation: https://docs.microsoft.com/en-us/cli/azure/lab/vm?view=azure-cli-latest#az-lab-vm-show
The text was updated successfully, but these errors were encountered: