Description
The Azure Rest API expects and returns a string
value for the diskControllerType
option on the storage profile for VM Scaleset VM profiles.
Documentation can be found here: https://github.com/Azure/azure-rest-api-specs/blob/main/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2023-03-01/virtualMachineScaleSet.json#L4092
Public facing documentation specifies that this value should instead be a string[]
: https://learn.microsoft.com/en-us/rest/api/compute/virtual-machine-scale-sets/create-or-update?tabs=HTTP#virtualmachinescalesetstorageprofile
As a result, downstream tools (Pulumi's azure-native provider) provide / expect a string array - and encounter an error when a string is provided back, or the provided string array is rejected.
Related Issue: pulumi/pulumi-azure-native#2639