Nov 16, 2017. | By: Owen Davies
The latest API Version of the ‘Microsoft.Compute/disks’ resource is: 2017-03-30, I’m currently getting a BadRequest error with this version.
When using the current latest API version of 2017-03-30 I’m getting the following error:
The resource operation completed with terminal provisioning state 'Failed'." "code": "BadRequest" diskDescription.properties.accountType Could not find member 'accountType' on object of type 'DiskProperties'. Path 'properties.accountType'
It can’t find the accountType property, which is used to set between the following account types:
Fortuantly the API version 2016-04-30-preview works fine for this. I assume that Microsoft have moved this property to another location. But it isn’t documented that I can see.
Documentation is located here
I'm a .NET Software Engineer. Obsessed with Scrum / agile practices, DevOps, Azure... and C# of course
Nant (1) Load testing (1) Visual studio (1) Azure (25) Aws (1) Asp.net (1) Tfs (1) Puppetlabs reports (2) Devops (2) Iis (1) Powershell (7) Arm templates (2) Arm template (1) Azure (9) Arm (2) Powershell (1) Dsc (1) Jekyll (1) Vsts (1) Arm (2)