Skip to content

Commit 2729add

Browse files
committed
Merge branch 'preview' of https://github.com/MSSedusch/azure-powershell into preview
2 parents a56794b + fd8d001 commit 2729add

File tree

2,019 files changed

+139296
-45000
lines changed

Some content is hidden

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

2,019 files changed

+139296
-45000
lines changed

AzurePowershell.Test.targets

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,8 @@
6565
<AsmXUnitTests Include=".\src\ServiceManagement\Common\Commands.ScenarioTest\bin\Debug\Microsoft.WindowsAzure.Commands.ScenarioTest.dll"/>
6666
<AsmXUnitTests Include=".\src\ServiceManagement\RecoveryServices\Commands.RecoveryServices.Test\bin\Debug\Microsoft.Azure.Commands.RecoveryServices.Test.dll"/>
6767
<AsmXUnitTests Include=".\src\ServiceManagement\Network\Commands.Network.Test\bin\Debug\Microsoft.WindowsAzure.Commands.ServiceManagement.Network.Test.dll"/>
68-
</ItemGroup>
68+
<AsmXUnitTests Include=".\src\Storage\Commands.Storage.Test\bin\Debug\Microsoft.WindowsAzure.Commands.Storage.Test.dll"/>
69+
</ItemGroup>
6970
<ItemGroup Condition=" '$(scope)' == 'all' ">
7071
<XUnitTests Include=".\tools\StaticAnalysis\StaticAnalysis.Test\bin\Debug\StaticAnalysis.Test.dll"/>
7172
<XUnitTests Include=".\src\ResourceManager\ApiManagement\Commands.ApiManagement.Test\bin\Debug\Microsoft.Azure.Commands.ApiManagement.Test.dll"/>
@@ -77,6 +78,7 @@
7778
<XUnitTests Include=".\src\ResourceManager\CognitiveServices\CognitiveServices.Test\bin\Debug\Microsoft.Azure.Commands.Management.CognitiveServices.Test.dll"/>
7879
<XUnitTests Include=".\src\ResourceManager\ContainerRegistry\Commands.ContainerRegistry.Test\bin\Debug\Microsoft.Azure.Commands.ContainerRegistry.Test.dll"/>
7980
<XUnitTests Include=".\src\ResourceManager\Compute\Commands.Compute.Test\bin\Debug\Microsoft.Azure.Commands.Compute.Test.dll"/>
81+
<XUnitTests Include=".\src\ResourceManager\Consumption\Commands.Consumption.Test\bin\Debug\Microsoft.Azure.Commands.Consumption.Test.dll"/>
8082
<XUnitTests Include=".\src\ResourceManager\DataFactories\Commands.DataFactories.Test\bin\Debug\Microsoft.Azure.Commands.DataFactories.Test.dll"/>
8183
<XUnitTests Include=".\src\ResourceManager\DataLakeAnalytics\Commands.DataLakeAnalytics.Test\bin\Debug\Microsoft.Azure.Commands.DataLakeAnalytics.Test.dll"/>
8284
<XUnitTests Include=".\src\ResourceManager\DataLakeStore\Commands.DataLakeStore.Test\bin\Debug\Microsoft.Azure.Commands.DataLake.Test.dll"/>
@@ -88,6 +90,8 @@
8890
<XUnitTests Include=".\src\ResourceManager\KeyVault\Commands.KeyVault.Test\bin\Debug\Microsoft.Azure.Commands.KeyVault.Test.dll"/>
8991
<XUnitTests Include=".\src\ResourceManager\ServiceFabric\Commands.ServiceFabric.Test\bin\Debug\Microsoft.Azure.Commands.ServiceFabric.Test.dll"/>
9092
<XUnitTests Include=".\src\ResourceManager\LogicApp\Commands.LogicApp.Test\bin\Debug\Microsoft.Azure.Commands.LogicApp.Test.dll"/>
93+
<!-- <XUnitTests Include=".\src\ResourceManager\MachineLearning\Commands.MachineLearning.Test\bin\Debug\Microsoft.Azure.Commands.MachineLearning.Test.dll"/> -->
94+
<!-- <XUnitTests Include=".\src\ResourceManager\Media\Commands.Media.Test\bin\Debug\Microsoft.Azure.Commands.Media.Test.dll"/> -->
9195
<XUnitTests Include=".\src\ResourceManager\Network\Commands.Network.Test\bin\Debug\Microsoft.Azure.Commands.Network.Test.dll"/>
9296
<XUnitTests Include=".\src\ResourceManager\NotificationHubs\Commands.NotificationHubs.Test\bin\Debug\Microsoft.Azure.Commands.NotificationHubs.Test.dll"/>
9397
<XUnitTests Include=".\src\ResourceManager\OperationalInsights\Commands.OperationalInsights.Test\bin\Debug\Microsoft.Azure.Commands.OperationalInsights.Test.dll"/>
@@ -99,6 +103,7 @@
99103
<XUnitTests Include=".\src\ResourceManager\Resources\Commands.Resources.Test\bin\Debug\Microsoft.Azure.Commands.Resources.Test.dll"/>
100104
<XUnitTests Include=".\src\ResourceManager\Scheduler\Commands.Scheduler.Test\bin\Debug\Microsoft.Azure.Commands.Scheduler.Test.dll"/>
101105
<!-- <XUnitTests Include=".\src\ResourceManager\ServerManagement\Commands.ServerManagement.Test\bin\Debug\Microsoft.Azure.Commands.ServerManagement.Test.dll"/> -->
106+
<!-- <XUnitTests Include=".\src\ResourceManager\ServiceFabric\Commands.ServiceFabric.Test\bin\Debug\Microsoft.Azure.Commands.ServiceFabric.Test.dll"/> -->
102107
<XUnitTests Include=".\src\ResourceManager\SiteRecovery\Commands.SiteRecovery.Test\bin\Debug\Microsoft.Azure.Commands.SiteRecovery.Test.dll"/>
103108
<XUnitTests Include=".\src\ResourceManager\Sql\Commands.Sql.Test\bin\Debug\Microsoft.Azure.Commands.Sql.Test.dll"/>
104109
<XUnitTests Include=".\src\ResourceManager\Storage\Commands.Management.Storage.Test\bin\Debug\Microsoft.Azure.Commands.Management.Storage.Test.dll"/>
@@ -109,6 +114,7 @@
109114
<XUnitTests Include=".\src\Common\Commands.Common.Authentication.Test\bin\Debug\Microsoft.Azure.Commands.Common.Authentication.Test.dll"/>
110115
<XUnitTests Include=".\src\ResourceManager\ServiceBus\Commands.ServiceBus.Test\bin\Debug\Microsoft.Azure.Commands.ServiceBus.Test.dll"/>
111116
<XUnitTests Include=".\src\ResourceManager\EventHub\Commands.EventHub.Test\bin\Debug\Microsoft.Azure.Commands.EventHubs.Test.dll"/>
117+
<XUnitTests Include=".\src\ResourceManager\Relay\Commands.Relay.Test\bin\Debug\Microsoft.Azure.Commands.Relay.Test.dll"/>
112118
<XUnitTests Include="@(AsmXUnitTests)"/>
113119
</ItemGroup>
114120
<ItemGroup Condition=" '$(scope)' == 'ServiceManagement' ">

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
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

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

30313216
2011.12.09 Version 0.5.0
3032-
* Initial Release
3217+
* Initial Release

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,8 @@ Be sure to check out the [Microsoft Azure Developer Forums on Stack Overflow](ht
196196

197197
If you would like to become an active contributor to this project please follow the instructions provided in [Microsoft Azure Projects Contribution Guidelines](https://azure.github.io/guidelines/).
198198

199+
More information about contributing to this repo can be found in [CONTRIBUTING md](https://github.com/Azure/azure-powershell/blob/preview/CONTRIBUTING.md) and the [Documentation](https://github.com/Azure/azure-powershell/tree/preview/documentation) folder.
200+
199201
If you encounter any bugs with the library please file an issue in the [Issues](https://github.com/Azure/azure-powershell/issues) section of the project.
200202

201203
# Learn More

0 commit comments

Comments
 (0)