Skip to content

Commit b027f4b

Browse files
authored
Merge pull request Azure#4942 from Azure/release-5.0.0
Merge release-5.0.0 --> master
2 parents e1d6fb9 + da99595 commit b027f4b

File tree

3,938 files changed

+4612701
-1113883
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,938 files changed

+4612701
-1113883
lines changed

.gitattributes

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,7 @@
55
*.cs text eol=crlf
66
*.csproj text eol=crlf
77
*.ps1 text eol=crlf
8+
*.psd1 text eol=crlf
9+
*.psm1 text eol=crlf
10+
*.ps1xml text eol=crlf
811
build.proj text eol=crlf

CONTRIBUTING.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,9 @@ The following guidelines must be followed in **EVERY** pull request that is open
148148

149149
The following guidelines must be followed in pull requests that add, edit, or remove a cmdlet.
150150

151-
- Cmdlet name uses an approved PowerShell verb - use enums for `VerbsCommon`, `VerbsCommunication`, `VerbLifecycle`, `VerbsOther` whenever possible
151+
- Cmdlet name uses an approved PowerShell verb - use enums for `VerbsCommon`, `VerbsCommunication`, `VerbsData`, `VerbsDiagnostic`, `VerbsLifecycle`, `VerbsOther`, and `VerbsSecurity` whenever possible
152+
- Note that you can see a list of all approved PowerShell verbs by running `Get-Verb` in PowerShell
153+
- When a verb you would like to use is not in the list of approved verbs, or to get ideas on how to use verbs, consult the [Approved Verbs for Windows PowerShell Commands](https://msdn.microsoft.com/en-us/library/ms714428\(v=vs.85\).aspx) documentation where you will find descriptions of approved verbs as well as related verbs in the comments so that you can find one appropriate for your command
152154
- Cmdlet noun name uses the AzureRm prefix for management cmdlets, and the Azure prefix for data plane cmdlets
153155
- Cmdlet specifies the `OutputType` attribute if any output is produced; if the cmdlet produces no output, it should implement a `PassThrough` parameter
154156
- If the cmdlet makes changes or has side effects, it should implement `ShouldProcess` and have `SupportsShouldProcess = true` specified in the cmdlet attribute. See a discussion about correct `ShouldProcess` implementation [here](https://gist.github.com/markcowl/338e16fe5c8bbf195aff9f8af0db585d#what-is-the-change).

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)

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,17 @@ This repository contains a set of PowerShell cmdlets for developers and administ
88
* For comprehensive documentation on the developer cmdlets see the [overview of Azure PowerShell](https://aka.ms/azpsdocs).
99
* For suggesting improvements, join our improvement discussion ([Issue #3692](https://github.com/Azure/azure-powershell/issues/3692)).
1010

11+
## Modules
12+
13+
Below is a table containing the various Azure PowerShell rollup modules found in this repository. For a full list of modules found in this repository, please see the [Azure PowerShell Modules](documentation/azure-powershell-modules.md) page.
14+
15+
| Description | Module Name | PowerShell Gallery Link |
16+
| --------------------------------------------------------------- | ----------------- | ----------------------- |
17+
| Rollup Module for ARM Cmdlets | `AzureRM` | [![AzureRM](https://img.shields.io/powershellgallery/v/AzureRM.svg?style=flat-square&label=AzureRM)](https://www.powershellgallery.com/packages/AzureRM/) |
18+
| Rollup Module for .NET Core Cmdlets | `AzureRM.Netcore` | [![AzureRM.Netcore](https://img.shields.io/powershellgallery/v/AzureRM.Netcore.svg?style=flat-square&label=AzureRM.Netcore)](https://www.powershellgallery.com/packages/AzureRM.Netcore/) |
19+
| Rollup Module for Administrative Modules in Azure Stack | `AzureStack` | [![AzureStack](https://img.shields.io/powershellgallery/v/AzureStack.svg?style=flat-square&label=AzureStack)](https://www.powershellgallery.com/packages/AzureStack/) |
20+
| Rolledup Module for Service Management Cmdlets | `Azure` | [![Azure](https://img.shields.io/powershellgallery/v/Azure.svg?style=flat-square&label=Azure)](https://www.powershellgallery.com/packages/Azure/) |
21+
1122
## Features
1223

1324
* Account management

TestMappings.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,5 +173,8 @@
173173
],
174174
"src/ResourceManager/MarketplaceOrdering/Commands.MarketplaceOrdering.Test/": [
175175
".\\src\\ResourceManager\\MarketplaceOrdering\\Commands.MarketplaceOrdering.Test\\bin\\Debug\\Microsoft.Azure.Commands.MarketplaceOrdering.Test.dll"
176-
]
176+
],
177+
"src/ResourceManager/ApplicationInsights/": [
178+
".\\src\\ResourceManager\\ApplicationInsights\\Commands.ApplicationInsights.Test\\bin\\Debug\\Microsoft.Azure.Commands.ApplicationInsights.Test.dll"
179+
]
177180
}

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"

0 commit comments

Comments
 (0)