From dae6e8fa5ebe07a99835c703ce860d7c1e3ec81c Mon Sep 17 00:00:00 2001 From: Wei Shi Date: Tue, 8 Jun 2021 10:15:53 -0700 Subject: [PATCH] update Az.Accounts versions from >= to == --- src/Azs.AzureBridge.Admin/readme.md | 7 ++----- src/Azs.Backup.Admin/readme.md | 7 ++----- src/Azs.Commerce.Admin/readme.md | 7 ++----- src/Azs.Compute.Admin/readme.md | 7 ++----- .../Azs.Deployment.Admin.nuspec | 2 +- src/Azs.Deployment.Admin/readme.md | 3 --- src/Azs.Fabric.Admin/readme.md | 7 ++----- src/Azs.Gallery.Admin/readme.md | 6 ++---- src/Azs.InfrastructureInsights.Admin/readme.md | 7 ++----- src/Azs.KeyVault.Admin/readme.md | 7 ++----- src/Azs.Network.Admin/readme.md | 7 ++----- src/Azs.Storage.Admin/readme.md | 7 ++----- src/Azs.Subscriptions.Admin/readme.md | 7 ++----- src/Azs.Subscriptions/readme.md | 7 ++----- src/Azs.Update.Admin/readme.md | 15 +++++++++++---- src/AzureStack/AzureStack.nuspec | 2 +- 16 files changed, 37 insertions(+), 68 deletions(-) diff --git a/src/Azs.AzureBridge.Admin/readme.md b/src/Azs.AzureBridge.Admin/readme.md index 7f498ea5..fcb673eb 100644 --- a/src/Azs.AzureBridge.Admin/readme.md +++ b/src/Azs.AzureBridge.Admin/readme.md @@ -16,9 +16,6 @@ This directory contains the PowerShell module for the BridgeAdmin service. ## Detail This module was primarily generated via [AutoRest](https://github.com/Azure/autorest) using the [PowerShell](https://github.com/Azure/autorest.powershell) extension. -## Module Requirements -- [Az.Accounts module](https://www.powershellgallery.com/packages/Az.Accounts/), version 2.2.3 or greater - ## Authentication AutoRest does not generate authentication code for the module. Authentication is handled via Az.Accounts by altering the HTTP payload before it is sent. @@ -130,12 +127,12 @@ directive: # Add Az.Accounts/Az.Resources as dependencies - from: Azs.Azurebridge.Admin.nuspec where: $ - transform: $ = $.replace('', '\n '); + transform: $ = $.replace('', '\n '); # PSD1 changes for RequiredModules - from: source-file-csharp where: $ - transform: $ = $.replace('sb.AppendLine\(\$@\"\{Indent\}RequiredAssemblies = \'\{\"./bin/Azs.Azurebridge.Admin.private.dll\"\}\'\"\);', 'sb.AppendLine\(\$@\"\{Indent\}RequiredAssemblies = \'\{\"./bin/Azs.Azurebridge.Admin.private.dll\"\}\'\"\);\n sb.AppendLine\(\$@\"\{Indent\}RequiredModules = @\(@\{\{ModuleName = \'Az.Accounts\'; ModuleVersion = \'2.2.8\'; \}\}, @\{\{ModuleName = \'Az.Resources\'; RequiredVersion = \'0.11.0\'; \}\}\)\"\);'); + transform: $ = $.replace('sb.AppendLine\(\$@\"\{Indent\}RequiredAssemblies = \'\{\"./bin/Azs.Azurebridge.Admin.private.dll\"\}\'\"\);', 'sb.AppendLine\(\$@\"\{Indent\}RequiredAssemblies = \'\{\"./bin/Azs.Azurebridge.Admin.private.dll\"\}\'\"\);\n sb.AppendLine\(\$@\"\{Indent\}RequiredModules = @\(@\{\{ModuleName = \'Az.Accounts\'; RequiredVersion = \'2.2.8\'; \}\}, @\{\{ModuleName = \'Az.Resources\'; RequiredVersion = \'0.11.0\'; \}\}\)\"\);'); # PSD1 changes for ReleaseNotes - from: source-file-csharp diff --git a/src/Azs.Backup.Admin/readme.md b/src/Azs.Backup.Admin/readme.md index b3165f48..8ce2fdcb 100644 --- a/src/Azs.Backup.Admin/readme.md +++ b/src/Azs.Backup.Admin/readme.md @@ -16,9 +16,6 @@ This directory contains the PowerShell module for the BackupAdmin service. ## Detail This module was primarily generated via [AutoRest](https://github.com/Azure/autorest) using the [PowerShell](https://github.com/Azure/autorest.powershell) extension. -## Module Requirements -- [Az.Accounts module](https://www.powershellgallery.com/packages/Az.Accounts/), version 1.8.1 or greater - ## Authentication AutoRest does not generate authentication code for the module. Authentication is handled via Az.Accounts by altering the HTTP payload before it is sent. @@ -181,12 +178,12 @@ directive: # Add Az.Accounts/Az.Resources as dependencies - from: Azs.Backup.Admin.nuspec where: $ - transform: $ = $.replace('', '\n '); + transform: $ = $.replace('', '\n '); # PSD1 Changes for RequiredModules - from: source-file-csharp where: $ - transform: $ = $.replace('sb.AppendLine\(\$@\"\{Indent\}RequiredAssemblies = \'\{\"./bin/Azs.AzureBridge.Admin.private.dll\"\}\'\"\);', 'sb.AppendLine\(\$@\"\{Indent\}RequiredAssemblies = \'\{\"./bin/Azs.AzureBridge.Admin.private.dll\"\}\'\"\);\n sb.AppendLine\(\$@\"\{Indent\}RequiredModules = @\(@\{\{ModuleName = \'Az.Accounts\'; ModuleVersion = \'2.2.8\'; \}\}, @\{\{ModuleName = \'Az.Resources\'; RequiredVersion = \'0.11.0\'; \}\}\)\"\);'); + transform: $ = $.replace('sb.AppendLine\(\$@\"\{Indent\}RequiredAssemblies = \'\{\"./bin/Azs.AzureBridge.Admin.private.dll\"\}\'\"\);', 'sb.AppendLine\(\$@\"\{Indent\}RequiredAssemblies = \'\{\"./bin/Azs.AzureBridge.Admin.private.dll\"\}\'\"\);\n sb.AppendLine\(\$@\"\{Indent\}RequiredModules = @\(@\{\{ModuleName = \'Az.Accounts\'; RequiredVersion = \'2.2.8\'; \}\}, @\{\{ModuleName = \'Az.Resources\'; RequiredVersion = \'0.11.0\'; \}\}\)\"\);'); # PSD1 Changes for ReleaseNotes - from: source-file-csharp diff --git a/src/Azs.Commerce.Admin/readme.md b/src/Azs.Commerce.Admin/readme.md index 8540322a..cd2fd8af 100644 --- a/src/Azs.Commerce.Admin/readme.md +++ b/src/Azs.Commerce.Admin/readme.md @@ -16,9 +16,6 @@ This directory contains the PowerShell module for the Commerce service. ## Detail This module was primarily generated via [AutoRest](https://github.com/Azure/autorest) using the [PowerShell](https://github.com/Azure/autorest.powershell) extension. -## Module Requirements -- [Az.Accounts module](https://www.powershellgallery.com/packages/Az.Accounts/), version 1.6.0 or greater - ## Authentication AutoRest does not generate authentication code for the module. Authentication is handled via Az.Accounts by altering the HTTP payload before it is sent. @@ -90,12 +87,12 @@ directive: # Add Az.Accounts/Az.Resources as dependencies - from: Azs.Commerce.Admin.nuspec where: $ - transform: $ = $.replace('', '\n '); + transform: $ = $.replace('', '\n '); # PSD1 Changes for RequiredModules - from: source-file-csharp where: $ - transform: $ = $.replace('sb.AppendLine\(\$@\"\{Indent\}RequiredAssemblies = \'\{\"./bin/Azs.Commerce.Admin.private.dll\"\}\'\"\);', 'sb.AppendLine\(\$@\"\{Indent\}RequiredAssemblies = \'\{\"./bin/Azs.Commerce.Admin.private.dll\"\}\'\"\);\n sb.AppendLine\(\$@\"\{Indent\}RequiredModules = @\(@\{\{ModuleName = \'Az.Accounts\'; ModuleVersion = \'2.2.8\'; \}\}, @\{\{ModuleName = \'Az.Resources\'; RequiredVersion = \'0.11.0\'; \}\}\)\"\);'); + transform: $ = $.replace('sb.AppendLine\(\$@\"\{Indent\}RequiredAssemblies = \'\{\"./bin/Azs.Commerce.Admin.private.dll\"\}\'\"\);', 'sb.AppendLine\(\$@\"\{Indent\}RequiredAssemblies = \'\{\"./bin/Azs.Commerce.Admin.private.dll\"\}\'\"\);\n sb.AppendLine\(\$@\"\{Indent\}RequiredModules = @\(@\{\{ModuleName = \'Az.Accounts\'; RequiredVersion = \'2.2.8\'; \}\}, @\{\{ModuleName = \'Az.Resources\'; RequiredVersion = \'0.11.0\'; \}\}\)\"\);'); # PSD1 Changes for ReleaseNotes - from: source-file-csharp diff --git a/src/Azs.Compute.Admin/readme.md b/src/Azs.Compute.Admin/readme.md index 9ca6fa6e..1f71a31d 100644 --- a/src/Azs.Compute.Admin/readme.md +++ b/src/Azs.Compute.Admin/readme.md @@ -16,9 +16,6 @@ This directory contains the PowerShell module for the ComputeAdmin service. ## Detail This module was primarily generated via [AutoRest](https://github.com/Azure/autorest) using the [PowerShell](https://github.com/Azure/autorest.powershell) extension. -## Module Requirements -- [Az.Accounts module](https://www.powershellgallery.com/packages/Az.Accounts/), version 1.6.0 or greater - ## Authentication AutoRest does not generate authentication code for the module. Authentication is handled via Az.Accounts by altering the HTTP payload before it is sent. @@ -340,12 +337,12 @@ directive: # Add Az.Accounts/Az.Resources as dependencies - from: Azs.Compute.Admin.nuspec where: $ - transform: $ = $.replace('', '\n '); + transform: $ = $.replace('', '\n '); # PSD1 Changes for RequiredModules - from: source-file-csharp where: $ - transform: $ = $.replace('sb.AppendLine\(\$@\"\{Indent\}RequiredAssemblies = \'\{\"./bin/Azs.Compute.Admin.private.dll\"\}\'\"\);', 'sb.AppendLine\(\$@\"\{Indent\}RequiredAssemblies = \'\{\"./bin/Azs.Compute.Admin.private.dll\"\}\'\"\);\n sb.AppendLine\(\$@\"\{Indent\}RequiredModules = @\(@\{\{ModuleName = \'Az.Accounts\'; ModuleVersion = \'2.2.8\'; \}\}, @\{\{ModuleName = \'Az.Resources\'; RequiredVersion = \'0.11.0\'; \}\}\)\"\);'); + transform: $ = $.replace('sb.AppendLine\(\$@\"\{Indent\}RequiredAssemblies = \'\{\"./bin/Azs.Compute.Admin.private.dll\"\}\'\"\);', 'sb.AppendLine\(\$@\"\{Indent\}RequiredAssemblies = \'\{\"./bin/Azs.Compute.Admin.private.dll\"\}\'\"\);\n sb.AppendLine\(\$@\"\{Indent\}RequiredModules = @\(@\{\{ModuleName = \'Az.Accounts\'; RequiredVersion = \'2.2.8\'; \}\}, @\{\{ModuleName = \'Az.Resources\'; RequiredVersion = \'0.11.0\'; \}\}\)\"\);'); # PSD1 Changes for ReleaseNotes - from: source-file-csharp diff --git a/src/Azs.Deployment.Admin/Azs.Deployment.Admin.nuspec b/src/Azs.Deployment.Admin/Azs.Deployment.Admin.nuspec index 9889008b..76d9e9fd 100644 --- a/src/Azs.Deployment.Admin/Azs.Deployment.Admin.nuspec +++ b/src/Azs.Deployment.Admin/Azs.Deployment.Admin.nuspec @@ -13,7 +13,7 @@ Microsoft Corporation. All rights reserved. Azs.Deployment.Admin PSModule AzureStack - + diff --git a/src/Azs.Deployment.Admin/readme.md b/src/Azs.Deployment.Admin/readme.md index 006b1b26..c0a894be 100644 --- a/src/Azs.Deployment.Admin/readme.md +++ b/src/Azs.Deployment.Admin/readme.md @@ -16,9 +16,6 @@ This directory contains the PowerShell module for the DeploymentAdmin service. ## Detail This module was primarily generated via [AutoRest](https://github.com/Azure/autorest) using the [PowerShell](https://github.com/Azure/autorest.powershell) extension. -## Module Requirements -- [Az.Accounts module](https://www.powershellgallery.com/packages/Az.Accounts/), version 1.6.0 or greater - ## Authentication AutoRest does not generate authentication code for the module. Authentication is handled via Az.Accounts by altering the HTTP payload before it is sent. diff --git a/src/Azs.Fabric.Admin/readme.md b/src/Azs.Fabric.Admin/readme.md index 73d7883d..be5888b3 100644 --- a/src/Azs.Fabric.Admin/readme.md +++ b/src/Azs.Fabric.Admin/readme.md @@ -16,9 +16,6 @@ This directory contains the PowerShell module for the FabricAdmin service. ## Detail This module was primarily generated via [AutoRest](https://github.com/Azure/autorest) using the [PowerShell](https://github.com/Azure/autorest.powershell) extension. -## Module Requirements -- [Az.Accounts module](https://www.powershellgallery.com/packages/Az.Accounts/), version 1.8.1 or greater - ## Authentication AutoRest does not generate authentication code for the module. Authentication is handled via Az.Accounts by altering the HTTP payload before it is sent. @@ -663,12 +660,12 @@ directive: # Add Az.Accounts/Az.Resources as dependencies - from: Azs.Fabric.Admin.nuspec where: $ - transform: $ = $.replace('', '\n '); + transform: $ = $.replace('', '\n '); # PSD1 Changes for RequiredModules - from: source-file-csharp where: $ - transform: $ = $.replace('sb.AppendLine\(\$@\"\{Indent\}RequiredAssemblies = \'\{\"./bin/Azs.Fabric.Admin.private.dll\"\}\'\"\);', 'sb.AppendLine\(\$@\"\{Indent\}RequiredAssemblies = \'\{\"./bin/Azs.Fabric.Admin.private.dll\"\}\'\"\);\n sb.AppendLine\(\$@\"\{Indent\}RequiredModules = @\(@\{\{ModuleName = \'Az.Accounts\'; ModuleVersion = \'2.2.8\'; \}\}, @\{\{ModuleName = \'Az.Resources\'; RequiredVersion = \'0.11.0\'; \}\}\)\"\);'); + transform: $ = $.replace('sb.AppendLine\(\$@\"\{Indent\}RequiredAssemblies = \'\{\"./bin/Azs.Fabric.Admin.private.dll\"\}\'\"\);', 'sb.AppendLine\(\$@\"\{Indent\}RequiredAssemblies = \'\{\"./bin/Azs.Fabric.Admin.private.dll\"\}\'\"\);\n sb.AppendLine\(\$@\"\{Indent\}RequiredModules = @\(@\{\{ModuleName = \'Az.Accounts\'; RequiredVersion = \'2.2.8\'; \}\}, @\{\{ModuleName = \'Az.Resources\'; RequiredVersion = \'0.11.0\'; \}\}\)\"\);'); # PSD1 Changes for ReleaseNotes - from: source-file-csharp diff --git a/src/Azs.Gallery.Admin/readme.md b/src/Azs.Gallery.Admin/readme.md index 97fee6b5..01a533b5 100644 --- a/src/Azs.Gallery.Admin/readme.md +++ b/src/Azs.Gallery.Admin/readme.md @@ -16,8 +16,6 @@ This directory contains the PowerShell module for the Gallery service. ## Detail This module was primarily generated via [AutoRest](https://github.com/Azure/autorest) using the [PowerShell](https://github.com/Azure/autorest.powershell) extension. -## Module Requirements -- [Az.Accounts module](https://www.powershellgallery.com/packages/Az.Accounts/), version 1.6.0 or greater ## Authentication AutoRest does not generate authentication code for the module. Authentication is handled via Az.Accounts by altering the HTTP payload before it is sent. @@ -110,12 +108,12 @@ directive: # Add Az.Accounts/Az.Resources as dependencies - from: Azs.Gallery.Admin.nuspec where: $ - transform: $ = $.replace('', '\n '); + transform: $ = $.replace('', '\n '); # PSD1 changes for RequiredModules - from: source-file-csharp where: $ - transform: $ = $.replace('sb.AppendLine\(\$@\"\{Indent\}RequiredAssemblies = \'\{\"./bin/Azs.Gallery.Admin.private.dll\"\}\'\"\);', 'sb.AppendLine\(\$@\"\{Indent\}RequiredAssemblies = \'\{\"./bin/Azs.Gallery.Admin.private.dll\"\}\'\"\);\n sb.AppendLine\(\$@\"\{Indent\}RequiredModules = @\(@\{\{ModuleName = \'Az.Accounts\'; ModuleVersion = \'2.2.8\'; \}\}, @\{\{ModuleName = \'Az.Resources\'; RequiredVersion = \'0.11.0\'; \}\}\)\"\);'); + transform: $ = $.replace('sb.AppendLine\(\$@\"\{Indent\}RequiredAssemblies = \'\{\"./bin/Azs.Gallery.Admin.private.dll\"\}\'\"\);', 'sb.AppendLine\(\$@\"\{Indent\}RequiredAssemblies = \'\{\"./bin/Azs.Gallery.Admin.private.dll\"\}\'\"\);\n sb.AppendLine\(\$@\"\{Indent\}RequiredModules = @\(@\{\{ModuleName = \'Az.Accounts\'; RequiredVersion = \'2.2.8\'; \}\}, @\{\{ModuleName = \'Az.Resources\'; RequiredVersion = \'0.11.0\'; \}\}\)\"\);'); # PSD1 changes for ReleaseNotes - from: source-file-csharp diff --git a/src/Azs.InfrastructureInsights.Admin/readme.md b/src/Azs.InfrastructureInsights.Admin/readme.md index 375a63e4..2d3007d6 100644 --- a/src/Azs.InfrastructureInsights.Admin/readme.md +++ b/src/Azs.InfrastructureInsights.Admin/readme.md @@ -16,9 +16,6 @@ This directory contains the PowerShell module for the InfrastructureInsightsAdmi ## Detail This module was primarily generated via [AutoRest](https://github.com/Azure/autorest) using the [PowerShell](https://github.com/Azure/autorest.powershell) extension. -## Module Requirements -- [Az.Accounts module](https://www.powershellgallery.com/packages/Az.Accounts/), version 1.6.0 or greater - ## Authentication AutoRest does not generate authentication code for the module. Authentication is handled via Az.Accounts by altering the HTTP payload before it is sent. @@ -190,12 +187,12 @@ directive: # Add Az.Accounts/Az.Resources as dependencies - from: Azs.Infrastructureinsights.Admin.nuspec where: $ - transform: $ = $.replace('', '\n '); + transform: $ = $.replace('', '\n '); # PSD1 changes for RequiredModules - from: source-file-csharp where: $ - transform: $ = $.replace('sb.AppendLine\(\$@\"\{Indent\}RequiredAssemblies = \'\{\"./bin/Azs.Infrastructureinsights.Admin.private.dll\"\}\'\"\);', 'sb.AppendLine\(\$@\"\{Indent\}RequiredAssemblies = \'\{\"./bin/Azs.Infrastructureinsights.Admin.private.dll\"\}\'\"\);\n sb.AppendLine\(\$@\"\{Indent\}RequiredModules = @\(@\{\{ModuleName = \'Az.Accounts\'; ModuleVersion = \'2.2.8\'; \}\}, @\{\{ModuleName = \'Az.Resources\'; RequiredVersion = \'0.11.0\'; \}\}\)\"\);'); + transform: $ = $.replace('sb.AppendLine\(\$@\"\{Indent\}RequiredAssemblies = \'\{\"./bin/Azs.Infrastructureinsights.Admin.private.dll\"\}\'\"\);', 'sb.AppendLine\(\$@\"\{Indent\}RequiredAssemblies = \'\{\"./bin/Azs.Infrastructureinsights.Admin.private.dll\"\}\'\"\);\n sb.AppendLine\(\$@\"\{Indent\}RequiredModules = @\(@\{\{ModuleName = \'Az.Accounts\'; RequiredVersion = \'2.2.8\'; \}\}, @\{\{ModuleName = \'Az.Resources\'; RequiredVersion = \'0.11.0\'; \}\}\)\"\);'); # PSD1 changes for ReleaseNotes - from: source-file-csharp diff --git a/src/Azs.KeyVault.Admin/readme.md b/src/Azs.KeyVault.Admin/readme.md index a57189a9..f83839e6 100644 --- a/src/Azs.KeyVault.Admin/readme.md +++ b/src/Azs.KeyVault.Admin/readme.md @@ -16,9 +16,6 @@ This directory contains the PowerShell module for the KeyVault Admin service. ## Detail This module was primarily generated via [AutoRest](https://github.com/Azure/autorest) using the [PowerShell](https://github.com/Azure/autorest.powershell) extension. -## Module Requirements -- [Az.Accounts module](https://www.powershellgallery.com/packages/Az.Accounts/), version 1.6.0 or greater - ## Authentication AutoRest does not generate authentication code for the module. Authentication is handled via Az.Accounts by altering the HTTP payload before it is sent. @@ -77,12 +74,12 @@ directive: # Add Az.Accounts/Az.Resources as dependencies - from: Azs.Keyvault.Admin.nuspec where: $ - transform: $ = $.replace('', '\n '); + transform: $ = $.replace('', '\n '); # PSD1 changes for RequiredModules - from: source-file-csharp where: $ - transform: $ = $.replace('sb.AppendLine\(\$@\"\{Indent\}RequiredAssemblies = \'\{\"./bin/Azs.Keyvault.Admin.private.dll\"\}\'\"\);', 'sb.AppendLine\(\$@\"\{Indent\}RequiredAssemblies = \'\{\"./bin/Azs.Keyvault.Admin.private.dll\"\}\'\"\);\n sb.AppendLine\(\$@\"\{Indent\}RequiredModules = @\(@\{\{ModuleName = \'Az.Accounts\'; ModuleVersion = \'2.2.8\'; \}\}, @\{\{ModuleName = \'Az.Resources\'; RequiredVersion = \'0.11.0\'; \}\}\)\"\);'); + transform: $ = $.replace('sb.AppendLine\(\$@\"\{Indent\}RequiredAssemblies = \'\{\"./bin/Azs.Keyvault.Admin.private.dll\"\}\'\"\);', 'sb.AppendLine\(\$@\"\{Indent\}RequiredAssemblies = \'\{\"./bin/Azs.Keyvault.Admin.private.dll\"\}\'\"\);\n sb.AppendLine\(\$@\"\{Indent\}RequiredModules = @\(@\{\{ModuleName = \'Az.Accounts\'; RequiredVersion = \'2.2.8\'; \}\}, @\{\{ModuleName = \'Az.Resources\'; RequiredVersion = \'0.11.0\'; \}\}\)\"\);'); # PSD1 changes for ReleaseNotes - from: source-file-csharp diff --git a/src/Azs.Network.Admin/readme.md b/src/Azs.Network.Admin/readme.md index 65e91923..8eba1e22 100644 --- a/src/Azs.Network.Admin/readme.md +++ b/src/Azs.Network.Admin/readme.md @@ -16,9 +16,6 @@ This directory contains the PowerShell module for the NetworkAdmin service. ## Detail This module was primarily generated via [AutoRest](https://github.com/Azure/autorest) using the [PowerShell](https://github.com/Azure/autorest.powershell) extension. -## Module Requirements -- [Az.Accounts module](https://www.powershellgallery.com/packages/Az.Accounts/), version 2.2.3 or greater - ## Authentication AutoRest does not generate authentication code for the module. Authentication is handled via Az.Accounts by altering the HTTP payload before it is sent. @@ -186,12 +183,12 @@ directive: # Add Az.Accounts/Az.Resources as dependencies - from: Azs.Network.Admin.nuspec where: $ - transform: $ = $.replace('', '\n '); + transform: $ = $.replace('', '\n '); # PSD1 changes for RequiredModules - from: source-file-csharp where: $ - transform: $ = $.replace('sb.AppendLine\(\$@\"\{Indent\}RequiredAssemblies = \'\{\"./bin/Azs.Network.Admin.private.dll\"\}\'\"\);', 'sb.AppendLine\(\$@\"\{Indent\}RequiredAssemblies = \'\{\"./bin/Azs.Network.Admin.private.dll\"\}\'\"\);\n sb.AppendLine\(\$@\"\{Indent\}RequiredModules = @\(@\{\{ModuleName = \'Az.Accounts\'; ModuleVersion = \'2.2.8\'; \}\}, @\{\{ModuleName = \'Az.Resources\'; RequiredVersion = \'0.11.0\'; \}\}\)\"\);'); + transform: $ = $.replace('sb.AppendLine\(\$@\"\{Indent\}RequiredAssemblies = \'\{\"./bin/Azs.Network.Admin.private.dll\"\}\'\"\);', 'sb.AppendLine\(\$@\"\{Indent\}RequiredAssemblies = \'\{\"./bin/Azs.Network.Admin.private.dll\"\}\'\"\);\n sb.AppendLine\(\$@\"\{Indent\}RequiredModules = @\(@\{\{ModuleName = \'Az.Accounts\'; RequiredVersion = \'2.2.8\'; \}\}, @\{\{ModuleName = \'Az.Resources\'; RequiredVersion = \'0.11.0\'; \}\}\)\"\);'); # PSD1 changes for ReleaseNotes - from: source-file-csharp diff --git a/src/Azs.Storage.Admin/readme.md b/src/Azs.Storage.Admin/readme.md index baf11d29..e44bf8f9 100644 --- a/src/Azs.Storage.Admin/readme.md +++ b/src/Azs.Storage.Admin/readme.md @@ -16,9 +16,6 @@ This directory contains the PowerShell module for the StorageAdmin service. ## Detail This module was primarily generated via [AutoRest](https://github.com/Azure/autorest) using the [PowerShell](https://github.com/Azure/autorest.powershell) extension. -## Module Requirements -- [Az.Accounts module](https://www.powershellgallery.com/packages/Az.Accounts/), version 1.6.0 or greater - ## Authentication AutoRest does not generate authentication code for the module. Authentication is handled via Az.Accounts by altering the HTTP payload before it is sent. @@ -279,12 +276,12 @@ directive: # Add Az.Accounts/Az.Resources as dependencies - from: Azs.Storage.Admin.nuspec where: $ - transform: $ = $.replace('', '\n '); + transform: $ = $.replace('', '\n '); # PSD1 changes for RequiredModules - from: source-file-csharp where: $ - transform: $ = $.replace('sb.AppendLine\(\$@\"\{Indent\}RequiredAssemblies = \'\{\"./bin/Azs.Storage.Admin.private.dll\"\}\'\"\);', 'sb.AppendLine\(\$@\"\{Indent\}RequiredAssemblies = \'\{\"./bin/Azs.Storage.Admin.private.dll\"\}\'\"\);\n sb.AppendLine\(\$@\"\{Indent\}RequiredModules = @\(@\{\{ModuleName = \'Az.Accounts\'; ModuleVersion = \'2.2.8\'; \}\}, @\{\{ModuleName = \'Az.Resources\'; RequiredVersion = \'0.11.0\'; \}\}\)\"\);'); + transform: $ = $.replace('sb.AppendLine\(\$@\"\{Indent\}RequiredAssemblies = \'\{\"./bin/Azs.Storage.Admin.private.dll\"\}\'\"\);', 'sb.AppendLine\(\$@\"\{Indent\}RequiredAssemblies = \'\{\"./bin/Azs.Storage.Admin.private.dll\"\}\'\"\);\n sb.AppendLine\(\$@\"\{Indent\}RequiredModules = @\(@\{\{ModuleName = \'Az.Accounts\'; RequiredVersion = \'2.2.8\'; \}\}, @\{\{ModuleName = \'Az.Resources\'; RequiredVersion = \'0.11.0\'; \}\}\)\"\);'); # PSD1 changes for ReleaseNotes - from: source-file-csharp diff --git a/src/Azs.Subscriptions.Admin/readme.md b/src/Azs.Subscriptions.Admin/readme.md index 1492e0ee..48c29c7c 100644 --- a/src/Azs.Subscriptions.Admin/readme.md +++ b/src/Azs.Subscriptions.Admin/readme.md @@ -16,9 +16,6 @@ This directory contains the PowerShell module for the SubscriptionsAdmin service ## Detail This module was primarily generated via [AutoRest](https://github.com/Azure/autorest) using the [PowerShell](https://github.com/Azure/autorest.powershell) extension. -## Module Requirements -- [Az.Accounts module](https://www.powershellgallery.com/packages/Az.Accounts/), version 2.2.3 or greater - ## Authentication AutoRest does not generate authentication code for the module. Authentication is handled via Az.Accounts by altering the HTTP payload before it is sent. @@ -372,12 +369,12 @@ directive: # Add Az.Accounts/Az.Resources as dependencies - from: Azs.Subscriptions.Admin.nuspec where: $ - transform: $ = $.replace('', '\n '); + transform: $ = $.replace('', '\n '); # PSD1 changes for RequiredModules - from: source-file-csharp where: $ - transform: $ = $.replace('sb.AppendLine\(\$@\"\{Indent\}RequiredAssemblies = \'\{\"./bin/Azs.AzureBridge.Admin.private.dll\"\}\'\"\);', 'sb.AppendLine\(\$@\"\{Indent\}RequiredAssemblies = \'\{\"./bin/Azs.AzureBridge.Admin.private.dll\"\}\'\"\);\n sb.AppendLine\(\$@\"\{Indent\}RequiredModules = @\(@\{\{ModuleName = \'Az.Accounts\'; ModuleVersion = \'2.2.8\'; \}\}, @\{\{ModuleName = \'Az.Resources\'; RequiredVersion = \'0.11.0\'; \}\}\)\"\);'); + transform: $ = $.replace('sb.AppendLine\(\$@\"\{Indent\}RequiredAssemblies = \'\{\"./bin/Azs.AzureBridge.Admin.private.dll\"\}\'\"\);', 'sb.AppendLine\(\$@\"\{Indent\}RequiredAssemblies = \'\{\"./bin/Azs.AzureBridge.Admin.private.dll\"\}\'\"\);\n sb.AppendLine\(\$@\"\{Indent\}RequiredModules = @\(@\{\{ModuleName = \'Az.Accounts\'; RequiredVersion = \'2.2.8\'; \}\}, @\{\{ModuleName = \'Az.Resources\'; RequiredVersion = \'0.11.0\'; \}\}\)\"\);'); # PSD1 changes for ReleaseNotes - from: source-file-csharp diff --git a/src/Azs.Subscriptions/readme.md b/src/Azs.Subscriptions/readme.md index 26a3b65a..fcc0ed0f 100644 --- a/src/Azs.Subscriptions/readme.md +++ b/src/Azs.Subscriptions/readme.md @@ -16,9 +16,6 @@ This directory contains the PowerShell module for the Subscription service. ## Detail This module was primarily generated via [AutoRest](https://github.com/Azure/autorest) using the [PowerShell](https://github.com/Azure/autorest.powershell) extension. -## Module Requirements -- [Az.Accounts module](https://www.powershellgallery.com/packages/Az.Accounts/), version 1.6.0 or greater - ## Authentication AutoRest does not generate authentication code for the module. Authentication is handled via Az.Accounts by altering the HTTP payload before it is sent. @@ -144,12 +141,12 @@ directive: # Add Az.Accounts/Az.Resources as dependencies - from: Azs.Subscriptions.nuspec where: $ - transform: $ = $.replace('', '\n '); + transform: $ = $.replace('', '\n '); # PSD1 changes for RequiredModules - from: source-file-csharp where: $ - transform: $ = $.replace('sb.AppendLine\(\$@\"\{Indent\}RequiredAssemblies = \'\{\"./bin/Azs.Subscriptions.private.dll\"\}\'\"\);', 'sb.AppendLine\(\$@\"\{Indent\}RequiredAssemblies = \'\{\"./bin/Azs.Subscriptions.private.dll\"\}\'\"\);\n sb.AppendLine\(\$@\"\{Indent\}RequiredModules = @\(@\{\{ModuleName = \'Az.Accounts\'; ModuleVersion = \'2.2.8\'; \}\}, @\{\{ModuleName = \'Az.Resources\'; RequiredVersion = \'0.11.0\'; \}\}\)\"\);'); + transform: $ = $.replace('sb.AppendLine\(\$@\"\{Indent\}RequiredAssemblies = \'\{\"./bin/Azs.Subscriptions.private.dll\"\}\'\"\);', 'sb.AppendLine\(\$@\"\{Indent\}RequiredAssemblies = \'\{\"./bin/Azs.Subscriptions.private.dll\"\}\'\"\);\n sb.AppendLine\(\$@\"\{Indent\}RequiredModules = @\(@\{\{ModuleName = \'Az.Accounts\'; RequiredVersion = \'2.2.8\'; \}\}, @\{\{ModuleName = \'Az.Resources\'; RequiredVersion = \'0.11.0\'; \}\}\)\"\);'); # PSD1 changes for ReleaseNotes - from: source-file-csharp diff --git a/src/Azs.Update.Admin/readme.md b/src/Azs.Update.Admin/readme.md index 4ba197de..a692c099 100644 --- a/src/Azs.Update.Admin/readme.md +++ b/src/Azs.Update.Admin/readme.md @@ -16,9 +16,6 @@ This directory contains the PowerShell module for the UpdateAdmin service. ## Detail This module was primarily generated via [AutoRest](https://github.com/Azure/autorest) using the [PowerShell](https://github.com/Azure/autorest.powershell) extension. -## Module Requirements -- [Az.Accounts module](https://www.powershellgallery.com/packages/Az.Accounts/), version 1.6.0 or greater - ## Authentication AutoRest does not generate authentication code for the module. Authentication is handled via Az.Accounts by altering the HTTP payload before it is sent. @@ -174,5 +171,15 @@ directive: # Add Az.Accounts/Az.Resources as dependencies - from: Azs.Update.Admin.nuspec where: $ - transform: $ = $.replace('', '\n '); + transform: $ = $.replace('', '\n '); + +# PSD1 changes for RequiredModules + - from: source-file-csharp + where: $ + transform: $ = $.replace('sb.AppendLine\(\$@\"\{Indent\}RequiredAssemblies = \'\{\"./bin/Azs.Update.Admin.private.dll\"\}\'\"\);', 'sb.AppendLine\(\$@\"\{Indent\}RequiredAssemblies = \'\{\"./bin/Azs.Update.Admin.private.dll\"\}\'\"\);\n sb.AppendLine\(\$@\"\{Indent\}RequiredModules = @\(@\{\{ModuleName = \'Az.Accounts\'; RequiredVersion = \'2.2.8\'; \}\}, @\{\{ModuleName = \'Az.Resources\'; RequiredVersion = \'0.11.0\'; \}\}\)\"\);'); + +# PSD1 changes for ReleaseNotes + - from: source-file-csharp + where: $ + transform: $ = $.replace('sb.AppendLine\(\$@\"\{Indent\}\{Indent\}\{Indent\}ReleaseNotes = \'\'\"\);', 'sb.AppendLine\(\$@\"\{Indent\}\{Indent\}\{Indent\}ReleaseNotes = \'AzureStack Hub Admin module generated with https://github.com/Azure/autorest.powershell\'\"\);' ); ``` diff --git a/src/AzureStack/AzureStack.nuspec b/src/AzureStack/AzureStack.nuspec index cbd07c65..ecab5373 100644 --- a/src/AzureStack/AzureStack.nuspec +++ b/src/AzureStack/AzureStack.nuspec @@ -13,7 +13,7 @@ Microsoft Corporation. All rights reserved. AzureStack ResourceManager ARM PSModule Administrator - +