Skip to content

Commit

Permalink
fix: Re-generate ARM templates in `avm/res/operational-insights/works…
Browse files Browse the repository at this point in the history
…pace` (#3757)

## Description

Update ARM templates with the newest Bicep version

## Pipeline Reference

<!-- Insert your Pipeline Status Badge below -->

| Pipeline |
| -------- |
|
[![avm.res.operational-insights.workspace](https://github.com/krbar/bicep-registry-modules/actions/workflows/avm.res.operational-insights.workspace.yml/badge.svg?branch=users%2Fkrbar%2FjsonFix)](https://github.com/krbar/bicep-registry-modules/actions/workflows/avm.res.operational-insights.workspace.yml)
|

## Type of Change

<!-- Use the checkboxes [x] on the options that are relevant. -->

- [ ] Update to CI Environment or utilities (Non-module affecting
changes)
- [x] Azure Verified Module updates:
- [x] Bugfix containing backwards-compatible bug fixes, and I have NOT
bumped the MAJOR or MINOR version in `version.json`:
- [ ] Someone has opened a bug report issue, and I have included "Closes
#{bug_report_issue_number}" in the PR description.
- [x] The bug was found by the module author, and no one has opened an
issue to report it yet.
- [ ] Feature update backwards compatible feature updates, and I have
bumped the MINOR version in `version.json`.
- [ ] Breaking changes and I have bumped the MAJOR version in
`version.json`.
  - [ ] Update to documentation

## Checklist

- [x] I'm sure there are no other open Pull Requests for the same
update/change
- [x] I have run `Set-AVMModule` locally to generate the supporting
module files.
- [x] My corresponding pipelines / checks run clean and green without
any errors or warnings

<!-- Please keep up to date with the contribution guide at
https://aka.ms/avm/contribute/bicep -->
  • Loading branch information
krbar authored Nov 8, 2024
1 parent 3716384 commit 8237a35
Show file tree
Hide file tree
Showing 8 changed files with 40 additions and 72 deletions.
4 changes: 2 additions & 2 deletions avm/res/operational-insights/workspace/data-export/main.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"metadata": {
"_generator": {
"name": "bicep",
"version": "0.30.23.60470",
"templateHash": "8816832199581598050"
"version": "0.31.34.60546",
"templateHash": "6471227851268955186"
},
"name": "Log Analytics Workspace Data Exports",
"description": "This module deploys a Log Analytics Workspace Data Export.",
Expand Down
9 changes: 3 additions & 6 deletions avm/res/operational-insights/workspace/data-source/main.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
"metadata": {
"_generator": {
"name": "bicep",
"version": "0.30.23.60470",
"templateHash": "10275938611959517944"
"version": "0.31.34.60546",
"templateHash": "8463454444688288974"
},
"name": "Log Analytics Workspace Datasources",
"description": "This module deploys a Log Analytics Workspace Data Source.",
Expand Down Expand Up @@ -152,10 +152,7 @@
"syslogName": "[if(and(not(empty(parameters('kind'))), equals(parameters('kind'), 'LinuxSyslog')), parameters('syslogName'), null())]",
"syslogSeverities": "[if(and(not(empty(parameters('kind'))), or(equals(parameters('kind'), 'LinuxSyslog'), equals(parameters('kind'), 'LinuxPerformanceObject'))), parameters('syslogSeverities'), null())]",
"performanceCounters": "[if(and(not(empty(parameters('kind'))), equals(parameters('kind'), 'LinuxPerformanceObject')), parameters('performanceCounters'), null())]"
},
"dependsOn": [
"workspace"
]
}
}
},
"outputs": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
"metadata": {
"_generator": {
"name": "bicep",
"version": "0.30.23.60470",
"templateHash": "1524032160953098939"
"version": "0.31.34.60546",
"templateHash": "13253888384545811424"
},
"name": "Log Analytics Workspace Linked Services",
"description": "This module deploys a Log Analytics Workspace Linked Service.",
Expand Down Expand Up @@ -62,10 +62,7 @@
"properties": {
"resourceId": "[parameters('resourceId')]",
"writeAccessResourceId": "[if(empty(parameters('writeAccessResourceId')), null(), parameters('writeAccessResourceId'))]"
},
"dependsOn": [
"workspace"
]
}
}
},
"outputs": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"metadata": {
"_generator": {
"name": "bicep",
"version": "0.30.23.60470",
"templateHash": "16040380910189891293"
"version": "0.31.34.60546",
"templateHash": "14472959311832661205"
},
"name": "Log Analytics Workspace Linked Storage Accounts",
"description": "This module deploys a Log Analytics Workspace Linked Storage Account.",
Expand Down
58 changes: 21 additions & 37 deletions avm/res/operational-insights/workspace/main.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
"metadata": {
"_generator": {
"name": "bicep",
"version": "0.30.23.60470",
"templateHash": "15477650738706698985"
"version": "0.31.34.60546",
"templateHash": "13803826230764856157"
},
"name": "Log Analytics Workspaces",
"description": "This module deploys a Log Analytics Workspace.",
Expand Down Expand Up @@ -720,8 +720,8 @@
"metadata": {
"_generator": {
"name": "bicep",
"version": "0.30.23.60470",
"templateHash": "8028201980853199520"
"version": "0.31.34.60546",
"templateHash": "4634762044709818669"
},
"name": "Log Analytics Workspace Storage Insight Configs",
"description": "This module deploys a Log Analytics Workspace Storage Insight Config.",
Expand Down Expand Up @@ -794,11 +794,7 @@
"id": "[parameters('storageAccountResourceId')]",
"key": "[listKeys(resourceId('Microsoft.Storage/storageAccounts', last(split(parameters('storageAccountResourceId'), '/'))), '2022-09-01').keys[0].value]"
}
},
"dependsOn": [
"storageAccount",
"workspace"
]
}
}
},
"outputs": {
Expand Down Expand Up @@ -864,8 +860,8 @@
"metadata": {
"_generator": {
"name": "bicep",
"version": "0.30.23.60470",
"templateHash": "1524032160953098939"
"version": "0.31.34.60546",
"templateHash": "13253888384545811424"
},
"name": "Log Analytics Workspace Linked Services",
"description": "This module deploys a Log Analytics Workspace Linked Service.",
Expand Down Expand Up @@ -921,10 +917,7 @@
"properties": {
"resourceId": "[parameters('resourceId')]",
"writeAccessResourceId": "[if(empty(parameters('writeAccessResourceId')), null(), parameters('writeAccessResourceId'))]"
},
"dependsOn": [
"workspace"
]
}
}
},
"outputs": {
Expand Down Expand Up @@ -986,8 +979,8 @@
"metadata": {
"_generator": {
"name": "bicep",
"version": "0.30.23.60470",
"templateHash": "16040380910189891293"
"version": "0.31.34.60546",
"templateHash": "14472959311832661205"
},
"name": "Log Analytics Workspace Linked Storage Accounts",
"description": "This module deploys a Log Analytics Workspace Linked Storage Account.",
Expand Down Expand Up @@ -1109,8 +1102,8 @@
"metadata": {
"_generator": {
"name": "bicep",
"version": "0.30.23.60470",
"templateHash": "7572266675487147820"
"version": "0.31.34.60546",
"templateHash": "1097692446107685243"
},
"name": "Log Analytics Workspace Saved Searches",
"description": "This module deploys a Log Analytics Workspace Saved Search.",
Expand Down Expand Up @@ -1203,10 +1196,7 @@
"functionAlias": "[parameters('functionAlias')]",
"functionParameters": "[parameters('functionParameters')]",
"version": "[parameters('version')]"
},
"dependsOn": [
"workspace"
]
}
}
},
"outputs": {
Expand Down Expand Up @@ -1275,8 +1265,8 @@
"metadata": {
"_generator": {
"name": "bicep",
"version": "0.30.23.60470",
"templateHash": "8816832199581598050"
"version": "0.31.34.60546",
"templateHash": "6471227851268955186"
},
"name": "Log Analytics Workspace Data Exports",
"description": "This module deploys a Log Analytics Workspace Data Export.",
Expand Down Expand Up @@ -1424,8 +1414,8 @@
"metadata": {
"_generator": {
"name": "bicep",
"version": "0.30.23.60470",
"templateHash": "10275938611959517944"
"version": "0.31.34.60546",
"templateHash": "8463454444688288974"
},
"name": "Log Analytics Workspace Datasources",
"description": "This module deploys a Log Analytics Workspace Data Source.",
Expand Down Expand Up @@ -1571,10 +1561,7 @@
"syslogName": "[if(and(not(empty(parameters('kind'))), equals(parameters('kind'), 'LinuxSyslog')), parameters('syslogName'), null())]",
"syslogSeverities": "[if(and(not(empty(parameters('kind'))), or(equals(parameters('kind'), 'LinuxSyslog'), equals(parameters('kind'), 'LinuxPerformanceObject'))), parameters('syslogSeverities'), null())]",
"performanceCounters": "[if(and(not(empty(parameters('kind'))), equals(parameters('kind'), 'LinuxPerformanceObject')), parameters('performanceCounters'), null())]"
},
"dependsOn": [
"workspace"
]
}
}
},
"outputs": {
Expand Down Expand Up @@ -1655,8 +1642,8 @@
"metadata": {
"_generator": {
"name": "bicep",
"version": "0.30.23.60470",
"templateHash": "13749997754119668516"
"version": "0.31.34.60546",
"templateHash": "7459975468074908308"
},
"name": "Log Analytics Workspace Tables",
"description": "This module deploys a Log Analytics Workspace Table.",
Expand Down Expand Up @@ -1851,10 +1838,7 @@
"schema": "[parameters('schema')]",
"searchResults": "[parameters('searchResults')]",
"totalRetentionInDays": "[parameters('totalRetentionInDays')]"
},
"dependsOn": [
"workspace"
]
}
},
"table_roleAssignments": {
"copy": {
Expand Down
9 changes: 3 additions & 6 deletions avm/res/operational-insights/workspace/saved-search/main.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
"metadata": {
"_generator": {
"name": "bicep",
"version": "0.30.23.60470",
"templateHash": "7572266675487147820"
"version": "0.31.34.60546",
"templateHash": "1097692446107685243"
},
"name": "Log Analytics Workspace Saved Searches",
"description": "This module deploys a Log Analytics Workspace Saved Search.",
Expand Down Expand Up @@ -99,10 +99,7 @@
"functionAlias": "[parameters('functionAlias')]",
"functionParameters": "[parameters('functionParameters')]",
"version": "[parameters('version')]"
},
"dependsOn": [
"workspace"
]
}
}
},
"outputs": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
"metadata": {
"_generator": {
"name": "bicep",
"version": "0.30.23.60470",
"templateHash": "8028201980853199520"
"version": "0.31.34.60546",
"templateHash": "4634762044709818669"
},
"name": "Log Analytics Workspace Storage Insight Configs",
"description": "This module deploys a Log Analytics Workspace Storage Insight Config.",
Expand Down Expand Up @@ -79,11 +79,7 @@
"id": "[parameters('storageAccountResourceId')]",
"key": "[listKeys(resourceId('Microsoft.Storage/storageAccounts', last(split(parameters('storageAccountResourceId'), '/'))), '2022-09-01').keys[0].value]"
}
},
"dependsOn": [
"storageAccount",
"workspace"
]
}
}
},
"outputs": {
Expand Down
9 changes: 3 additions & 6 deletions avm/res/operational-insights/workspace/table/main.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
"metadata": {
"_generator": {
"name": "bicep",
"version": "0.30.23.60470",
"templateHash": "13749997754119668516"
"version": "0.31.34.60546",
"templateHash": "7459975468074908308"
},
"name": "Log Analytics Workspace Tables",
"description": "This module deploys a Log Analytics Workspace Table.",
Expand Down Expand Up @@ -201,10 +201,7 @@
"schema": "[parameters('schema')]",
"searchResults": "[parameters('searchResults')]",
"totalRetentionInDays": "[parameters('totalRetentionInDays')]"
},
"dependsOn": [
"workspace"
]
}
},
"table_roleAssignments": {
"copy": {
Expand Down

0 comments on commit 8237a35

Please sign in to comment.