Quantcast
Channel: Azure Management Portal forum
Viewing all articles
Browse latest Browse all 4189

Azure autoscale API: Cannot give a valid serviceId

$
0
0

I need to be able to, in the API, set Autoscale settings for VMs in CloudServices and in the near future to web workers.

I have been following the API described here:

http://msdn.microsoft.com/en-us/library/azure/dn510372.aspx 

but I keep getting this error:

Unknown error (Bad Request)

<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">{"Code":"InvalidResourceId","Message":"The required resource ID of 'eb-cuvn0:eb-cuvn0' that you provided is not valid. Enter a valid resource ID."}</string>

The SDK in Python (or any language I have checked) does not allow to operate with Autoscale settings.

The resourceId I am using in the parameter is like this:

resourceId=/virtualmachines/<cloudservice>/availabilitySet/<availability-set>

I don't get more information in the logs from these operations as they were rejected. Looking for an example aChecking the operations log from the UI IBut if I manually create the Autoscale settings I get a log using a different JSON and parameters than the original API documentation. Is the API documentation up to date?

I could use the other version or I would appreciate a complete example with the URL and URI parameters included.

Thank you for your help,

David


Viewing all articles
Browse latest Browse all 4189

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>