Skip to content

Commit 4884c7a

Browse files
authored
Merge branch 'preview' into adls-data-plane
2 parents 26239e0 + 2db9592 commit 4884c7a

File tree

3,162 files changed

+1466526
-4053643
lines changed

Some content is hidden

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

3,162 files changed

+1466526
-4053643
lines changed

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@
66

77
## Checklist
88

9-
- [ ] I have read the [_Submitting Changes_](https://github.com/Azure/azure-powershell/blob/preview/CONTRIBUTING.md#making-changes) section of [`CONTRIBUTING.md`](https://github.com/Azure/azure-powershell/blob/preview/CONTRIBUTING.md)
9+
- [ ] I have read the [_Submitting Changes_](https://github.com/Azure/azure-powershell/blob/preview/CONTRIBUTING.md#submitting-changes) section of [`CONTRIBUTING.md`](https://github.com/Azure/azure-powershell/blob/preview/CONTRIBUTING.md)
1010
- [ ] The title of the PR is clear and informative
1111
- [ ] The appropriate [change log has been updated](https://github.com/Azure/azure-powershell/blob/preview/CONTRIBUTING.md#updating-the-change-log)
1212
- [ ] The PR does not introduce [breaking changes](https://github.com/Azure/azure-powershell/blob/preview/documentation/breaking-changes/breaking-changes-definition.md)
1313
- [ ] If applicable, the changes made in the PR have proper test coverage
1414
- [ ] For public API changes to cmdlets:
1515
- [ ] the changes have gone through a [cmdlet design review](https://github.com/Azure/azure-powershell-cmdlet-review-pr)
16-
- [ ] the cmdlet markdown files were [generated using the `platyPS` module](https://github.com/Azure/azure-powershell/blob/preview/documentation/development-docs/help-generation.md)
16+
- [ ] the cmdlet markdown files were [generated using the `platyPS` module](https://github.com/Azure/azure-powershell/blob/preview/documentation/development-docs/help-generation.md)

.gitignore

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ msbuild.log
1414
# please do not commit any app.config files.
1515
app.config
1616
!src/ResourceManager/Profile/Commands.Profile.Test/App.config
17+
!src/ResourceManager/ManagedServiceIdentity/Commands.ManagedServiceIdentity.Test/App.config
18+
!src/Storage/Commands.Storage.Test/app.config
19+
1720
## Ignore Visual Studio temporary files, build results, and
1821
## files generated by popular Visual Studio add-ons.
1922

@@ -212,10 +215,16 @@ FakesAssemblies/
212215
*.GhostDoc.xml
213216
pingme.txt
214217
groupMapping*.json
218+
219+
*.msi
220+
*.wixpdb
221+
215222
.vscode/
216223
/tools/AutomationTestFramework/RunBooks
217224
/tools/AutomationTestFramework/TestHelpers/TestHelpers.zip
218225
Results
219226
Package
220227
.DS_Store
221228
.idea
229+
/src/ResourceManager/RecoveryServices.Backup/Commands.RecoveryServices.Backup.Logger/bin
230+
/src/ResourceManager/RecoveryServices.Backup/Commands.RecoveryServices.Backup.Models/bin

Azure.PowerShell.Netcore.sln

Lines changed: 521 additions & 18 deletions
Large diffs are not rendered by default.

AzurePowershell.Test.targets

Lines changed: 0 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,6 @@
8181
DiagnosticMessages="false"
8282
ContinueOnError="false"
8383
Condition=" @(XUnitTests) != '' "/>
84-
85-
<CallTarget Targets="TestSetup" />
8684
</Target>
8785

8886
<Target Name="InvokeXUnitAll" DependsOnTargets="DeclareXunitTests">
@@ -101,8 +99,6 @@
10199
DiagnosticMessages="false"
102100
ContinueOnError="false"
103101
Condition=" @(XUnitTests) != '' "/>
104-
105-
<CallTarget Targets="TestSetup" />
106102
</Target>
107103

108104
<Target Name="TimeoutErrorHandler">
@@ -112,54 +108,6 @@
112108
<Target Name="BeforeRunTests">
113109
<MakeDir Directories="$(TestOutputDirectory)" ContinueOnError="false" />
114110
</Target>
115-
116-
<Target Name="TestSetup">
117-
<Message Importance="high" Text="Setup XUnit tests" />
118-
<MakeDir Directories="$(TestOutputDirectory)" ContinueOnError="false" />
119-
120-
<Message Text="Copying test assets" />
121-
<!-- We copy this file right after we build setup test for signing, so now copying the signed copy back where it is needed for the test -->
122-
<Copy SourceFiles="$(PackageDirectory)\$(Configuration)\PowerShellSetup.Test.dll"
123-
DestinationFolder="$(LibraryRoot)\setup\PowerShellSetup.Test\bin\$(Configuration)" Condition="Exists('$(PackageDirectory)\$(Configuration)\PowerShellSetup.Test.dll')" />
124-
125-
<Copy SourceFiles="$(SignedOutputRootDir)\AzurePowerShell.msi"
126-
DestinationFolder="$(LibraryRoot)\setup\PowerShellSetup.Test\bin\$(Configuration)" Condition="Exists('$(SignedOutputRootDir)\AzurePowerShell.msi')" />
127-
128-
<ItemGroup Condition=" '$(scope)' == 'all' AND '$(CodeSign)' != 'true' ">
129-
<SetupDebugTests Include=".\setup\PowerShellSetup.Test\bin\Debug\PowerShellSetup.Test.dll" />
130-
</ItemGroup>
131-
132-
<ItemGroup Condition=" '$(Configuration)' == 'Release' AND '$(scope)' == 'all' AND '$(CodeSign)' == 'true' ">
133-
<!-- We want to run setup tests related to signing that can only be run on signed bits -->
134-
<SetupReleaseTests Include=".\setup\PowerShellSetup.Test\bin\Release\PowerShellSetup.Test.dll" />
135-
</ItemGroup>
136-
<xunit
137-
Assemblies="@(SetupDebugTests)"
138-
AppDomains="true"
139-
ShadowCopy="false"
140-
ParallelizeTestCollections="false"
141-
ParallelizeAssemblies="true"
142-
IncludeTraits="AcceptanceType=CheckIn"
143-
ExcludeTraits="SignedBuild=BVT"
144-
Html="$(TestOutputDirectory)\AzPsSetupTest.html"
145-
MaxParallelThreads="10"
146-
DiagnosticMessages="false"
147-
ContinueOnError="false"
148-
Condition=" '$(scope)' == 'all' "/>
149-
150-
<xunit
151-
Assemblies="@(SetupReleaseTests)"
152-
AppDomains="true"
153-
ShadowCopy="false"
154-
ParallelizeTestCollections="false"
155-
ParallelizeAssemblies="true"
156-
IncludeTraits="SignedBuild=BVT"
157-
Html="$(TestOutputDirectory)\AzPsSetupTestSigned.html"
158-
MaxParallelThreads="10"
159-
DiagnosticMessages="false"
160-
ContinueOnError="false"
161-
Condition=" '$(Configuration)' == 'Release' AND '$(scope)' == 'all' AND '$(CodeSign)' == 'true' "/>
162-
</Target>
163111

164112
<Target Name="TestManagement">
165113
<Xunit.Runner.MSBuild.xunit Assemblies="$(ManagementTestDebug)" Html="$(TestOutputDirectory)\ManagementDebug.xunit.dll.html" Verbose="false"

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ In the Azure Developer Experience, you are at Step 5:
2121

2222
[Filing Issues](#filing-issues)
2323

24-
[Making Changes](#making-changes)
24+
[Submitting Changes](#submitting-changes)
2525
- [Pull Requests](#pull-requests)
2626
- [SDK for .NET](#sdk-for-net)
2727
- [Pull Request Guidelines](#pull-request-guidelines)
@@ -103,7 +103,7 @@ If you find yourself creating a pull request and are unable to see all the chang
103103

104104
If splitting up the pull request is not an option, we recommend **creating individual commits for different parts of the pull request, which can be reviewed individually on GitHub**.
105105

106-
For more information on cleaning up the commits in a pull request, such as how to rebase, squash, and cherry-pick, click [here](./documentation/cleaning-up-commits.md).
106+
For more information on cleaning up the commits in a pull request, such as how to rebase, squash, and cherry-pick, click [here](./documentation/development-docs/cleaning-up-commits.md).
107107

108108
#### Updating the change log
109109

ChangeLog.md

Lines changed: 204 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,207 @@
1-
## 5.3.0 - February 2018
1+
## 5.6.0 - March 2018
2+
3+
#### General
4+
* Fix issue with Default Resource Group in CloudShell
5+
* Fix issue where incorrect startup scripts were being executed during module import
6+
7+
#### AzureRM.Profile
8+
* Enable MSI authentication in unsupported scenarios
9+
* Add support for user-defined Managed Service Identity
10+
11+
#### AzureRM.AnalysisServices
12+
* Fixed issue with cleaning up scripts in build
13+
14+
#### AzureRM.Cdn
15+
* Fixed issue with cleaning up scripts in build
16+
17+
#### AzureRM.Compute
18+
* 'New-AzureRmVM' and 'New-AzureRmVMSS' support data disks.
19+
* 'New-AzureRmVM' and 'New-AzureRmVMSS' support custom image by name or by id.
20+
* Log analytic feature
21+
- Added 'Export-AzureRmLogAnalyticRequestRateByInterval' cmdlet
22+
- Added 'Export-AzureRmLogAnalyticThrottledRequests' cmdlet
23+
24+
#### AzureRM.ContainerInstance
25+
* Fix parameter sets issue for container registry and azure file volume mount
26+
27+
#### AzureRM.DataFactoryV2
28+
* Updated the ADF .Net SDK to version 0.6.0-preview containing the following changes:
29+
- Added new AzureDatabricks LinkedService and DatabricksNotebook Activity
30+
- Added headNodeSize and dataNodeSize properties in HDInsightOnDemand LinkedService
31+
- Added LinkedService, Dataset, CopySource for SalesforceMarketingCloud
32+
- Added support for SecureOutput on all activities
33+
- Added new BatchCount property on ForEach activity which control how many concurrent activities to run
34+
- Added new Filter Activity
35+
- Added Linked Service Parameters support
36+
37+
#### AzureRM.Dns
38+
* Support for Private DNS Zones (Public Preview)
39+
- Adds ability to create DNS zones that are visible only to the associated virtual networks
40+
41+
#### AzureRM.Network
42+
* Updating model types for compatibility with DNS cmdlets.
43+
44+
#### AzureRM.RecoveryServices.SiteRecovery
45+
* Changes for ASR Azure to Azure Site Recovery (cmdlets are currently supporting operations for Enterprise to Enterprise, Enterprise to Azure, HyperV to Azure,VMware to Azure)
46+
- New-AzureRmRecoveryServicesAsrProtectionContainer
47+
- New-AzureRmRecoveryServicesAsrAzureToAzureDiskReplicationConfig
48+
- Remove-AzureRmRecoveryServicesAsrProtectionContainer
49+
- Update-AzureRmRecoveryServicesAsrProtectionDirection
50+
51+
#### AzureRM.Storage
52+
* Obsolete following parameters in new and set Storage Account cmdlets: EnableEncryptionService and DisableEncryptionService, since Encryption at Rest is enabled by default and can't be disabled.
53+
- New-AzureRmStorageAccount
54+
- Set-AzureRmStorageAccount
55+
56+
#### AzureRM.Websites
57+
* Fixed the help for Remove-AzureRmWebAppSlot
58+
59+
## 5.5.0 - March 2018
60+
#### AzureRM.Profile
61+
* Fixed issue with importing aliases
62+
* Load version 10.0.3 of Newtonsoft.Json side-by-side with version 6.0.8
63+
64+
#### Azure.Storage
65+
* Support Soft-Delete feature
66+
- Enable-AzureStorageDeleteRetentionPolicy
67+
- Disable-AzureStorageDeleteRetentionPolicy
68+
- Get-AzureStorageBlob
69+
70+
#### AzureRM.AnalysisServices
71+
* Fixed issue with importing aliases
72+
* Add support of firewall and query scaleout feature, as well as support of 2017-08-01 api version.
73+
74+
#### AzureRM.Automation
75+
* Fixed issue with importing aliases
76+
77+
#### AzureRM.Cdn
78+
* Fixed issue with importing aliases
79+
80+
#### AzureRM.CognitiveServices
81+
* Update notice.txt and notice message.
82+
83+
#### AzureRM.Compute
84+
* 'New-AzureRmVMSS' prints connection strings in verbose mode.
85+
* 'New-AzureRmVmss' supports public IP address, load balancing rules, inbound NAT rules.
86+
* WriteAccelerator feature
87+
- Added WriteAccelerator switch parameter to the following cmdlets:
88+
Set-AzureRmVMOSDisk
89+
Set-AzureRmVMDataDisk
90+
Add-AzureRmVMDataDisk
91+
Add-AzureRmVmssDataDisk
92+
- Added OsDiskWriteAccelerator switch parameter to the following cmdlet:
93+
Set-AzureRmVmssStorageProfile.
94+
- Added OsDiskWriteAccelerator Boolean parameter to the following cmdlets:
95+
Update-AzureRmVM
96+
Update-AzureRmVmss
97+
98+
#### AzureRM.DataFactories
99+
* Fix credential encryption issue that caused no meaningful error for some encryption operations
100+
* Enable integration runtime to be shared across data factory
101+
102+
#### AzureRM.DataFactoryV2
103+
* Add parameter "SetupScriptContainerSasUri" and "Edition" for "Set-AzureRmDataFactoryV2IntegrationRuntime" cmd to enable custom setup and edition selection functionality
104+
* Fix credential encryption issue that caused no meaningful error for some encryption operations.
105+
* Enable integration runtime to be shared across data factory
106+
107+
#### AzureRM.HDInsight
108+
* Fixed issue with importing aliases
109+
110+
#### AzureRM.KeyVault
111+
* Fixed example for Set-AzureRmKeyVaultAccessPolicy
112+
113+
#### AzureRM.Network
114+
* Fixed issue with importing aliases
115+
116+
#### AzureRM.OperationalInsights
117+
* Fixed issue with importing aliases
118+
119+
#### AzureRM.RecoveryServices
120+
* Fixed issue with importing aliases
121+
122+
#### AzureRM.RecoveryServices.SiteRecovery
123+
* Fixed issue with importing aliases
124+
125+
#### AzureRM.Resources
126+
* Fixed issue with importing aliases
127+
128+
#### AzureRM.ServiceBus
129+
* Added EnableBatchedOperations property to Queue
130+
* Added DeadLetteringOnFilterEvaluationExceptions property to Subscriptions
131+
132+
#### AzureRM.ServiceFabric
133+
* Service Fabric cmdlet refresh
134+
- Updated ARM templates
135+
- Failed operations no longer rollback
136+
- Add-AzureRmServiceFabricNodeType
137+
- VMs default to managed disks
138+
- Existing VMSS subnet used
139+
- All operations are idempotent
140+
- Remove-AzureRmServiceFabricNodeType cleans up partially created VMSS and/or cluster node types
141+
- Fixed output of PSCluster object for complex property types
142+
143+
#### AzureRM.Sql
144+
* Fixed issue with importing aliases
145+
* Get-AzureRmSqlServer, New-AzureRmSqlServer, and Remove-AzureRmSqlServer response now includes FullyQualifiedDomainName property.
146+
147+
#### AzureRM.Websites
148+
* Fixed issue with importing aliases
149+
* New-AzureRMWebApp - added parameter set for simplified WebApp creation, with local git repository support.
150+
151+
## 5.4.1 - February 2018
152+
#### AzureRM.Profile
153+
* Fix concurrent module import issue in PowerShell Workflow and Azure Automation
154+
155+
## 5.4.0 - February 2018
156+
#### AzureRM.Automation
157+
* Added alias from New-AzureRmAutomationModule to Import-AzureRmAutomationModule
158+
159+
#### AzureRM.Compute
160+
* Fix ErrorAction issue for some of Get cmdlets.
161+
162+
#### AzureRM.ContainerInstance
163+
* Apply Azure Container Instance SDK 2018-02-01
164+
- Support DNS name label
165+
166+
#### AzureRM.DevTestLabs
167+
* Fixed all of the GET cmdlets which previously weren't working.
168+
169+
#### AzureRM.EventHub
170+
* Fix bug in Get-AzureRmEventHubGeoDRConfiguration help
171+
172+
#### AzureRM.Network
173+
* Added cmdlet to create a new connection monitor
174+
- New-AzureRmNetworkWatcherConnectionMonitor
175+
* Added cmdlet to update a connection monitor
176+
- Set-AzureRmNetworkWatcherConnectionMonitor
177+
* Added cmdlet to get connection monitor or connection monitor list
178+
- Get-AzureRmNetworkWatcherConnectionMonitor
179+
* Added cmdlet to query connection monitor
180+
- Get-AzureRmNetworkWatcherConnectionMonitorReport
181+
* Added cmdlet to start connection monitor
182+
- Start-AzureRmNetworkWatcherConnectionMonitor
183+
* Added cmdlet to stop connection monitor
184+
- Stop-AzureRmNetworkWatcherConnectionMonitor
185+
* Added cmdlet to remove connection monitor
186+
- Remove-AzureRmNetworkWatcherConnectionMonitor
187+
* Updated Set-AzureRmApplicationGatewayBackendAddressPool documentation to remove deprecated example
188+
* Added EnableHttp2 flag to Application Gateway
189+
- Updated New-AzureRmApplicationGateway: Added optional parameter -EnableHttp2
190+
* Add IpTags to PublicIpAddress
191+
- Updated New-AzureRmPublicIpAddress: Added IpTags
192+
- New-AzureRmPublicIpTag to add Iptag
193+
* Add DisableBgpRoutePropagation property in RouteTable and effectiveRoute.
194+
195+
#### AzureRM.Resources
196+
* Register-AzureRmProviderFeature: Added missing example in the docs
197+
* Register-AzureRmResourceProvider: Added missing example in the docs
198+
199+
#### AzureRM.Storage
200+
* Obsolete following parameters in new and set Storage Account cmdlets: EnableEncryptionService and DisableEncryptionService, since Encryption at Rest is enabled by default and can't be disabled.
201+
- New-AzureRmStorageAccount
202+
- Set-AzureRmStorageAccount
203+
204+
## 5.3.0 - February 2018
2205
#### AzureRM.Profile
3206
* Added deprecation warning for PowerShell 3 and 4
4207
* 'Add-AzureRmAccount' has been renamed as 'Connect-AzureRmAccount'; an alias has been added for the old cmdlet name, and other aliases ('Login-AzAccount' and 'Login-AzureRmAccount') have been redirected to the new cmdlet name.

TestMappings.json

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@
1111
"src/Common/Commands.Common.Authentication.Test/": [
1212
".\\src\\Common\\Commands.Common.Authentication.Test\\bin\\Debug\\Microsoft.Azure.Commands.Common.Authentication.Test.dll"
1313
],
14+
"src/ResourceManager/Aks/": [
15+
".\\src\\ResourceManager\\Aks\\Commands.Aks.Test\\bin\\Debug\\Microsoft.Azure.Commands.Aks.Test.dll"
16+
],
1417
"src/ResourceManager/AnalysisServices/": [
1518
".\\src\\ResourceManager\\AnalysisServices\\Commands.AnalysisServices.Test\\bin\\Debug\\Microsoft.Azure.Commands.AnalysisServices.Test.dll"
1619
],
@@ -101,6 +104,9 @@
101104
"src/ResourceManager/MachineLearningCompute/" : [
102105
".\\src\\ResourceManager\\MachineLearningCompute\\Commands.MachineLearningCompute.Test\\bin\\Debug\\Microsoft.Azure.Commands.MachineLearningCompute.Test.dll"
103106
],
107+
"src/ResourceManager/ManagedServiceIdentity/" : [
108+
".\\src\\ResourceManager\\ManagedServiceIdentity\\Commands.ManagedServiceIdentity.Test\\bin\\Debug\\Microsoft.Azure.Commands.ManagedServiceIdentity.Test.dll"
109+
],
104110
"src/ResourceManager/MarketplaceOrdering/Commands.MarketplaceOrdering.Test/": [
105111
".\\src\\ResourceManager\\MarketplaceOrdering\\Commands.MarketplaceOrdering.Test\\bin\\Debug\\Microsoft.Azure.Commands.MarketplaceOrdering.Test.dll"
106112
],
@@ -110,7 +116,8 @@
110116
".\\src\\ResourceManager\\Network\\Commands.Network.Test\\bin\\Debug\\Microsoft.Azure.Commands.Network.Test.dll",
111117
".\\src\\ResourceManager\\RecoveryServices.Backup\\Commands.RecoveryServices.Backup.Test\\bin\\Debug\\Microsoft.Azure.Commands.RecoveryServices.Backup.Test.dll",
112118
".\\src\\ResourceManager\\ServiceFabric\\Commands.ServiceFabric.Test\\bin\\Debug\\Microsoft.Azure.Commands.ServiceFabric.Test.dll",
113-
".\\src\\ResourceManager\\Sql\\Commands.Sql.Test\\bin\\Debug\\Microsoft.Azure.Commands.Sql.Test.dll"
119+
".\\src\\ResourceManager\\Sql\\Commands.Sql.Test\\bin\\Debug\\Microsoft.Azure.Commands.Sql.Test.dll",
120+
".\\src\\ResourceManager\\Dns\\Commands.Dns.Test\\bin\\Debug\\Microsoft.Azure.Commands.Dns.Test.dll"
114121
],
115122
"src/ResourceManager/NotificationHubs /": [
116123
".\\src\\ResourceManager\\NotificationHubs\\Commands.NotificationHubs.Test\\bin\\Debug\\Microsoft.Azure.Commands.NotificationHubs.Test.dll"

appveyor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ environment:
88
secure: VMFbecLLHzDq/09YDPbcM0VDDSwwgY57vr5GXK6cZZ4Ti/Xs5RZoylzV8MMr1350
99

1010
before_build:
11-
- ps: Get-Module -ListAvailable | where-Object {$_.Name -like “Azure*”} | Uninstall-Module -Verbose
11+
- ps: Get-ChildItem -Path ("$env:programfiles" + "\WindowsPowerShell\Modules") | Where-Object { $_.FullName -match 'azure' } | foreach { Remove-Item $_.FullName -Recurse -Force }
1212
- ps: Install-Module -Name PowerShellGet -Force
1313
- ps: Install-Module -Name SplitPipeline -Force
1414
- ps: Install-Module -Name platyPS -Force

0 commit comments

Comments
 (0)