Skip to content

[BUG]The Name under alwaysReady property of Azure flex consumption function app is always being lowercased #33095

Open
@xiaxyi

Description

@xiaxyi

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#L3675

API Spec version

2023-12-01

Describe the bug

The user's input is always being lowercased

Expected behavior

the api should respect the user's input, for example, if the user's input is "FunctionName", the value should be staying as what it's being passed, instead of being changed to "functionname".

@nzthiago for awareness

Actual behavior

The value is being lowercased, despite the camel case that's passed by the user

Reproduction Steps

simple send the value following the example payload:

	"functionAppConfig": {
			"deployment": {
				"storage": {
					"type": "blobcontainer",
					"value": "https://xiaxintest331.blob.core.windows.net/testtfblob1",
					"authentication": {
						"type": "storageaccountconnectionstring",
						"userAssignedIdentityResourceId": null,
						"storageAccountConnectionStringName": "DEPLOYMENT_STORAGE_CONNECTION_STRING"
					}
				}
			},
			"runtime": {
				"name": "python",
				"version": "3.11"
			},
			"scaleAndConcurrency": {
				"alwaysReady": [
					{
						"name": "blobConfig",
						"instanceCount": 80
					}
				],
				"maximumInstanceCount": 100,
				"instanceMemoryMB": 2048,
				"triggers": null
			}
		},

Environment

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    MgmtThis issue is related to a management-plane library.Service AttentionWorkflow: This issue is responsible by Azure service team.Web AppsbugThis issue requires a change to an existing behavior in the product in order to be resolved.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions