Helllo Aboli Dilip Sonawane
Welcome to Microsoft Q&A Platform, thanks for posting your query here.
API is used to perform a rolling upgrade of the operating system on a virtual machine scale set**.** However, this API is not specific to RHEL OS and can be used to upgrade any supported operating system.
To upgrade RHEL OS on a virtual machine scale set, you can use the Red Hat Update Infrastructure (RHUI) to get the latest updates. RHUI allows cloud providers, such as Azure, to mirror Red Hat-hosted repository content, create custom repositories with Azure-specific content, and make it available to end-user VMs.
To get the latest updates, run sudo yum update
after your RHEL instance is ready. This service is included as part of the RHEL PAYG software fees.
If you want to use REST API to patch/upgrade RHEL Linux VMSS, you can use the API Reference in Red Hat Update Infrastructure (https://access.redhat.com/documentation/en-us/red_hat_update_infrastructure/3.1/html/system_administrators_guide/api_reference)
I hope this helps!