Skip to content

Commit c847f43

Browse files
author
cormacpayne
authored
Merge pull request #2748 from cormacpayne/master
Release 2.0.0
2 parents cdd7181 + 50a64a6 commit c847f43

File tree

1,633 files changed

+543706
-418173
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,633 files changed

+543706
-418173
lines changed

AzurePowershell.Test.targets

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
<BatchTestDebug>.\src\ResourceManager\AzureBatch\Commands.Batch.Test\bin\Debug\Microsoft.Azure.Commands.Batch.Test.dll</BatchTestDebug>
2727
<WebsitesTestDebug>.\src\ResourceManager\Websites\Commands.Websites.Test\bin\Debug\Microsoft.Azure.Commands.Websites.Test.dll</WebsitesTestDebug>
2828
<LogicAppTestDebug>.\src\ResourceManager\LogicApp\Commands.LogicApp.Test\bin\Debug\Microsoft.Azure.Commands.LogicApp.Test.dll</LogicAppTestDebug>
29+
<SchedulerTestDebug>.\src\ResourceManager\Scheduler\Commands.Scheduler.Test\bin\Debug\Microsoft.Azure.Commands.Scheduler.Test.dll</SchedulerTestDebug>
2930
<RemoteAppTestDebug>.\src\ServiceManagement\RemoteApp\Commands.RemoteApp.Test\bin\Debug\Microsoft.Azure.Commands.RemoteApp.Tests.dll</RemoteAppTestDebug>
3031
<ServiceManagementTestDebug>.\src\ServiceManagement\Compute\Commands.ServiceManagement.Test\bin\Debug\Microsoft.WindowsAzure.Commands.ServiceManagement.Test.dll</ServiceManagementTestDebug>
3132
<SqlDatabaseTestDebug>.\src\ServiceManagement\Sql\Commands.SqlDatabase.Test\bin\Debug\Microsoft.WindowsAzure.Commands.SqlDatabase.Test.dll</SqlDatabaseTestDebug>
@@ -81,6 +82,7 @@
8182
<XUnitTests Include=".\src\ResourceManager\AzureBatch\Commands.Batch.Test\bin\Debug\Microsoft.Azure.Commands.Batch.Test.dll"/>
8283
<XUnitTests Include=".\src\ResourceManager\Websites\Commands.Websites.Test\bin\Debug\Microsoft.Azure.Commands.Websites.Test.dll"/>
8384
<XUnitTests Include=".\src\ResourceManager\LogicApp\Commands.LogicApp.Test\bin\Debug\Microsoft.Azure.Commands.LogicApp.Test.dll"/>
85+
<XUnitTests Include=".\src\ResourceManager\Scheduler\Commands.Scheduler.Test\bin\Debug\Microsoft.Azure.Commands.Scheduler.Test.dll"/>
8486
<XUnitTests Include=".\src\ResourceManager\KeyVault\Commands.KeyVault.Test\bin\Debug\Microsoft.Azure.Commands.KeyVault.Test.dll"/>
8587
<XUnitTests Include=".\src\ResourceManager\UsageAggregates\Commands.UsageAggregates.Test\bin\Debug\Microsoft.Azure.Commands.UsageAggregates.Test.dll"/>
8688
<XUnitTests Include=".\src\ResourceManager\TrafficManager\Commands.TrafficManager2.Test\bin\Debug\Microsoft.Azure.Commands.TrafficManager.Test.ScenarioTests.dll"/>
@@ -209,6 +211,10 @@
209211
IncludeTraits="$(XUnitIncludedTrait)" MaxParallelThreads="0" ParallelizeAssemblies="false" ParallelizeTestCollections="false" />
210212
</Target>
211213

214+
<Target Name="TestScheduler">
215+
<Xunit.Runner.MSBuild.xunit Assemblies="$(SchedulerTestDebug)" Html="$(TestOutputDirectory)\SchedulerTestDebug.xunit.dll.html" Verbose="false"
216+
IncludeTraits="$(XUnitIncludedTrait)" MaxParallelThreads="0" ParallelizeAssemblies="false" ParallelizeTestCollections="false" />
217+
</Target>
212218

213219
<Target Name="TestDataFactoryManager">
214220
<Xunit.Runner.MSBuild.xunit Assemblies="$(DataFactoryManagerTestDebug)" Html="$(TestOutputDirectory)\DataFactoryManagerTestDebug.xunit.dll.html" Verbose="false"

ChangeLog.md

Lines changed: 169 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,172 @@
1-
##2016.07.11 version 1.6.0
1+
##2016.08.03 version 2.0.0
2+
* This release contains breaking changes. Please see [the migration guide](documentation/release-notes/migration-guide.2.0.0.md) for change details and the impact on existing scripts.
3+
* Removal of Force parameters that were marked as obsolete in the previous release
4+
* ApiManagement
5+
- Remove-AzureRmApiManagement
6+
- Remove-AzureRmApiManagementApi
7+
- Remove-AzureRmApiManagementGroup
8+
- Remove-AzureRmApiManagementLogger
9+
- Remove-AzureRmApiManagementOpenIdConnectProvider
10+
- Remove-AzureRmApiManagementOperation
11+
- Remove-AzureRmApiManagementPolicy
12+
- Remove-AzureRmApiManagementProduct
13+
- Remove-AzureRmApiManagementProperty
14+
- Remove-AzureRmApiManagementSubscription
15+
- Remove-AzureRmApiManagementUser
16+
* Automation
17+
- Remove-AzureRmAutomationCertificate
18+
- Remove-AzureRmAutomationCredential
19+
- Remove-AzureRmAutomationVariable
20+
- Remove-AzureRmAutomationWebhook
21+
* Batch
22+
- Remove-AzureBatchCertificate
23+
- Remove-AzureBatchComputeNode
24+
- Remove-AzureBatchComputeNodeUser
25+
* DataFactories
26+
- Resume-AzureRmDataFactoryPipeline
27+
- Set-AzureRmDataFactoryPipelineActivePeriod
28+
- Suspend-AzureRmDataFactoryPipeline
29+
* DataLakeStore
30+
- Remove-AzureRmDataLakeStoreItemAclEntry
31+
- Set-AzureRmDataLakeStoreItemAcl
32+
- Set-AzureRmDataLakeStoreItemAclEntry
33+
- Set-AzureRmDataLakeStoreItemOwner
34+
* OperationalInsights
35+
- Remove-AzureRmOperationalInsightsSavedSearch
36+
* Profile
37+
- Remove-AzureRmEnvironment
38+
* RedisCache
39+
- Remove-AzureRmRedisCacheDiagnostics
40+
* Resources
41+
- Register-AzureRmProviderFeature
42+
- Register-AzureRmResourceProvider
43+
- Remove-AzureRmADServicePrincipal
44+
- Remove-AzureRmPolicyAssignment
45+
- Remove-AzureRmResourceGroupDeployment
46+
- Remove-AzureRmRoleAssignment
47+
- Stop-AzureRmResourceGroupDeployment
48+
- Unregister-AzureRmResourceProvider
49+
* Storage
50+
- Remove-AzureStorageContainerStoredAccessPolicy
51+
- Remove-AzureStorageQueueStoredAccessPolicy
52+
- Remove-AzureStorageShareStoredAccessPolicy
53+
- Remove-AzureStorageTableStoredAccessPolicy
54+
* StreamAnalytics
55+
- Remove-AzureRmStreamAnalyticsFunction
56+
- Remove-AzureRmStreamAnalyticsInput
57+
- Remove-AzureRmStreamAnalyticsJob
58+
- Remove-AzureRmStreamAnalyticsOutput
59+
* Tag
60+
- Remove-AzureRmTag
61+
* Changed `Tags` parameter name to `Tag`, and changed the parameter type from `HashTable[]` to `HashTable` for the following cmdlets
62+
* Batch
63+
- Get-AzureRmBatchAccount
64+
- New-AzureRmBatchAccount
65+
- Set-AzureRmBatchAccount
66+
* Compute
67+
- New-AzureRmVM
68+
- Update-AzureRmVM
69+
* DataLakeAnalytics
70+
- New-AzureRmDataLakeAnalyticsAccount
71+
- Set-AzureRmDataLakeAnalyticsAccount
72+
* DataLakeStore
73+
- New-AzureRmDataLakeStoreAccount
74+
- Set-AzureRmDataLakeStoreAccount
75+
* Dns
76+
- New-AzureRmDnsZone
77+
- Set-AzureRmDnsZone
78+
* KeyVault
79+
- Get-AzureRmKeyVault
80+
- New-AzureRmKeyVault
81+
* Network
82+
- New-AzureRmApplicationGateway
83+
- New-AzureRmExpressRouteCircuit
84+
- New-AzureRmLoadBalancer
85+
- New-AzureRmLocalNetworkGateway
86+
- New-AzureRmNetworkInterface
87+
- New-AzureRmNetworkSecurityGroup
88+
- New-AzureRmPublicIpAddress
89+
- New-AzureRmRouteTable
90+
- New-AzureRmVirtualNetwork
91+
- New-AzureRmVirtualNetworkGateway
92+
- New-AzureRmVirtualNetworkGatewayConnection
93+
- New-AzureRmVirtualNetworkPeering
94+
* Resources
95+
- Find-AzureRmResource
96+
- Find-AzureRmResourceGroup
97+
- New-AzureRmResource
98+
- New-AzureRmResourceGroup
99+
- Set-AzureRmResource
100+
- Set-AzureRmResourceGroup
101+
* SQL
102+
- New-AzureRmSqlDatabase
103+
- New-AzureRmSqlDatabaseCopy
104+
- New-AzureRmSqlDatabaseSecondary
105+
- New-AzureRmSqlElasticPool
106+
- New-AzureRmSqlServer
107+
- Set-AzureRmSqlDatabase
108+
- Set-AzureRmSqlElasticPool
109+
- Set-AzureRmSqlServer
110+
* Storage
111+
- New-AzureRmStorageAccount
112+
- Set-AzureRmStorageAccount
113+
* TrafficManager
114+
- New-AzureRmTrafficManagerProfile
115+
* Azure Redis Cache
116+
* New cmdlet added for New-AzureRmRedisCacheScheduleEntry
117+
* New cmdlet added for New-AzureRmRedisCachePatchSchedule
118+
* New cmdlet added for Get-AzureRmRedisCachePatchSchedule
119+
* New cmdlet added for Remove-AzureRmRedisCachePatchSchedule
120+
* Azure Resource Manager
121+
* Tag parameter type has been changed for all cmdlets which used it. The type has been changed from HashTable[] to HashTable. To create a new tag object, do as follows: `@{tagName1='tagValue1'}` instead of `@{Name='tagName1';Value='tagValue1'}`
122+
* Fixed an issue with Get-AzureRmResourceProvider cmdlet to support querying based on global locations through the Location parameter
123+
* Removed all deprecation warning messages
124+
* Azure Storage
125+
* Get-AzureRmStorageAccountKey
126+
- Cmdlet now returns a list of keys, rather than an object with properties for each key
127+
* New-AzureRmStorageAccountKey
128+
- `StorageAccountRegenerateKeyResponse` field in output of this cmdlet is renamed to `StorageAccountListKeysResults`, which is now a list of keys rather than an object with properties for each key
129+
* New/Get/Set-AzureRmStorageAccount
130+
- `AccountType` field in output of cmdlet is renamed to `Sku.Name`
131+
- Output type for PrimaryEndpoints/Secondary endpoints blob/table/queue/file changed from `Uri` to `String`
132+
* Change -Tag parameter type from HashTable[] to HashTable
133+
- New-AzureRmStorageAccount
134+
- Set-AzureRmStorageAccount
135+
* Added ShouldProcess support
136+
- Set-AzureStorageContainerStoredAccessPolicy
137+
- Set-AzureStorageShareStoredAccessPolicy
138+
- Set-AzureStorageQueueStoredAccessPolicy
139+
- Set-AzureStorageTableStoredAccessPolicy
140+
* Downgraded ConfirmImpact to Medium
141+
- Remove-AzureStorageBlob
142+
- Remove-AzureStorageContainer
143+
- Remove-AzureStorageContainerStoredAccessPolicy
144+
- Remove-AzureStorageFile
145+
- Remove-AzureStorageShare
146+
- Remove-AzureStorageShareStoredAccessPolicy
147+
- Remove-AzureStorageQueue
148+
- Remove-AzureStorageQueueStoredAccessPolicy
149+
- Remove-AzureStorageTable
150+
- Remove-AzureStorageTableStoredAccessPolicy
151+
* Add support for ShouldProcess and -Force parameter to supress confirmation
152+
- Remove-AzureRmStorageAccount
153+
- Set-AzureRmStorageAccount
154+
* Confirmation needed only when there's data in the Container/Table to delete (suppress with -Force)
155+
- Remove-AzureStorageContainer
156+
- Remove-AzureStorageTable
157+
* Azure Batch
158+
* Add virtual network support
159+
- New-AzureBatchPool
160+
* Change -Tag parameter type from HashTable[] to HashTable
161+
- Set-AzureRmBatchAccount
162+
- New-AzureRmBatchAccount
163+
- Get-AzureRmBatchAccount
164+
* Azure Sql
165+
* Extended the auditing cmdlets to support management of blob auditing, both at the database and at the server level
166+
167+
168+
169+
##2016.07.11 version 1.6.0
2170
* **Behavioral change for -Force, –Confirm and $ConfirmPreference parameters for all cmdlets. We are changing this implementation to be in line with PowerShell guidelines. For most cmdlets, this means removing the Force parameter and to skip the ShouldProcess prompt, users will need to include the parameter: ‘-Confirm:$false’ in their PowerShell scripts.** This changes are addressing following issues:
3171
* Correct implementation of –WhatIf functionality, allowing a user to determine the effects of a cmdlet or script without making any actual changes
4172
* Control over prompting using a session-wide $ConfirmPreference, so that the user is prompted based on the impact of a prospective change (as reported in the ConfirmImpact setting in the cmdlet)

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ This repository contains a set of PowerShell cmdlets for developers and administ
4545
* Cloud Service: CRUD cloud service.
4646
* Windows Azure Stack
4747
* Azure Stack Administration
48-
* Storage Servcie Management
48+
* Storage Service Management
4949

5050

5151
For detail descriptions and examples of the cmdlets, type
@@ -75,7 +75,7 @@ You can also find the standalone installers for all the versions at [Downloads](
7575
1. Install [Windows Management Framework 5 with PowerShellGet cmdlets](https://www.powershellgallery.com/GettingStarted?section=Get%20Started)
7676
2. In an elevated PowerShell session, run ```Install-Module AzureRM```
7777
3. Run ```Install-AzureRm```
78-
4. Top install RDFE cmdlets, run ```Install-Module Azure```
78+
4. To install RDFE cmdlets, run ```Install-Module Azure```
7979

8080
### Source Code
8181

@@ -90,7 +90,7 @@ You can also find the standalone installers for all the versions at [Downloads](
9090

9191
## Get Started
9292

93-
In general, following are the steps to start using Microsoft Azure PowerShell
93+
In general, follow these steps to start using Microsoft Azure PowerShell
9494

9595
* Get yourself authenticated with Microsoft Azure. For details, please check out [this article](https://azure.microsoft.com/en-us/documentation/articles/install-configure-powershell/).
9696
* Option 1: Login with your Microsoft account or Organizational account directly from PowerShell. Microsoft Azure Active Directory authentication is used in this case. No management certificate is needed.
@@ -102,7 +102,7 @@ The first step can be different for different environment you are targeting. Fol
102102

103103
### Microsoft Azure
104104

105-
If you use both mechanisms on the same subscription, Microsoft Azure Active Directory authentication always wins. If you want to go back to management certificate authentication, please use ``Remove-AzureAccount``, which will remove the Microsoft Azure Active Directory information and bring management certificate authentication back in.
105+
If you use both mechanisms on the same subscription, Microsoft Azure Active Directory authentication always wins. If you want to go back to management certificate authentication, please use ```Remove-AzureAccount```, which will remove the Microsoft Azure Active Directory information and bring management certificate authentication back in.
106106

107107
#### Login directly from PowerShell (Microsoft Azure Active Directory authentication)
108108

@@ -165,12 +165,12 @@ New-WAPackWebsite -Name mywebsite
165165

166166
All the cmdlets can be put into 3 categories:
167167

168-
1. ARM management cmdlets use the noun 'AzureRm' (New-AzureRmResourceGroup, Get-AzureRmVM)
169-
2. Legacy RDFE management cmdlets use the noun 'Azure' (Get-AzureVM)
170-
3. Data plane cmdlets that work in ARM or RDFE use the noun Azure (Get-AzureBlob)
168+
1. ARM management cmdlets use the 'AzureRm' prefix (New-AzureRmResourceGroup, Get-AzureRmVM)
169+
2. Legacy RDFE management cmdlets use the 'Azure' prefix (Get-AzureVM)
170+
3. Data plane cmdlets that work in ARM or RDFE use the 'Azure' prefix (Get-AzureBlob)
171171

172172

173-
So you can use the following cmdlet to find out all the cmdlets for your environment
173+
You can use the following cmdlet to find out all the cmdlets for your environment
174174

175175
```powershell
176176
# Return all the cmdlets for Azure Resource Manager (ARM)

0 commit comments

Comments
 (0)