The Azure Code Samples are currently available in English
Azure Metadata Service: Scheduled Events Samples
Scheduled Events is one of the subservices under the Azure Metadata Service. It is responsible for surfacing information regarding upcoming events (for example, reboot) so your application can prepare for them and limit disruption. It is available for all Azure Virtual Machine types including PaaS and IaaS. Scheduled Events gives your Virtual Machine time to perform preventive tasks to minimize the effect of an event.
Scheduled Events is available for both Linux and Windows VMs. * For information about Scheduled Events on Linux, see Scheduled Events for Linux VMs. * For information about Scheduled Events on Windows, see Scheduled Events for Windows VMs.
Currently Available Samples
Scheduled Events Endpoint Discovery for Non-VNET VMs
In the case where your VM is not configured within a VNET, the default scheduled events endpoint will not be accessible and will need to be discovered. Each of the above language samples provide utilities that can be used to discover the endpoint.