I’m writing an Azure Function (nodejs) that will create a VM shutdown schedule on VMs that don’t have one.
I am having an issue however listing schedules. All of the list* methods of the Schedules interface require the labName
parameter, however, I don’t have a lab. VM shutdown schedules don’t require a lab.
Checking the actual ARM definition of this VM shutdown schedule there is no labname
either:
The same issue is true if I try to create such a schedule via the SDK. How do I do this if I don’t have a lab?