Azure/azure-rest-api-specs

[BUG] The Microsoft.Web functionAppConfig.deployment.storage storageType enum should be renamed to functionsDeploymentStorageType.

Francisco-Gamino opened this issue · 2 comments

API Spec link

https://github.com/Azure/azure-rest-api-specs/blob/main/specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/CommonDefinitions.json

API Spec version

2023-12-01

Describe the bug

In the 2023-12-01 Microsoft.Web API, I introduced the functionAppConfig property bag to specify configuration for a Flex Consumption function app. In the deployment section, I defined a new enum type named storageType (https://github.com/Azure/azure-rest-api-specs/blob/main/specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/CommonDefinitions.json#L3619-L3630). However, there was an existing enum with this name in ArcConfiguration (https://github.com/Azure/azure-rest-api-specs/blob/main/specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/KubeEnvironments.json#L384-L395). To fix this issue, we need to rename the storageType enum in the deployment section of functionAppConfig to functionsDeploymentStorageType.

Please note that this issue was caught when requesting new SDKs for the 2023-12-01 API version, so this is not a breaking change yet. I will ask the other SDKs to wait until this change is completed.

Expected behavior

N/A

Actual behavior

N/A

Reproduction Steps

N/A

Environment

N/A

@naveedaz Please help have a look, thank you.

This issue has been fixed for the 2023-12-01 API version. The change has been merged to the main branch.