From 9faaf98cf8b77d0b018b3c5d18ef2fd0fa64fe6b Mon Sep 17 00:00:00 2001 From: Nik Charlebois Date: Fri, 8 Nov 2024 07:51:10 -0500 Subject: [PATCH] Fixes Updates --- .../1-Create.ps1 | 2 +- .../2-Update.ps1 | 2 +- .../3-Remove.ps1 | 2 +- ...Microsoft365DSC.EXOM365DataAtRestEncryptionPolicy.Tests.ps1} | 0 4 files changed, 3 insertions(+), 3 deletions(-) rename Modules/Microsoft365DSC/Examples/Resources/{M365DataAtRestEncryptionPolicy => EXOM365DataAtRestEncryptionPolicy}/1-Create.ps1 (92%) rename Modules/Microsoft365DSC/Examples/Resources/{M365DataAtRestEncryptionPolicy => EXOM365DataAtRestEncryptionPolicy}/2-Update.ps1 (92%) rename Modules/Microsoft365DSC/Examples/Resources/{M365DataAtRestEncryptionPolicy => EXOM365DataAtRestEncryptionPolicy}/3-Remove.ps1 (92%) rename Tests/Unit/Microsoft365DSC/{Microsoft365DSC.M365DataAtRestEncryptionPolicy.Tests.ps1 => Microsoft365DSC.EXOM365DataAtRestEncryptionPolicy.Tests.ps1} (100%) diff --git a/Modules/Microsoft365DSC/Examples/Resources/M365DataAtRestEncryptionPolicy/1-Create.ps1 b/Modules/Microsoft365DSC/Examples/Resources/EXOM365DataAtRestEncryptionPolicy/1-Create.ps1 similarity index 92% rename from Modules/Microsoft365DSC/Examples/Resources/M365DataAtRestEncryptionPolicy/1-Create.ps1 rename to Modules/Microsoft365DSC/Examples/Resources/EXOM365DataAtRestEncryptionPolicy/1-Create.ps1 index 9228d6dd91..cd20934197 100644 --- a/Modules/Microsoft365DSC/Examples/Resources/M365DataAtRestEncryptionPolicy/1-Create.ps1 +++ b/Modules/Microsoft365DSC/Examples/Resources/EXOM365DataAtRestEncryptionPolicy/1-Create.ps1 @@ -22,7 +22,7 @@ Configuration Example node localhost { - M365DataAtRestEncryptionPolicy "M365DataAtRestEncryptionPolicy-Riyansh_Policy" + EXOM365DataAtRestEncryptionPolicy "M365DataAtRestEncryptionPolicy-Riyansh_Policy" { AzureKeyIDs = @("https://m365dataatrestencryption.vault.azure.net/keys/EncryptionKey","https://m365datariyansh.vault.azure.net/keys/EncryptionRiyansh"); Description = "Tenant default policy 1"; diff --git a/Modules/Microsoft365DSC/Examples/Resources/M365DataAtRestEncryptionPolicy/2-Update.ps1 b/Modules/Microsoft365DSC/Examples/Resources/EXOM365DataAtRestEncryptionPolicy/2-Update.ps1 similarity index 92% rename from Modules/Microsoft365DSC/Examples/Resources/M365DataAtRestEncryptionPolicy/2-Update.ps1 rename to Modules/Microsoft365DSC/Examples/Resources/EXOM365DataAtRestEncryptionPolicy/2-Update.ps1 index fc54367d41..a2b808a007 100644 --- a/Modules/Microsoft365DSC/Examples/Resources/M365DataAtRestEncryptionPolicy/2-Update.ps1 +++ b/Modules/Microsoft365DSC/Examples/Resources/EXOM365DataAtRestEncryptionPolicy/2-Update.ps1 @@ -22,7 +22,7 @@ Configuration Example node localhost { - M365DataAtRestEncryptionPolicy "M365DataAtRestEncryptionPolicy-Riyansh_Policy" + EXOM365DataAtRestEncryptionPolicy "M365DataAtRestEncryptionPolicy-Riyansh_Policy" { AzureKeyIDs = @("https://m365dataatrestencryption.vault.azure.net/keys/EncryptionKey","https://m365datariyansh.vault.azure.net/keys/EncryptionRiyansh"); Description = "Tenant default policy 2"; # drift diff --git a/Modules/Microsoft365DSC/Examples/Resources/M365DataAtRestEncryptionPolicy/3-Remove.ps1 b/Modules/Microsoft365DSC/Examples/Resources/EXOM365DataAtRestEncryptionPolicy/3-Remove.ps1 similarity index 92% rename from Modules/Microsoft365DSC/Examples/Resources/M365DataAtRestEncryptionPolicy/3-Remove.ps1 rename to Modules/Microsoft365DSC/Examples/Resources/EXOM365DataAtRestEncryptionPolicy/3-Remove.ps1 index 122dbb4e59..2fb04326d1 100644 --- a/Modules/Microsoft365DSC/Examples/Resources/M365DataAtRestEncryptionPolicy/3-Remove.ps1 +++ b/Modules/Microsoft365DSC/Examples/Resources/EXOM365DataAtRestEncryptionPolicy/3-Remove.ps1 @@ -22,7 +22,7 @@ Configuration Example node localhost { - M365DataAtRestEncryptionPolicy "M365DataAtRestEncryptionPolicy-Riyansh_Policy" + EXOM365DataAtRestEncryptionPolicy "M365DataAtRestEncryptionPolicy-Riyansh_Policy" { AzureKeyIDs = @("https://m365dataatrestencryption.vault.azure.net/keys/EncryptionKey","https://m365datariyansh.vault.azure.net/keys/EncryptionRiyansh"); Description = "Tenant default policy 1"; diff --git a/Tests/Unit/Microsoft365DSC/Microsoft365DSC.M365DataAtRestEncryptionPolicy.Tests.ps1 b/Tests/Unit/Microsoft365DSC/Microsoft365DSC.EXOM365DataAtRestEncryptionPolicy.Tests.ps1 similarity index 100% rename from Tests/Unit/Microsoft365DSC/Microsoft365DSC.M365DataAtRestEncryptionPolicy.Tests.ps1 rename to Tests/Unit/Microsoft365DSC/Microsoft365DSC.EXOM365DataAtRestEncryptionPolicy.Tests.ps1