Skip to content

Type Mismatch: VirtualMachineScaleSet.virtualMachineProfile.storageProfile.diskControllerType: string vs string[] #25202

Open
@Navigatron

Description

@Navigatron

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Service AttentionWorkflow: This issue is responsible by Azure service team.customer-reportedIssues that are reported by GitHub users external to the Azure organization.questionThe issue doesn't require a change to the product in order to be resolved. Most issues start as that

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions