Blog Post
Announcing Native Azure Functions Support in Azure Container Apps
Hello, great job. I managed to deploy the function app to containerapps according to your guide but eventgrid does not work. is it implemented as well_
param name string
param systemTopicName string
param functionAppName string
param storageAccountName string
resource systemTopic 'Microsoft.EventGrid/systemTopics@2024-12-15-preview' existing = {
name: systemTopicName
}
resource EventSubscription 'Microsoft.EventGrid/systemTopics/eventSubscriptions@2024-12-15-preview' = {
name: '${name}-subscription'
parent: systemTopic
properties: {
destination: {
endpointType: 'AzureFunction'
properties: {
resourceId: '${resourceId('Microsoft.App/containerApps', functionAppName)}/functions/myblobtrigger'
maxEventsPerBatch: 1
preferredBatchSizeInKilobytes: 64
}
}
eventDeliverySchema: 'CloudEventSchemaV1_0'
filter: {
includedEventTypes: [
'Microsoft.Storage.BlobCreated'
'Microsoft.Storage.BlobDeleted'
]
isSubjectCaseSensitive: false
subjectBeginsWith: '/blobServices/default/containers/in/'
}
retryPolicy: {
eventTimeToLiveInMinutes: 1440
maxDeliveryAttempts: 30
}
deadLetterDestination: {
endpointType: 'StorageBlob'
properties: {
resourceId: resourceId('Microsoft.Storage/storageAccounts/blobServices/containers', storageAccountName, 'default', 'deadletter')
blobContainerName: 'deadletter'
}
}
}
}