Skip to content

Instantly share code, notes, and snippets.

@TheCloudScout
Last active February 2, 2022 15:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save TheCloudScout/560869814ff4a43e84d4bbf6444d2908 to your computer and use it in GitHub Desktop.
Save TheCloudScout/560869814ff4a43e84d4bbf6444d2908 to your computer and use it in GitHub Desktop.
"variables": {
"sku": "[
if(
equals(toLower(parameters('pricingTier')), 'capacityreservation'),
json(concat('{\"name\":\"', parameters('pricingTier'), '\",\"capacityReservationLevel\":', parameters('loganalyticsCapacityReservationLevel'), '}')),
json(concat('{\"name\":\"', parameters('pricingTier'), '\"}'))
)
]",
"sentinelSku": "[
if(
equals(toLower(parameters('pricingTier')), 'capacityreservation'),
json(concat('{\"name\":\"CapacityReservation\",\"capacityReservationLevel\":', parameters('sentinelCapacityReservationLevel'), '}')),
json('{\"name\":\"PerGB\"}')
)
]"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment