cuddly-napkin-89521
12/09/2022, 2:06 PMArgument of type '{ name: string; resourceGroupName: Output<string>; script_href: string; config_href: string; test_data_href: string; href: string; script_root_path_href: string; language: string; config: { ...; }; }' is not assignable to parameter of type 'WebAppFunctionArgs'.
Object literal may only specify known properties, but 'script_href' does not exist in type 'WebAppFunctionArgs'. Did you mean to write 'scriptHref'?
my code:
const etlFunctionApp = new web.WebAppFunction("fa-horizon-etl-dev-functionapp", {
name: "fa-horizon-etl-dev-functionapp/data_validation",
resourceGroupName: etlResourceGroup.name,
script_href: "<https://func-horizon-dev-etl.azurewebsites.net/admin/vfs/home/site/wwwroot/data_validation/__init__.py>",
config_href: "<https://func-horizon-dev-etl.azurewebsites.net/admin/vfs/home/site/wwwroot/data_validation/function.json>",
test_data_href: "<https://func-horizon-dev-etl.azurewebsites.net/admin/vfs/home/data/Functions/sampledata/data_validation.dat>",
href: "<https://func-horizon-dev-etl.azurewebsites.net/admin/functions/data_validation>",
script_root_path_href: "<https://func-horizona-dev-etl.azurewebsites.net/admin/vfs/home/site/wwwroot/data_validation/>",
language: "python",
config: {
scriptFile: "__init__.py",
bindings: [
{
name: "blob",
type: "blobTrigger",
direction: "in",
path: "uploaded-zone/{name}.json",
connection: "AzureWebJobsStorage"
}
]
},
});
millions-journalist-34868
12/09/2022, 11:14 PM