From 3ff3c3fd303a37ea91d541bfd0b6163c0de920da Mon Sep 17 00:00:00 2001 From: Maddie Clayton Date: Thu, 24 May 2018 16:20:25 -0700 Subject: [PATCH] Release new KeyVault preview module (#6284) * update OutputType in cmdlet * add examples for add and remove cmds * fix change log for circuit connection commands * ValidateRange should specify max as 10 * add New-AzureRMNetworkWatcherProtocolConfiguration * start adding test for circuit connection * fix idictionary issue for header * Fix Get-AzureRmTrafficManagerProfile Parameters Calling Get-AzureRmTrafficManagerProfile with the -Name parameter will return nothing because the cmdlet requires the -ResourceGroupName parameter when using -Name. I've updated the cmdlet parameters to use ParameterSets, which is similar to how other cmdlets handle this situation. The user can either call the cmdlet without any parameters, or with the -ResourceGroupName parameter, or if calling using the -Name parameter, they will now be prompted to enter in a value for the -ResourceGroupName parameter. * Update Set-AzureRmVMDiskEncryptionExtension.md I happened to be testing a similar script and think I ran across a few small issues with the examples. 1. $KEKName not set in examples 3&4 2. New-AzureRmADApplication seems to use -CertValue rather than -KeyValue and -KeyType https://docs.microsoft.com/en-us/powershell/module/azurerm.resources/new-azurermadapplication?view=azurermps-5.7.0 3. Looks like the KEK bit is missing from Set-AzureRmVMDiskEncryptionExtension in Example 4 for cert + KEK. * Update Set-AzureRmVMDiskEncryptionExtension.md * Add migration guide for Azure PowerShell 6.0.0 release * record network watcher test * update session record for circuit connection * Update Change Log * Update Markdown Help File * Suppress false-positive breaking change exception for TrafficManager * Support to set based branch for git clone content repo * Update New-AzureStorageAccountSASToken.md There was an blank missing. The link for more details on "Constructing an Account" was not clickable. * Update ChangeLog.md * add circuit connection crud json file to session records * verify playback mode * Add usage detail markdown file * Update paramter sets for gateway operations and help doc * Fix md by removing trailing yaml * Addressed comments on Tag, csproj files, depreciated InvoiceName, missing parameters in PSUsage model * Update ChangeLog Update ChangeLog * [Maps] Rename folders and files from LocationBasedServices * [Maps] Rename help file names * [Maps] Renaming variables, strings, descriptions, etc. * Bumped Network SDK version to 19.0.0-preview * Re-recorded test for VPN Gateway * Remove dll-help.psd1 and .pshproj files * Remove spaces from DeviceProvisioningServices tags field * update help docs for New-AzureRmNetworkWatcherProtocolConfiguration * Re-serialize module metadata and empty BreakingChangeIssues.csv * Fix issue #5998 - certificates created without server authentication usage * Remove missed dll-Help.psd1 reference * Fix issue where default environments weren't being retrieved without a default context set * Recommitting to a new branch to untangle pulls * remove support for set and new commands for circuit connection * Add -ExtendedProperty parameter to New-AzureService and Set-AzureService cmdlets * Fix bug in appveyor.yml * Bumped Network's version in other packages * Updated DNS zone recordings * Suppress credentials in VPN Gateway test * fixed type on example #3 * Fixed incorrect credential suppression * Updated ChangeLog.md * Support piping on all circuit connection commands * Modify Commands.Sql.csproj and Commands.Sql.Test.csproj to use local update Management.Sql.dll binary for now * adding new parameters for create/update elastic pool and database cmdlets. update related db/elastic pool create/update tests * Fix issue in composing PUT request body for database and pool -- Sku object null scenario * Update elasticPool adaptor and communicator to using new sdk when trying to get databases inside a pool (Get-AzureRmSqlElasticPoolDatabase) * Update database replication related models and services to use new autorest sdk (instead of Legacy sdk) to do database copy/secondary, etc. Rerecord all replication related tests * address comments on database/elastic pool cmdlets-- null check, remove commentout codes, etc * address comments. Used -Edition -RequestedServiceObjectiveName for vcore database/pool. Only add new parameter -Vcore to specify vcore number. Modify the database replications, database restore related communicator to use new database webapi * used the published SDK 1.14.0-preview. Update LocationCapabilities model to use new API version (2017 version). Re-record LocationCapability tests * Update all db creation related cmdlets to support vcore database * Update db/elasticpool creation/update tests * Add functions to get skuname when given tier for database and pool, to avoid duplicate codes in cmdlets * use dictionary to mapping tier to skuname * re-record tests and update help file * Update restore cmdlet. Re-recording LTR restore test. Update changeLog. * address comments. and revert all changes related with 'replication links' * using published sdk 1.15.0-preview for the build issue. * Update cmds for creating/updating elasticpool. Use Patch way to do pool update inorder to support correct behaviors for updating pool * fix the yaml trailing issue in help files * Add the removed properties back in DatabaseModel and ElasticPoolModel to avoid breaking changes. And add Edition to BreakingChangeIssue exception * Update BreakingChangeIssues.csv * Address comments. Re-recording part of the failed tests in CI build * re-recording part of the failed tests in CI build. * add new tests records to output dic * Addressed comments on parameter type and typo, and regenerated test sessions * revert changes to common.ps1 * link website for New-AzureRmNetworkWatcherProtocolConfiguration.md * Address PR comments * re-record backup LTR v2 tests, AuditingClassicStorageTests, ThreatDetectionclassicStorageTests * address comments * re-record tests related with ClassicStorage * Fix changelog and minor changes for comments * Fix test TestExportDatabase and re-record it. * Update Remove-AzureRmVirtualNetworkGatewayDefaultSite.md Fixed a typo * Update azure-powershell-design-guidelines.md * Fix null parameter for recurse i setaclentry * fix issue with network watcher md files * Regenerate help files * Update Set-AzureRmVirtualNetwork.md * address vladimir comments * add support to set command to allow piping * removing writing to peer to fix return type * Add StaticAnalysis checks for - No output type - Optional positional parameters - Parameter set names containing a space - Cmdlets with no default parameter set name and multiple sets * Update BreakingChangeIssues.csv * Record auditing & threat detection tests * Update LICENSE.txt updating to recent EULA and 3rd party * Update License.rtf updating eula and 3rd party * revert change to set circuit command * remove value from pipeline by property name from all circuit conneciton commands * Update License.rtf RIpped out unnecessary formatting added by word that caused a view issue inside the msi * Skip severel tests that can only run in live mode (talked with test owner). * Add tests for new static analysis checks * [Maps] Use Maps SDK over LocationBasedServices SDK * fix test * fix test * move from on demand to regular build * Update AzureRM.Network.psd1 * fix based on comments * Update New-AzureRmNetworkWatcherProtocolConfiguration.md * make protocol required * fix test * move from on demand to regular build * Add unittests for new apis * address comments. Remove Sku and PerDatabaseSettings from DatabaseModel and ElasticPoolModel.Modify the database and elastic pool response for powershell. * Update the elastic pool tests. fix bug. * Save export file to adl * Address comments. ReplicationLinkModel, DatabaseCopyModel, remove duplication null check and incorrect help message. * Add dependence in the ServiceManagement sln to fix the sign job * Update SignatureIssues.csv * Add default parameter set for two cmdlets. Update ChangeLog.md and remove unnecessary package files * small type fix * Example fixes for `New-AzureRmStorageAccount`. * Updating examples for BGP service communities.. * Update Get-AzureRmBgpServiceCommunity.md * Update Get-AzureRmBgpServiceCommunity.md * Fix the example for Export-AzureRmDataLakeStoreChildItemProperties * Update Test-AzureRmDnsAvailability Help File Fixed header, added description, added example. * Update changelog file * Fixed header in Get-AzureRmVirtualNetworkPeering * Update Remove-AzureRmVirtualNetworkPeering.md Fixed the header in the file, Added a description and Synopsis * Update AzureRM.Network.md Added descriptions to multiple cmdlets here. * fix breaking change issue and signature issue * Small fix. Use SkuName in the pool model to keep alignment with other models. Rerecord related pool tests * Updating Networking tests with owner attributes * Update ChangeLog.md * Update NewAzureNetworkWatcherProtocolConfiguration.cs * Fix to `New-AzureRmAks` help text. * Fix issue with Clear-AzureRmContext where old default context name was being used for empty context * Strategies library: Version 4, new WriteWarning method. * Websites.Strategies are replaced by Common.Strategies library. * Added comments with full team names * update cmdlets based on autorest .net client 2018-01-01 * Refactor InputObject variables and other review comments * get identity properties from InputObject and allow override by parameters * Skip failing Batch tests in on-demand build (see issue #5006) * Update SignatureIssues.csv * Cleanup dependencies and assembly references * remove one more reference * Update modules for 6.1.0 release * Fix error in paths for Profile RequiredAssemblies * Fix for empty examples. * [Maps] Add legacy ResourceManager & update test recordings * [Maps] Add legacy ResourceManager & update test recordings * Add example to Stop-AzureRmResourceGroupDeployment.md * [Maps] Resolving merge revision requests * [Maps] Resolving merge revision requests (2) * Remove spaces in location before comparision * Update Stack.sln * [Maps] Add PassThru to Remove method, resolve build failure * [Maps] Update help files to reflect -PassThru param addition * [Maps] Fix trailing yaml string for PassThru * Release new KeyVault preview module * address comments * Update KeyVault.sln * fix test --- AzureRM/AzureRM.psd1 | 2 +- .../Commands.AzureStackAdmin.csproj | 3 - ...icrosoft.AzureStack.Commands.dll-help.psd1 | 88 ------------------- 3 files changed, 1 insertion(+), 92 deletions(-) delete mode 100644 AzureStackAdmin/Commands.AzureStackAdmin/Microsoft.AzureStack.Commands.dll-help.psd1 diff --git a/AzureRM/AzureRM.psd1 b/AzureRM/AzureRM.psd1 index 8a318815..ddf464f8 100644 --- a/AzureRM/AzureRM.psd1 +++ b/AzureRM/AzureRM.psd1 @@ -1,4 +1,4 @@ -# +# # Module manifest for module 'AzureRM.Installer' # # Generated by: Microsoft Corporation diff --git a/AzureStackAdmin/Commands.AzureStackAdmin/Commands.AzureStackAdmin.csproj b/AzureStackAdmin/Commands.AzureStackAdmin/Commands.AzureStackAdmin.csproj index 5169d73c..fe68cd81 100644 --- a/AzureStackAdmin/Commands.AzureStackAdmin/Commands.AzureStackAdmin.csproj +++ b/AzureStackAdmin/Commands.AzureStackAdmin/Commands.AzureStackAdmin.csproj @@ -242,9 +242,6 @@ AzureRM.AzureStackAdmin.psd1 PreserveNewest - - PreserveNewest - diff --git a/AzureStackAdmin/Commands.AzureStackAdmin/Microsoft.AzureStack.Commands.dll-help.psd1 b/AzureStackAdmin/Commands.AzureStackAdmin/Microsoft.AzureStack.Commands.dll-help.psd1 deleted file mode 100644 index 6c52c83e..00000000 --- a/AzureStackAdmin/Commands.AzureStackAdmin/Microsoft.AzureStack.Commands.dll-help.psd1 +++ /dev/null @@ -1,88 +0,0 @@ -# -# Module manifest for module 'Microsoft.AzureStack.Commands.Admin' -# -# Generated by: Microsoft Corporation -# -# Generated on: 04/01/2015 -# - -@{ - -# Version number of this module. -ModuleVersion = '0.11.0' - -# ID used to uniquely identify this module -GUID = 'F237EAAA-BD3A-4965-AD4A-BF38598BFEF7' - -# Author of this module -Author = 'Microsoft Corporation' - -# Company or vendor of this module -CompanyName = 'Microsoft Corporation' - -# Copyright statement for this module -Copyright = 'Microsoft Corporation. All rights reserved.' - -# Description of the functionality provided by this module -Description = 'Azure Stack Administrative module, included commands for operations on Plans, Offers, Subscriptions, Gallery Items, Resource Provider Registration and Usage Connection' - -# Minimum version of the Windows PowerShell engine required by this module -PowerShellVersion = '3.0' - -# Name of the Windows PowerShell host required by this module -PowerShellHostName = '' - -# Minimum version of the Windows PowerShell host required by this module -PowerShellHostVersion = '' - -# Minimum version of the .NET Framework required by this module -DotNetFrameworkVersion = '4.5' - -# Minimum version of the common language runtime (CLR) required by this module -CLRVersion='4.0' - -# Processor architecture (None, X86, Amd64, IA64) required by this module -ProcessorArchitecture = 'None' - -# Modules that must be imported into the global environment prior to importing this module -RequiredModules = @() - -# Assemblies that must be loaded prior to importing this module -RequiredAssemblies = @() - -# Script files (.ps1) that are run in the caller's environment prior to importing this module -ScriptsToProcess = @() - -# Type files (.ps1xml) to be loaded when importing this module -TypesToProcess = @() - -# Format files (.ps1xml) to be loaded when importing this module -FormatsToProcess = @() - -# Modules to import as nested modules of the module specified in ModuleToProcess -NestedModules = @( - '.\Microsoft.AzureStack.Commands.dll' -) - -# Functions to export from this module -FunctionsToExport = '*' - -# Cmdlets to export from this module -CmdletsToExport = '*' - -# Variables to export from this module -VariablesToExport = '*' - -# Aliases to export from this module -AliasesToExport = @() - -# List of all modules packaged with this module -ModuleList = @() - -# List of all files packaged with this module -FileList = @() - -# Private data to pass to the module specified in ModuleToProcess -PrivateData = '' - -}