You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: ChangeLog.md
+72Lines changed: 72 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,75 @@
1
+
## 4.5.0 - August 2020
2
+
#### Az.Accounts
3
+
* Updated 'Connect-AzAccount' to accept parameter 'MaxContextPopulation' [#9865]
4
+
* Updated SubscriptionClient version to 2019-06-01 and display tenant domains [#9838]
5
+
* Supported home tenant and managedBy tenant information of subscription
6
+
* Corrected module name, version info in telemetry data
7
+
* Adjusted SqlDatabaseDnsSuffix and ServiceManagementUrl if environment metadata endpoint returns incompatible value
8
+
9
+
#### Az.Aks
10
+
* Removed 'ClientIdAndSecret' to 'ServicePrincipalIdAndSecret' and set 'ClientIdAndSecret' as an alias [#12381].
11
+
* Removed 'Get-AzAks'/'New-AzAks'/'Remove-AzAks'/'Set-AzAks' to 'Get-AzAksCluster'/'New-AzAksCluster'/'Remove-AzAksCluster'/'Set-AzAksCluster' and set the original ones as alias [#12373].
12
+
13
+
#### Az.ApiManagement
14
+
* Added new 'Add-AzApiManagementApiToGateway' cmdlet.
15
+
* Added new 'Get-AzApiManagementGateway' cmdlet.
16
+
* Added new 'Get-AzApiManagementGatewayHostnameConfiguration' cmdlet.
17
+
* Added new 'Get-AzApiManagementGatewayKey' cmdlet.
18
+
* Added new 'New-AzApiManagementGateway' cmdlet.
19
+
* Added new 'New-AzApiManagementGatewayHostnameConfiguration' cmdlet.
20
+
* Added new 'New-AzApiManagementResourceLocationObject' cmdlet.
21
+
* Added new 'Remove-AzApiManagementApiFromGateway' cmdlet.
22
+
* Added new 'Remove-AzApiManagementGateway' cmdlet.
23
+
* Added new 'Remove-AzApiManagementGatewayHostnameConfiguration' cmdlet.
24
+
* Added new 'Update-AzApiManagementGateway' cmdlet.
25
+
* Added new optional [-GatewayId] parameter to the 'Get-AzApiManagementApi' cmdlet.
26
+
27
+
#### Az.CognitiveServices
28
+
* Used 'Deny' specifically as NetworkRules default action.
29
+
30
+
#### Az.FrontDoor
31
+
* Fixed an issue where an exception is being thrown when Enum.Parse tries to coerce a null value to an Enabled or Disabled enum values [#12344]
32
+
33
+
#### Az.HDInsight
34
+
* Supported creating cluster with encryption in transit feature.
35
+
- Add new parameter 'EncryptionInTransit' to the cmdlet 'New-AzHDInsightCluster'
36
+
- Add new parameter 'EncryptionInTransit' to the cmdlet 'New-AzHDInsightClusterConfig'
37
+
* Supported creating cluster with private link feature:
38
+
- Add new parameter 'PublicNetworkAccessType' and 'OutboundPublicNetworkAccessType' to the cmdlet 'New-AzHDInsightCluster'
39
+
- Add new parameter 'PublicNetworkAccessType' and 'OutboundPublicNetworkAccessType' to the cmdlet 'New-AzHDInsightClusterConfig'
40
+
* Returned virtual network information when calling 'New-AzHDInsightCluster' or 'Get-AzHDInsightCluster'
41
+
42
+
#### Az.Network
43
+
* Added support for AddressPrefixType parameter to 'Remove-AzExpressRouteCircuitConnectionConfig'
44
+
* Added non-breaking changes: PeerAddressType functionality for Private Peering in 'Remove-AzExpressRouteCircutPeeringConfig'.
45
+
* Code changed to ignore case for AddressPrefixType and PeerAddressType parameter.
46
+
* Modified the warning message for 'New-AzLoadBalancerFrontendIpConfig', 'New-AzPublicIpAddress' and 'New-AzPublicIpPrefix'.
47
+
48
+
#### Az.OperationalInsights
49
+
* Added '-ForceDelete' option for 'Remove-AzOperationalInsightsworkspace'
50
+
* Added new cmdlet 'Get-AzOperationalInsightsDeletedWorkspace'
51
+
* Added new cmdlet 'Restore-AzOperationalInsightsWorkspace'
52
+
53
+
#### Az.RecoveryServices
54
+
* Improved the Azure Backup container/item discovery experience.
55
+
56
+
#### Az.Resources
57
+
* Added properties 'Condition', 'ConditionVersion' and 'Description' to 'New-AzRoleAssignment'
58
+
- This included all the relevant changes to the data models
59
+
60
+
#### Az.Sql
61
+
* Fixed potential server name case insensitive error in 'New-AzSqlServer' and 'Set-AzSqlServer'
62
+
* Fixed wrong database name returned on existing database error in 'New-AzSqlDatabaseSecondary'
63
+
64
+
#### Az.Storage
65
+
* Supported create container/blob Sas token with new permission x,t
66
+
- 'New-AzStorageBlobSASToken'
67
+
- 'New-AzStorageContainerSASToken'
68
+
* Supported create account Sas token with new permission x,t,f
Copy file name to clipboardExpand all lines: documentation/development-docs/design-guidelines/parameter-best-practices.md
+30Lines changed: 30 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -155,3 +155,33 @@ In addition, there should be no two parameters with the same position in the sam
155
155
Allowing the user to pipe an object from one cmdlet to another is a major scenario in PowerShell, but allowing multiple parameters in the same parameter set to accept their value from the pipeline can cause issues. From the remarks section of [_Parameter Attribute Declaration_](https://docs.microsoft.com/en-us/powershell/scripting/developer/cmdlet/parameter-attribute-declaration#remarks):
156
156
157
157
> _Only one parameter in a parameter set should declare ValueFromPipeline = true. Multiple parameters can define ValueFromPipelineByPropertyName = true._
158
+
159
+
160
+
## Appendix: Parameter Syntax
161
+
162
+
In PowerShell documentation, square brackets (`[]`) indicate optional.
163
+
Convention is as follows:
164
+
165
+
```powershell
166
+
command-name
167
+
-RequiredParameterName <RequiredParameterValue>
168
+
[-OptionalParameterName <OptionalParameterValue>]
169
+
[-OptionalSwitchParameters]
170
+
[-OptionalParameterName] <RequiredParameterValue>
171
+
```
172
+
173
+
Using `New-Alias` cmdlet as an example:
174
+
175
+
```powershell
176
+
New-Alias
177
+
[-Name] <string> -required 'positional' parameter
178
+
[-Value] <string>
179
+
[-Description <string>] -optional parameter
180
+
[-Force] -optional switch parameter (all switch parameters are optional, non-positional)
0 commit comments