azure - Start service worker role using management rest api -


i trying stop / start azure worker role using windows scheduler. action url used follows: https://management.core.windows.net/<subscription-id>/services/hostedservices/<cloudservice-name>/deploymentslots/<deployment-slot>/. secured using certificate. response following error.

http action - response host 'management.core.windows.net': 'notfound' response headers: x-ms-servedbyregion: ussouth3 strict-transport-security: max-age=31536000; includesubdomains x-ms-request-id: e1f235c155cf6a00a904a527bc22c77f cache-control: no-cache date: fri, 15 jan 2016 19:55:02 gmt server: 1.0.6198.304 (rd_rdfe_stable.160106-1801) microsoft-httpapi/2.0 body: resourcenotfoundthe resource service name hostedservices not supported.

i followed instructions here: https://msdn.microsoft.com/en-us/library/azure/ee460808.aspx raw post looks this: post https://management.core.windows.net/9974e512-xxxx-xxxx-xxxx-xxxxxxxxb846a/services/hostedservices/sblqueueprocessorservice/deployments/c2cdxxxxxxxxxxxxxxxxxxxxxxxx6e32/ http/1.1 x-ms-version: 2009-10-01 content-type: application/xml host: management.core.windows.net content-length: 173

<?xml version="1.0" encoding="utf-8"?> <updatedeploymentstatus xmlns="http://schemas.microsoft.com/windowsazure"> <status>suspended</status> </updatedeploymentstatus> 

in addition, deployment api call works.

it missing ?comp=status uri parameter.


Comments

Popular posts from this blog

get url and add instance to a model with prefilled foreign key :django admin -

css - Make div keyboard-scrollable in jQuery Mobile? -

ruby on rails - Seeing duplicate requests handled with Unicorn -