Skip to content

Commit 8be26bd

Browse files
author
Maddie Clayton
authored
Merge preview into network branch (#6290)
* #1443089: New Powershell commandlets for feature:P2S Ipsec custom policy set on Gateway. and fix build merge errors. * #1443089: Update change log * fix in AzureRM.Network.psd1 * Fix for issue #5365 Moved the Websites dependency of LogicApp into commons * Add websites dll to required assemblies part of Profile * Fic sln files to include the dependencies * Fic dependency paths and projects * Fix dll name * Add/update help files for PS command lets * Incorporate code review comments * Add csproj files for the new common module to Profile * Fix build * Fix dll name (WebSites -> Websites) in the pofile psd1 * Record failing tests * Enabled using network watcher by location * update OutputType in cmdlet * add New-AzureRMNetworkWatcherProtocolConfiguration * fix idictionary issue for header * record network watcher test * [Maps] Rename folders and files from LocationBasedServices * [Maps] Rename help file names * [Maps] Renaming variables, strings, descriptions, etc. * update help docs for New-AzureRmNetworkWatcherProtocolConfiguration * Add -ExtendedProperty parameter to New-AzureService and Set-AzureService cmdlets * 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 * link website for New-AzureRmNetworkWatcherProtocolConfiguration.md * re-record backup LTR v2 tests, AuditingClassicStorageTests, ThreatDetectionclassicStorageTests * re-record tests related with ClassicStorage * Fix test TestExportDatabase and re-record it. * fix issue with network watcher md files * Recorded and enabled skipped tests * 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 * 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 * Update AzureRM.Network.psd1 * Update New-AzureRmNetworkWatcherProtocolConfiguration.md * make protocol required * Record and enable skipped Brooklyn tests to have test coverage * fix test * move from on demand to regular build * #Fix help file error * address comments. Remove Sku and PerDatabaseSettings from DatabaseModel and ElasticPoolModel.Modify the database and elastic pool response for powershell. * Fix static analysis errors * Update the elastic pool tests. fix bug. * Fix cred scan errors * Fix cred scan errors * 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 * 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 * Incorporate code review comments * Updating Networking tests with owner attributes * Fix command output * Revert "Fix command output" This reverts commit a4bace3. * Suppress signature issues as they are approved by Powershell team * 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 * Update azure-powershell-developer-guide.md * [Maps] Update help files to reflect -PassThru param addition * [Maps] Fix trailing yaml string for PassThru * address comments * Fix local build issues because of a netcore sln file introduced accidentally * Update azure-powershell-developer-guide.md * Update test for test-ConnectivityTroubleshoot * Dependency fix : ServiceFabric (#5971) * Fix for #535 Dependency fixes for ServiceFabric in this commit * Add signing stuff and netcode projects to fix netcore build. * Added exception for breaking changes * Update all the sln projects with the newest Keyvault common project * Took care of Cormac's comments * Fix bad merge * Fix breaking build as oer comments from Cormac * Fix file name * Fix sln files for new dependencies * Fix netcore csproj * Fic netcode proj for storage.management * Fix dependency paths and project names * Fix assembly name in assembluInfo * Fix KEyVault guid * Add csproj fils for the new common modules to profile * Fix names of csproj files * Netcore projects are case sensitive, and when i changed Keyvault to KeyVault, none of the folder names or file names reflected the change in git... git still sees them as Keyvault * Fix caseing in one more netcore project * Fix casing on the namespace... * Fix the folder name mixup. Step 1 of 2 * Fix the foldername mixup, Step 2 of 2 * Fix project references to point to the correct location * Fix namespace casing in test projet * Fix bad merge * Fix mad merge * Fix project dependencies * As poer feedback, add 2018_04_01 version for compute * Update sevice fabric dependency on the common compute code * Suppress warnings about passwords in generated code. * Credscan can not hanndle secrets in comments.. just removing the offending comments * Fix tests to be able to record them and other small changes * Fix bad merge * Remove UTF8 BOM encoding from file * Fix bad merge in profile psd1 file * Took care of Maddie's comment * iFix assembly name in profile csproj * Add common projects to the stack solution as well
1 parent 9b9145a commit 8be26bd

File tree

1,970 files changed

+870300
-3552722
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,970 files changed

+870300
-3552722
lines changed

Azure.PowerShell.Netcore.sln

Lines changed: 43 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Commands.Resources.Netcore"
1919
EndProject
2020
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Common.Storage.Netcore", "src\Common\Commands.Common.Storage\Common.Storage.Netcore.csproj", "{6B91BCDC-5031-4A7A-A566-83308FF997C6}"
2121
EndProject
22+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Common.Storage.Management.Netcore", "src\Common\Commands.Common.Storage.Management\Common.Storage.Management.Netcore.csproj", "{4CCA7339-15BF-4066-9FA1-6A23A58F2CEE}"
23+
EndProject
2224
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Commands.Management.Storage.Netcore", "src\ResourceManager\Storage\Commands.Management.Storage\Commands.Management.Storage.Netcore.csproj", "{6878D60B-AD5B-4D37-8B84-5D529090FBAC}"
2325
EndProject
2426
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Commands.Websites.Netcore", "src\ResourceManager\Websites\Commands.Websites\Commands.Websites.Netcore.csproj", "{59581DCA-1726-4EE2-A665-0112E681C35C}"
@@ -123,7 +125,7 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Commands.DataLakeStore.Netc
123125
EndProject
124126
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Commands.Insights.Netcore", "src\ResourceManager\Insights\Commands.Insights\Commands.Insights.Netcore.csproj", "{F900B1AF-C576-4A6D-A38E-722B73C79A25}"
125127
EndProject
126-
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Commands.LocationBasedServices.Netcore", "src\ResourceManager\LocationBasedServices\Commands.LocationBasedServices\Commands.LocationBasedServices.Netcore.csproj", "{025A3BBD-DB27-4F92-9E3D-3F5FB4D8D443}"
128+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Commands.Maps.Netcore", "src\ResourceManager\Maps\Commands.Maps\Commands.Maps.Netcore.csproj", "{025A3BBD-DB27-4F92-9E3D-3F5FB4D8D443}"
127129
EndProject
128130
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Commands.Partner.Netcore", "src\ResourceManager\ManagementPartner\Commands.Partner\Commands.Partner.Netcore.csproj", "{E3F57ED9-36AA-43AE-9E37-8CDEF1278FAE}"
129131
EndProject
@@ -145,6 +147,10 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Commands.AnalysisServices.D
145147
EndProject
146148
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Commands.Storage.Netcore", "src\Storage\Commands.Storage\Commands.Storage.Netcore.csproj", "{4F18000A-0329-4450-ADC8-8AA1C04A4666}"
147149
EndProject
150+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Common.KeyVault.Netcore", "src\Common\Commands.Common.KeyVault\Common.KeyVault.Netcore.csproj", "{836965C0-B198-4D01-B3D7-757DB62B49A0}"
151+
EndProject
152+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Commands.Common.Websites.Netcore", "src\Common\Commands.Common.Websites\Common.Websites.Netcore.csproj", "{592B3E1B-49E3-4F3C-BF6B-E5D4133B1443}"
153+
EndProject
148154
Global
149155
GlobalSection(SolutionConfigurationPlatforms) = preSolution
150156
Debug|Any CPU = Debug|Any CPU
@@ -251,6 +257,18 @@ Global
251257
{6B91BCDC-5031-4A7A-A566-83308FF997C6}.Release|x64.Build.0 = Release|Any CPU
252258
{6B91BCDC-5031-4A7A-A566-83308FF997C6}.Release|x86.ActiveCfg = Release|Any CPU
253259
{6B91BCDC-5031-4A7A-A566-83308FF997C6}.Release|x86.Build.0 = Release|Any CPU
260+
{4CCA7339-15BF-4066-9FA1-6A23A58F2CEE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
261+
{4CCA7339-15BF-4066-9FA1-6A23A58F2CEE}.Debug|Any CPU.Build.0 = Debug|Any CPU
262+
{4CCA7339-15BF-4066-9FA1-6A23A58F2CEE}.Debug|x64.ActiveCfg = Debug|Any CPU
263+
{4CCA7339-15BF-4066-9FA1-6A23A58F2CEE}.Debug|x64.Build.0 = Debug|Any CPU
264+
{4CCA7339-15BF-4066-9FA1-6A23A58F2CEE}.Debug|x86.ActiveCfg = Debug|Any CPU
265+
{4CCA7339-15BF-4066-9FA1-6A23A58F2CEE}.Debug|x86.Build.0 = Debug|Any CPU
266+
{4CCA7339-15BF-4066-9FA1-6A23A58F2CEE}.Release|Any CPU.ActiveCfg = Release|Any CPU
267+
{4CCA7339-15BF-4066-9FA1-6A23A58F2CEE}.Release|Any CPU.Build.0 = Release|Any CPU
268+
{4CCA7339-15BF-4066-9FA1-6A23A58F2CEE}.Release|x64.ActiveCfg = Release|Any CPU
269+
{4CCA7339-15BF-4066-9FA1-6A23A58F2CEE}.Release|x64.Build.0 = Release|Any CPU
270+
{4CCA7339-15BF-4066-9FA1-6A23A58F2CEE}.Release|x86.ActiveCfg = Release|Any CPU
271+
{4CCA7339-15BF-4066-9FA1-6A23A58F2CEE}.Release|x86.Build.0 = Release|Any CPU
254272
{6878D60B-AD5B-4D37-8B84-5D529090FBAC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
255273
{6878D60B-AD5B-4D37-8B84-5D529090FBAC}.Debug|Any CPU.Build.0 = Debug|Any CPU
256274
{6878D60B-AD5B-4D37-8B84-5D529090FBAC}.Debug|x64.ActiveCfg = Debug|Any CPU
@@ -1007,6 +1025,30 @@ Global
10071025
{4F18000A-0329-4450-ADC8-8AA1C04A4666}.Release|x64.Build.0 = Release|Any CPU
10081026
{4F18000A-0329-4450-ADC8-8AA1C04A4666}.Release|x86.ActiveCfg = Release|Any CPU
10091027
{4F18000A-0329-4450-ADC8-8AA1C04A4666}.Release|x86.Build.0 = Release|Any CPU
1028+
{836965C0-B198-4D01-B3D7-757DB62B49A0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
1029+
{836965C0-B198-4D01-B3D7-757DB62B49A0}.Debug|Any CPU.Build.0 = Debug|Any CPU
1030+
{836965C0-B198-4D01-B3D7-757DB62B49A0}.Debug|x64.ActiveCfg = Debug|Any CPU
1031+
{836965C0-B198-4D01-B3D7-757DB62B49A0}.Debug|x64.Build.0 = Debug|Any CPU
1032+
{836965C0-B198-4D01-B3D7-757DB62B49A0}.Debug|x86.ActiveCfg = Debug|Any CPU
1033+
{836965C0-B198-4D01-B3D7-757DB62B49A0}.Debug|x86.Build.0 = Debug|Any CPU
1034+
{836965C0-B198-4D01-B3D7-757DB62B49A0}.Release|Any CPU.ActiveCfg = Release|Any CPU
1035+
{836965C0-B198-4D01-B3D7-757DB62B49A0}.Release|Any CPU.Build.0 = Release|Any CPU
1036+
{836965C0-B198-4D01-B3D7-757DB62B49A0}.Release|x64.ActiveCfg = Release|Any CPU
1037+
{836965C0-B198-4D01-B3D7-757DB62B49A0}.Release|x64.Build.0 = Release|Any CPU
1038+
{836965C0-B198-4D01-B3D7-757DB62B49A0}.Release|x86.ActiveCfg = Release|Any CPU
1039+
{836965C0-B198-4D01-B3D7-757DB62B49A0}.Release|x86.Build.0 = Release|Any CPU
1040+
{592B3E1B-49E3-4F3C-BF6B-E5D4133B1443}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
1041+
{592B3E1B-49E3-4F3C-BF6B-E5D4133B1443}.Debug|Any CPU.Build.0 = Debug|Any CPU
1042+
{592B3E1B-49E3-4F3C-BF6B-E5D4133B1443}.Debug|x64.ActiveCfg = Debug|Any CPU
1043+
{592B3E1B-49E3-4F3C-BF6B-E5D4133B1443}.Debug|x64.Build.0 = Debug|Any CPU
1044+
{592B3E1B-49E3-4F3C-BF6B-E5D4133B1443}.Debug|x86.ActiveCfg = Debug|Any CPU
1045+
{592B3E1B-49E3-4F3C-BF6B-E5D4133B1443}.Debug|x86.Build.0 = Debug|Any CPU
1046+
{592B3E1B-49E3-4F3C-BF6B-E5D4133B1443}.Release|Any CPU.ActiveCfg = Release|Any CPU
1047+
{592B3E1B-49E3-4F3C-BF6B-E5D4133B1443}.Release|Any CPU.Build.0 = Release|Any CPU
1048+
{592B3E1B-49E3-4F3C-BF6B-E5D4133B1443}.Release|x64.ActiveCfg = Release|Any CPU
1049+
{592B3E1B-49E3-4F3C-BF6B-E5D4133B1443}.Release|x64.Build.0 = Release|Any CPU
1050+
{592B3E1B-49E3-4F3C-BF6B-E5D4133B1443}.Release|x86.ActiveCfg = Release|Any CPU
1051+
{592B3E1B-49E3-4F3C-BF6B-E5D4133B1443}.Release|x86.Build.0 = Release|Any CPU
10101052
EndGlobalSection
10111053
GlobalSection(SolutionProperties) = preSolution
10121054
HideSolutionNode = FALSE

ChangeLog.md

Lines changed: 63 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,66 @@
1-
## 6.0.0 - May 2018
1+
## 6.1.0 - May 2018
2+
#### AzureRM.Profile
3+
* Fix issue where running 'Clear-AzureRmContext' would keep an empty context with the name of the previous default context, which prevented the user from creating a new context with the old name
4+
5+
#### AzureRM.AnalysisServices
6+
* Enable Gateway assocaite/disassociate operations on AS.
7+
8+
#### AzureRM.ApiManagement
9+
* Added support for ApiVersions, ApiReleases and ApiRevisions
10+
* Added suppport for ServiceFabric Backend
11+
* Added support for Application Insights Logger
12+
* Added support for recognizing 'Basic' sku as a valid sku of Api Management service
13+
* Added support for installing Certificates issued by private CA as Root or CA
14+
* Added support for accepting Custom SSL certificates via KeyVault and Multiple proxy hostnames
15+
* Added support for MSI identity
16+
* Added support for accepting Policies via Url
17+
NOTE: The following cmdlets will be deprecated in future release
18+
- Import-AzureRmApiManagementHostnameCertificate
19+
- New-AzureRmApiManagementHostnameConfiguration
20+
- Set-AzureRmApiManagementHostnames
21+
- Update-AzureRmApiManagementDeployment
22+
23+
#### AzureRM.Batch
24+
* Release new cmdlet Get-AzureBatchPoolNodeCounts
25+
* Release new cmdlet Start-AzureBatchComputeNodeServiceLogUpload
26+
27+
#### AzureRM.Consumption
28+
* Add new parameters Expand, ResourceGroup, InstanceName, InstanceId, Tags, and Top on Cmdlet Get-AzureRmConsumptionUsageDetail
29+
30+
#### AzureRM.DataLakeStore
31+
* Fix example for Export-AzureRmDataLakeStoreChildItemProperties
32+
* Fix null parameter exception for Recurse case in Set-AzureRmDataLakeStoreItemAclEntry
33+
* Fix the help files for Set-AzureRmDataLakeStoreItemAclEntry, Set-AzureRmDataLakeStoreItemAcl, Remove-AzureRmDataLakeStoreItemAclEntry
34+
35+
#### AzureRM.Network
36+
* Bump up Network SDK version from 18.0.0-preview to 19.0.0-preview
37+
* Added cmdlet to create protocol configuration
38+
- New-AzureRmNetworkWatcherProtocolConfiguration
39+
* Added cmdlet to add a new circuit connection to an existing express route circuit.
40+
- Add-AzureRmExpressRouteCircuitConnectionConfig
41+
* Added cmdlet to remove a circuit connection from an existing express route circuit.
42+
- Remove-AzureRmExpressRouteCircuitConnectionConfig
43+
* Added cmdlet to retrieve a circuit connection
44+
- Get-AzureRmExpressRouteCircuitConnectionConfig
45+
46+
#### AzureRM.ServiceFabric
47+
* Fixed server authentication usage with generated certificates (Issue #5998)
48+
49+
#### AzureRM.Sql
50+
* Updated Auditing cmdlets to allow removing AuditActions or AuditActionGroups
51+
* Fixed issue with Set-AzureRmSqlDatabaseBackupLongTermRetentionPolicy when setting a new flexible retention policy where the command would fail with 'Configure long term retention policy with azure recovery service vault and policy is no longer supported. Please submit request with the new flexible retention policy'.
52+
* Update all Azure Sql Database/ElasticPool Creation/Update related cmdlets to use the new Database API, which support Sku property for scale and tier-related properties.
53+
* The updated cmdlets including:
54+
- New-AzureRmSqlDatabase; Set-AzureRmSqlDatabase
55+
- New-AzureRmSqlElasticPool; Set-AzureRmSqlElasticPool
56+
- New-AzureRmSqlDatabaseCopy
57+
- New-AzureRmSqlDatabaseSecondary
58+
- Restore-AzureRmSqlDatabase
59+
60+
#### AzureRM.TrafficManager
61+
* Update the parameters for 'Get-AzureRmTrafficManagerProfile' so that -ResourceGroupName parameter is required when using -Name parameter.
62+
63+
## 6.0.0 - May 2018
264
#### General
365
* Set minimum dependency of modules to PowerShell 5.0
466

documentation/development-docs/azure-powershell-developer-guide.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,8 @@ To import modules automatically when debug has started, follow the below steps:
246246
- In the **Debug** tab mentioned previously, go to **Start Options**
247247
- Import the Profile module, along with the module you are testing, by pasting the following in the **Command line arguments** box (_note_: you have to update the <PATH_TO_REPO> and <SERVICE> values provided below):
248248
- `-NoExit -Command "Import-Module <PATH_TO_REPO>/src/Package/Debug/ResourceManager/AzureResourceManager/AzureRM.Profile/AzureRM.Profile.psd1;Import-Module <PATH_TO_REPO>/src/Package/Debug/ResourceManager/AzureResourceManager/AzureRM.<SERVICE>/AzureRM.<SERVICE>.psd1;$VerbosePreference='Continue'"`
249+
250+
- **Note**: if you do not see all of the changes you made to the cmdlets when importing your module in a PowerShell session (_e.g.,_ a cmdlet you added is not recognized as a cmdlet), you may need to delete any existing Azure PowerShell modules that you have on your machine (installed either through the PowerShell Gallery or by Web Platform Installer) before you import your module.
249251

250252
## Adding Help Content
251253

0 commit comments

Comments
 (0)