Skip to content

Commit 09031e4

Browse files
Merge pull request #4 from Azure/master
Merge
2 parents 378abab + 2e52060 commit 09031e4

File tree

1,749 files changed

+2267788
-576946
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,749 files changed

+2267788
-576946
lines changed

.azure-pipelines/powershell-core.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
variables:
22
WindowsName: windows
3-
WindowsImage: VS2017-Win2016
3+
WindowsImage: vs2017-win2016
44
LinuxName: linux
5-
LinuxImage: Ubuntu-16.04
5+
LinuxImage: ubuntu-18.04
66
MacOSName: macOS
77
MacOSImage: macOS-10.13
88
TestFramework: netcoreapp2.1
@@ -83,4 +83,4 @@ jobs:
8383
osName: $(OSName)
8484
testFramework: ${{ variables.TestFramework }}
8585
testTarget: ${{ variables.TestTarget }}
86-
configuration: ${{ variables.Configuration }}
86+
configuration: ${{ variables.Configuration }}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name: Az module bug report
33
about: Report errors or unexpected behaviors for the Az module
44
title: ''
5-
labels: ''
5+
labels: triage
66
assignees: ''
77

88
---
Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
---
2+
name: Az 4.x preview bug report
3+
about: Report errors or unexpected behaviors specifically for the Az 4.0 module in preview
4+
title: ''
5+
labels: Az 4.x Preview, Azure PS Team, triage
6+
assignees: ''
7+
---
8+
9+
<!--
10+
11+
- This issue is specifically for reporting issues related to the preview versions of the Az 4.0 PowerShell module
12+
- Please search the existing issues to see if there has been a similar issue filed
13+
- For issue related to importing a module, please refer to our troubleshooting guide:
14+
- https://github.com/Azure/azure-powershell/blob/master/documentation/troubleshoot-module-load.md
15+
16+
-->
17+
18+
## Description
19+
20+
21+
22+
## Steps to reproduce
23+
24+
```powershell
25+
26+
```
27+
28+
## Environment data
29+
30+
<!-- Please run $PSVersionTable and paste the output in the below code block -->
31+
32+
```
33+
34+
```
35+
36+
## Module version
37+
38+
<!-- Please run (Get-Module -ListAvailable) and paste the output in the below code block -->
39+
40+
```powershell
41+
42+
```
43+
44+
## Azure Profile
45+
46+
<!-- Please indicate the selected Azure profile, if any -->
47+
48+
```powershell
49+
50+
```
51+
52+
## Debug output
53+
54+
<!-- Set $DebugPreference='Continue' before running the repro and paste the resulting debug stream in the below code block -->
55+
56+
```
57+
58+
```
59+
60+
## Error output
61+
62+
<!-- Please run Resolve-AzError and paste the output in the below code block -->
63+
64+
```
65+
66+
```

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name: AzureRM module bug report
33
about: Report errors or unexpected behaviors for the AzureRM module
44
title: ''
5-
labels: ''
5+
labels: triage
66
assignees: ''
77

88
---

.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: Azure PS Team, Feature Request
5+
labels: Azure PS Team, Feature Request, triage
66
assignees: ''
77

88
---

.github/ISSUE_TEMPLATE/internal-issue.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name: Internal issue
33
about: Azure PowerShell team only
44
title: ''
5-
labels: Azure PS Team
5+
labels: Azure PS Team, triage
66
assignees: ''
77

88
---

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@
66

77
## Checklist
88

9-
- [ ] I have read the [_Submitting Changes_](../CONTRIBUTING.md#submitting-changes) section of [`CONTRIBUTING.md`](../CONTRIBUTING.md)
9+
- [ ] I have read the [_Submitting Changes_](../blob/master/CONTRIBUTING.md#submitting-changes) section of [`CONTRIBUTING.md`](../blob/master/CONTRIBUTING.md)
1010
- [ ] The title of the PR is clear and informative
1111
- [ ] The appropriate `ChangeLog.md` file(s) has been updated:
1212
- For any service, the `ChangeLog.md` file can be found at `src/{{SERVICE}}/{{SERVICE}}/ChangeLog.md`
1313
- A snippet outlining the change(s) made in the PR should be written under the `## Upcoming Release` header -- no new version header should be added
14-
- [ ] The PR does not introduce [breaking changes](../documentation/breaking-changes/breaking-changes-definition.md)
14+
- [ ] The PR does not introduce [breaking changes](../blob/master/documentation/breaking-changes/breaking-changes-definition.md)
1515
- [ ] If applicable, the changes made in the PR have proper test coverage
1616
- [ ] For public API changes to cmdlets:
1717
- [ ] a cmdlet design review was approved for the changes in [this repository](https://github.com/Azure/azure-powershell-cmdlet-review-pr) (_Microsoft internal only_)
18-
- [ ] the markdown help files have been regenerated using the commands listed [here](../documentation/development-docs/help-generation.md#updating-all-markdown-files-in-a-module)
18+
- [ ] the markdown help files have been regenerated using the commands listed [here](../blob/master/documentation/development-docs/help-generation.md#updating-all-markdown-files-in-a-module)

ChangeLog.md

Lines changed: 219 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,222 @@
1+
## 2.8.0 - October 2019
2+
### General
3+
* Az.HealthcareApis 1.0.0 release
4+
5+
#### Az.Accounts
6+
* Update telemetry and url rewriting for generated modules, fix windows unit tests.
7+
8+
#### Az.ApiManagement
9+
* **Set-AzApiManagementApi** - Added support for Updating Api into ApiVersionSet
10+
- Fix for issue https://github.com/Azure/azure-powershell/issues/10068
11+
12+
#### Az.Automation
13+
* Fixed New-AzureAutomationSoftwareUpdateConfiguration cmdlet for Linux reboot setting parameter.
14+
15+
#### Az.Batch
16+
* **Get-AzBatchNodeAgentSku** is deprecated and will be replaced by **Get-AzBatchSupportImage** in version 2.0.0.
17+
18+
#### Az.Compute
19+
* Add Priority, EvictionPolicy, and MaxPrice parameters to New-AzVM and New-AzVmss cmdlets
20+
* Fix warning message and help document for Add-AzVMAdditionalUnattendContent and Add-AzVMSshPublicKey cmdlets
21+
* Fix -skipVmBackup exception for Linux VMs with managed disks for Set-AzVMDiskEncryptionExtension.
22+
* Fix bug in update encryption settings in Set-AzVMDiskEncryptionExtension, two pass scenario.
23+
24+
#### Az.DataFactory
25+
* Adding CRUD commands for ADF V2 data flow: Set-AzDataFactoryV2DataFlow, Remove-AzDataFactoryV2DataFlow, and Get-AzDataFactoryV2DataFlow.
26+
* Adding action commands for ADF V2 data flow debug Session: Start-AzDataFactoryV2DataFlowDebugSession, Get-AzDataFactoryV2DataFlowDebugSession, Add-AzDataFactoryV2DataFlowDebugSessionPackage, Invoke-AzDataFactoryV2DataFlowDebugSessionCommand and Stop-AzDataFactoryV2DataFlowDebugSession.
27+
* Update ADF .Net SDK version to 4.2.0
28+
29+
#### Az.DataLakeStore
30+
* Fix account validation so that accounts with '-' can be passed without domain
31+
32+
#### Az.HealthcareApis
33+
* Updated the powershell version to 1.0.0
34+
* Updated the SDK version to 1.0.2
35+
* Update in tests to refer to new SDK version
36+
* Updated the output structure from nested to flattened.
37+
38+
#### Az.IotHub
39+
* Add new routing source: DigitalTwinChangeEvents
40+
* Minor bug fix: Get-AzIothub not returning subscriptionId
41+
42+
#### Az.Monitor
43+
* New action group receivers added for action group
44+
-ItsmReceiver
45+
-VoiceReceiver
46+
-ArmRoleReceiver
47+
-AzureFunctionReceiver
48+
-LogicAppReceiver
49+
-AutomationRunbookReceiver
50+
-AzureAppPushReceiver
51+
* Use common alert schema enabled for the receivers. This is not applicable for SMS, Azure App push , ITSM and Voice recievers
52+
* Webhooks now supports Azure active directory authentication .
53+
54+
#### Az.Network
55+
* Add new cmdlet Get-AzAvailableServiceAlias which can be called to get the aliases that can be used for Service Endpoint Policies.
56+
* Added support for the adding traffic selectors to Virtual Network Gateway Connections
57+
- New cmdlets added:
58+
- New-AzureRmTrafficSelectorPolicy
59+
- Cmdlets updated with optional parameter -TrafficSelectorPolicies
60+
-New-AzureRmVirtualNetworkGatewayConnection
61+
-Set-AzureRmVirtualNetworkGatewayConnection
62+
* Add support for ESP and AH protocols in network security rule configurations
63+
- Updated cmdlets:
64+
- Add-AzNetworkSecurityRuleConfig
65+
- New-AzNetworkSecurityRuleConfig
66+
- Set-AzNetworkSecurityRuleConfig
67+
* Improve handling of exceptions in Cortex cmdlets
68+
* New Generations and SKUs for VirtualNetworkGateways
69+
- Introduce new Generations for VirtualNetworkGateways.
70+
- Introduce new high throughput SKUs for VirtualNetworkGateways.
71+
72+
#### Az.RedisCache
73+
* Updated 'Set-AzRedisCache' reference documentation to include missing values for '-Size' parameter
74+
75+
#### Az.Sql
76+
* Add support for setting Active Directory Administrator on Managed Instance
77+
78+
#### Az.Storage
79+
* Upgrade Storage Client Library to 11.1.0
80+
* List containers with Management plane API, will list with NextPageLink
81+
- Get-AzRmStorageContainer
82+
* List Storage accounts from subscription, will list with NextPageLink
83+
- Get-AzStorageAccount
84+
85+
#### Az.StorageSync
86+
* Fix Issue 9810 in Reset-AzStorageSyncServerCertificate.
87+
88+
#### Az.Websites
89+
* Set-AzWebApp updating ASP of an app was failing
90+
91+
## 2.7.0 - September 2019
92+
#### Az.ApiManagement
93+
* Update '-Format' parameter description in 'Set-AzApiManagementPolicy' reference documentation
94+
* Removed references of deprecated cmdlet 'Update-AzApiManagementDeployment' from reference documentation. Use 'Set-AzApiManagement' instead.
95+
96+
#### Az.Automation
97+
* Fixed example typo in reference documentation for 'Register-AzAutomationDscNode'
98+
* Added clarification on OS restriction to Register-AzAutomationDSCNode
99+
* Fixed Start-AzAutomationRunbook cmdlet Null reference exception for -Wait option.
100+
101+
#### Az.Compute
102+
* Add UploadSizeInBytes parameter tp New-AzDiskConfig
103+
* Add Incremental parameter to New-AzSnapshotConfig
104+
* Add a low priority virtual machine feature:
105+
- MaxPrice, EvictionPolicy and Priority parameters are added to New-AzVMConfig.
106+
- MaxPrice parameter is added to New-AzVmssConfig, Update-AzVM and Update-AzVmss cmdlets.
107+
* Fix VM reference issue for Get-AzAvailabilitySet cmdlet when it lists all availability sets in the subscription.
108+
* Fix the null exception for Get-AzRemoteDesktopFile.
109+
* Fix VHD Seek method for end-relative position.
110+
* Fix UltraSSD issue for New-AzVM and Update-AzVM.
111+
112+
#### Az.DataFactory
113+
* Adding 3 new commands for ADF V2 - Add-AzDataFactoryV2TriggerSubscription, Remove-AzDataFactoryV2TriggerSubscription, and Get-AzDataFactoryV2TriggerSubscriptionStatus
114+
* Updated ADF .Net SDK version to 4.1.3
115+
116+
#### Az.HDInsight
117+
* Call out breaking changes
118+
119+
#### Az.IotHub
120+
* Add support to invoke failover for an IotHub to the geo-paired disaster recovery region.
121+
* Add support to manage message enrichment for an IotHub. New cmdlets are:
122+
- Add-AzIotHubMessageEnrichment
123+
- Get-AzIotHubMessageEnrichment
124+
- Remove-AzIotHubMessageEnrichment
125+
- Set-AzIotHubMessageEnrichment
126+
127+
#### Az.Monitor
128+
* Pointing to the most recent Monitor SDK, i.e. 0.24.1-preview
129+
- Adds non-braking changes to the Metrics cmdlets, i.e. the Unit enumeration supports several new values. These are read-only cmdlets, so there would be no change in the input of the cmdlets.
130+
- The api-version of the **ActionGroups** requests is now **2019-06-01**, before it was **2018-03-01**. The scenario tests have been updated to accommodate for this change.
131+
- The constructors for the classes **EmailReceiver** and **WebhookReceiver** added one new mandatory argument, i.e. a Boolean value called **useCommonAlertSchema**. Currently, the value is fixed to **false** to hide this breaking change from the cmdlets. **NOTE**: this is a temporary change that must be validated by the Alerts team.
132+
- The order of the arguments for the constructor of the class **Source** (related to the **ScheduledQueryRuleSource** class) changed from the previous SDK. This change required two unit tests to the be fixed: they compiled, but failed to pass the tests.
133+
- The order of the arguments for the constructor of the class **AlertingAction** (related to the **ScheduledQueryRuleSource** class) changed from the previous SDK. This change required two unit tests to the be fixed: they compiled, but failed to pass the tests.
134+
* Support Dynamic Threshold criteria for metric alert V2
135+
- New-AzMetricAlertRuleV2Criteria: now creats dynamic threshold criteria also
136+
- Add-AzMetricAlertRuleV2: now accept dynamic threshold criteria also
137+
* Improvements in Scheduled Query Rule cmdlets (SQR)
138+
- Cmdlets will accept 'Location' paramater in both formats, either the location (e.g. eastus) or the location display name (e.g. East US)
139+
- Illustrated 'Enabled' parameter in help files properly
140+
- Added examples for 'ActionGroup' optional parameter
141+
- Overall improved help files
142+
* Fix bug in determining scope type for 'Set-AzActionRule'
143+
144+
#### Az.Network
145+
* Fix incorrect example in 'New-AzApplicationGateway' reference documentation
146+
* Add note in 'Get-AzNetworkWatcherPacketCapture' reference documentation about retrieving all properties for a packet capture
147+
* Fixed example in 'Test-AzNetworkWatcherIPFlow' reference documentation to correctly enumerate NICs
148+
* Improved cloud exception parsing to display additional details if they are present
149+
* Improved cloud exception parsing to handle additional type of SDK exception
150+
* Fixed incorrect mapping of Security Rule models
151+
* Added properties to network interface for private ip feature
152+
- Added property 'PrivateEndpoint' as type of PSResourceId to PSNetworkInterface
153+
- Added property 'PrivateLinkConnectionProperties' as type of PSIpConfigurationConnectivityInformation to PSNetworkInterfaceIPConfiguration
154+
- Added new model class PSIpConfigurationConnectivityInformation
155+
* Added new ApplicationRuleProtocolType 'mssql' for Azure Firewall resource
156+
* MultiLink support in Virtual WAN
157+
- New cmdlets
158+
- New-AzVpnSiteLink
159+
- New-AzVpnSiteLinkConnection
160+
- Updated cmdlet:
161+
- New-VpnSite
162+
- Update-VpnSite
163+
- New-VpnConnection
164+
- Update-VpnConnection
165+
* Fixed documents for some PowerShell examples to use Az cmdlets instead of AzureRM cmdlets
166+
167+
#### Az.RecoveryServices
168+
* Update AzureVMpolicy Object with ProtectedItemsCount Attribute
169+
* Added Tests for VM policy and Original Storage Account Restore
170+
171+
#### Az.Resources
172+
* Fix bug where New-AzRoleAssignment could not be called without parameter Scope.
173+
174+
#### Az.ServiceFabric
175+
* Fixed typo in example for 'Update-AzServiceFabricReliability' reference documentation
176+
* Adding new cmdlets to manage appliaction and services:
177+
- New-AzServiceFabricApplication
178+
- New-AzServiceFabricApplicationType
179+
- New-AzServiceFabricApplicationTypeVersion
180+
- New-AzServiceFabricService
181+
- Update-AzServiceFabricApplication
182+
- Get-AzServiceFabricApplication
183+
- Get-AzServiceFabricApplicationType
184+
- Get-AzServiceFabricApplicationTypeVersion
185+
- Get-AzServiceFabricService
186+
- Remove-AzServiceFabricApplication
187+
- Remove-AzServiceFabricApplicationType
188+
- Remove-AzServiceFabricApplicationTypeVersion
189+
- Remove-AzServiceFabricServic
190+
* Upgraded Service Fabric SDK to version 1.2.0 which uses service fabric resource provider api-version 2019-03-01.
191+
192+
#### Az.SignalR
193+
* Add Update, Restart, CheckNameAvailability, GetUsage Cmdlets
194+
195+
#### Az.Sql
196+
* Update example in reference documentation for 'Get-AzSqlElasticPool'
197+
* Added vCore example to creating an elastic pool (New-AzSqlElasticPool).
198+
* Remove the validation of EmailAddresses and the check that EmailAdmins is not false in case EmailAddresses is empty in Set-AzSqlServerAdvancedThreatProtectionPolicy and Set-AzSqlDatabaseAdvancedThreatProtectionPolicy
199+
* Enabled removal of server/database auditing settings when multiple diagnostic settings that enable audit category exist.
200+
* Fix email addresses validation in multiple Sql Vulnerability Assessment cmdlets (Update-AzSqlDatabaseVulnerabilityAssessmentSetting, Update-AzSqlServerVulnerabilityAssessmentSetting, Update-AzSqlInstanceDatabaseVulnerabilityAssessmentSetting and Update-AzSqlInstanceVulnerabilityAssessmentSetting).
201+
202+
#### Az.Storage
203+
* Updated example in reference documentation for 'Get-AzStorageAccountKey'
204+
* In upload/Downalod Azure File,support perserve the source File SMB properties (File Attributtes, File Creation Time, File Last Write Time) in the destination file
205+
- Set-AzStorageFileContent
206+
- Get-AzStorageFileContent
207+
* Fix Upload block blob with properties/metadate fail on container enabled ImmutabilityPolicy.
208+
- Set-AzStorageBlobContent
209+
* Support manage Azure File shares with Management plane API
210+
- New-AzRmStorageShare
211+
- Get-AzRmStorageShare
212+
- Update-AzRmStorageShare
213+
- Remove-AzRmStorageShare
214+
215+
#### Az.Websites
216+
* Fixing issue where webapp Tags were getting deleted when migrating App to new ASPwhere webapp Tags were getting deleted when migrating App to new ASP
217+
* Fixing the Publish-AzureWebapp to work across Linux and windows
218+
* Update example in 'Get-AzWebAppPublishingProfile' reference documentation
219+
1220
## 2.6.0 - August 2019
2221
#### General
3222
* Fixed miscellaneous typos across numerous modules

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ To import modules automatically when debug has started, follow the below steps:
224224

225225
- In the **Debug** tab mentioned previously, go to **Start Options**
226226
- Import the Profile module, along with the module you are testing, by pasting the following in the **Command line arguments** box (_note_: you have to update the <PATH_TO_REPO> and <SERVICE> values provided below):
227-
- `-NoExit -Command "Import-Module <PATH_TO_REPO>/artifacts/Debug/Az.Accounts/Az.Accounts.psd1;Import-Module <PATH_TO_REPO>/artifacts/Debug/Az.<SERVICE>/Az.<SERVICE>.psd1;$VerbosePreference='Continue'"`
227+
- `-NoExit -Command "Import-Module <PATH_TO_REPO>/artifacts/Debug/Az.Accounts/Az.Accounts.psd1;Import-Module <PATH_TO_REPO>/artifacts/Debug/Az.<SERVICE>/Az.<SERVICE>.psd1;$DebugPreference='Continue'"`
228228
- **Note**: if you do not see all of the changes you made to the cmdlets when importing your module in a PowerShell session (_e.g.,_ a cmdlet you added is not recognized as a cmdlet), you may need to delete any existing Azure PowerShell modules that you have on your machine (installed through the PowerShell Gallery) before you import your module.
229229

230230
## Adding Help Content

0 commit comments

Comments
 (0)