in internal/resources/providers/azurelib/inventory/app_service_provider.go [171:246]
func unwrapSiteConfigResponseProperties(properties *armappservice.SiteConfig) map[string]any {
return map[string]any{
"APIDefinition": pointers.Deref(properties.APIDefinition),
"APIManagementConfig": pointers.Deref(properties.APIManagementConfig),
"AcrUseManagedIdentityCreds": pointers.Deref(properties.AcrUseManagedIdentityCreds),
"AcrUserManagedIdentityID": pointers.Deref(properties.AcrUserManagedIdentityID),
"AlwaysOn": pointers.Deref(properties.AlwaysOn),
"AppCommandLine": pointers.Deref(properties.AppCommandLine),
"AppSettings": properties.AppSettings,
"AutoHealEnabled": pointers.Deref(properties.AutoHealEnabled),
"AutoHealRules": pointers.Deref(properties.AutoHealRules),
"AutoSwapSlotName": pointers.Deref(properties.AutoSwapSlotName),
"AzureStorageAccounts": properties.AzureStorageAccounts,
"ConnectionStrings": properties.ConnectionStrings,
"Cors": pointers.Deref(properties.Cors),
"DefaultDocuments": properties.DefaultDocuments,
"DetailedErrorLoggingEnabled": pointers.Deref(properties.DetailedErrorLoggingEnabled),
"DocumentRoot": pointers.Deref(properties.DocumentRoot),
"ElasticWebAppScaleLimit": pointers.Deref(properties.ElasticWebAppScaleLimit),
"Experiments": pointers.Deref(properties.Experiments),
"FtpsState": pointers.Deref(properties.FtpsState),
"FunctionAppScaleLimit": pointers.Deref(properties.FunctionAppScaleLimit),
"FunctionsRuntimeScaleMonitoringEnabled": pointers.Deref(properties.FunctionsRuntimeScaleMonitoringEnabled),
"HTTPLoggingEnabled": pointers.Deref(properties.HTTPLoggingEnabled),
"HandlerMappings": properties.HandlerMappings,
"HealthCheckPath": pointers.Deref(properties.HealthCheckPath),
"Http20Enabled": pointers.Deref(properties.Http20Enabled),
"IPSecurityRestrictions": properties.IPSecurityRestrictions,
"IPSecurityRestrictionsDefaultAction": pointers.Deref(properties.IPSecurityRestrictionsDefaultAction),
"JavaContainer": pointers.Deref(properties.JavaContainer),
"JavaContainerVersion": pointers.Deref(properties.JavaContainerVersion),
"JavaVersion": pointers.Deref(properties.JavaVersion),
"KeyVaultReferenceIdentity": pointers.Deref(properties.KeyVaultReferenceIdentity),
"Limits": pointers.Deref(properties.Limits),
"LinuxFxVersion": pointers.Deref(properties.LinuxFxVersion),
"LoadBalancing": pointers.Deref(properties.LoadBalancing),
"LocalMySQLEnabled": pointers.Deref(properties.LocalMySQLEnabled),
"LogsDirectorySizeLimit": pointers.Deref(properties.LogsDirectorySizeLimit),
"ManagedPipelineMode": pointers.Deref(properties.ManagedPipelineMode),
"ManagedServiceIdentityID": pointers.Deref(properties.ManagedServiceIdentityID),
"Metadata": properties.Metadata,
"MinTLSCipherSuite": pointers.Deref(properties.MinTLSCipherSuite),
"MinTLSVersion": pointers.Deref(properties.MinTLSVersion),
"MinimumElasticInstanceCount": pointers.Deref(properties.MinimumElasticInstanceCount),
"NetFrameworkVersion": pointers.Deref(properties.NetFrameworkVersion),
"NodeVersion": pointers.Deref(properties.NodeVersion),
"NumberOfWorkers": pointers.Deref(properties.NumberOfWorkers),
"PhpVersion": pointers.Deref(properties.PhpVersion),
"PowerShellVersion": pointers.Deref(properties.PowerShellVersion),
"PreWarmedInstanceCount": pointers.Deref(properties.PreWarmedInstanceCount),
"PublicNetworkAccess": pointers.Deref(properties.PublicNetworkAccess),
"PublishingUsername": pointers.Deref(properties.PublishingUsername),
"Push": pointers.Deref(properties.Push),
"PythonVersion": pointers.Deref(properties.PythonVersion),
"RemoteDebuggingEnabled": pointers.Deref(properties.RemoteDebuggingEnabled),
"RemoteDebuggingVersion": pointers.Deref(properties.RemoteDebuggingVersion),
"RequestTracingEnabled": pointers.Deref(properties.RequestTracingEnabled),
"RequestTracingExpirationTime": pointers.Deref(properties.RequestTracingExpirationTime),
"ScmIPSecurityRestrictions": properties.ScmIPSecurityRestrictions,
"ScmIPSecurityRestrictionsDefaultAction": pointers.Deref(properties.ScmIPSecurityRestrictionsDefaultAction),
"ScmIPSecurityRestrictionsUseMain": pointers.Deref(properties.ScmIPSecurityRestrictionsUseMain),
"ScmMinTLSVersion": pointers.Deref(properties.ScmMinTLSVersion),
"ScmType": pointers.Deref(properties.ScmType),
"TracingOptions": pointers.Deref(properties.TracingOptions),
"Use32BitWorkerProcess": pointers.Deref(properties.Use32BitWorkerProcess),
"VirtualApplications": properties.VirtualApplications,
"VnetName": pointers.Deref(properties.VnetName),
"VnetPrivatePortsCount": pointers.Deref(properties.VnetPrivatePortsCount),
"VnetRouteAllEnabled": pointers.Deref(properties.VnetRouteAllEnabled),
"WebSocketsEnabled": pointers.Deref(properties.WebSocketsEnabled),
"WebsiteTimeZone": pointers.Deref(properties.WebsiteTimeZone),
"WindowsFxVersion": pointers.Deref(properties.WindowsFxVersion),
"XManagedServiceIdentityID": pointers.Deref(properties.XManagedServiceIdentityID),
"MachineKey": pointers.Deref(properties.MachineKey),
}
}