Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions azure/deploy-to-azure/event_hub.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
},
"resources": [
{
"apiVersion": "2018-01-01-preview",
"apiVersion": "2024-01-01",
"name": "[parameters('eventHubNamespace')]",
"type": "Microsoft.EventHub/namespaces",
"location": "[parameters('location')]",
Expand All @@ -42,10 +42,12 @@
"capacity": 1
},
"tags": {},
"properties": {},
"properties": {
"minimumTlsVersion": "1.2"
},
"resources": [
{
"apiVersion": "2017-04-01",
"apiVersion": "2024-01-01",
"name": "[parameters('eventHubName')]",
"type": "eventhubs",
"dependsOn": [
Expand Down
11 changes: 7 additions & 4 deletions azure/deploy-to-azure/function_template.json

Large diffs are not rendered by default.

20 changes: 10 additions & 10 deletions azure/deploy-to-azure/parent_template.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,11 +72,11 @@
}
},
"diagnosticSettingName": {
"type": "string",
"defaultValue": "[concat('datadog-activity-logs-diagnostic-setting-', uniqueString(newGuid()))]",
"metadata": {
"description": "The name of the diagnostic setting if sending Activity Logs"
}
"type": "string",
"defaultValue": "[concat('datadog-activity-logs-diagnostic-setting-', uniqueString(newGuid()))]",
"metadata": {
"description": "The name of the diagnostic setting if sending Activity Logs"
}
}
},
"variables": {
Expand Down Expand Up @@ -185,10 +185,10 @@
"location": "[parameters('resourcesLocation')]"
}
],
"outputs": {
"eventHubNamespace": {
"type": "string",
"value": "[parameters('eventHubNamespace')]"
}
"outputs": {
"eventHubNamespace": {
"type": "string",
"value": "[parameters('eventHubNamespace')]"
}
}
}
8 changes: 5 additions & 3 deletions azure/eventhub_log_forwarder/event_hub.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
},
"resources": [
{
"apiVersion": "2018-01-01-preview",
"apiVersion": "2024-01-01",
"name": "[parameters('eventHubNamespace')]",
"type": "Microsoft.EventHub/namespaces",
"location": "[parameters('location')]",
Expand All @@ -35,10 +35,12 @@
"capacity": 1
},
"tags": {},
"properties": {},
"properties": {
"minimumTlsVersion": "1.2"
},
"resources": [
{
"apiVersion": "2017-04-01",
"apiVersion": "2024-01-01",
"name": "[parameters('eventHubName')]",
"type": "eventhubs",
"dependsOn": [
Expand Down
9 changes: 6 additions & 3 deletions azure/eventhub_log_forwarder/function_template.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,16 +78,19 @@
"resources": [
{
"type": "Microsoft.Storage/storageAccounts",
"apiVersion": "2019-06-01",
"apiVersion": "2023-05-01",
"name": "[variables('storageAccountName')]",
"location": "[parameters('location')]",
"kind": "StorageV2",
"sku": {
"name": "Standard_LRS"
},
"properties": {
"minimumTlsVersion": "TLS1_2"
}
},
{
"apiVersion": "2018-11-01",
"apiVersion": "2024-04-01",
"type": "Microsoft.Web/sites",
"name": "[parameters('functionAppName')]",
"location": "[parameters('location')]",
Expand Down Expand Up @@ -152,7 +155,7 @@
{
"name": "[concat(parameters('functionAppName'), '/', parameters('functionName'))]",
"type": "Microsoft.Web/sites/functions",
"apiVersion": "2020-06-01",
"apiVersion": "2024-04-01",
"properties": {
"config": {
"bindings": [
Expand Down
14 changes: 7 additions & 7 deletions azure/eventhub_log_forwarder/parent_template.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
{
"name": "eventHubTemplate",
"type": "Microsoft.Resources/deployments",
"apiVersion": "2018-05-01",
"apiVersion": "2024-07-01",
"properties": {
"mode": "Incremental",
"templateLink": {
Expand All @@ -102,7 +102,7 @@
{
"name": "functionAppTemplate",
"type": "Microsoft.Resources/deployments",
"apiVersion": "2018-05-01",
"apiVersion": "2024-07-01",
"properties": {
"mode": "Incremental",
"templateLink": {
Expand Down Expand Up @@ -147,10 +147,10 @@
]
}
],
"outputs": {
"eventHubNamespace": {
"type": "string",
"value": "[parameters('eventHubNamespace')]"
}
"outputs": {
"eventHubNamespace": {
"type": "string",
"value": "[parameters('eventHubNamespace')]"
}
}
}
Loading