Specifiing the azure function name

I’m trying to specify the azure function name in the yaml, I want to use a function I already have. It’s supposed to work with the name property but it isn’t working, this is my serverless.yml

provider:
name: azure
region: East US
runtime: nodejs10.x
prefix: “bchain” # prefix of generated resource name
subscriptionId: 57f54105-b737-44fd-8644-e3c333fa7a21
resourceGroup: EPM-ILAB-RG-AutoGeneradores
type: ‘Consumption’

functions:
generate:
handler: dist/generate.execute
events:
- http: true
x-azure-settings:
name: the-name-i-want
methods:
- GET
authLevel: anonymous

This is the name I get: bchain-eus-dev-.azurewebsites.net

Is it possible to set a specific name for the azure function?

Thanks