Skip to content

Add maximumThroughputUnits option to template #659

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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
19 changes: 18 additions & 1 deletion azure/deploy-to-azure/event_hub.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,20 @@
"metadata": {
"description": "Location for all resources."
}
},
"isAutoInflateEnabled": {
"type": "bool",
"defaultValue": false,
"metadata": {
"description": "Whether or not to use Auto Inflate"
}
},
"maximumThroughputUnits": {
"type": "int",
"defaultValue": 0,
"metadata": {
"description": "The maximum number of throughput units"
}
}
},
"resources": [
Expand All @@ -42,7 +56,10 @@
"capacity": 1
},
"tags": {},
"properties": {},
"properties": {
"isAutoInflateEnabled": "[parameters('isAutoInflateEnabled')]",
"maximumThroughputUnits": "[parameters('maximumThroughputUnits')]"
},
"resources": [
{
"apiVersion": "2017-04-01",
Expand Down
20 changes: 20 additions & 0 deletions azure/deploy-to-azure/parent_template.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,20 @@
"metadata": {
"description": "The name of the diagnostic setting if sending Activity Logs"
}
},
"isAutoInflateEnabled": {
"type": "bool",
"defaultValue": false,
"metadata": {
"description": "Whether or not to use Auto Inflate"
}
},
"maximumThroughputUnits": {
"type": "int",
"defaultValue": 0,
"metadata": {
"description": "The maximum number of throughput units"
}
}
},
"variables": {
Expand Down Expand Up @@ -107,6 +121,12 @@
},
"location": {
"value": "[parameters('resourcesLocation')]"
},
"isAutoInflateEnabled": {
"value": "[parameters('isAutoInflateEnabled')]"
},
"maximumThroughputUnits": {
"value": "[parameters('maximumThroughputUnits')]"
}
}
}
Expand Down