Skip to content

Commit

Permalink
Added support for new workloads
Browse files Browse the repository at this point in the history
  • Loading branch information
ykuijs committed Oct 4, 2024
1 parent f74d926 commit 356ef8c
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

- Added the SettingDefinitionId parameter to the mergeable parameters, so that UniqueId
is not required in those instances.
- Added support for the new Azure, Azure DevOps and Defender workloads

## [0.1.19] - 2024-09-18

Expand Down
15 changes: 15 additions & 0 deletions source/Public/New-CompositeResourceModule.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,21 @@ function New-CompositeResourceModule
$resourceWorkload = 'AzureAD'
$customResourceName = $shortResourceName -replace "^AAD"
}
{ $_.StartsWith('ADO') }
{
$resourceWorkload = 'AzureDevOps'
$customResourceName = $shortResourceName -replace "^ADO"
}
{ $_.StartsWith('Azure') }
{
$resourceWorkload = 'Azure'
$customResourceName = $shortResourceName -replace "^$resourceWorkload"
}
{ $_.StartsWith('Defender') }
{
$resourceWorkload = 'Defender'
$customResourceName = $shortResourceName -replace "^$resourceWorkload"
}
{ $_.StartsWith('EXO') }
{
$resourceWorkload = 'Exchange'
Expand Down

0 comments on commit 356ef8c

Please sign in to comment.