diff --git a/avm/res/consumption/budget/README.md b/avm/res/consumption/budget/README.md index 6cc9fe0133..389d30ab8a 100644 --- a/avm/res/consumption/budget/README.md +++ b/avm/res/consumption/budget/README.md @@ -264,7 +264,7 @@ module budget 'br/public:avm/res/consumption/budget:' = { | Parameter | Type | Description | | :-- | :-- | :-- | | [`category`](#parameter-category) | string | The category of the budget, whether the budget tracks cost or usage. | -| [`enableTelemetry`](#parameter-enabletelemetry) | bool | Enable telemetry via a Globally Unique Identifier (GUID). | +| [`enableTelemetry`](#parameter-enabletelemetry) | bool | Enable/Disable usage telemetry for module. | | [`endDate`](#parameter-enddate) | string | The end date for the budget. If not provided, it will default to 10 years from the start date. | | [`location`](#parameter-location) | string | Location deployment metadata. | | [`resetPeriod`](#parameter-resetperiod) | string | The time covered by a budget. Tracking of the amount will be reset based on the time grain. BillingMonth, BillingQuarter, and BillingAnnual are only supported by WD customers. | @@ -326,7 +326,7 @@ The category of the budget, whether the budget tracks cost or usage. ### Parameter: `enableTelemetry` -Enable telemetry via a Globally Unique Identifier (GUID). +Enable/Disable usage telemetry for module. - Required: No - Type: bool diff --git a/avm/res/consumption/budget/main.json b/avm/res/consumption/budget/main.json index 57a5bea661..a6ea839586 100644 --- a/avm/res/consumption/budget/main.json +++ b/avm/res/consumption/budget/main.json @@ -5,7 +5,7 @@ "_generator": { "name": "bicep", "version": "0.24.24.22086", - "templateHash": "6422186884173444758" + "templateHash": "14996821705072365605" }, "name": "Consumption Budgets", "description": "This module deploys a Consumption Budget for Subscriptions.", @@ -103,7 +103,7 @@ "type": "bool", "defaultValue": true, "metadata": { - "description": "Optional. Enable telemetry via a Globally Unique Identifier (GUID)." + "description": "Optional. Enable/Disable usage telemetry for module." } }, "location": { @@ -124,9 +124,9 @@ "enabled": true, "operator": "GreaterThan", "threshold": "[parameters('thresholds')[copyIndex('notificationsArray')]]", - "contactEmails": "[if(empty(parameters('contactEmails')), null(), array(parameters('contactEmails')))]", - "contactRoles": "[if(empty(parameters('contactRoles')), null(), array(parameters('contactRoles')))]", - "contactGroups": "[if(empty(parameters('actionGroups')), null(), array(parameters('actionGroups')))]", + "contactEmails": "[if(not(empty(parameters('contactEmails'))), array(parameters('contactEmails')), null())]", + "contactRoles": "[if(not(empty(parameters('contactRoles'))), array(parameters('contactRoles')), null())]", + "contactGroups": "[if(not(empty(parameters('actionGroups'))), array(parameters('actionGroups')), null())]", "thresholdType": "Actual" } }