How to update Azure Dedicated Host CMW using Azure Rest API

HyeonJung Park 45 Reputation points
2023-06-12T01:40:51.4933333+00:00

Hi, My client is trying to update ADH using REST API.

Now the host is connected to CMW and needs to proceed with the update, can you tell me the REST API command that can do this? I'd like you to give me the relevant documents as well.

If this function doesn't exist yet, please tell me that it doesn't exist.

Thank you.

Azure Dedicated Host
Azure Dedicated Host
An Azure service that provides a dedicated physical server to host Azure virtual machines for Windows and Linux.
50 questions
{count} votes

Accepted answer
  1. deherman-MSFT 37,416 Reputation points Microsoft Employee
    2023-06-13T14:55:07.16+00:00

    @HyeonJung Park

    Thanks for providing those details. You should be able to use the Apply Updates REST API to perform this operation. Please check if this works for you and let me know if you have any questions.

    PUT https://management.azure.com/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourcegroups/examplerg/providers/Microsoft.Compute/virtualMachineScaleSets/smdtest1/providers/Microsoft.Maintenance/applyUpdates/default?api-version=2021-05-01
    

    If you still have questions, please let us know in the "comments" and we would be happy to help you. Comment is the fastest way of notifying the experts.

    If the answer has been helpful, we appreciate hearing from you and would love to help others who may have the same question. Accepting answers helps increase visibility of this question for other members of the Microsoft Q&A community.

    Thank you for helping to improve Microsoft Q&A! User's image

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.