few-lizard-48557
09/15/2022, 8:26 AMicy-doctor-13719
09/15/2022, 3:20 PM"eligibleLogCategories": "AppServiceAppLogs,AppServiceAuditLogs,AppServiceConsoleLogs,AppServiceHTTPLogs,AppServiceIPSecAuditLogs,AppServicePlatformLogs,ScanLogs",
"type": "Microsoft.Web/sites/config",
"httpLoggingEnabled": true,
"detailedErrorLoggingEnabled": true,
"logsDirectorySizeLimit": 35,
"azureStorageAccounts": {}
few-lizard-48557
09/20/2022, 9:52 AM/providers/Microsoft.Network/applicationGateways/application-gateway/providers/microsoft.insights/diagnosticSettings/
I then found under Pulumi in the Insights namespace the 'azure-native.insights.DiagnosticSetting' resource. This resource corresponds exactly to the properties displayed in the DialogSettings dialog of the webapp.
So the solution is to create an 'azure-native.insights.DiagnosticSetting' resource and assign it to the webapp via the 'resourceUri' property.