Skip to content

Commit 2af05ef

Browse files
authored
Merge pull request #4943 from Azure/master
Merge master --> preview
2 parents afe4928 + b027f4b commit 2af05ef

File tree

2,810 files changed

+3185565
-512589
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,810 files changed

+3185565
-512589
lines changed

ChangeLog.md

Lines changed: 161 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,164 @@
1-
## 2017.10.12 - Version 4.4.1
1+
## 2017.11.8 - Version 5.0.0
2+
* NOTE: This is a breaking change release. Please see the migration guide (https://aka.ms/azps-migration-guide) for a full list of introduced breaking changes.
3+
* All cmdlets in AzureRM now support online help
4+
- Run Get-Help with the -Online parameter to open the online help in your default Internet browser
5+
* AnalysisServices
6+
* Fixed Synchronize-AzureAsInstance command to work with new AsAzure REST API for sync
7+
* ApiManagement
8+
* Please see the migration guide for breaking changes made to ApiManagement this release
9+
* Updated Cmdlet Get-AzureRmApiManagementUser to fix issue https://github.com/Azure/azure-powershell/issues/4510
10+
* Updated Cmdlet New-AzureRmApiManagementApi to create Api with Empty Path https://github.com/Azure/azure-powershell/issues/4069
11+
* ApplicationInsights
12+
* Add commands to get/create/remove applicaiton insights resource
13+
- Get-AzureRmApplicationInsights
14+
- New-AzureRmApplicationInsights
15+
- Remove-AzureRmApplicationInsights
16+
* Add commands to get/update pricing/daily cap of applicaiton insights resource
17+
- Get-AzureRmApplicationInsights -IncludeDailyCap
18+
- Set-AzureRmApplicationInsightsPricingPlan
19+
- Set-AzureRmApplicationInsightsDailyCap
20+
* Add commands to get/create/update/remove continuous export of applicaiton insights resource
21+
- Get-AzureRmApplicationInsightsContinuousExport
22+
- Set-AzureRmApplicationInsightsContinuousExport
23+
- New-AzureRmApplicationInsightsContinuousExport
24+
- Remove-AzureRmApplicationInsightsContinuousExport
25+
* Add commands to get/create/remove api keys of applicaiton insights resoruce
26+
- Get-AzureRmApplicationInsightsApiKey
27+
- New-AzureRmApplicationInsightsApiKey
28+
- Remove-AzureRmApplicationInsightsApiKey
29+
* AzureBatch
30+
* Added new parameters to `New-AzureRmBatchAccount`.
31+
- `PoolAllocationMode`: The allocation mode to use for creating pools in the Batch account. To create a Batch account which allocates pool nodes in the user's subscription, set this to `UserSubscription`.
32+
- `KeyVaultId`: The resource ID of the Azure key vault associated with the Batch account.
33+
- `KeyVaultUrl`: The URL of the Azure key vault associated with the Batch account.
34+
* Updated parameters to `New-AzureBatchTask`.
35+
- Removed the `RunElevated` switch. The `UserIdentity` parameter has been added to replace `RunElevated`, and the equivalent behavior can be achieved by constructing a `PSUserIdentity` as shown below:
36+
- $autoUser = New-Object Microsoft.Azure.Commands.Batch.Models.PSAutoUserSpecification -ArgumentList @("Task", "Admin")
37+
- $userIdentity = New-Object Microsoft.Azure.Commands.Batch.Models.PSUserIdentity $autoUser
38+
- Added the `AuthenticationTokenSettings` parameter. This parameter allows you to request the Batch service provide an authentication token to the task when it runs, avoiding the need to pass Batch account keys to the task in order to issue requests to the Batch service.
39+
- Added the `ContainerSettings` parameter.
40+
- This parameter allows you to request the Batch service run the task inside a container.
41+
- Added the `OutputFiles` parameter.
42+
- This parameter allows you to configure the task to upload files to Azure Storage after it has finished.
43+
* Updated parameters to `New-AzureBatchPool`.
44+
- Added the `UserAccounts` parameter.
45+
- This parameter defines user accounts created on each node in the pool.
46+
- Added `TargetLowPriorityComputeNodes` and renamed `TargetDedicated` to `TargetDedicatedComputeNodes`.
47+
- A `TargetDedicated` alias was created for the `TargetDedicatedComputeNodes` parameter.
48+
- Added the `NetworkConfiguration` parameter.
49+
- This parameter allows you to configure the pools network settings.
50+
* Updated parameters to `New-AzureBatchCertificate`.
51+
- The `Password` parameter is now a `SecureString`.
52+
* Updated parameters to `New-AzureBatchComputeNodeUser`.
53+
- The `Password` parameter is now a `SecureString`.
54+
* Updated parameters to `Set-AzureBatchComputeNodeUser`.
55+
- The `Password` parameter is now a `SecureString`.
56+
* Renamed the `Name` parameter to `Path` on `Get-AzureBatchNodeFile`, `Get-AzureBatchNodeFileContent`, and `Remove-AzureBatchNodeFile`.
57+
- A `Name` alias was created for the `Path` parameter.
58+
* Changes to objects
59+
- Please see the Batch change log for the full list
60+
* Added support for Azure Active Directory based authentication.
61+
- To use Azure Active Directory authentication, retrieve a `BatchAccountContext` object using the `Get-AzureRmBatchAccount` cmdlet, and supply this `BatchAccountContext` to the `-BatchContext` parameter of a Batch service cmdlet. Azure Active Directory authentication is mandatory for accounts with `PoolAllocationMode = UserSubscription`.
62+
- For existing accounts or for new accounts created with `PoolAllocationMode = BatchService`, you may continue to use shared key authentication by retrieving a `BatchAccountContext` object using the `Get-AzureRmBatchAccoutKeys` cmdlet.
63+
* Compute
64+
* Azure Disk Encryption Extension Commands
65+
- New Parameter for 'Set-AzureRmVmDiskEncryptionExtension': '-EncryptFormatAll' encrypt formats data disks
66+
- New Parameters for 'Set-AzureRmVmDiskEncryptionExtension': '-ExtensionPublisherName' and '-ExtensionType' allow switching to other versions of the extension
67+
- New Parameters for 'Disable-AzureRmVmDiskEncryption': '-ExtensionPublisherName' and '-ExtensionType' allow switching to other versions of the extension
68+
- New Parameters for 'Get-AzureRmVmDiskEncryptionStatus': '-ExtensionPublisherName' and '-ExtensionType' allow switching to other versions of the extension
69+
* DataLakeAnalytics
70+
* Please see the migration guide for breaking changes made to DataLakeAnalytics this release
71+
* Changed one of the two OutputTypes of Get-AzureRmDataLakeAnalyticsAccount
72+
- List\<DataLakeAnalyticsAccount> to List\<PSDataLakeAnalyticsAccountBasic>
73+
- The properties of PSDataLakeAnalyticsAccountBasic is a strict subset of the properties of DataLakeAnalyticsAccount
74+
- The additional properties that are in DataLakeAnalyticsAccount are not returned by the service. Therefore, this change is to reflect this accurately. These additional properties are still in PSDataLakeAnalyticsAccountBasic, but they are tagged as Obsolete.
75+
* Changed one of the two OutputTypes of Get-AzureRmDataLakeAnalyticsJob
76+
- List\<JobInformation> to List\<PSJobInformationBasic>
77+
- The properties of PSJobInformationBasic is a strict subset of the properties of JobInformation
78+
- The additional properties that are in JobInformation are not returned by the service. Therefore, this change is to reflect this accurately. These additional properties are still in PSJobInformationBasic, but they are tagged as Obsolete.
79+
* DataLakeStore
80+
* Please see the migration guide for breaking changes made to DataLakeStore this release
81+
* Changed one of the two OutputTypes of Get-AzureRmDataLakeStoreAccount
82+
- List\<PSDataLakeStoreAccount> to List\<PSDataLakeStoreAccountBasic>
83+
- The properties of PSDataLakeStoreAccountBasic is a strict subset of the properties of PSDataLakeStoreAccount
84+
- The additional properties that are in PSDataLakeStoreAccount are not returned by the service. Therefore, this change is to reflect this accurately. These additional properties are still in PSDataLakeStoreAccountBasic, but they are tagged as Obsolete.
85+
* Dns
86+
* Support for CAA record types in Azure DNS
87+
- Supports all operations on CAA record type
88+
* EventHub
89+
* Please see the migration guide for breaking changes made to EventHub this release
90+
* Insights
91+
* Please see the migration guide for breaking changes made to Insights this release
92+
* Network
93+
* Please see the migration guide for breaking changes made to Network this release
94+
* Added cmdlet to list available internet service providers for a specified Azure region
95+
- Get-AzureRmNetworkWatcherReachabilityProvidersList
96+
* Added cmdlet to get the relative latency score for internet service providers from a specified location to Azure regions
97+
- Get-AzureRmNetworkWatcherReachabilityReport
98+
* Profile
99+
- Set-AzureRmDefault
100+
- Use this cmdlet to set a default resource group. This will make the -ResourceGroup parameter optional for some cmdlets, and will use the default when a resource group is not specified
101+
- ```Set-AzureRmDefault -ResourceGroupName "ExampleResourceGroup"```
102+
- If resource group specified exists in the subscription, this resource group will be set to default. Otherwise, the resource group will be created and then set to default.
103+
- Get-AzureRmDefault
104+
- Use this cmdlet to get the current default resource group (and other defaults in the future).
105+
- ```Get-AzureRmDefault -ResourceGroup```
106+
- Clear-AzureRmDefault
107+
- Use this cmdlet to remove the current default resource group
108+
- ```Clear-AzureRmDefault -ResourceGroup```
109+
- Add-AzureRmEnvironment and Set-AzureRmEnvironment
110+
- Add the BatchAudience parameter, which allows you to specify the Azure Batch Active Directory audience to use when acquiring authentication tokens for the Batch service.
111+
* RecoveryServices.Backup
112+
* Added cmdlets to perform instant file recovery.
113+
- Get-AzureRmRecoveryServicesBackupRPMountScript
114+
- Disable-AzureRmRecoveryServicesBackupRPMountScript
115+
* Updated RecoveryServices.Backup SDK version to the latest
116+
* Updated tests for the Azure VM workload so that, all setups needed for test runs are done by the tests themselves.
117+
* Fixes https://github.com/Azure/azure-powershell/issues/3164
118+
* RecoveryServices.SiteRecovery
119+
* Changes for ASR VMware to Azure Site Recovery (cmdlets are currently supporting operations for Enterprise to Enterprise, Enterprise to Azure, HyperV to Azure)
120+
- New-AzureRmRecoveryServicesAsrPolicy
121+
- New-AzureRmRecoveryServicesAsrProtectedItem
122+
- Update-AzureRmRecoveryServicesAsrPolicy
123+
- Update-AzureRmRecoveryServicesAsrProtectionDirection
124+
* Added support to AAD-based vault
125+
* Added cmdlets to manage VCenter resources
126+
- Get-AzureRmRecoveryServicesAsrVCenter
127+
- New-AzureRmRecoveryServicesAsrVCenter
128+
- Remove-AzureRmRecoveryServicesAsrVCenter
129+
- Update-AzureRmRecoveryServicesAsrVCenter
130+
* Added other cmdlets
131+
- Get-AzureRmRecoveryServicesAsrAlertSetting
132+
- Get-AzureRmRecoveryServicesAsrEvent
133+
- New-AzureRmRecoveryServicesAsrProtectableItem
134+
- Set-AzureRmRecoveryServicesAsrAlertSetting
135+
- Start-AzureRmRecoveryServicesAsrResynchronizeReplicationJob
136+
- Start-AzureRmRecoveryServicesAsrSwitchProcessServerJob
137+
- Start-AzureRmRecoveryServicesAsrTestFailoverCleanupJob
138+
- Update-AzureRmRecoveryServicesAsrMobilityService
139+
* ServiceBus
140+
- Please see the migration guide for breaking changes made to ServiceBus this release
141+
* Sql
142+
* Adding support for list and cancel the asynchronous updateslo operation on the database
143+
- update existing cmdlet Get-AzureRmSqlDatabaseActivity to return DB updateslo operation status.
144+
- add new cmdlet Stop-AzureRmSqlDatabaseActivity for cancel the asynchronous updateslo operation on the database.
145+
* Adding support for Zone Redundancy for databases and elastic pools
146+
- Adding ZoneRedundant switch parameter to New-AzureRmSqlDatabase
147+
- Adding ZoneRedundant switch parameter to Set-AzureRmSqlDatabase
148+
- Adding ZoneRedundant switch parameter to New-AzureRmSqlElasticPool
149+
- Adding ZoneRedundant switch parameter to Set-AzureRmSqlElasticPool
150+
* Adding support for Server DNS Aliases
151+
- Adding Get-AzureRmSqlServerDnsAlias cmdlet which gets server dns aliases by server and alias name or a list of server dns aliases for an azure Sql Server.
152+
- Adding New-AzureRmSqlServerDnsAlias cmdlet which creates new server dns alias for a given Azure Sql server
153+
- Adding Set-AzurermSqlServerDnsAlias cmlet which allows updating a Azure Sql Server to which server dns alias is pointing
154+
- Adding Remove-AzureRmSqlServerDnsAlias cmdlet which removes a server dns alias for a Azure Sql Server
155+
* Azure.Storage
156+
* Upgrade to Azure Storage Client Library 8.5.0 and Azure Storage DataMovement Library 0.6.3
157+
* Add File Share Snapshot Support Feature
158+
- Add 'SnapshotTime' parameter to Get-AzureStorageShare
159+
- Add 'IncludeAllSnapshot' parameter to Remove-AzureStorageShare
160+
161+
## 2017.10.12 - Version 4.4.1
2162
* AzureBatch
3163
- Marked cmdlet parameters and type properties obsolete in
4164
preparation for upcoming breaking change release (Version 4.0.0)

appveyor.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
clone_folder: c:\ps
12
branches:
23
only:
34
- master
@@ -7,6 +8,11 @@ environment:
78
secure: VMFbecLLHzDq/09YDPbcM0VDDSwwgY57vr5GXK6cZZ4Ti/Xs5RZoylzV8MMr1350
89

910
before_build:
11+
- ps: Install-Module -Name SplitPipeline -Force
12+
- ps: Install-Module -Name platyPS -Force
13+
- ps: Install-Module -Name Azure -Force
14+
- ps: Install-Module -Name AzureRM -Force
15+
- ps: Install-Module -Name AzureStack -Force
1016
- ps: Install-Product node $env:nodejs_version
1117
- git config --global credential.helper store
1218
- ps: ac "$env:USERPROFILE\.git-credentials" "https://$($env:github_access_token):[email protected]`n"
@@ -25,6 +31,6 @@ test: off
2531
on_success:
2632
- git clone -q --branch=%target_branch% %content_repo% %TEMP%\Azure
2733
- cd %TEMP%\Azure
28-
- ps: ls c:\projects\_output -dir | % { copy $_.FullName (ls -dir | select -First 1) -Recurse -Force }
34+
- ps: ls c:\projects\_output -dir | % { copy $_.FullName . -Recurse -Force }
2935
- git add -A
3036
- git diff --quiet --exit-code --cached || git commit -m "Sync docs from source code repo to content repo." && git push origin %target_branch% && appveyor AddMessage "Content Updated"

build.proj

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -79,16 +79,16 @@
7979
<UsingTask TaskName="VerifyAuthenticodeSignatureTask" AssemblyFile="$(BuildTasksPath)\Microsoft.Azure.Build.Tasks.dll" />
8080
<UsingTask TaskName="SmartTestingTask" AssemblyFile="$(BuildTasksPath)\Microsoft.Azure.Build.Tasks.dll" />
8181
<UsingTask TaskName="SetEnvVar" TaskFactory="CodeTaskFactory" AssemblyFile="$(MSBuildToolsPath)\Microsoft.Build.Tasks.Core.dll" >
82-
<ParameterGroup>
83-
<EnvName ParameterType="System.String" Required="true" />
84-
<EnvValue ParameterType="System.String" Required="true" />
82+
<ParameterGroup>
83+
<EnvName ParameterType="System.String" Required="true" />
84+
<EnvValue ParameterType="System.String" Required="true" />
8585
</ParameterGroup>
8686
<Task>
87-
<Using Namespace="System"/>
88-
<Code Type="Fragment" Language="cs">
89-
<![CDATA[System.Environment.SetEnvironmentVariable(EnvName, EnvValue);]]>
90-
</Code>
91-
</Task>
87+
<Using Namespace="System"/>
88+
<Code Type="Fragment" Language="cs">
89+
<![CDATA[System.Environment.SetEnvironmentVariable(EnvName, EnvValue);]]>
90+
</Code>
91+
</Task>
9292
</UsingTask> <!--
9393
CI build related
9494
-->
@@ -196,17 +196,17 @@
196196
<MakeDir Directories="$(PackageDirectory)" />
197197
<Exec ContinueOnError="false"
198198
Command="&quot;$(PowerShellCommand)&quot; -NonInteractive -NoLogo -NoProfile -Command &quot; . $(LibraryToolsFolder)\CreateMappings.ps1 -RootPath $(LibrarySourceFolder) -OutputFile $(PackageDirectory)\groupMapping.json -WarningFile $(PackageDirectory)\groupMappingWarnings.json -RulesFile $(LibraryToolsFolder)\CreateMappings_rules.json &quot;" Condition="'$(Latest)' == 'true'"/>
199-
199+
200200
<MSBuild
201201
Projects="@(CmdletSolutionsToBuild)"
202202
Targets="Build"
203203
Properties="Configuration=$(Configuration);Platform=Any CPU"
204204
BuildInParallel="$(BuildInParallel)"
205205
ContinueOnError="false" />
206206

207-
<Exec Command="&quot;$(PowerShellCommand)&quot; -NonInteractive -NoLogo -NoProfile -Command &quot;. $(LibraryToolsFolder)\GenerateHelp.ps1 -ValidateMarkdownHelp -GenerateMamlHelp -BuildConfig $(Configuration) &quot;"
208-
ContinueOnError="false"
209-
Condition=" '$(SkipHelp)' == 'false' and '$(Latest)' == 'true'"/>
207+
<Exec Command="&quot;$(PowerShellCommand)&quot; -NonInteractive -NoLogo -NoProfile -Command &quot;$ProgressPreference = 'SilentlyContinue';. $(LibraryToolsFolder)\GenerateHelp.ps1 -ValidateMarkdownHelp -GenerateMamlHelp -BuildConfig $(Configuration) &quot;"
208+
ContinueOnError="false"
209+
Condition=" '$(SkipHelp)' == 'false' and '$(Latest)' == 'true'"/>
210210
<CallTarget Targets="BuildSetupTest"/>
211211
<!-- moved copy tasks -->
212212

@@ -234,7 +234,7 @@
234234
DestinationFolder="$(LibrarySourceFolder)\Package\$(Configuration)"
235235
Condition=" '$(CodeSign)' == 'true' "/>
236236

237-
<CallTarget Targets="CodeSignBinaries" Condition=" '$(CodeSign)' == 'true' " />
237+
<CallTarget Targets="CodeSignBinaries" Condition=" '$(CodeSign)' == 'true' " />
238238

239239

240240
<Copy SourceFiles="$(LibrarySourceFolder)\Package\$(Configuration)\AzureRM.psd1"
@@ -535,4 +535,4 @@
535535
<Message Importance="high" Text="Running live tests..." />
536536
<CallTarget Targets="LiveTests"/>
537537
</Target>
538-
</Project>
538+
</Project>

0 commit comments

Comments
 (0)