Creating a Virtual Machine Image in personal image gallery using Capture Role REST Service Management API from an exisiting Virtual Machine


As you may know that using Capture Role REST Service Management API you can create a Virtual Machine Image to your image gallery directly from a running virtual machine which is described at the link below:

 

In above MSDN documentation the Request URI is defined as below which is incorrect:

 

POST    https://management.core.windows.net/<subscription-id>/services/hostedservices/<service-name>/deployments/<deployment-name>/roles/<role-name>/Operations
 

 

The correct Request URL should be as below:

 

POST    https://management.core.windows.net/<subscription-id>/services/hostedservices/{serviceName}/deployments/{deploymentName}/RoleInstances/{roleInstanceName}/Operations

 

Comments (0)

Skip to main content