Skip to content

Commit dd1d56f

Browse files
author
Aashish Rajaram Salokhe
committed
Merge remote-tracking branch 'upstream/master'
2 parents 3513dd4 + 73886ec commit dd1d56f

File tree

2,035 files changed

+727442
-503189
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,035 files changed

+727442
-503189
lines changed

.azure-pipelines/windows-powershell.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,36 @@ jobs:
1919
testFramework: ${{ variables.TestFramework }}
2020
configuration: ${{ variables.Configuration }}
2121

22+
- job: Analyze
23+
displayName: Analyze
24+
dependsOn: Build
25+
condition: succeeded()
26+
pool:
27+
vmImage: ${{ variables.WindowsImage }}
28+
29+
steps:
30+
- template: util/analyze-steps.yml
31+
parameters:
32+
osName: ${{ variables.WindowsName }}
33+
configuration: ${{ variables.Configuration }}
34+
- task: PowerShell@2
35+
displayName: 'Cleanup Build'
36+
inputs:
37+
targetType: filePath
38+
filePath: tools/CleanupBuild.ps1
39+
pwsh: true
40+
- task: NuGetCommand@2
41+
displayName: 'Download BinSkim'
42+
inputs:
43+
command: custom
44+
arguments: 'install Microsoft.CodeAnalysis.BinSkim -OutputDirectory $(System.DefaultWorkingDirectory)/tools/SecurityTools'
45+
- task: PowerShell@2
46+
displayName: 'Run BinSkim'
47+
inputs:
48+
targetType: filePath
49+
filePath: tools/SecurityTools/RunBinSkim.ps1
50+
pwsh: true
51+
2252
- job: Test
2353
displayName: Test
2454
dependsOn: Build

.github/ISSUE_TEMPLATE/az-module-bug-report.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ assignees: ''
3737

3838
## Module versions
3939

40-
<!-- Please run (Get-Module -Name Az.* -ListAvailable) and paste the output in the below code block -->
40+
<!-- Please run (Get-Module -ListAvailable) and paste the output in the below code block -->
4141

4242
```powershell
4343
@@ -53,7 +53,7 @@ assignees: ''
5353

5454
## Error output
5555

56-
<!-- Please run Resolve-AzureRmError and paste the output in the below code block -->
56+
<!-- Please run Resolve-AzError and paste the output in the below code block -->
5757

5858
```
5959

.github/ISSUE_TEMPLATE/feature_request.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name: Feature request
33
about: Suggest a new feature or improvement
44
title: ''
5-
labels: Feature Request
5+
labels: Azure PS Team, Feature Request
66
assignees: ''
77

88
---

ChangeLog.md

Lines changed: 227 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,230 @@
1+
## 2.1.0 - May 2019
2+
#### Az.ApiManagement
3+
* Created new Cmdlets for managing diagnostics at the global and API Scope
4+
- **Get-AzApiManagementDiagnostic** - Get the diagnostics configured a global or api Scope
5+
- **New-AzApiManagementDiagnostic** - Create new diagnostics at the global scope or api Scope
6+
- **New-AzApiManagementHttpMessageDiagnostic** - Create diagnostic setting for which Headers to log and the size of Body Bytes
7+
- **New-AzApiManagementPipelineDiagnosticSetting** - Create Diagnostic settings for incoming/outgoing HTTP messages to the Gateway.
8+
- **New-AzApiManagementSamplingSetting** - Create Sampling Setting for the requests/response for a diagnostic
9+
- **Remove-AzApiManagementDiagnostic** - Remove a diagnostic entity at global or api scope
10+
- **Set-AzApiManagementDiagnostic** - Update a diagnostic Entity at global or api scope
11+
* Created new Cmdlets for managing Cache in ApiManagement service
12+
- **Get-AzApiManagementCache** - Get the details of the Cache specified by identifier or all caches
13+
- **New-AzApiManagementCache** - Create a new 'default' Cache or Cache in a particular azure 'region'
14+
- **Remove-AzApiManagementCache** - Remove a cache
15+
- **Update-AzApiManagementCache** - Update a cache
16+
* Created new Cmdlets for managing API Schema
17+
- **New-AzApiManagementSchema** - Create a new Schema for an API
18+
- **Get-AzApiManagementSchema** - Get the schemas configured in the API
19+
- **Remove-AzApiManagementSchema** - Remove the schema configured in the API
20+
- **Set-AzApiManagementSchema** - Update the schema configured in the API
21+
* Created new Cmdlet for generating a User Token.
22+
- **New-AzApiManagementUserToken** - Generate a new User Token valid for 8 hours by default.Token for the 'GIT' user can be generated using this cmdlet./
23+
* Created a new cmdlet to retrieving the Network Status
24+
- **Get-AzApiManagementNetworkStatus** - Get the Network status connectivity of resources on which API Management service depends on. This is useful when deploying ApiManagement service into a Virtual Network and validing whether any of the dependencies are broken.
25+
* Updated cmdlet **New-AzApiManagement** to manage ApiManagement service
26+
- Added support for the new 'Consumption' SKU
27+
- Added support to turn the 'EnableClientCertificate' flag on for 'Consumption' SKU
28+
- The new cmdlet **New-AzApiManagementSslSetting** allows configuring 'TLS/SSL' setting on the 'Backend' and 'Frontend'. This can also be used to configure 'Ciphers' like '3DES' and 'ServerProtocols' like 'Http2' on the 'Frontend' of an ApiManagement service.
29+
- Added support for configuring the 'DeveloperPortal' hostname on ApiManagement service.
30+
* Updated cmdlets **Get-AzApiManagementSsoToken** to take 'PsApiManagement' object as input
31+
* Updated the cmdlet to display Error Messages inline
32+
- `PS D:\github\azure-powershell> Set-AzApiManagementPolicy -Context -PolicyFilePath C:\wrongpolicy.xml -ApiId httpbin`
33+
- `Set-AzApiManagementPolicy :`
34+
- `Error Code: ValidationError`
35+
- `Error Message: One or more fields contain incorrect values:`
36+
- `Error Details: [Code=ValidationError, Message=Error in element 'log-to-eventhub' on line 3, column 10: Logger not found, Target=log-to-eventhub]`
37+
* Updated cmdlet **Export-AzApiManagementApi** to export APIs in 'OpenApi 3.0' format
38+
* Updated cmdlet **Import-AzApiManagementApi**
39+
- To import Api from 'OpenApi 3.0' document specification
40+
- To override the 'PsApiManagementSchema' property specified in any ('Swagger', 'Wadl', 'Wsdl', 'OpenApi') document.
41+
- To override the 'ServiceUrl' property specified in any document.
42+
* Updated cmdlet **Get-AzApiManagementPolicy** to return policy in Non-Xml escaped 'format' using 'rawxml'
43+
* Updated cmdlet **Set-AzApiManagementPolicy** to accept policy in Non-Xml escaped 'format' using 'rawxml' and Xml escaped using 'xml'
44+
* Updated cmdlet **New-AzApiManagementApi**
45+
- To configure API with 'OpenId' authorization server.
46+
- To create an API in an 'ApiVersionSet'
47+
- To clone an API using 'SourceApiId' and 'SourceApiRevision'.
48+
- Ability to configure 'SubscriptionRequired' at the Api scope.
49+
* Updated cmdlet **Set-AzApiManagementApi**
50+
- To configure API with 'OpenId' authorization server.
51+
- To updated an API into an 'ApiVersionSet'
52+
- Ability to configure 'SubscriptionRequired' at the Api scope.
53+
* Updated cmdlet **New-AzApiManagementRevision**
54+
- To clone (copy tags, products, operations and policies) an existing revision using 'SourceApiRevision'. The new Revision assumes the 'ApiId' of the parent.
55+
- To provide an 'ApiRevisionDescription'
56+
- To override the 'ServiceUrl' when cloning an API.
57+
* Updated cmdlet **New-AzApiManagementIdentityProvider**
58+
- To configure 'AAD' or 'AADB2C' with an 'Authority'
59+
- To setup 'SignupPolicy', 'SigninPolicy', 'ProfileEditingPolicy' and 'PasswordResetPolicy'
60+
* Updated cmdlet **New-AzApiManagementSubscription**
61+
- To account for the new SubscriptonModel using 'Scope' and 'UserId'
62+
- To account for the old subscription model using 'ProductId' and 'UserId'
63+
- Add support to enable 'AllowTracing' at the subscription level.
64+
* Updated cmdlet **Set-AzApiManagementSubscription**
65+
- To account for the new SubscriptonModel using 'Scope' and 'UserId'
66+
- To account for the old subscription model using 'ProductId' and 'UserId'
67+
- Add support to enable 'AllowTracing' at the subscription level.
68+
* Updated following cmdlets to accept 'ResourceId' as input
69+
- 'New-AzApiManagementContext'
70+
- `New-AzApiManagementContext -ResourceId /subscriptions/subid/resourceGroups/rgName/providers/Microsoft.ApiManagement/service/contoso`
71+
- 'Get-AzApiManagementApiRelease'
72+
- `Get-AzApiManagementApiRelease -ResourceId /subscriptions/subid/resourceGroups/rgName/providers/Microsoft.ApiManagement/service/contoso/apis/echo-api/releases/releaseId`
73+
- 'Get-AzApiManagementApiVersionSet'
74+
- `Get-AzApiManagementApiVersionSet -ResourceId /subscriptions/subid/resourceGroups/rgName/providers/Microsoft.ApiManagement/service/constoso/apiversionsets/pathversionset`
75+
- 'Get-AzApiManagementAuthorizationServer'
76+
- 'Get-AzApiManagementBackend'
77+
- `Get-AzApiManagementBackend -ResourceId /subscriptions/subid/resourceGroups/rgName/providers/Microsoft.ApiManagement/service/contoso/backends/servicefabric`
78+
- 'Get-AzApiManagementCertificate'
79+
- 'Remove-AzApiManagementApiVersionSet'
80+
- 'Remove-AzApiManagementSubscription'
81+
82+
#### Az.Automation
83+
* Updated Get-AzAutomationJobOutputRecord to handle JSON and Text record values.
84+
- Fix for issue https://github.com/Azure/azure-powershell/issues/7977
85+
- Fix for issue https://github.com/Azure/azure-powershell/issues/8600
86+
* Changed behavior for Start-AzAutomationDscCompilationJob to just start the job instead of waiting for its completion.
87+
* Fix for issue https://github.com/Azure/azure-powershell/issues/8347
88+
* Fix for Get-AzAutomationDscNode when using -Name returns all node. Now it returns matching node only.
89+
90+
#### Az.Compute
91+
* Add ProtectFromScaleIn and ProtectFromScaleSetAction parameters to Update-AzVmssVM cmdlet.
92+
* New-AzVM wimple parameter set now uses by default an available location if 'East US' is not supported
93+
94+
#### Az.DataLakeStore
95+
* Update the ADLS sdk to use httpclient, integrate dataplane testing with azure framework
96+
97+
#### Az.Monitor
98+
* Fixed incorrect parameter names in help examples
99+
100+
#### Az.Network
101+
* Add DisableBgpRoutePropagation flag to Effective Route Table output
102+
- Updated cmdlet:
103+
- Get-AzEffectiveRouteTable
104+
* Fix double dash in New-AzApplicationGatewayTrustedRootCertificate documentation
105+
106+
#### Az.Resources
107+
* Add new cmdlet Get-AzureRmDenyAssignment for retrieving deny assignments
108+
109+
#### Az.Sql
110+
* Rename Advanced Threat Protection cmdlets to Advanced Data Security and enable Vulnerability Assessment by default
111+
112+
## 2.0.0 - May 2019
113+
#### Az.Accounts
114+
* Update Authentication Library to fix ADFS issues with username/password auth
115+
116+
#### Az.CognitiveServices
117+
* Only display Bing disclaimer for Bing Search Services.
118+
* Improve error when create account failed.
119+
120+
#### Az.Compute
121+
* Proximity placement group feature.
122+
- The following new cmdlets are added:
123+
New-AzProximityPlacementGroup
124+
Get-AzProximityPlacementGroup
125+
Remove-AzProximityPlacementGroup
126+
- The new parameter, ProximityPlacementGroupId, is added to the following cmdlets:
127+
New-AzAvailabilitySet
128+
New-AzVMConfig
129+
New-AzVmssConfig
130+
* StorageAccountType parameter is added to New-AzGalleryImageVersion.
131+
* TargetRegion of New-AzGalleryImageVersion can contain StorageAccountType.
132+
* SkipShutdown switch parameter is added to Stop-AzVM and Stop-AzVmss
133+
* Breaking changes
134+
- Set-AzVMBootDiagnostics is changed to Set-AzVMBootDiagnostic.
135+
- Export-AzLogAnalyticThrottledRequests is changed to Export-AzLogAnalyticThrottledRequests.
136+
137+
#### Az.DeploymentManager
138+
* First Generally Available release of Azure Deployment Manager cmdlets
139+
140+
#### Az.Dns
141+
* Automatic DNS NameServer Delegation
142+
- Create DNS zone cmdlet accepts parent zone name as additional optional parameter.
143+
- Adds NS records in the parent zone for newly created child zone.
144+
145+
#### Az.FrontDoor
146+
* First Generally Available Release of Azure FrontDoor cmdlets
147+
* Rename WAF cmdlets to include 'Waf'
148+
- `Get-AzFrontDoorFireWallPolicy --> Get-AzFrontDoorWafPolicy`
149+
- `New-AzFrontDoorCustomRuleObject --> New-AzFrontDoorWafCustomRuleObject`
150+
- `New-AzFrontDoorFireWallPolicy --> New-AzFrontDoorWafPolicy`
151+
- `New-AzFrontDoorManagedRuleObject --> New-AzFrontDoorWafManagedRuleObject`
152+
- `New-AzFrontDoorManagedRuleOverrideObject --> New-AzFrontDoorWafManagedRuleOverrideObject`
153+
- `New-AzFrontDoorMatchConditionObject --> New-AzFrontDoorWafMatchConditionObject`
154+
- `New-AzFrontDoorRuleGroupOverrideObject --> New-AzFrontDoorWafRuleGroupOverrideObject`
155+
- `Remove-AzFrontDoorFireWallPolicy --> Remove-AzFrontDoorWafPolicy`
156+
- `Update-AzFrontDoorFireWallPolicy --> Update-AzFrontDoorWafPolicy`
157+
#### Az.HDInsight
158+
* Removed two cmdlets:
159+
- Grant-AzHDInsightHttpServicesAccess
160+
- Revoke-AzHDInsightHttpServicesAccess
161+
* Added a new cmdlet Set-AzHDInsightGatewayCredential to replace Grant-AzHDInsightHttpServicesAccess
162+
* Update cmdlet Get-AzHDInsightJobOutput to distinguish reader role and hdinsight operator role:
163+
- Users with reader role need to specify 'DefaultStorageAccountKey' parameter explicitly, otherwise error occurs.
164+
- Users with hdinsight operator role will not be affected.
165+
166+
#### Az.Monitor
167+
* New cmdlets for SQR API (Scheduled Query Rule)
168+
- New-AzScheduledQueryRuleAlertingAction
169+
- New-AzScheduledQueryRuleAznsActionGroup
170+
- New-AzScheduledQueryRuleLogMetricTrigger
171+
- New-AzScheduledQueryRuleSchedule
172+
- New-AzScheduledQueryRuleSource
173+
- New-AzScheduledQueryRuleTriggerCondition
174+
- New-AzScheduledQueryRule
175+
- Get-AzScheduledQueryRule
176+
- Set-AzScheduledQueryRule
177+
- Update-AzScheduledQueryRule
178+
- Remove-AzScheduledQueryRule
179+
- [More](https://docs.microsoft.com/en-us/rest/api/monitor/scheduledqueryrules) information about SQR API
180+
- Updated Az.Monitor.md to include cmdlets for GenV2(non classic) metric-based alert rule
181+
182+
#### Az.Network
183+
* Add support for Nat Gateway Resource
184+
- New cmdlets
185+
- New-AzNatGateway
186+
- Get-AzNatGateway
187+
- Set-AzNatGateway
188+
- Remove-AzNatGateway
189+
- Updated cmdlets
190+
- New-AzureVirtualNetworkSubnetConfigCommand
191+
- Add-AzureVirtualNetworkSubnetConfigCommand
192+
* Updated below commands for feature: Custom routes set/remove on Brooklyn Gateway.
193+
- Updated New-AzVirtualNetworkGateway: Added optional parameter -CustomRoute to set the address prefixes as custom routes to set on Gateway.
194+
- Updated Set-AzVirtualNetworkGateway: Added optional parameter -CustomRoute to set the address prefixes as custom routes to set on Gateway.
195+
196+
#### Az.PolicyInsights
197+
* Support for querying policy evaluation details.
198+
- Add '-Expand' parameter to Get-AzPolicyState. Support '-Expand PolicyEvaluationDetails'.
199+
200+
#### Az.RecoveryServices
201+
* Support for Cross subscription Azure to Azure site recovery.
202+
* Marking upcoming breaking changes for Azure Site Recovery.
203+
* Fix for Azure Site Recovery recovery plan end action plan.
204+
* Fix for Azure Site Recovery Update network mapping for Azure to Azure.
205+
* Fix for Azure Site Recovery update protection direction for Azure to Azure for managed disk.
206+
* Other minor fixes.
207+
208+
#### Az.Relay
209+
* Fix typos in customer-facing messages
210+
211+
#### Az.ServiceBus
212+
* Added new cmdlets for NetworkRuleSet of Namespace
213+
214+
#### Az.Storage
215+
* Upgrade to Storage Client Library 10.0.1 (the namespace of all objects from this SDK change from 'Microsoft.WindowsAzure.Storage.*' to 'Microsoft.Azure.Storage.*')
216+
* Upgrade to Microsoft.Azure.Management.Storage 11.0.0, to support new API version 2019-04-01.
217+
* The default Storage account Kind in Create Storage account change from 'Storage' to 'StorageV2'
218+
- New-AzStorageAccount
219+
* Change the Storage account cmdlet output Sku.Name to be aligned with input SkuName by add '-', like 'StandardLRS' change to 'Standard_LRS'
220+
- New-AzStorageAccount
221+
- Get-AzStorageAccount
222+
- Set-AzStorageAccount
223+
224+
#### Az.Websites
225+
* 'Kind' property will now be set for PSSite objects returned by Get-AzWebApp
226+
* Get-AzWebApp*Metrics and Get-AzAppServicePlanMetrics marked deprecated
227+
1228
## 1.8.0 - April 2019
2229
### Highlights since the last major release
3230
* General availability of `Az` module

documentation/development-docs/azure-powershell-developer-guide.md

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,6 @@ The Azure PowerShell Developer Guide was created to help with the development an
3636
- [After Development](#after-development)
3737
- [Misc](#misc)
3838
- [Publish to PowerShell Gallery](#publish-to-powershell-gallery)
39-
- [AsJob Parameter](#asjob-parameter)
40-
- [Argument Completers](#argument-completers)
41-
- [Resource Group Completer](#resource-group-completers)
42-
- [Location Completer](#location-completer)
43-
- [Generic Argument Completer](#generic-argument-completer)
4439

4540
# Prerequisites
4641

@@ -313,4 +308,4 @@ Whenver you make updates to a project, please make sure to update the correspond
313308

314309
## Publish to PowerShell Gallery
315310

316-
To publish your module to the [official PowerShell gallery](http://www.powershellgallery.com/) or the test gallery site, contact the Azure PowerShell team
311+
To publish your module to the [official PowerShell gallery](http://www.powershellgallery.com/) or the test gallery site, contact the Azure PowerShell team

0 commit comments

Comments
 (0)