-
Notifications
You must be signed in to change notification settings - Fork 5.5k
Closed
Labels
Compute - ImagesService AttentionWorkflow: This issue is responsible by Azure service team.Workflow: This issue is responsible by Azure service team.
Description
π Hello,
In the 2022-03-03 Compute Gallery API the storageAccountType enum is defined with a different set of allowed values
Line 2469 in 076362b
"storageAccountType": { |
This is causing an error for me when I am trying to add the 2022-03-03 compute APi to the SDK I am working on because of conflicting constants
error: -12T15:15:26.126Z [ERROR] Importer for Service "Compute".Importer for API Version "2022-03-03": π₯ Error: parsing Swagger files: parsing files in "../../swagger/specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-03-03": parsing definition: finding resources for tag "GalleryApplicationVersions": finding nested items yet to be parsed: appending model: appending constants: conflicting constant "StorageAccountType" with different values. First: map[PremiumLRS:Premium_LRS StandardLRS:Standard_LRS StandardZRS:Standard_ZRS]. Second: map[PremiumLRS:Premium_LRS StandardLRS:Standard_LRS StandardSSDLRS:StandardSSD_LRS StandardZRS:Standard_ZRS]
This seems to have been introduced in #22255, looking at this PR I see the same change was also applied to the two previous API versions (2021-10-01 and 2022-01-03)
I see another PR here #22829 which was opened to address this which seems like a logical solution but am unsure why it was closed
Metadata
Metadata
Assignees
Labels
Compute - ImagesService AttentionWorkflow: This issue is responsible by Azure service team.Workflow: This issue is responsible by Azure service team.