Skip to content

Commit 76dc40d

Browse files
authored
Merge pull request #5615 from Azure/release-2018-02-23
[5.4.0] Merge release --> master
2 parents 1bb69d5 + 7cb99d5 commit 76dc40d

File tree

1,430 files changed

+531145
-3135957
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,430 files changed

+531145
-3135957
lines changed

.github/ISSUE_TEMPLATE.md

Lines changed: 43 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,51 @@
1-
### Cmdlet(s)
1+
<!--
22
3-
### PowerShell Version
4-
Instructions: to get PowerShell version, type `$PSVersionTable` and look for the value associated with `PSVersion`
3+
If this issue is a bug report:
4+
- Upgrade to the latest version of AzureRM and verify you are able to reproduce the issue
5+
- You can install the latest version of AzureRM from the PowerShell Gallery
6+
- https://www.powershellgallery.com/packages/AzureRM
7+
- You can also install the latest version from the Releases section
8+
- https://github.com/Azure/azure-powershell/releases
9+
- Ensure that you repro the issue with $DebugPreference = "Continue" to receive the debug stream
10+
- If this bug involves an exception being thrown, please run Resolve-AzureRmError to receive extended information on the error
11+
- Fill out the below template
512
6-
### Module Version
13+
If this issue is not a bug report, please remove the below template
714
8-
### OS Version
9-
Instructions: to get OS version, type `$PSversionTable` and look for value associated with `BuildVersion`
15+
-->
1016

1117
### Description
1218

13-
### Debug Output
14-
Instructions: to get Debug Output, set `$DebugPreference="Continue"` and then execute the cmdlet or script causing the issue
19+
<!-- Please provide a description of the issue you are facing -->
1520

1621
### Script/Steps for Reproduction
22+
23+
<!-- Please provide the necessary script(s) that reproduce the issue -->
24+
25+
```powershell
26+
27+
```
28+
29+
### Module Version
30+
31+
<!-- Please run (Get-Module -Name AzureRM -ListAvailable) to get the version(s) of AzureRM installed on your machine -->
32+
33+
```powershell
34+
Get-Module -Name AzureRM -ListAvailable
35+
```
36+
37+
### Environment Data
38+
39+
<!-- Please run $PSVersionTable to get the necessary environment data -->
40+
41+
```powershell
42+
$PSVersionTable
43+
```
44+
45+
### Debug Output
46+
47+
<!-- Please run the above script with $DebugPreference = "Continue" and paste the resulting debug stream in the below code block -->
48+
49+
```
50+
51+
```

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 10 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,16 @@
11
<!-- DO NOT DELETE THIS TEMPLATE -->
22

33
## Description
4-
<!--
5-
Please add an informative description that covers the changes made by the pull request.
64

7-
If applicable, reference the bug/issue that this pull request fixes here.
8-
-->
5+
<!-- Please add a brief description of the changes made in this PR -->
96

10-
---
7+
## Checklist
118

12-
This checklist is used to make sure that common guidelines for a pull request are followed. You can find a more complete discussion of PowerShell cmdlet best practices [here](https://msdn.microsoft.com/en-us/library/dd878270(v=vs.85).aspx).
13-
14-
- [ ] **I have read the [contribution guidelines](https://github.com/Azure/azure-powershell/blob/preview/CONTRIBUTING.md).**
15-
- [ ] **If changes were made to any cmdlet, the XML help was regenerated using the [platyPSHelp module](https://github.com/Azure/azure-powershell/blob/preview/documentation/help-generation.md).**
16-
- [ ] **If any large changes are made to a service, they are reflected in the respective [change log](https://github.com/Azure/azure-powershell/blob/preview/CONTRIBUTING.md#updating-the-change-log).**
17-
18-
### [General Guidelines](https://github.com/Azure/azure-powershell/blob/preview/CONTRIBUTING.md#general-guidelines)
19-
- [ ] Title of the pull request is clear and informative.
20-
- [ ] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, [see this page](https://github.com/Azure/azure-powershell/blob/preview/documentation/cleaning-up-commits.md).
21-
- [ ] The pull request does not introduce [breaking changes](https://github.com/Azure/azure-powershell/blob/preview/documentation/breaking-changes/breaking-changes-definition.md) (unless a major version change occurs in the assembly and module).
22-
23-
### [Testing Guidelines](https://github.com/Azure/azure-powershell/blob/preview/CONTRIBUTING.md#testing-guidelines)
24-
- [ ] Pull request includes test coverage for the included changes.
25-
- [ ] PowerShell scripts used in tests should do any necessary setup as part of the test or suite setup, and should not use hard-coded values for locations or existing resources.
26-
27-
### [Cmdlet Signature Guidelines](https://github.com/Azure/azure-powershell/blob/preview/CONTRIBUTING.md#cmdlet-signature-guidelines)
28-
- [ ] New cmdlets that make changes or have side effects should implement `ShouldProcess` and have `SupportShouldProcess=true` specified in the cmdlet attribute. You can find more information on `ShouldProcess` [here](https://github.com/Azure/azure-powershell/wiki/PowerShell-Cmdlet-Design-Guidelines#supportsshouldprocess).
29-
- [ ] Cmdlet specifies `OutputType` attribute if any output is produced - if the cmdlet produces no output, it should implement a `PassThru` parameter.
30-
31-
### [Cmdlet Parameter Guidelines](https://github.com/Azure/azure-powershell/blob/preview/CONTRIBUTING.md#cmdlet-parameter-guidelines)
32-
- [ ] Parameter types should not expose types from the management library - complex parameter types should be defined in the module.
33-
- [ ] Complex parameter types are discouraged - a parameter type should be simple types as often as possible. If complex types are used, they should be shallow and easily creatable from a constructor or another cmdlet.
34-
- [ ] Cmdlet parameter sets should be mutually exclusive - each parameter set must have at least one mandatory parameter not in other parameter sets.
9+
- [ ] I have read the [_Submitting Changes_](https://github.com/Azure/azure-powershell/blob/preview/CONTRIBUTING.md#making-changes) section of [`CONTRIBUTING.md`](https://github.com/Azure/azure-powershell/blob/preview/CONTRIBUTING.md)
10+
- [ ] The title of the PR is clear and informative
11+
- [ ] The appropriate [change log has been updated](https://github.com/Azure/azure-powershell/blob/preview/CONTRIBUTING.md#updating-the-change-log)
12+
- [ ] The PR does not introduce [breaking changes](https://github.com/Azure/azure-powershell/blob/preview/documentation/breaking-changes/breaking-changes-definition.md)
13+
- [ ] If applicable, the changes made in the PR have proper test coverage
14+
- [ ] For public API changes to cmdlets:
15+
- [ ] the changes have gone through a [cmdlet design review](https://github.com/Azure/azure-powershell-cmdlet-review-pr)
16+
- [ ] the cmdlet markdown files were [generated using the `platyPS` module](https://github.com/Azure/azure-powershell/blob/preview/documentation/development-docs/help-generation.md)

CONTRIBUTING.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ Before cloning this repository, please make sure you have started in our [docume
4545

4646
#### GitHub Workflow
4747

48-
If you don't have experience with Git and GitHub, some of the terminology and process can be confusing. [Here is a guide to understanding the GitHub flow](https://guides.github.com/introduction/flow/) and [here is a guide to understanding the basic Git commands](https://services.github.com/kit/downloads/github-git-cheat-sheet.pdf).
48+
If you don't have experience with Git and GitHub, some of the terminology and process can be confusing. [Here is a guide to understanding the GitHub flow](https://guides.github.com/introduction/flow/) and [here is a guide to understanding the basic Git commands](https://education.github.com/git-cheat-sheet-education.pdf).
4949

5050
#### Forking the Azure/azure-powershell repository
5151

@@ -65,7 +65,7 @@ To suggest a new feature or changes that could be made to Azure PowerShell, file
6565

6666
You can find the code complete and release dates of the next three Azure PowerShell releases in the [Milestones](https://github.com/Azure/azure-powershell/milestones) section of the Issue page. Each milestone will display the issues that are being worked on for the corresponding release.
6767

68-
## Making Changes
68+
## Submitting Changes
6969

7070
### Pull Requests
7171

@@ -83,15 +83,15 @@ To open your own pull request, click [here](https://github.com/Azure/azure-power
8383

8484
### SDK for .NET
8585

86-
Before making any changes to the Azure PowerShell repository, the corresponding NuGet packages must have been published from the [Azure SDK for .NET](https://github.com/Azure/azure-sdk-for-net) repository.
86+
If your changes require a new version of an Azure management library, please ensure that the corresponding NuGet package has been published from the [Azure SDK for .NET repository](https://github.com/Azure/azure-sdk-for-net).
8787

88-
For more information on how to make changes to the SDK for .NET repository and publish the corresponding packages to NuGet, click [here](https://github.com/Azure/azure-sdk-for-net/blob/AutoRest/README.md).
88+
For more information on how to make changes to the SDK for .NET repository and publish packages to NuGet, please see the [`README.md`](https://github.com/Azure/azure-sdk-for-net/blob/psSdkJson6/README.md) in the Azure SDK for .NET repository.
8989

9090
### Pull Request Guidelines
9191

9292
A pull request template will automatically be included as a part of your PR. Please fill out the checklist as specified. Pull requests **will not be reviewed** unless they include a properly completed checklist.
9393

94-
The following is a list of guidelines that pull requests opened in the Azure PowerShell repository must adhere to. You can find a more complete discussion of PowerShell cmdlet best practices [here](https://msdn.microsoft.com/en-us/library/dd878270(v=vs.85).aspx).
94+
The following is a list of guidelines that pull requests opened in the Azure PowerShell repository must adhere to. You can find a more complete discussion of Azure PowerShell design guidelines [here](./documentation/development-docs/azure-powershell-design-guidelines.md).
9595

9696
#### Cleaning up Commits
9797

@@ -107,13 +107,13 @@ For more information on cleaning up the commits in a pull request, such as how t
107107

108108
#### Updating the change log
109109

110-
Any public API changes that are made to a service must be reflected in the respecitve change log. This change log will allow customers to easily track what has been changed between releases of a service.
110+
Any changes that are made must be reflected in the respecitve service's change log. This change log will allow customers to easily track what has been changed between releases of a service.
111111

112-
For ResourceManager services, the change log is located at `src\ResourceManager\SERVICE\ChangeLog.md`.
112+
For ARM service projects, the change log is located at `src\ResourceManager\{{service}}\ChangeLog.md`.
113113

114-
For ServiceManagement services, the change log is located at `src\ServiceManagement\Services\Commands.Utilities\ChangeLog.md`.
114+
For RDFE service projects, the change log is located at `src\ServiceManagement\ChangeLog.md`.
115115

116-
For Storage, this change log is located at `src\Storage\ChangeLog.md`.
116+
For the Storage data plane project, this change log is located at `src\Storage\ChangeLog.md`.
117117

118118
#### Breaking Changes
119119

@@ -152,9 +152,9 @@ The following guidelines must be followed in pull requests that add, edit, or re
152152
- Note that you can see a list of all approved PowerShell verbs by running `Get-Verb` in PowerShell
153153
- 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
154154
- Cmdlet noun name uses the AzureRm prefix for management cmdlets, and the Azure prefix for data plane cmdlets
155-
- Cmdlet specifies the `OutputType` attribute if any output is produced; if the cmdlet produces no output, it should implement a `PassThrough` parameter
155+
- Cmdlet specifies the `OutputType` attribute; if the cmdlet produces no output, it should have an `OutputType` of `bool` and implement a `PassThrough` parameter
156156
- 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).
157-
- Cmdlets should derive from AzureRmCmdlet for management cmdlets, and AzureDataCmdlet for data cmdlets
157+
- Cmdlets should derive from [`AzureRmCmdlet`](src/ResourceManager/Common/Commands.ResourceManager.Common/AzureRMCmdlet.cs) class for management cmdlets, and [`AzureDataCmdlet`](src/Common/Commands.Common/AzureDataCmdlet.cs) for data cmdlets
158158
- If multiple parameter sets are implemented, the cmdlet should specify a `DefaultParameterSetName` in its cmdlet attribute
159159

160160
#### Cmdlet parameter guidelines

ChangeLog.md

Lines changed: 50 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,53 @@
1-
## 5.3.0 - February 2018
1+
## 5.4.0 - February 2018
2+
#### AzureRM.Automation
3+
* Added alias from New-AzureRmAutomationModule to Import-AzureRmAutomationModule
4+
5+
#### AzureRM.Compute
6+
* Fix ErrorAction issue for some of Get cmdlets.
7+
8+
#### AzureRM.ContainerInstance
9+
* Apply Azure Container Instance SDK 2018-02-01
10+
- Support DNS name label
11+
12+
#### AzureRM.DevTestLabs
13+
* Fixed all of the GET cmdlets which previously weren't working.
14+
15+
#### AzureRM.EventHub
16+
* Fix bug in Get-AzureRmEventHubGeoDRConfiguration help
17+
18+
#### AzureRM.Network
19+
* Added cmdlet to create a new connection monitor
20+
- New-AzureRmNetworkWatcherConnectionMonitor
21+
* Added cmdlet to update a connection monitor
22+
- Set-AzureRmNetworkWatcherConnectionMonitor
23+
* Added cmdlet to get connection monitor or connection monitor list
24+
- Get-AzureRmNetworkWatcherConnectionMonitor
25+
* Added cmdlet to query connection monitor
26+
- Get-AzureRmNetworkWatcherConnectionMonitorReport
27+
* Added cmdlet to start connection monitor
28+
- Start-AzureRmNetworkWatcherConnectionMonitor
29+
* Added cmdlet to stop connection monitor
30+
- Stop-AzureRmNetworkWatcherConnectionMonitor
31+
* Added cmdlet to remove connection monitor
32+
- Remove-AzureRmNetworkWatcherConnectionMonitor
33+
* Updated Set-AzureRmApplicationGatewayBackendAddressPool documentation to remove deprecated example
34+
* Added EnableHttp2 flag to Application Gateway
35+
- Updated New-AzureRmApplicationGateway: Added optional parameter -EnableHttp2
36+
* Add IpTags to PublicIpAddress
37+
- Updated New-AzureRmPublicIpAddress: Added IpTags
38+
- New-AzureRmPublicIpTag to add Iptag
39+
* Add DisableBgpRoutePropagation property in RouteTable and effectiveRoute.
40+
41+
#### AzureRM.Resources
42+
* Register-AzureRmProviderFeature: Added missing example in the docs
43+
* Register-AzureRmResourceProvider: Added missing example in the docs
44+
45+
#### AzureRM.Storage
46+
* Obsolete following parameters in new and set Storage Account cmdlets: EnableEncryptionService and DisableEncryptionService, since Encryption at Rest is enabled by default and can't be disabled.
47+
- New-AzureRmStorageAccount
48+
- Set-AzureRmStorageAccount
49+
50+
## 5.3.0 - February 2018
251
#### AzureRM.Profile
352
* Added deprecation warning for PowerShell 3 and 4
453
* 'Add-AzureRmAccount' has been renamed as 'Connect-AzureRmAccount'; an alias has been added for the old cmdlet name, and other aliases ('Login-AzAccount' and 'Login-AzureRmAccount') have been redirected to the new cmdlet name.

0 commit comments

Comments
 (0)