Skip to content

Commit

Permalink
Updated SQL Server module to support dynamic location for Maintenance…
Browse files Browse the repository at this point in the history
… Configuration Property (Azure#3899)

[CI Environment] Enabled the usage of both the old published module name, as well as the new PBR-aligned (#3892)

* Simplified specs resource type identification

* Updated tempalte spec name handling

* Added a switch to control the name used for publishing via the settings.yml

* Temp switching setting to use classic name for testing

* Removed apparently redundant function

* Introduced temp change

* Introduced temp change

* Added conversion

* Added Microsoft to MS rename for template specs

* Disabled anything but publishing for testing

* Disabled anything but publishing for testing

* Disabled universal packaging as already tested

* Disabled api aligned

* Disabled most of gh pipeline for testing

* Refactored bool conversion to be more robust

* Added missing quote

* Update to latest

* Undid temp change

* Small fix

* Removed temp changes

* Added missing flag

* Added missing flag

* Re-enabled tests

* Readme fixes

* Readme fixes

* Readme fixes

* ReadMe Fixes

Fixed logic by introducing api name fetching

Push updated Readme file(s)

Push updated API Specs file

Fixed diverse references (#3905)

[Modules] Fix/Add purge during removal of machine learning workspace (#3597)

* Update custom publishing resources

* Add script for purging machine learning workspace

* reset settings

* remove double space

* fix attempt #1

* correct spelling of retry

* align with Invoke-ResourceRemoval.ps1

* fix

* Reset files

* Update utilities/pipelines/resourceRemoval/helper/Remove-ResourceList.ps1

Co-authored-by: Alexander Sehr <[email protected]>

* Update utilities/pipelines/resourceRemoval/helper/Invoke-ResourceRemoval.ps1

Co-authored-by: Alexander Sehr <[email protected]>

* Restructure

* added break again

* align outputs/logs

* Moved out of default to before switch

* Apply suggestions from code review

Co-authored-by: Alexander Sehr <[email protected]>

* Update utilities/pipelines/resourceRemoval/helper/Invoke-ResourceRemoval.ps1

Co-authored-by: Alexander Sehr <[email protected]>

* Update utilities/pipelines/resourceRemoval/helper/Invoke-ResourceRemoval.ps1

Co-authored-by: Alexander Sehr <[email protected]>

* Update utilities/pipelines/resourceRemoval/helper/Invoke-ResourceRemoval.ps1

Co-authored-by: Alexander Sehr <[email protected]>

* Update utilities/pipelines/resourceRemoval/helper/Invoke-ResourceRemoval.ps1

Co-authored-by: Alexander Sehr <[email protected]>

* Remove DevTestLab as logic is covered with regular flow now

* Change logging and removal loop slightly

* Fixing logic

* Update utilities/pipelines/resourceRemoval/helper/Invoke-ResourceRemoval.ps1

* Update utilities/pipelines/resourceRemoval/helper/Invoke-ResourceLockRemoval.ps1

Co-authored-by: Alexander Sehr <[email protected]>

* Update utilities/pipelines/resourceRemoval/helper/Invoke-ResourceLockRemoval.ps1

Co-authored-by: Alexander Sehr <[email protected]>

---------

Co-authored-by: Alexander Sehr <[email protected]>

[Modules] Updated ACR test cases to support dynamic paired region dependency (#3900)

[Suggestion] - Some changes to PR template (#3667)

* Update custom publishing resources

* Update PULL_REQUEST_TEMPLATE.md

* Reset settings.yml

* changes

* changes

[Modules] ML - Wait on Private Endpoints before creating compute instances (#3908)

* [Modules] ML - Wait on Private Endpoints before creating compute instances (#3715)

* wait on PeP before creating compute

* fix private end-point

* reset pep

* change pep

* update version

* update readme

* fix json

* fix json

* update mls json

* update documents

* reset settings

---------

Co-authored-by: Alexander Sehr <[email protected]>

* Regenerated json

---------

Co-authored-by: Steven De Lausnay <[email protected]>

Push updated Readme file(s)

Users/alsehr/new bicep features (#3902)

* Introduced hidden-title tag for reference

* Added usage of CICR function

* Regenerated all docs

* Removed unintended change

* Rolled back some changes & fixes

* Further udpates

* Small event grid fix

* Small event grid fix

* Small vm image fix

[Modules] New child module ACR cache-rules (#3909)

* add cache-rules

Signed-off-by: David J. M. Karlsen <[email protected]>

* update readme

* have submodule instead

* update docs

* Refactored module

* Update to latest

* Update to latest

* Update to latest

* Update to latest

* Update to latest

* Update to latest

* Update to latest

* Update to latest

---------

Signed-off-by: David J. M. Karlsen <[email protected]>
Co-authored-by: David J. M. Karlsen <[email protected]>

Push updated Readme file(s)

add required module for set-modulereadme.ps1 (#3915)

Co-authored-by: Tao Yang <[email protected]>

Adjusted cond (#3583)

[CI Platform] Enabled module publishing from feature branch prerelease publishing without publishing stable version (#3906)

[Modules] New module for `Microsoft.Search/searchServices` (#3883)

* Initial files, by REST2CARML

* first minimal working version

* Added identity support (in progress)

* Added locks, role assignments and tags

* Added support for diagnostic settings

* Added support for private endpoints

* Updated lock api version

* Added support for sharedPrivateLinkResources

* Changed requestMessage and groupId to Required

* Added publicNetworkAccess and networkRuleSet settings

* authOptions & cmkEnforcement implemented & tested

* Some cleanup

* Generated readme and ARM

* Added ARM

* Added YAML files

* Added module metadata

* YAML file update (quotes)

* Update readme + ARM

* Addressed NATURAL_LANGUAGE Linter error

Push updated Readme file(s)

Release utility fix

[Wiki] Updated Guidelines around publishing (#3924)

* First draft publishing

* Compressed

* Updated onboarding guide

* Update to latest

Updated API version (#3923)

[Modules] Update the AKS API Version to latest and added new features (#3920)

Push updated Readme file(s)

[Modules] Updated Databricks module to support more individual properties, PE & CMK (#3561)

=> Seeing myself in given the review by @ahmadabdalla and successful test.

* First draft & test

* Latest draft

* Latest working draft

* Latest working draft

* Latest working draft

* Latest working draft

* Latest working draft

* Updated template & readme

* Updated test

* Attempted alternative property usage

* Addressed static issues

* Update to latest

* Latest working draft

* Updated preview removal flag

* Updated parameter handling

* Rollback unrelated change

* Moved dislocated code

* Update to latest

* Updated docs

* Updated PE module API version to unblock PR

* Update modules/databricks/workspace/.test/common/dependencies.bicep

Co-authored-by: Ahmad Abdalla <[email protected]>

* Update modules/databricks/workspace/.test/common/dependencies.bicep

Co-authored-by: Ahmad Abdalla <[email protected]>

* Update modules/databricks/workspace/.test/common/dependencies.bicep

Co-authored-by: Ahmad Abdalla <[email protected]>

* Added CIDR function

* Update modules/databricks/workspace/main.bicep

Co-authored-by: Ahmad Abdalla <[email protected]>

* Updated docs

---------

Co-authored-by: Ahmad Abdalla <[email protected]>

Push updated Readme file(s)

Updated Purview target location (#3925)

[Modules] Express-route-gateway: Updated RBAC handling & added min test (#3927)

* Updated RBAC handling & added min test

* Added ref

* Added missing lock implementation

* Updated JSON

Push updated Readme file(s)

[Modules] Updated the Private Endpoint nested module in resources to support location property option (#3929)

Updated docs (#3930)

[Fixes] Fixed `ConvertTo-ARMTemplate` test case  (#3931)

* Fixed param ref

* Removed test for a parameter that isn't supported anymore

Fixed targetScope (#3932)

[Fixes] Policy-Insights: Fixed possible scope for test cases (#3935)

[Fixes] Lock: Removed unused test parameter (#3934)

* Lock: Removed unused test parameter

* Update main.test.bicep

* Update main.test.bicep

[Modules} Network Application-Gateway: Added private endpoint support (#3928)

* Updated settings

* Updated settings

* Updated settings

* Updated version

* Added appGateway private endpoint functionality

* Updated main.json

* Added back metadata

* Fixed module path reference

* Updated test case

* Updated readme

* Updated test case

* Updated test case

* Updated test case and readme

* Updated test case

* Updated test case

* test

* test

* Updated keyvault name in testcase

* test

* Update test case

* test

* test

* test

* test

* test

* test

* Update test case

* Updated test case

* Updated private endpoints subscription

* Updated test case

* Updated test case

* Updated test case

* Updated test case

* Undo settings.yml changes

* Undo settings.yml changes

* Undo setting.yml changes

* settings.yml

* settings.yml

* settings.ynl

* test

* test

* test

* Update modules/network/application-gateway/main.bicep

Co-authored-by: Ahmad Abdalla <[email protected]>

* Reverted keyvault unique name

* Regenerated main.json

---------

Co-authored-by: Alexander Sehr <[email protected]>
Co-authored-by: Ahmad Abdalla <[email protected]>

Push updated Readme file(s)

Removed unused input param (#3933)

[Fixes] Tags: Removed unused param (#3936)

[Fixes] Fixed ConvertTo-ARMTemplate test case (#3937)

* Fixed param ref

* Removed test for a parameter that isn't supported anymore

* Update to latest

* Small fix

Removed files & test cases (#3940)

Push updated API Specs file

[Modules] Updated Redis Cache RBAC typo (#3942)

[Modules] Updated Managed Identity API Version and Added Federated Identity Credential (#3941)

Push updated Readme file(s)

[Modules] Updated Cosmos DB Module tests to support dynamic primary and secondary region locations (#3946)

Push updated API Specs file

[Modules] Update allowed version values (#3951)

* Update allowed version values

* ARM Update

* Readme Update

---------

Co-authored-by: Praveen Potturi <[email protected]>

Push updated Readme file(s)

[Modules] Enable AAD authentication (#3952) (#3953)

* [Modules] Enable AAD authentication (#3952)

* Enable AAD authentication

* Regenerated ARM and Readme

---------

Co-authored-by: Praveen Potturi <[email protected]>

* Added working test

---------

Co-authored-by: Praveen Potturi <[email protected]>
Co-authored-by: Praveen Potturi <[email protected]>

Push updated Readme file(s)

[CI Platform] Fixed ADO Publish Bicep Registry Job ordering bug for prerelease branches (#3957)

The filtering option was placed in the wrong sequence.

[Modules] Support for inGuest Patch support with Azure Update Manager (#3956)

* modify settings.yml

* Push updated Readme file(s)

* installPatches support

* Push updated Readme file(s)

* revert settings

* removed namePrefix

* revert changes

* revert readmes

* add module README.md

* modify common test case

* remove emtpy line in common test case template

---------

Co-authored-by: Jens Diedrich <[email protected]>
Co-authored-by: CARMLPipelinePrincipal <[email protected]>

Push updated Readme file(s)

fixed file name for saved search child resource (#3979)

[Modules] Updated the Redis Cache Module API Version and bug fixes for the module (#3981)

[Fixes] Implement fixes to correctly identify resource type & pipeline (#3980)

* Update to latest

* Added casing to provider namespace

* Undid incorrect fix

* Alternative proposal

* Added missing ref

* Updated all readmes

[Fixes] Adjusted case-handling for NFSv3 to improve idempotency (#3983)

* Update to latest

* Update to latest

[Modules] Added support for Azure AD Authentication for MySQL Flexible Server (#3982)

* added admins

* updated tests

* Updated based on feedback

Push updated Readme file(s)

[Modules] Added module for Redis Cache Enterprise and Database (#3984)

Push updated Readme file(s)

Push updated API Specs file

[Modules] Added known issues for the Redis Cache Enterprise Module (#3986)

Push updated Readme file(s)

[AVM] Added disclaimer draft (#3958)

* Update to latest

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

Co-authored-by: Erika Gressi <[email protected]>

* Update README.md

Co-authored-by: Erika Gressi <[email protected]>

* disclaimer updates

* Update README.md

* Update README.md

---------

Co-authored-by: Erika Gressi <[email protected]>
Co-authored-by: Mate Barabas <[email protected]>

readme update (#3991)

[PSRule] Fix Keyvault issues  (#3989)

* uniquestring with utc datetime

* json rollback and psrule ver update

* 1.29.0

* upd

* upd

* utcnow

* undo

* newGUID

* test

* upd

* upd

* upd

* upd

* upd

* removed  'all' permission from secret

* upd

* upd

* upd

* upd

* upd

---------

Co-authored-by: Fabio Masciotra <[email protected]>

[PSRule] Public Ip addresses (#3998)

* updated public IP default sku

* updated json and supress PSrule availability zones

---------

Co-authored-by: Elena Batanero Garcia <[email protected]>

Push updated API Specs file

Regenerated templates (#4009)

fix bicep test file pester test (#4019)

Fix Public Ip modules and dependent modules  (#4023)

* Updated json

* static default changed

* update json

* updated readme

* updated Azure Firewall json

* updated json vms

* updating jsons

* Added more Zones publicIPZones virtual-network-gateway

* Updated nat gateway PIP

* added zones bastion custompip test

* Updated vm tests PIP

* updated readme bastion

* updated vm readme

* updated readme virtual-network-gateway

* updated vms

* Update modules/compute/virtual-machine/.test/linux/main.test.bicep

---------

Co-authored-by: Elena Batanero Garcia <[email protected]>
Co-authored-by: Alexander Sehr <[email protected]>

Push updated Readme file(s)

Added securestring and secure() to several arm templates and biceps (#4021)

* Added @secure() to vpn-connection/main.bicep

* Added @secure() to connection/main.bicep

* Added securestring to connection/main.json

* Added securestring to vpn-gateway/main.json

* Update README.md

* Update README.md

* Used 'bicep build' to update main.json

* Used 'bicep build' to update main.json

* Updated main.json files

Push updated Readme file(s)

[Utilities] Enabled `Set-ModuleReadMe` to find looped test cases (#4022)

* Fixed reregex

* Fixed reregex

* Updated tool

[CI Environment] Updated reference resolution to simplified AVM approach (#4026)

* Updated references script of AVM efforts

* Adjusted casing

* Updated references script of AVM efforts

* Regenerated all docs

[Modules] Updated Azure Key Vault Readme (#4029)

[Modules] Updated Web Sites API Version to '2022-09-01' and added new parameters (#4027)

Push updated Readme file(s)

[Modules] Fixed AKS Key Vault Secrets Provider Output and added additional test parameters (#4034)

Push updated API Specs file

bump checkout version (#4037)

Fixed small issues of readme generation script (#4047)

Parameter Usage: Service endpoints fix  (#4048)

* Fix Azure/ResourceModules#3007

* Set-ModuleReadMe run

[Modules] sql/managed-instance - Fixed bug with vulnerability assessment using storage acct. behind firewall/vnet (#4033)

* Updated settings

* Updated settings

* Updated settings

* Updated version

* test

* test

* test

* Updated settings file

* Added parameter to handle scenario where vulnerability assessment storage accounts are behind firewall or vnet

* Updated parameter description and readme

* Re-complied arm template

* Updated arm template file

* Merge branch 'main' of https://github.com/lsnoddy/ResourceModules into users/lsnoddy/sqlMI

* Updated arm template build

* Simplified vulnerabilityAssessmentProperties var

* Re-complied arm templates

* Undo settings.yml file changes

* Changed storageAccountFirewallOrVnet to useStorageAccountAccessKey

* Fixed role name

* Added vulnerability assessment rbac test case

* Moved nested_storageRoleAssignment to main .bicep folder

* Added createStorageRoleAssignment param and systemAssignedIdentity condition for va deployment

* Updated readme and json files

* Added param note and updated readme and json files

* custom settings

* Updated test case

* Updated test case, moved nested rbac file under va .bicep, updated readme

* Revert settings.yml file changes

* revert settings.yml

Push updated Readme file(s)

[Modules] CDN Profile afd resources (#4051)

* Added afd endpoint and route

* Added custom domains

* Added origin groups and origins

* Added rule sets and rules

* Added secrets

* Updated profile template

* Added tests for afd resources

* Update ARM template and Readme

* Profile readme update

* Afd ruleSets value updated for tests

* Resloved PR comments

* Updated ARM and Readme

---------

Co-authored-by: Praveen Potturi <[email protected]>

Push updated Readme file(s)

Push updated API Specs file

[Modules] Uplift the Event Hub Module API Version, add support for Retention and additional test cases (#4065)

Push updated Readme file(s)

[Modules] Update the PostgreSQL - Configurations child module deployment to be sequential (#4071)

Push updated Readme file(s)

[Modules] New Module - Azure Databricks Access Connectors (#4066)

Push updated Readme file(s)

Fixed param description (#4076)

[Modules] Updated Service Bus to latest API and introduced new parameters (#4069)

Push updated Readme file(s)

[AVM] Updated Readme's to support AVM transition - Part (2) (#4073)

[AVM] Updated Readme's to support AVM transition - Part (1) (#4072)

[AVM] Updated Readme's to support AVM transition - Part (3) (#4080)

* Updated desktop virtualization host and scaling plan

* Updated Digital Twins

* Updated event grid

* Updated event hubs

* Healthcare APIs

* Updated healthcare APIs

* updated action groups

* activity log alert

* insights activity log attempt v2

* Updated metric Alert

* document db 1

* Updated cosmos db

[AVM] Updated Readme's to support AVM transition - Part (-1)  (#4077)

* Rollback of unrelated changes

* Rollback of unrelated changes

* Update to latest

* Update to latest

* Update to latest

* Serverfarm

* host env

* IT

* Synapse key

* Storage ManagePolicy

* Storage

* Update to latest

* SQL

* SQL MI

* Web pub sub

* Update to latest

* Namepsace

* Security

* Update to latest

* Regen readmes

[AVM] Updated Readme's to support AVM transition - Part (-2) (#4078)

* rg

* ds

* Recovery Vault

* policy

* Workspace

* von

* vpn gw

* vn gw

* Update to latest

* VNET

* Hub connection

* traffigmanager

* Routes

* Private Link Service

* Regen readmes

* Compiled template

 [AVM] Updated Readme's to support AVM transition - Part (-3)  (#4079)

* PE

* dns zone

* network manager

* network manager

* NIC

* LB

* dns resolver

* connection

* Bastion Host

* Firewall

* MgmtGroup

* Lighthouse

* Maintenance Config

* ML

* LA

* kube

* Secret

* kvlt

* Regen readmes

* Compiled templates

[Modules] Updated Event Hub - Recompiled JSON files (#4081)

[Modules] Updated Network Manager JSON Files and Readmes (#4082)

[Modules] Removed auto-generated parameter usage sections (#4083)

* Removed readme sources

* Removed role assignments

* Removed tags

* Removed PE

* Removed manage identity

* excess newlines

* Removed remaining occurences

* Cleanup notes

* Finalizing touches

Push updated API Specs file

Made metadata removal ready for UDT (#4090)

[Modules] Updated banner & added `MOVED-TO-AVM.md` files (#4097)

* Updated banner

* Updated banner and added moved files

* Updated link

* Update README.md

Co-authored-by: Erika Gressi <[email protected]>

* Added moved to SSH

---------

Co-authored-by: Erika Gressi <[email protected]>

[Utilities] Introduced `Set-Module` script (#4067)

* Moved diverse scripts around and updated them to latest AVM

* Moved further scripts

* Small fix

* Further fixes

* Several improvements and fixes

* Private registry specific pdates

* Updated docs

* Updated path

* Renamed function

* Ran generation for KVLT to enable testing of pipeline

* Updated & reduced tests where it made sense

* Fixed pester tests

* Moved cross-ref script back to tools

* Moved local-ref script back to pipes

* Fixed ref

* Fixed ref

* Fixed ref

* Fixed ref

* Push updated Readme file(s)

* Rollback test changes

* Updated test file overview markdown via scrip

* Roll KVLT back post updates

* Updated AAD considerations

* Removed default headers

* Update to latest

* Enabled notes

* Update to latest

* Update to latest

* Update to latest

* Update to latest

* Remvoed notes feature

* ReadMe rollback (as handled in different PR)

* Added latest improvements

* Updated readme script to ONLY allow notes and delete all else

* Added support for top-level diff

* Updated logic that detects notes

* Update to latest

* Added should process

* Added cross ref cache

* Small fix

* Fixed script refs

* Another fix

* Improve Cross ref runtime

* Update to latest

* Update docs/wiki/Contribution guide - Generate module readme.md

Co-authored-by: Ahmad Abdalla <[email protected]>

* Update docs/wiki/Contribution guide - Generate module readme.md

Co-authored-by: Ahmad Abdalla <[email protected]>

* Added docs

* Ajusted usage examples header

* Renamed header

* Regenerated modules 1-60  (#4084)

* Regenerated first 60 files

* Small fixes

* Fixed templates

* Regen

* Renamed header

* Regenerated modules 61-120 (#4085)

* Regen readmes 2

* Fixed script refs

* Fixed templates

* Regen

* Renamed header

* Regenerated modules 121-180 (#4086)

* Regen readmes 3

* Fixed templates

* Regen

* Renamed header

* Regenerated modules 181-240 (#4087)

* Regen readmes 4

* Fixed templates

* Regen

* Renamed header

* Regenerated modules 300-366 (#4089)

* Regen readmes 6

* Fixed templates

* Small update

* Regen

* Renamed header

* Regenerated modules 241-300 (#4088)

* Regen readmes 5

* Fixed templates

* Regen

* Renamed header

* Updated readme script

* Updated usage example description

* [Utilities] Enabled progress bar on module update & depth param (#4098)

* Tested logic & added depth param

* Added finally block

* Enabled cancel

* ReadMe fallback

* Added docs

* Added silent continue on finally for non-cancel

* Update utilities/tools/Set-Module.ps1

Co-authored-by: Ahmad Abdalla <[email protected]>

---------

Co-authored-by: Ahmad Abdalla <[email protected]>

* Cross ref fix

* Update to latest

* Added verbosity

* Added verbosity

* Update to latest

* Adjusted syntax

* Adjusted syntax

* Adjusted verbosity

* Added force

* Cleanup

---------

Co-authored-by: CARMLPipelinePrincipal <[email protected]>
Co-authored-by: Ahmad Abdalla <[email protected]>

[Modules] Update the SQL - Server module API version to the latest documented version (#4102)

* [Modules] Updated SQL Server API to latest documented

* jsons

* updated readme

[Modules] Updated AKS Module API Version (#4103)

* added config

* updated JSON files

[Modules] Updated App Configuration Module to use the latest APIs and added support for CMK (#4105)

* [Modules] Updated App Configuration Module API Version and added CMK

* Updated Tests

* Updated

* Updated module

Push updated Readme file(s)

[Modules] Updated SQL Managed Instance module API Version (#4104)

[Modules/Utilities] Migrated PE from AVM + enabled UDT for nested resources (#4109)

* Migrated PE from AVM + enabled UDT for nested resources

* Re-added version.json

* Updated PE ref

* Updated more tests and added rule suppresion

* Updated remaining tests

* Moved paths

* Regenerated all readmes

* Small lock update

* Adjusted how hash is detected

* Update to latest

* Added removed telemetry

* Update to latest

Push updated Readme file(s)

Updated dns references (#4119)

[Modules] Updated locks to UDT as per AVM specs (#4112)

* Updated locks & implementation. Parameter and UDT pending

* Replaced param

* Added UDT

* Small fix

* Fixed diverse templates

* Refreshed json

* Fixed bicep templates

* Further fixes

* Updated PE lock

* File regen

* small api fixes

* Fix for healthcare lock

* Fixed power BI lock

* Fixed insights data collection

* Updated RG

* Fixed lock passthru on several instances

* Adjusted scope

* Adjusted cmk for service bus ns

* Updated ref

* Updated cmk with udt workaround

* Updated storage

* Updated cmk

* Fixed readme

* Updated cmk for app-config

* Updated cmk for batch

* Updated cmk for cognitive

* Updated cmk for container instance

* Updated logs for data collection

* Updated cmk for auto

* Updated batch pe test

* Updated cog ser json

* Updated VM

* Container group refresh

* Updated reg

* Updated managed service

* Updated databricks

* Udated data factory

* Fixed msi ref

* Fixed script ref & cog

* Fixed cotainer reg

* Atempted to fix managed-cluster

* Try & fix new key treating in databricks

* Updated db-for

* Updated log for digital twin

* Updated ML

* Update synapse

* Updated databricks to work around new bicep limitation

* Updated KVLT + Purview

* Added batch to security center to how to fix update bug

* Added write host for readme in case of diff for troubleshooting

* Rollback

Push updated Readme file(s)

[Modules] Migrated batch [1/4] to AVM RBAC (#4125)

* Updated first badge of templates (readmes pending)

* Update to latest

* Compiled templates

* Compiled templates

* Compiled first few readmes

* Updated test files

* Updated readmes

* Reduced roles

* Updated templates

* Rollback different branches' changes

* Updated nic & pip

* Fixed test file

* Refreshed vm

Push updated Readme file(s)

Push updated API Specs file

[CI environment] Add nameprefix to rg test names  (#4130)

* rename rg

* add nameprefix

* add nameprefix tags

[Modules] Migrated batch [2/4] to AVM RBAC (#4126)

* Updated templates

* Filtered rules & regen templates

* Small changes to kvlt

* added missing scopes

* Refreshed templates

* Added missing scope

* Refrehsed health api & bot

* Updated templates

Push updated Readme file(s)

[Fixes] Removed redundant empty lines in test files (#4133)

* Updated first badge of templates (readmes pending)

* Update to latest

* Compiled templates

* Compiled templates

* Compiled first few readmes

* Updated test files

* Updated readmes

* Reduced roles

* Updated templates

* Rollback different branches' changes

* Updated nic & pip

* Fixed test file

* Refreshed vm

* Remvoed empty rows

* Update to latest

[Modules] Migrated batch [3/4] to AVM RBAC (#4127)

* Generated content for batch 3

* Updated roles

* Update to latest

* Update to latest

* Updated bastion

* Regen firewall template

* Remvoed empty rows

Push updated Readme file(s)

[Utilities] Implemented several improvments for readme script (#4134)

* First readme update

* tested changes

* Remvoed file deletion

* Added URL test retry

* Added support for orphaned & moved readmes

* Ran readme utility

[Modules] Migrated batch [4/4] to AVM RBAC (#4132)

* Updated PowerBI to convention

* Update to latest

* Updated templates

* Reduced roles

* Regen templates

* Updated Operational Insights roles

* Update to latest

* Removed redundant newline

* Updated readmes

* Regenerated templates

* Update to latest

* Fixed SQL-MI db lock

* Fixed web site slot lock

* Update to latest

* Removed redundant empty line

* Adjusted cmk for synapse workspace

* Fallback

Push updated Readme file(s)

[Modules] Updated App Service Plan API to 2022-09-01 (#4143)

* [Modules] Updated App Service Plans API Version

* updated plans

* Updated JSON and README

* Set reserved to conditional

Push updated Readme file(s)

[Modules] Hotfix for the App Service Plan module to fix the conditional parameter description (#4144)

* Quick fix to the App Service Plan Module

* Updated parameter description

[Modules] Updated PE schema to AVM specs (#4147)

* Updated templates

* Update to latest

* Regenerated templates

* Updated readmes

* Applied fixes & regen

Push updated Readme file(s)

[Modules] Uplifted the SQL Server - Vulnerability Assessment child module to support Storage RBAC (#4145)

* [Modules] Uplifted the Vulnerability Assessment child module for SQL to align with SQL MI

* updated readme

* Updated dependencies to remove MI Principal ID, not needed

Push updated Readme file(s)

[Modules] Updated Diagnostic Settings to AVM Specs (#4154)

* Updated main templates

* Updated most test files

* Update to latest

* Updated templates, compiled jsons, updated readmes

* Missing update

* Fixed SQL MI

* Fixed SQL Server

* Workaround for diag

Push updated Readme file(s)

Push updated API Specs file

[Module] Added Microsoft.App/jobs (#4156)

* Module App Container Job

* add pipelines

* temp trigger for new module validation

* fix file endings

* trigger test

* fixed parameter descriptions

* update description in main.json

* update readme

* trigger validation

* fix line ending

* trigger validation

* fix workload profile

* add workload profile test

* update readme

* reduce test serviceShort

* fix test

* fix dependency

* Prepare PR

* Fix spelling of ID

* Resolved review topics

* added new managed identities method

Push updated Readme file(s)

[Modules] Updating Moved-to-avm.md on Migrated Modules (#4164)

* Adding Moved-to-AVM.md

* updated readme

Added MOVED-TO-AVM files (#4165)

[Modules] Updated identities to UDT as per AVM specs - Batch 1 (#4124)

* Updated API Management module

* Updated Container App module

* Updating Configuration Store module (ongoing)

* Updated Configuration Store module

* Updated Automation Account module

* Comment headers formatted

* Readme/ARM for first four modules

* Updated Batch Account module

* Fixed parameter descriptions

* Updated Readme and ARM

* Updated Redis Cache module

* Container App - Fixed parameter descriptions

* Updated Cognitive Services module

* Updated VMSS module

* Updated Container Group module

* Updated Container Registry module

* Updated Data Factory module

* Updated Event Grid / System Topic module

* Updated EventHub Namespace module

* [Modules] Resolved conflicts (#4129)

* [Modules] Migrated batch [1/4] to AVM RBAC (#4125)

* Updated first badge of templates (readmes pending)

* Update to latest

* Compiled templates

* Compiled templates

* Compiled first few readmes

* Updated test files

* Updated readmes

* Reduced roles

* Updated templates

* Rollback different branches' changes

* Updated nic & pip

* Fixed test file

* Refreshed vm

* Push updated Readme file(s)

* Updated templates

* Updated templates

---------

Co-authored-by: CARMLPipelinePrincipal <[email protected]>

* Clean-up, some fixes

* Removed Azure Firewall changes from branch

* Update API common test file

* Update API common test file2

* Updated Recovery Services Vault module

* Updated ServiceBus Namespace module

* Updated SQL Managed Instance module

* Updated SQL Server module

* Updated Static Website module

* Updated Web Site module

* Updated website slot readme/arm

* Redis Cache - Testing with two identities

* Configuration Store module - Testing with two identities

* Updated Signal-R WebPub Sub module

* Updated Barch module to support only one type of identity

* Updated AKS module

* Updated Databricks Access Connector module

* Updated Disk Encryption Set module

* Updated Search Service module

* Updated Backup Vault module

* Updated Firewall Policy module

* Updated MySQL Flexible server module

* MySQL Flexible server module - namePrefix reset

* Updated Health Bot module

* Updated NetApp Account module

* Updated App Gateway module

* Updated Deployment Script module

* Updated PostgreSQL Flexible Server module

* Fixed description of userAssignedResourcesIds

* Updated Storage Account module

* Updated Web Hosting Environment module

* Updated Log Analytics Workspace module

* Updated Logic Workflow module

* Updated ML Workspace module

* Updated ML Workspace Compute module

* Updated Cosmos DB module

* Updated VM module

* Updated Digital Twins module

* Updated Healthcare APIs module

* Updated DevTest Lab module

* Updated PurView Account module

* Fixed Digital Twins missing references

* Fixed DevTest Lab formattedManagementIdentities ref

* Purview fix

* Purview fix 2

* Purview updated ARM

* SQL MI fix

* SQL MI updated ARM

* SQL MI removed new output

* Small fixes

* Fixed SQL Server module

* DigitalTwins - fixed params

* Digital Twins - reset to main

* mySQL - updated param description

* postgreSQL - updated param description

* mySQL - updated conditional param description

* postgreSQL - updated conditional param description

* Updated param description for "one identity only" modules

* Disk Encryption Set - updated keyVaultPermissions implementation

* Removed identity from Gremlin DB

* Web Hosting Env - changed the way how to suppress warning

---------

Co-authored-by: Alexander Sehr <[email protected]>
Co-authored-by: CARMLPipelinePrincipal <[email protected]>

Push updated Readme file(s)

[Modules] Updated tags to AVM standard - Batch 1 (#4159)

* First batch

* Updated automation account

* Attempted fix of split handling in automation account

* Updated bicep of vm

* Rollack of language server 2 from dev test

* Update to latest

* JSON update

* Added split workaround

* Updated tag & rbac handling

* Update to latest

* Updated api

* Updated Automation Account

* Adjusted AutoAccount

* Undid phantom role assignment change

* Update to latest

Push updated Readme file(s)

[Modules] Updated tags to AVM standard - Batch 2 (#4160)

* Second batch

* Updated firewall & simplified it

* Updated bastion & firewall to default with IP

[Modules] Updated tags to AVM standard - Batch 3 (#4161)

* Third batch

* Updated tags

Push updated Readme file(s)

[Fixes] Fixed incorrect UDT required identification & updated allowed & default value handling (#4168)

* Updated API Management module

* Updated Container App module

* Updating Configuration Store module (ongoing)

* Updated Configuration Store module

* Updated Automation Account module

* Comment headers formatted

* Readme/ARM for first four modules

* Updated Batch Account module

* Fixed parameter descriptions

* Updated Readme and ARM

* Updated Redis Cache module

* Container App - Fixed parameter descriptions

* Updated Cognitive Services module

* Updated VMSS module

* Updated Container Group module

* Updated Container Registry module

* Updated Data Factory module

* Updated Event Grid / System Topic module

* Updated EventHub Namespace module

* [Modules] Resolved conflicts (#4129)

* [Modules] Migrated batch [1/4] to AVM RBAC (#4125)

* Updated first badge of templates (readmes pending)

* Update to latest

* Compiled templates

* Compiled templates

* Compiled first few readmes

* Updated test files

* Updated readmes

* Reduced roles

* Updated templates

* Rollback different branches' changes

* Updated nic & pip

* Fixed test file

* Refreshed vm

* Push updated Readme file(s)

* Updated templates

* Updated templates

---------

Co-authored-by: CARMLPipelinePrincipal <[email protected]>

* Clean-up, some fixes

* Removed Azure Firewall changes from branch

* Update API common test file

* Update API common test file2

* Updated Recovery Services Vault module

* Updated ServiceBus Namespace module

* Updated SQL Managed Instance module

* Updated SQL Server module

* Updated Static Website module

* Updated Web Site module

* Updated website slot readme/arm

* Redis Cache - Testing with two identities

* Configuration Store module - Testing with two identities

* Updated Signal-R WebPub Sub module

* Updated Barch module to support only one type of identity

* Updated AKS module

* Updated Databricks Access Connector module

* Updated Disk Encryption Set module

* Updated Search Service module

* Updated Backup Vault module

* Updated Firewall Policy module

* Updated MySQL Flexible server module

* MySQL Flexible server module - namePrefix reset

* Updated Health Bot module

* Updated NetApp Account module

* Updated App Gateway module

* Updated Deployment Script module

* Updated PostgreSQL Flexible Server module

* Fixed description of userAssignedResourcesIds

* Updated Storage Account module

* Updated Web Hosting Environment module

* Updated Log Analytics Workspace module

* Updated Logic Workflow module

* Updated ML Workspace module

* Updated ML Workspace Compute module

* Updated Cosmos DB module

* Updated VM module

* Updated Digital Twins module

* Updated Healthcare APIs module

* Updated DevTest Lab module

* Updated PurView Account module

* Fixed Digital Twins missing references

* Fixed DevTest Lab formattedManagementIdentities ref

* Purview fix

* Purview fix 2

* Purview updated ARM

* SQL MI fix

* SQL MI updated ARM

* SQL MI removed new output

* Small fixes

* Fixed SQL Server module

* DigitalTwins - fixed params

* Digital Twins - reset to main

* mySQL - updated param description

* postgreSQL - updated param description

* mySQL - updated conditional param description

* postgreSQL - updated conditional param description

* Updated param description for "one identity only" modules

* Update to latest

* Updated Allowed & Default value handling, etc.

* Rollback of unrelated changes

* Updated readmes

* Small formatting

---------

Co-authored-by: Kris Baranek <[email protected]>
Co-authored-by: CARMLPipelinePrincipal <[email protected]>

Push updated Readme file(s)

Updated the way the NAT GW handles pip (#4158)

* Updated the way the NAT GW handles pip

* Updated triggers

* Added location

* Updated NATGW Prefix sku

* Update to latest

* Update dependencies.bicep

* Update to latest

* Update to latest

* Update to latest

* Update to latest

* Update to latest

* Update to latest

* Update modules/network/nat-gateway/main.bicep

Co-authored-by: Ahmad Abdalla <[email protected]>

---------

Co-authored-by: Ahmad Abdalla <[email protected]>

Push updated Readme file(s)

[Modules] Private Endpoint User Defined Type Bug (ipConfigurations and customDnsConfigs) (#4167)

Push updated Readme file(s)

[Utilities] Enabled expansion of child properties in ReadME (#4175)

* Update to latest

* Regenerated docs

[Modules] Updated CMK to AVM specs (#4173)

* Updated CMK for templates

* Updated test case

* Updated test case

* Regenerated files

Push updated Readme file(s)

[Modules] Updated Redis Cache Enterprise Logging (#4176)

Push updated Readme file(s)

[Modules] Update test folder structure (#4181)

* test 2 moduoles

* tests folder

* Update Get-ModuleTestFileList.ps1

* Update module.tests.ps1

* e2e folder

* rename tests

* ref shared scripts

* ref shared templates

* ref module from main.test.bicep

* authorization namespace

* policy-insignts namespace

[Modules] Rename min test to defaults (#4184)

* defaults

* readmes

[Modules] Remove max test from apim and analysis services (#4188)

* defaults

* readmes

* merge max and common

[Modules] Rename common test to max (#4190)

* rename folders

* serviceshort

* readme

Push updated API Specs file

[Modules] Added waf-aligned test (#4193)

* waf folders

* waf serviceshort

* waf metadata

* waf readme

Moved module to AVM - closes #4044 (#4203)

* Moved module to AVM

* Updated README

[Modules] Fix website publishing cred policy  (#4202)

* update Web Site Basic Publishing Cred Policies

* fix ARM json template

* update website arm template

* Update modules/web/site/basic-publishing-credentials-policy/main.bicep

Co-authored-by: Ahmad Abdalla <[email protected]>

* update parameter description

---------

Co-authored-by: Tao Yang <[email protected]>
Co-authored-by: Ahmad Abdalla <[email protected]>

Push updated Readme file(s)

Push updated API Specs file

Removed redundant null values from UDT as per AVM (#4208)

[Modules] New Child Module for Microsoft.Web/sites/slots/basicPublishingCredentialsPolicies (#4215)

* add website slot basic pub cred policy

* update

* update

* update

* update

* update

* update

* update

* update

---------

Co-authored-by: Tao Yang <[email protected]>

Push updated Readme file(s)

Added MOVED-TO-AVM.md  for `operational-insights/workspace` module (#4200)

* Added MOVED-TO-AVM.md

* Updated readme

Added MOVED-TO-AVM.md (#4199)

[Bug Fix] Remove kind parameter from App Service Plan `web/serverfarm` module (#4242)

Push updated Readme file(s)

[Modules] Updated identities to UDT as per AVM specs - Batch 2 (#4240)

* Wiki update - systemAssignedMIPrincipalId output

* Dev Test Lab - removed redundant output

* Web Site - aligned slotSystemAssignedMIPrincipalIds output name

* Upated ditital twins module

* Digital twins - updated readme and arm of child modules

* Digital twins - fixed identities of the endpoints

* Digital twins - ARM Update

* Restored original settingy.yml

* Upated Synapse Workspace module

* Digital Twins: added systemAssignedMIPrincipalId output and corresponding test

Push updated Readme file(s)

[Modules] Removed excess s from MI UDT definition (#4243)

* Removed excess s from MI UDT definition

* app/job module - fixed identity output name

* Removed excess s from MI UDT definition - part 2

Added MOVED-TO-AVM files  (#4204)

* Updated settings

* Updated settings

* Updated settings

* Updated version

* test

* test

* test

* Updated settings file

* Add MOVED-TO-AVM files

* revert settings.yml changes

Search Service - fixed version file schema (#4247)

Added MOVED-TO-AVM (#4248)

[Modules] Follow-Up-To: Added Azure Key Vault key management service settings to Security profile (#4252)

* [Modules] Added Azure Key Vault key management service settings to Security profile (#4251)

* Initial commit

* Update readme

* add Enable KMS in Azure test

* Remove accidently added blank line

* Update readme

* Rebuild main.json

* Add KMS test back in

* Update readme and generate main.json

---------

Co-authored-by: Asad Arif <[email protected]>

* Updated format to common cmk interface

* Updaed api tests

* Update to latest

---------

Co-authored-by: aadev1 <[email protected]>
Co-authored-by: Asad Arif <[email protected]>

Push updated Readme file(s)

[Modules] Added itempotency to tests [1/5] (#4210)

* Updated test cases of batch 1

* Updated test templates

* Update to latest

* Undid non-working changes

* Refreshed json

[Modules] Added itempotency to tests [2/5] (#4211)

* Update to latest

* Updated tests

* Update to latest

* Rollback of diverse changes

* Refresh templates

[Modules] Added itempotency to tests [3/5] (#4212)

* Updated batch 3

* Update to latest

* Refreshed templates

[Modules] Added itempotency to tests [4/5] (#4213)

* Updated batch 4

* Refreshed NW

* Test update to vnet

* Update to latest

* Refreshed templates

* Update to latest

[Modules] Added itempotency to tests [5/5] (#4214)

* Updated batch 5

* Update to latest

* Refreshed outdated template

* Missing refresh

* Refrehsed readme

* Refrehsed readme

* Update to latest

Push updated API Specs file

[Fixes] Regenerated docs via WSL to resolve static tests issue (#4261)

* Regenerated docs via wsl

* Updated VNET

* Fixed reference bug

* ReadMe update

[Fixes] Address BlobServices linter warning (#4262)

* Updated SA

* Update to latest

Added MOVED-TO-AVM.md for `search/search-service` module (#4267)

* Added MOVED-TO-AVM

* Added MOVED-TO-AVM

* removed insights/component from branch

Added MOVED-TO-AVM (#4269)

Added MOVED-TO-AVM (#4272)

The current version of flux configuration 2022-03-01 doesn't add Postbuild substitution variables (#4142)

* Updated flux configuration version to 2023-05-01

* Update readme and generate main.json

* Add kustomization settings to tests

* Update readme and generate main.json

---------

Co-authored-by: Asad Arif <[email protected]>

[Modules] Updated Role-Assignment schema & test cases (#4274)

* Updated interface

* Updated test cases

* Update to latest

* Removed unrelated tests

* Removed changes from already migrated modules

* Update to latest

* Updated templates & readmes

Update to latest (#4277)

Migrated module to AVM (#4276)

Migrated to AVM (#4275)

Updated docs (#4283)

Updated test cases & added performance improvements (#4273)

Push updated API Specs file

Push updated API Specs file

[Utilities] Ported 2 AVM Updates back to CARML (#4263)

* Performance Update 1

* ReadMe Recursion Update

* Generated KeyVault ReadMes for review

* Regenerated docs

Added MOVED-TO-AVM (#4306)

[New Feature] Add WhatIf feature to Test module locally script (#4241)

* Add WhatIf feature to Test module locally script

* update

* update

* update

* update

* Update modules/web/serverfarm/tests/e2e/max/main.test.bicep

Co-authored-by: Alexander Sehr <[email protected]>

---------

Co-authored-by: Alexander Sehr <[email protected]>

[Utilities] Updated WhatIf feature to AVM changes (#4308)

* Update to latest

* Implemented several fixes + aligned to AVM changes

* Update to latest

* Update to latest

* Update to latest

Added MOVED-TO-AVM (#4322)

[Fixes] Added missing connection property to VPN GW deployment (#4313)

* First draft

* Refreshed files

* Update to latest

* Update to latest

* Update to latest

Push updated Readme file(s)

Push updated API Specs file

Added MovedToAVM (#4330)

Added MOVED-TO-AVM (#4334)

Adding Moved to AVM for `power-bi-dedicated/capacity` (#4338)

* Adding Moved to AVM

* Fixed MOVED TO AVM

Adding MOVED-TO-AVM.md (#4340)

Added MOVED-TO-AVM (#4336)

Adding MOVED-TO-AVM to network/trafficmanagerprofile (#4341)

* Updated settings

* Updated settings

* Updated settings

* Updated version

* test

* test

* test

* Updated settings file

* Migrate module to AVM

* Updated readme and json

* revert settings.yml

Added MOVED-TO-AVM (#4335)

[Modules] Added azureMonitorProfile to allow us to enable the Prometheus collector (#4329) (#4331)

* Added azureMonitorProfile to aks resource

* Update readme and generate main.json

* Add [[namePrefix]] back into test

---------

Co-authored-by: aadev1 <[email protected]>
Co-authored-by: Asad Arif <[email protected]>

Push updated Readme file(s)

Container Apps Env Upgrade to latest version 2023-05-01 (#4307)

* Upgrade to latest version 2023-05-01

* Formatted

* assign subnet id if provided

* updated arm template and output defaultDomain

* Lint fix

* minor fix for ReservedCidr, ReservedDnsIP and test

Push updated Readme file(s)

ManagedCluster - WebAppRouting - Updates (#4195)

* Update main.bicep

Do not attempt to load Private DNS Zone when `enableDnsZoneContributorRoleAssignment` is false.

Added output `managedCluster.properties.ingressProfile.webAppRouting.identity.objectId` so I can add role assignment for private dns zone

* Update module

* Upgraded bicep, re-ran

Push updated Readme file(s)

Added MOVED-TO-AVM (#4353)

Push updated API Specs file

Added MOVED-TO-AVM for three modules (#4354)

Ported fixed implemented in AVM to reenabled static test issues (#4352)

Adding Moved to AVM for managed-identity/user-assigned-identity (#4339)

* first draft

* updated avm draft

* moved to avm

* conflicts

* final userid

* readme update

Push updated Readme file(s)

migrated module (#4364)

Bugfix for allowed value logic

Updated NSG Module VM (#4365)

Regenerated all docs & json templates (#4366)

[Modules] Cluster - Expose AGIC Identity Object Id (#4349) (#4375)

* Managed Cluster - Expose AGIC Identity Object Id (#4349)

* Add AGIC identity

* Set-Module

* Update to latest

---------

Co-authored-by: Preston Alvarado <[email protected]>

Push updated Readme file(s)

Added MOVED-TO-AVM for four modules (#4379)

Push updated API Specs file

[Module] Implemented workaround for fileShare role assignment (#4391)

* Update to latest

* Update to latest

Push updated Readme file(s)

Users/arnoldna/4409 app managedenvironment (#4410)

* Moved app/managedenvironment to AVM

* Updated Readme

Push updated API Specs file

Push updated API Specs file

[Fixes] Ensure that VirtualMachineImages are removed before MSIs are removed as there's otherwise a high chance for a lock (#4418)

* Updated removal

* Update to latest

* Update to latest

* Update to latest

Added moved md (#4424)

Added MOVED-TO-AVM for recently migrated modules (#4429)

Updated RG readme (#4431)

[Modules] Updates to the Azure Monitor Private Link Service (AMPLS) Module (#4392)

* Added types and upgraded api version

* Added tests

* Uncommented code

* Added documentation to accessModeSettings and added PrivateOnly value

* Testing using condition

* PR feedback

* Removed access mode from default test

* Updated readme and main.json

* PR feedback

* Uncommented code, added description for exclusion

* Updated markdown and json

* Fixed description to adhere to test

* PR feedback

Push updated Readme file(s)

Added MOVED-TO-AVM (#4435)

Added MOVED-TO-AVM (#4439)

Push updated API Specs file

replace ubuntu version (#4437)

[PSRule] Fix Rule Azure.VMSS.AMA (#3918)

* updates

* update readme

* update

---------

Co-authored-by: Fabio Masciotra <[email protected]>

[Modules] Added missing `Moved-to-AVM.md` (#4440)

* Update to latest

* Regenerated docs

[Modules] Removed excess files (#4441)

* Update to latest

* Regenerated docs

* Update to latest

module moved to AVM (#4453)

* module moved to AVM

* update readme

* add notes back

Push updated API Specs file

Migrate container-service/managed-cluster to AVM specs (#4454)

* moved to avm

* Update readme

Push updated Readme file(s)

Added MOVED-TO-AVM (#4455)

Added MOVED-TO-AVM (#4457)

Push updated API Specs file

Moved to AVM (#4463)

[Utilities] Ported updated reference resolution from AVM (#4468)

* Updated script

* Update to latest

Updated module dependency and fixed typo (#4469)

Update to latest (#4470)

[Modules] moved to AVM: local-network-gateway and virtual-network-gateway (#4471)

* updated modules moved to AVM

* updated readme file with AVM migration assertion

---------

Co-authored-by: Fabio Masciotra <[email protected]>

Scaling Plan MOVED-TO-AVM.md (#4483)

* Create MOVED-TO-AVM.md

* updates

Update to latest

Application group MOVED-TO-AVM.md (#4482)

* Create MOVED-TO-AVM.md

* updates

Workspace MOVED-TO-AVM.md (#4485)

* Create MOVED-TO-AVM.md

* updates

Host pool update readme (#4484)

* Create MOVED-TO-AVM.md

* Create MOVED-TO-AVM.md

* updates

[Fixes] Fixed issue with multi-line parameter descriptions (#4488)

* Ported multiline fix from AVM

* Update to latest

Added moved to avm disclaimer to store account

Added moved to avm disclaimer to app container-app

Added Moved to AVM for migrate modules (#4495)

Added MOVED-TO-AVM (#4498)

[Utilities] Enabled Workflow-Trigger function to trigger only for module diff (ported from AVM) (#4499)

* Add support for triggering workflows based on file diff

* Dummy change to test diff

* Dummy change to test diff

* Adding diff module filter

* Removed dummy changes

Moved from CARML to AVM (#4501)

Added missing slash (#4508)

Added MOVED-TO-AVM.md for the machine-learning workspace (#4505)

Added MOVED-TO-AVM.md for the purview account (#4503)

Added MOVED-TO-AVM.md for the DevTest Lab and Network Manager Modules (#4513)

* added dtl

* Update Network Manager modules

Refactor role assignment filtering in Get-RoleAssignmentList.ps1 (#4515)

* Refactor role assignment filtering in Get-RoleAssignmentList.ps1

* fmt

* Add optional parameter to fetch all available roles

* Refactor Get-RoleAssignmentList.ps1 to fetch relevant Role Definitions by default

* Remove unnecessary debug statements in Get-RoleAssignmentList.ps1

Added MOVED-TO-AVM.md for the CDN Profile module (#4512)

Added MOVED-TO-AVM.md for the configuration store (#4506)

Added MOVED-TO-AVM.md for the Signal-R modules (#4517)

[CI Environment] Ported latest AVM pipline changes (e.g. naming) (#4477)

* Ported several changes

* Update to latest

* Update to latest

* Fixed PSRule setup

* Updated pester test file path

* Update to latest

* Update to latest

* Update to latest

* Update to latest

* Update to latest

* Update to latest

* Update to latest

* Update to latest

* Update to latest

* Update to latest

* Changed pwsh

* Update to latest

* Update to latest

* Tried alternative path ref

* Added PS Rule ref

* Update to latest

* Update to latest

* Update to latest

* Update to latest

* Update to latest

* Update to latest

* Update to latest

* Update to latest

* Update to latest

* Update to latest

* Update to latest

* Update to latest

* Update to latest

* Renamed paths

* Updated to more specific naming to avoid overlaps with e.g., pwsh path var

* Undid unrelated changes

* Added Az.Resources install to PSRule prep

* Update to latest

* GH PS Rule config fix

* Update to latest

* Update to latest

Added MOVED-TO-AVM.md for the recently migrated modules (#4533)

* Added MOVED-TO-AVM for Relay Namespace

* Added MOVED-TO-AVM for Web Connection

Added MOVED-TO-AVM.md for the recently migrated modules (#4538)

* Added MOVED-TO-AVM.md for the Healthcare APIs Workspace

* Update README.md and MOVED-TO-AVM.md for the Application Gateway Web Application Firewall (WAF) Policies module

CARML - AVM module transition complete (#4541)

* readme updates

* readme update

* new template for MOVED-TO-AVM.md

* remove old notice from README files

* updated notice

* update informational notice in the MOVED-TO-AVM.md files

* update moved-to-avm notice

* moved-to-avm, readme and retired files updated

* readme update

* deleting modules' source code

* delete README files

* rename RETIRED.md and MOVED-TO-AVM.md to README.md

* readme update

* readme updates
  • Loading branch information
ahmadabdalla authored and Stephane Vallier committed Aug 7, 2024
1 parent 0bee488 commit 029e8b0
Show file tree
Hide file tree
Showing 2,482 changed files with 12,483 additions and 384,836 deletions.
50 changes: 50 additions & 0 deletions .azuredevops/modulePipelines/ms.app.jobs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
name: 'App - Jobs'

parameters:
- name: staticValidation
displayName: Execute static validation
type: boolean
default: true
- name: deploymentValidation
displayName: Execute deployment validation
type: boolean
default: true
- name: removeDeployment
displayName: Remove deployed module
type: boolean
default: true
- name: prerelease
displayName: Publish prerelease module
type: boolean
default: false

pr: none

trigger:
batch: true
branches:
include:
- main
paths:
include:
- '/.azuredevops/modulePipelines/ms.app.jobs.yml'
- '/.azuredevops/pipelineTemplates/*.yml'
- '/modules/app/job/*'
- '/utilities/pipelines/*'
exclude:
- '/utilities/pipelines/deploymentRemoval/*'
- '/**/*.md'

variables:
- template: '../../settings.yml'
- group: 'PLATFORM_VARIABLES'
- name: modulePath
value: '/modules/app/job'

stages:
- template: /.azuredevops/pipelineTemplates/stages.module.yml
parameters:
staticValidation: '${{ parameters.staticValidation }}'
deploymentValidation: '${{ parameters.deploymentValidation }}'
removeDeployment: '${{ parameters.removeDeployment }}'
prerelease: '${{ parameters.prerelease }}'
51 changes: 51 additions & 0 deletions .azuredevops/modulePipelines/ms.cache.redisenterprise.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
name: 'Cache - Redis Enterprise'

parameters:
- name: staticValidation
displayName: Execute static validation
type: boolean
default: true
- name: deploymentValidation
displayName: Execute deployment validation
type: boolean
default: true
- name: removeDeployment
displayName: Remove deployed module
type: boolean
default: true
- name: prerelease
displayName: Publish prerelease module
type: boolean
default: false

pr: none

trigger:
batch: true
branches:
include:
- main
paths:
include:
- '/modules/cache/redis-enterprise/*'
- '/modules/network/private-endpoint/*'
- '/.azuredevops/modulePipelines/ms.cache.redisenterprise.yml'
- '/.azuredevops/pipelineTemplates/*.yml'
- '/utilities/pipelines/*'
exclude:
- '/utilities/pipelines/deploymentRemoval/*'
- '/**/*.md'

variables:
- template: '../../settings.yml'
- group: 'PLATFORM_VARIABLES'
- name: modulePath
value: '/modules/cache/redis-enterprise'

stages:
- template: /.azuredevops/pipelineTemplates/stages.module.yml
parameters:
staticValidation: '${{ parameters.staticValidation }}'
deploymentValidation: '${{ parameters.deploymentValidation }}'
removeDeployment: '${{ parameters.removeDeployment }}'
prerelease: '${{ parameters.prerelease }}'
50 changes: 50 additions & 0 deletions .azuredevops/modulePipelines/ms.databricks.accessconnectors.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
name: 'Databricks - Access Connectors'

parameters:
- name: staticValidation
displayName: Execute static validation
type: boolean
default: true
- name: deploymentValidation
displayName: Execute deployment validation
type: boolean
default: true
- name: removeDeployment
displayName: Remove deployed module
type: boolean
default: true
- name: prerelease
displayName: Publish prerelease module
type: boolean
default: false

pr: none

trigger:
batch: true
branches:
include:
- main
paths:
include:
- '/.azuredevops/modulePipelines/ms.databricks.accessconnectors.yml'
- '/.azuredevops/pipelineTemplates/*.yml'
- '/modules/databricks/access-connector/*'
- '/utilities/pipelines/*'
exclude:
- '/utilities/pipelines/deploymentRemoval/*'
- '/**/*.md'

variables:
- template: '../../settings.yml'
- group: 'PLATFORM_VARIABLES'
- name: modulePath
value: '/modules/databricks/access-connector'

stages:
- template: /.azuredevops/pipelineTemplates/stages.module.yml
parameters:
staticValidation: '${{ parameters.staticValidation }}'
deploymentValidation: '${{ parameters.deploymentValidation }}'
removeDeployment: '${{ parameters.removeDeployment }}'
prerelease: '${{ parameters.prerelease }}'
1 change: 1 addition & 0 deletions .azuredevops/modulePipelines/ms.databricks.workspaces.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ trigger:
- '/.azuredevops/modulePipelines/ms.databricks.workspaces.yml'
- '/.azuredevops/pipelineTemplates/*.yml'
- '/modules/databricks/workspace/*'
- '/modules/network/private-endpoint/*'
- '/utilities/pipelines/*'
exclude:
- '/utilities/pipelines/deploymentRemoval/*'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ trigger:
- '/.azuredevops/modulePipelines/ms.network.applicationgateways.yml'
- '/.azuredevops/pipelineTemplates/*.yml'
- '/modules/network/application-gateway/*'
- '/modules/network/private-endpoint/*'
- '/utilities/pipelines/*'
exclude:
- '/utilities/pipelines/deploymentRemoval/*'
Expand Down
1 change: 1 addition & 0 deletions .azuredevops/modulePipelines/ms.network.natgateways.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ trigger:
include:
- '/modules/network/nat-gateway/*'
- '/modules/network/public-ip-address/*'
- '/modules/network/public-ip-prefix/*'
- '/.azuredevops/modulePipelines/ms.network.natgateways.yml'
- '/.azuredevops/pipelineTemplates/*.yml'
- '/utilities/pipelines/*'
Expand Down
51 changes: 51 additions & 0 deletions .azuredevops/modulePipelines/ms.search.searchservices.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
name: 'Search - SearchServices'

parameters:
- name: staticValidation
displayName: Execute static validation
type: boolean
default: true
- name: deploymentValidation
displayName: Execute deployment validation
type: boolean
default: true
- name: removeDeployment
displayName: Remove deployed module
type: boolean
default: true
- name: prerelease
displayName: Publish prerelease module
type: boolean
default: false

pr: none

trigger:
batch: true
branches:
include:
- main
paths:
include:
- '/modules/search/search-service/*'
- '/modules/network/private-endpoint/*'
- '/.azuredevops/modulePipelines/ms.search.searchservices.yml'
- '/.azuredevops/pipelineTemplates/*.yml'
- '/utilities/pipelines/*'
exclude:
- '/utilities/pipelines/deploymentRemoval/*'
- '/**/*.md'

variables:
- template: '../../settings.yml'
- group: 'PLATFORM_VARIABLES'
- name: modulePath
value: '/modules/search/search-service'

stages:
- template: /.azuredevops/pipelineTemplates/stages.module.yml
parameters:
staticValidation: '${{ parameters.staticValidation }}'
deploymentValidation: '${{ parameters.deploymentValidation }}'
removeDeployment: '${{ parameters.removeDeployment }}'
prerelease: '${{ parameters.prerelease }}'
63 changes: 44 additions & 19 deletions .azuredevops/pipelineTemplates/jobs.getModuleTestFiles.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ parameters:

# Logic-related parameters
modulePath: '$(modulePath)'
psRuleFilterRegex: '(defaults|waf-aligned)'

##---------------------------------------------##
## TEMPLATE LOGIC ##
Expand All @@ -19,34 +20,58 @@ jobs:
name: ${{ parameters.poolName }}
steps:
- task: PowerShell@2
displayName: 'Get parameter files'
displayName: 'Get module test file paths'
name: getModuleTestFilesTask
inputs:
targetType: inline
pwsh: true
script: |
# Load used functions
. (Join-Path '$(System.DefaultWorkingDirectory)' 'utilities' 'pipelines' 'sharedScripts' 'Get-ModuleTestFileList.ps1')
## ======= ##
## All ##
## ======= ##
$functionInput = @{
ModulePath = Join-Path '$(System.DefaultWorkingDirectory)' '${{ parameters.modulePath }}'
}
# Get the list of parameter file paths
$moduleFolderPath = Join-Path '$(System.DefaultWorkingDirectory)' '${{ parameters.modulePath }}'
Write-Verbose "Invoke task with" -Verbose
Write-Verbose ($functionInput | ConvertTo-Json | Out-String) -Verbose
$testFilePaths = (Get-ChildItem -Path $moduleFolderPath -Recurse -Filter 'main.test.bicep').FullName | Sort-Object
$testFilePaths = $testFilePaths | ForEach-Object {
$_.Replace($moduleFolderPath, '').Trim('\').Trim('/')
}
# Set agent up
$deploymentTestPaths = Get-ModuleTestFileList @functionInput -Verbose
Write-Verbose 'Found all module test files' -Verbose
$testFilePaths | ForEach-Object { Write-Verbose "- [$_]" -Verbose }
$testTable = @{}
foreach ($deploymentTestPath in $deploymentTestPaths) {
$deploymentTestFileName = Split-Path (Split-Path $deploymentTestPath -Parent) -Leaf
$testTable[$deploymentTestFileName] += @{
moduleTestFilePath = $deploymentTestPath
}
}
$testFilePaths | ForEach-Object {
$testFileName = Split-Path (Split-Path $_) -Leaf
$testTable[$testFileName] = @{
moduleTestFilePath = $_
moduleTestFileName = $testFileName
}
} | ConvertTo-Json -Compress
$deployCompressedOutput = $testTable | ConvertTo-Json -Compress
Write-Verbose "Publishing output: $deployCompressedOutput" -Verbose
Write-Host ('##vso[task.setVariable variable=moduleTestFilePaths;isOutput=true]{0}' -f $deployCompressedOutput)
$deploymentTestPathsOutput = $testTable | ConvertTo-Json -Compress
## =========== ##
## PS-Rule ##
## =========== ##
$psRuleTestFilePaths = $testFilePaths | Where-Object { $_ -match '${{ parameters.psRuleFilterRegex }}' }
Write-Verbose 'Found PSRule module test files' -Verbose
$psRuleTestFilePaths | ForEach-Object { Write-Verbose "- [$_]" -Verbose }
$psRuleTestTable = @{}
$psRuleTestFilePaths | ForEach-Object {
$testFileName = Split-Path (Split-Path $_) -Leaf
$psRuleTestTable[$testFileName] = @{
moduleTestFilePath = $_
moduleTestFileName = $testFileName
}
}
$psRuleCompressedOutput = $psRuleTestTable | ConvertTo-Json -Compress
Write-Host ('##vso[task.setVariable variable=moduleTests;isOutput=true]{0}' -f ($testTable | ConvertTo-Json -Compress))
Write-Verbose "Module test files: $deploymentTestPathsOutput" -Verbose
Write-Host ('##vso[task.setVariable variable=psRuleModuleTestFilePaths;isOutput=true]{0}' -f $psRuleCompressedOutput)
Write-Verbose "PS Rule publishing output: $psRuleCompressedOutput" -Verbose
Loading

0 comments on commit 029e8b0

Please sign in to comment.