Skip to content

Commit 77afe7b

Browse files
authored
Merge pull request Azure#3950 from Azure/master
[Release 4.0.0] Merge master --> preview
2 parents d433c9a + 08cfc8c commit 77afe7b

File tree

1,410 files changed

+78100
-27754
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,410 files changed

+78100
-27754
lines changed

AzurePowershell.Test.targets

+3
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,8 @@
8989
<XUnitTests Include=".\src\ResourceManager\KeyVault\Commands.KeyVault.Test\bin\Debug\Microsoft.Azure.Commands.KeyVault.Test.dll"/>
9090
<XUnitTests Include=".\src\ResourceManager\ServiceFabric\Commands.ServiceFabric.Test\bin\Debug\Microsoft.Azure.Commands.ServiceFabric.Test.dll"/>
9191
<XUnitTests Include=".\src\ResourceManager\LogicApp\Commands.LogicApp.Test\bin\Debug\Microsoft.Azure.Commands.LogicApp.Test.dll"/>
92+
<!-- <XUnitTests Include=".\src\ResourceManager\MachineLearning\Commands.MachineLearning.Test\bin\Debug\Microsoft.Azure.Commands.MachineLearning.Test.dll"/> -->
93+
<!-- <XUnitTests Include=".\src\ResourceManager\Media\Commands.Media.Test\bin\Debug\Microsoft.Azure.Commands.Media.Test.dll"/> -->
9294
<XUnitTests Include=".\src\ResourceManager\Network\Commands.Network.Test\bin\Debug\Microsoft.Azure.Commands.Network.Test.dll"/>
9395
<XUnitTests Include=".\src\ResourceManager\NotificationHubs\Commands.NotificationHubs.Test\bin\Debug\Microsoft.Azure.Commands.NotificationHubs.Test.dll"/>
9496
<XUnitTests Include=".\src\ResourceManager\OperationalInsights\Commands.OperationalInsights.Test\bin\Debug\Microsoft.Azure.Commands.OperationalInsights.Test.dll"/>
@@ -100,6 +102,7 @@
100102
<XUnitTests Include=".\src\ResourceManager\Resources\Commands.Resources.Test\bin\Debug\Microsoft.Azure.Commands.Resources.Test.dll"/>
101103
<XUnitTests Include=".\src\ResourceManager\Scheduler\Commands.Scheduler.Test\bin\Debug\Microsoft.Azure.Commands.Scheduler.Test.dll"/>
102104
<!-- <XUnitTests Include=".\src\ResourceManager\ServerManagement\Commands.ServerManagement.Test\bin\Debug\Microsoft.Azure.Commands.ServerManagement.Test.dll"/> -->
105+
<!-- <XUnitTests Include=".\src\ResourceManager\ServiceFabric\Commands.ServiceFabric.Test\bin\Debug\Microsoft.Azure.Commands.ServiceFabric.Test.dll"/> -->
103106
<XUnitTests Include=".\src\ResourceManager\SiteRecovery\Commands.SiteRecovery.Test\bin\Debug\Microsoft.Azure.Commands.SiteRecovery.Test.dll"/>
104107
<XUnitTests Include=".\src\ResourceManager\Sql\Commands.Sql.Test\bin\Debug\Microsoft.Azure.Commands.Sql.Test.dll"/>
105108
<XUnitTests Include=".\src\ResourceManager\Storage\Commands.Management.Storage.Test\bin\Debug\Microsoft.Azure.Commands.Management.Storage.Test.dll"/>

CONTRIBUTING.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ You can find all of the pull requests that have been opened in the [Pull Request
7474
To open your own pull request, click [here](https://github.com/Azure/azure-powershell/compare). When creating a pull request, keep the following in mind:
7575
- Make sure you are pointing to the fork and branch that your changes were made in
7676
- Choose the correct branch you want your pull request to be merged into
77-
- The **dev** branch is for active development; changes in this branch will be in the next Azure PowerShell release
77+
- The **preview** branch is for active development; changes in this branch will be in the next Azure PowerShell release
7878
- The **master** branch contains a snapshot of the source code at the time of the last release
7979
- The **release-X.X.X** branch is for active development during a release
8080
- The pull request template that is provided **should be filled out**; this is not something that should just be deleted or ignored when the pull request is created

ChangeLog.md

+183-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,186 @@
1-
## 2017.04.05 - Version 3.8.0
1+
## 2017.05.10 - Version 4.0.0
2+
* This release contains breaking changes. Please see [the migration guide](https://aka.ms/azps-migration-guide) for change details and the impact on existing scripts.
3+
* ApiManagement
4+
* Added support for configuring external groups in New-AzureRmApiManagementGroup.
5+
* Billing
6+
* New Cmdlet Get-AzureRmBillingPeriod
7+
- cmdlet to retrieve azure billing periods of the subscription.
8+
* Update Cmdlet Get-AzureRmBillingInvoice
9+
- new property BillingPeriodNames
10+
- output in list view
11+
* Compute
12+
* Updated Set-AzureRmVMAEMExtension and Test-AzureRmVMAEMExtension cmdlets to support Premium managed disks
13+
* Backup encryption settings for IaaS VMs and restore on failure
14+
* ChefServiceInterval option is renamed to ChefDaemonInterval now. Old one will continue to work however.
15+
* Remove duplicated DataDiskNames and NetworkInterfaceIDs properties from PS VM object.
16+
- Make DataDiskNames and NetworkInterfaceIDs parameters optional in Remove-AzureRmVMDataDisk and Remove-AzureRmVMNetworkInterface, respectively.
17+
* Fix the piping issue of Get cmdlets when the Get cmdlets return a list object.
18+
* Cmdlets that conflicted with RDFE cmdlets have been renamed. See issue https://github.com/Azure/azure-powershell/issues/2917 for more details
19+
- `New-AzureVMSqlServerAutoBackupConfig` has been renamed to `New-AzureRmVMSqlServerAutoBackupConfig`
20+
- `New-AzureVMSqlServerAutoPatchingConfig` has been renamed to `New-AzureRmVMSqlServerAutoPatchingConfig`
21+
- `New-AzureVMSqlServerKeyVaultCredentialConfig` has been renamed to `New-AzureRmVMSqlServerKeyVaultCredentialConfig`
22+
* Consumption
23+
* New Cmdlet Get-AzureRmConsumptionUsageDetail
24+
- cmdlet to retrieve usage details of the subscription.
25+
* ContainerRegistry
26+
* Add PowerShell cmdlets for Azure Container Registry
27+
- New-AzureRmContainerRegistry
28+
- Get-AzureRmContainerRegistry
29+
- Update-AzureRmContainerRegistry
30+
- Remove-AzureRmContainerRegistry
31+
- Get-AzureRmContainerRegistryCredential
32+
- Update-AzureRmContainerRegistryCredential
33+
- Test-AzureRmContainerRegistryNameAvailability
34+
* DataLakeAnalytics
35+
* Add support for catalog package get and list
36+
* Add support for listing the following catalog items from deeper ancestors:
37+
* Table
38+
* TVF
39+
* View
40+
* Statistics
41+
* DataLakeStore
42+
* For `Import-AzureRMDataLakeStoreItem` and `Export-AzureRMDataLakeStoreItem` trace logging has been disabled by default to improve performance. If trace logging is desired please use the `-DiagnosticLogLevel` and `-DiagnosticLogPath` parameters
43+
* Fixed a bug that would sometimes cause PowerShell to crash when uploading lots of small file to ADLS.
44+
* EventHub
45+
* Bug fix :
46+
- Fix for Set-AzureRmEventHubNamespace cmdlet error - 'Tier' cannot be null, where it should be 'SkuName'
47+
- Set-AzureRmEventHub - Fix 'Object reference not set to an instance of an object' error while updating EventHub
48+
* Insights
49+
* Add-AzureRm*AlertRule
50+
- Returns a single object: newResource, statusCode, requestId
51+
* Get-AzureRmAlertRule
52+
- The output is now enumerated instead of considered a single object. Its type did not change, it is still a list.
53+
* Remove-AzureRmAlertRule
54+
- The statusCode follows the status code returned by the request, before it was Ok always.
55+
* Add-AzureRmAutoscaleSetting
56+
- Returns now a single object (not a list as before) containing statusCode, requestId, and the newly created/updated resource.
57+
- The status code follows the status returned by the request, before it was always Ok.
58+
* New-AzureRmAutoscaleRule
59+
- The parameter ScaleActionType has been extended, it receives the following values now: ChangeCount, PercentChangeCount, ExactCount.
60+
* Remove-AzureRmAutoscaleSetting
61+
- The statusCode in the output follows the statusCode returned by the request. Before it was always Ok.
62+
* Get-AzureRMLogProfile
63+
- The output is now enumerated. Before it was considered a single object. The type of the output remains a list as before.
64+
* Remove-AzureRmLogProfile
65+
- The PassThru parameter has been implemented.
66+
* Metrics API
67+
- The SDK now retrieves metrics from MDM.
68+
* Get-AzureRmMetricDefinition
69+
- The output is still a list, but the structure of the list changed.
70+
* Get-AzureRmMetric
71+
- The call has changed. This is the new syntax: Get-AzureRmMetric ResourceId [MetricNames [TimeGrain] [AggregationType] [StartTime] [EndTime]] [DetailedOutput]
72+
- The output is a list, and the structure of its elements has changed.
73+
* KeyVault
74+
* Adding backup/restore support for KeyVault secrets
75+
- Secrets can be backed up and restored, matching the functionality currently supported for Keys
76+
77+
* Backup cmdlets for Keys and Secrets now accept a corresponding object as an input parameter
78+
- The caller may chain retrieval and backup operations: Get-AzureKeyVaultKey -VaultName myVault -Name myKey | Backup-AzureKeyVaultKey
79+
80+
* Backup cmdlets now support a -Force switch to overwrite an existing file
81+
- Note that attempting to overwrite an existing file will no longer throw, and will instead prompt the user for a choice on how to proceed.
82+
* LogicApp
83+
* New parameters for Interchange Control Number disaster recovery cmdlets:
84+
- Optional -AgreementType parameter ("X12", or "Edifact") to specify the relevant control numbers
85+
* MachineLearning
86+
* Consume new version of Azure Machine Learning .Net SDK and add a new cmdlet
87+
- Add-AzureRmMlWebServiceRegionalProperty
88+
* Minor wording fixes in help text.
89+
* Network
90+
* Added Test-AzureRmNetworkWatcherConnectivity cmdlet
91+
- Returns connectivity information for a specified source VM and a destination
92+
- If connectivity between the source and destination cannot be established, the cmdlet returns details about the issue
93+
* Profile
94+
* Added `Send-Feedback' cmdlet: allows a user to initiate a set of prompts which sends feedback to the Azure PowerShell team.
95+
* The following aliases have been removed as they conflicted with existing cmdlet names in the Azure module:
96+
- `Enable-AzureDataCollection` (supported by `Enable-AzureRmDataCollection`)
97+
- `Disable-AzureDataCollection` (supported by `Disable-AzureRmDataCollection`)
98+
* Relay
99+
* Adds cmdlets for the Azure Relay which allows users to create and manage all Azure Relay resources.
100+
- `New-AzureRmRelayNamespace`
101+
- `Get-AzureRmRelayNamespace`
102+
- `Set-AzureRmRelayNamespace`
103+
- `Remove-AzureRmRelayNamespace`
104+
- `New-AzureRmWcfRelay`
105+
- `Get-AzureRmWcfRelay`
106+
- `Set-AzureRmWcfRelay`
107+
- `Remove-AzureRmWcfRelay`
108+
- `New-AzureRmRelayHybridConnection`
109+
- `Get-AzureRmRelayHybridConnection`
110+
- `Set-AzureRmRelayHybridConnection`
111+
- `Remove-AzureRmRelayHybridConnection`
112+
- `Test-AzureRmRelayName`
113+
- `Get-AzureRmRelayOperation`
114+
- `New-AzureRmRelayKey`
115+
- `Get-AzureRmRelayKey`
116+
- `New-AzureRmRelayAuthorizationRule`
117+
- `Get-AzureRmRelayAuthorizationRule`
118+
- `Set-AzureRmRelayAuthorizationRule`
119+
- `Remove-AzureRmRelayAuthorizationRule`
120+
* Resources
121+
* Support cross-resource-group deployments for New-AzureRmResourceGroupDeployment
122+
- Users can now use nested deployments to deploy to different resource groups.
123+
* ServiceBus
124+
125+
* Bug Fix: ServiceBus Queue object property values were set to null, the object is used as input parameter in Set-AzureRmServiceBusQueue cmdlet to update Queue.
126+
- Properties affected are LockDuration, EntityAvailabilityStatus, DuplicateDetectionHistoryTimeWindow, MaxDeliveryCount and MessageCount
127+
* ServiceFabric
128+
129+
* Added cmdlets for service fabric
130+
- Add-AzureRmServiceFabricApplicationCertificate
131+
Add a certificate which will be used as application certificate
132+
- Add-AzureRmServiceFabricClientCertificate
133+
Add a common name or thumbprint to the cluster settings for client authentication
134+
- Add-AzureRmServiceFabricClusterCertificate
135+
Add a secondary cluster certificate to the cluster for rolling over the existing certificate
136+
- Add-AzureRmServiceFabricNodes
137+
Add nodes/VMs of a specific node type to a cluster
138+
- Add-AzureRmServiceFabricNodeType
139+
Add a node type/VMs to an existing cluster
140+
- Get-AzureRmServiceFabricCluster
141+
Get the details of the cluster resource
142+
- New-AzureRmServiceFabricCluster
143+
Create a new ServiceFabric cluster. This command has many overloads to cover various scenarios
144+
- Remove-AzureRmServiceFabricClientCertificate
145+
Remove a client certificate from being used to access a cluster
146+
- Remove-AzureRmServiceFabricClusterCertificate
147+
Remove a cluster certificate from being used for cluster security
148+
- Remove-AzureRmServiceFabricNodes
149+
Remove nodes from a specific node type from a cluster
150+
- Remove-AzureRmServiceFabricNodeType
151+
Remove a node type from a cluster
152+
- Remove-AzureRmServiceFabricSettings
153+
Remove one or more ServiceFabric settings from a cluster
154+
- Set-AzureRmServiceFabricSettings
155+
Add or update one or more ServiceFabric settings of a cluster
156+
- Set-AzureRmServiceFabricUpgradeType
157+
Change the ServiceFabric upgrade type of a cluster
158+
- Update-AzureRmServiceFabricDurability
159+
Change the durability tier of a cluster
160+
- Update-AzureRmServiceFabricReliability
161+
Change the reliability tier of a cluster
162+
* Sql
163+
* Added -SampleName parameter to New-AzureRmSqlDatabase
164+
* Updates to Failover Group cmdlets
165+
- Remove 'Tag' parameters
166+
- Remove 'PartnerResourceGroupName' and 'PartnerServerName' parameters from Remove-AzureRmSqlDatabaseFailoverGroup cmdlet
167+
- Add 'GracePeriodWithDataLossHours' parameter to New- and Set- cmdlets, which shall eventually replace 'GracePeriodWithDataLossHour'
168+
- Documentation has been fleshed out and updated
169+
- Change formatting of returned objects and fix some bugs where fields were not always populated
170+
- Add 'DatabaseNames' and 'PartnerLocation' properties to Failover Group object
171+
- Fix bug causing Switch- cmdlet to return immediately rather than waiting for operation to complete
172+
- Fix integer overflow bug when high grace period values are used
173+
- Adjust grace period to a minimum of 1 hour if a lower one is provided
174+
* Remove "Usage_Anomaly" from the accepted values for "ExcludedDetectionType" parameter of Set-AzureRmSqlDatabaseThreatDetectionPolicy cmdlet and Set-AzureRmSqlServerThreatDetectionPolicy cmdlet.
175+
* Storage
176+
* Upgrade SRP SDK to 6.3.0
177+
* New/Set-AzureRmStorageAccount:Add a new parameter to support EnableHttpsTrafficOnly
178+
* New/Set/Get-AzureRmStorageAccount: Returned Storage Account contains a new attribute EnableHttpsTrafficOnly
179+
* Azure.Storage
180+
* Upgrade to Azure Storage Client Library 8.1.1 and Azure Storage DataMovement Library 0.5.1
181+
* Add a new cmdlet to support blob Incremental Copy feature
182+
183+
## 2017.04.05 - Version 3.8.0
2184
* Compute
3185
* Fix bug in Get-* cmdlets, to allow retrieving multiple pages of data (more than 120 items)
4186
* DataLakeAnalytics

build.proj

+8-7
Original file line numberDiff line numberDiff line change
@@ -181,8 +181,9 @@
181181
<Target Name="Build" DependsOnTargets="RestoreNugetPackages;BuildMsBuildTask">
182182
<Message Importance="high" Text="Building Cmdlets..." />
183183

184-
<MakeDir Directories="$(PackageDirectory)\$(Configuration)"/>
185-
<Exec ContinueOnError="false" Command="$(PowerShellCommand) -NonInteractive -NoLogo -NoProfile -Command &quot; . $(LibraryToolsFolder)\CreateMappings.ps1 -RootPath $(LibrarySourceFolder) -OutputFile $(PackageDirectory)\$(Configuration)\groupMapping.json -WarningFile $(PackageDirectory)\$(Configuration)\groupMappingWarnings.json -RulesFile $(LibraryToolsFolder)\CreateMappings_rules.json &quot;"/>
184+
<MakeDir Directories="$(PackageDirectory)" />
185+
<Exec ContinueOnError="false"
186+
Command="$(PowerShellCommand) -NonInteractive -NoLogo -NoProfile -Command &quot; . $(LibraryToolsFolder)\CreateMappings.ps1 -RootPath $(LibrarySourceFolder) -OutputFile $(PackageDirectory)\groupMapping.json -WarningFile $(PackageDirectory)\groupMappingWarnings.json -RulesFile $(LibraryToolsFolder)\CreateMappings_rules.json &quot;" />
186187

187188
<MSBuild
188189
Projects="@(CmdletSolutionsToBuild)"
@@ -195,11 +196,11 @@
195196
ContinueOnError="false"
196197
Condition=" '$(SkipHelp)' == 'false' "/>
197198
<CallTarget Targets="BuildSetupTest"/>
198-
<CallTarget Targets="CodeSignBinaries" Condition=" '$(CodeSign)' == 'true' " />
199-
<CallTarget Targets="BuildSetup" Condition=" '$(SkipHelp)' == 'false' "/>
200-
<CallTarget Targets="CodeSignInstaller"
201-
Condition=" '$(CodeSign)' == 'true' and '$(Scope)' == 'all'" />
202-
<Message Importance="high" Text="Running Static Analyser" />
199+
<CallTarget Targets="CodeSignBinaries" Condition=" '$(CodeSign)' == 'true' " />
200+
<CallTarget Targets="BuildSetup" Condition=" '$(SkipHelp)' == 'false' "/>
201+
<CallTarget Targets="CodeSignInstaller"
202+
Condition=" '$(CodeSign)' == 'true' and '$(Scope)' == 'all'" />
203+
<Message Importance="high" Text="Running Static Analyser" />
203204
<CallTarget targets="DependencyAnalysis" ContinueOnError="ErrorAndContinue" />
204205
<Exec Command="$(PowerShellCommand) -NonInteractive -NoLogo -NoProfile -Command &quot;. $(LibraryToolsFolder)\CleanupBuild.ps1 -BuildConfig $(Configuration) &quot;" />
205206
</Target>

documentation/Using-Azure-TestFramework.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ In order to debug test set the following environment variables before starting V
120120
* Password
121121
* ServicePrincipal
122122
* ServicePrincipalSecret
123-
* Environment={Prod | DogFood | Next | Current | Custom}
123+
* Environment={Prod | Dogfood | Next | Current | Custom}
124124
* RawToken
125125
* RawGraphToken
126126
* HttpRecorderMode={Record | Playback}

0 commit comments

Comments
 (0)