Azure / azure-cli

Azure Command-Line Interface
MIT License
3.93k stars 2.9k forks source link

az lab vm show and az lab vm list response always have applicableSchedule and scheduleParameters as null #29132

Open joekru opened 1 month ago

joekru commented 1 month ago

Describe the bug

The json response for a VM in either 'az lab vm show' or 'az lab vm list' always has these 2 fields as null:

Related command

az lab vm show -g myGroup --lab-name myLabName --name myVmName az lab vm list -g myGroup --lab-name myLabName

Errors

No error messages are apparent to the user

Issue script & Debug output

nothing apparent in debug - commands complete successfully

Expected behavior

applicableSchedule and scheduleParameters should not always be null

Environment Summary

azure-cli 2.61.0

core 2.61.0 telemetry 1.1.0

Extensions: costmanagement 0.3.0 quota 1.0.0

Dependencies: msal 1.28.0 azure-mgmt-resource 23.1.1

Python location 'C:\Program Files\Microsoft SDKs\Azure\CLI2\python.exe' Extensions directory 'C:\Users\Joel.Kruse.azure\cliextensions'

Python (Windows) 3.11.8 (tags/v3.11.8:db85d51, Feb 6 2024, 22:03:32) [MSC v.1937 64 bit (AMD64)]

Legal docs and information: aka.ms/AzureCliLegal

Your CLI is up-to-date.

Additional context

No response

yonzhan commented 1 month ago

Thank you for opening this issue, we will look into it.

microsoft-github-policy-service[bot] commented 1 month ago

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @Tanmayeekamath.