https://pulumi.com logo
#getting-started
Title
# getting-started
e

eager-gigabyte-20835

09/14/2023, 4:54 PM
Hello all, creating Azure front door CDN rules is not working I keep getting internal server errors.
Copy code
_ = new Rule(removeServerNameRuleName, new RuleArgs
            {
                Order = order,
                ResourceGroupName = resourceGroup.Name,
                ProfileName = parm.ProfileName,
                RuleName = removeServerNameRuleName,
                RuleSetName = ruleset.Name,
                Actions = new[]
                 {
                    new DeliveryRuleResponseHeaderActionArgs
                    {
                        Name = $"RemoveServerHeader",
                        Parameters = new HeaderActionParametersArgs
                        {
                            HeaderName = "Server",
                            HeaderAction = "Delete",
                            TypeName = "DeliveryRuleHeaderActionParameters"
                        }
                    }
                    
                }
            });