Skip to content

Instantly share code, notes, and snippets.

@Cyb3rWard0g
Last active September 9, 2020 06:42
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 Cyb3rWard0g/c1d34e50496baccb7481f61ea97cc16a to your computer and use it in GitHub Desktop.
Save Cyb3rWard0g/c1d34e50496baccb7481f61ea97cc16a to your computer and use it in GitHub Desktop.
param utcValue string {
default: utcNow()
metadata: {
description: 'Returns the current (UTC) datetime value in the specified format. If no format is provided, the ISO 8601 (yyyyMMddTHHmmssZ) format is used'
}
}
param workspaceName string {
metadata: {
description: 'Name for the Log Analytics workspace used to aggregate data.'
}
}
param pricingTier string {
allowed: [
'PerGB2018'
'Free'
'Standalone'
'PerNode'
'Standard'
'Premium'
]
default: 'PerGB2018'
metadata: {
description: 'Pricing tier: pergb2018 or legacy tiers (Free, Standalone, PerNode, Standard or Premium) which are not available to all customers.'
}
}
param dataRetention int {
default: 30
minValue: 7
maxValue: 30
metadata: {
description: 'Number of days of retention. Workspaces in the legacy Free pricing tier can only have 7 days.'
}
}
param immediatePurgeDataOn30Days bool {
default: true
metadata: {
description: 'If set to true when changing retention to 30 days, older data will be immediately deleted. Use this with extreme caution. This only applies when retention is being set to 30 days.'
}
}
param location string {
default: resourceGroup().location
metadata: {
description: 'Location for all resources.'
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment