https://pulumi.com logo
#azure
Title
# azure
s

some-ambulance-32599

12/19/2023, 12:24 PM
Hi there. I'm creating an endpoint guarded by captcha, so i would like to disable all types of security (code=zxxxx) Link to the documentation - Link! I'm quite sure this scirpt should do the trick, but i dosn't
Copy code
var linuxFunctionApp = new LinuxFunctionApp($"{application}-{environment}-", new()
    {
        ResourceGroupName = resourceGroup.Name,
        Location = resourceGroup.Location,
        StorageAccountName = storageAccount.Name,
        StorageAccountAccessKey = storageAccount.PrimaryAccessKey,
        ServicePlanId = appServicePlan.Id,
        AuthSettings = new LinuxFunctionAppAuthSettingsArgs
        {
            Enabled = false //# SHOULD DO THE TRICK
        },
        SiteConfig = new LinuxFunctionAppSiteConfigArgs
        {

        }
    });