Skip to content

Commit

Permalink
Merge pull request Azure#13321 from wastoresh/mergestorage
Browse files Browse the repository at this point in the history
[Do not squash] merge the last change from master to storage preview branch.
  • Loading branch information
isra-fel authored Oct 28, 2020
2 parents 7c4f11d + d7a6e48 commit 5c9f3d5
Show file tree
Hide file tree
Showing 1,943 changed files with 265,995 additions and 127,677 deletions.
199 changes: 199 additions & 0 deletions ChangeLog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,179 @@
## 5.0.0 - October 2020
#### Az.Accounts
* [Breaking Change] Removed 'Get-AzProfile' and 'Select-AzProfile'
* Replaced Azure Directory Authentication Library with Microsoft Authentication Library(MSAL)

#### Az.Aks
* [Breaking Change] Removed parameter alias 'ClientIdAndSecret' in 'New-AzAksCluster' and 'Set-AzAksCluster'.
* [Breaking Change] Changed the default value of 'NodeVmSetType' in 'New-AzAksCluster' from 'AvailabilitySet' to 'VirtualMachineScaleSets'.
* [Breaking Change] Changed the default value of 'NetworkPlugin' in 'New-AzAksCluster' from 'None' to 'azure'.
* [Breaking Change] Removed parameter 'NodeOsType' in 'New-AzAksCluster' as it supports only one value Linux.

#### Az.Billing
* Added 'Get-AzBillingAccount' cmdlet
* Added 'Get-AzBillingProfile' cmdlet
* Added 'Get-AzInvoiceSection' cmdlet
* Added new parameters in 'Get-AzBillingInvoice' cmdlet
* Removed properties DownloadUrlExpiry, Type, BillingPeriodNames from the response of Get-AzBillingInvoice cmdlet

#### Az.Cdn
* Added cmdlets to support multi-origin and private link functionality

#### Az.CognitiveServices
* Updated SDK to 7.4.0-preview.

#### Az.Compute
* Added '-VmssId' parameter to 'New-AzVm'
* Added 'PlatformFaultDomainCount' parameter to the 'New-AzVmss' cmdlet.
* New cmdlet 'Get-AzDiskEncryptionSetAssociatedResource'
* Added 'Tier' and 'LogicalSectorSize' optional parameters to the New-AzDiskConfig cmdlet.
* Added 'Tier', 'MaxSharesCount', 'DiskIOPSReadOnly', and 'DiskMBpsReadOnly' optional parameters to the 'New-AzDiskUpdateConfig' cmdlet.

#### Az.ContainerRegistry
* [Breaking Change] Updates API version to 2020-05-01
* [Breaking Change] Removed SKU 'Classic' and parameter 'StorageAccountName' from 'New-AzContainerRegistry'
* Added New cmdlets: 'Connect-AzContainerRegistry', 'Import-AzContainerRegistry', 'Get-AzContainerRegistryUsage', 'New-AzContainerRegistryNetworkRule', 'Set-AzContainerRegistryNetworkRule'
* Added new parameter 'NetworkRuleSet' to 'Update-AzContainerRegistry'

#### Az.Databricks
* Fixed a bug that may cause updating databricks workspace without `-EncryptionKeyVersion` to fail.

#### Az.DataFactory
* Updated ADF .Net SDK version to 4.12.0
* Updated ADF encryption client SDK version to 4.14.7587.7
* Added 'Stop-AzDataFactoryV2TriggerRun' and 'Invoke-AzDataFactoryV2TriggerRun' commands

#### Az.DesktopVirtualization
* Require Location property for creating top level arm objects.
* Made `ApplicationGroupType` required for `New-AzWvdApplicationGroup`.
* Made `HostPoolArmPath` required for `New-AzWvdApplicationGroup`.
* Added `PreferredAppGroupType` for `New-AzWvdHostPool`.

#### Az.Functions
* [Breaking Change] Removed 'IncludeSlot' switch parameter from all but one parameter set of 'Get-AzFunctionApp'. The cmdlet now supports retrieving deployment slots in the results when '-IncludeSlot' is specified.
* Updated 'New-AzFunctionApp':
- Fixed -DisableApplicationInsights so that no application insights project is created when this option is specified. [#12728]
- [Breaking Change] Removed support to create PowerShell 6.2 function apps.
- [Breaking Change] Changed the default runtime version in Functions version 3 on Windows for PowerShell function apps from 6.2 to 7.0 when the RuntimeVersion parameter is not specified.
- [Breaking Change] Changed the default runtime version in Functions version 3 on Windows and Linux for Node function apps from 10 to 12 when the RuntimeVersion parameter is not specified.
- [Breaking Change] Changed the default runtime version in Functions version 3 on Linux for Python function apps from 3.7 to 3.8 when the RuntimeVersion parameter is not specified.

#### Az.HDInsight
* For New-AzHDInsightCluster cmdlet:
- Replaced parameter 'DefaultStorageAccountName' with 'StorageAccountResourceId'
- Replaced parameter 'DefaultStorageAccountKey' with 'StorageAccountKey'
- Replaced parameter 'DefaultStorageAccountType' with 'StorageAccountType'
- Removed parameter 'PublicNetworkAccessType'
- Removed parameter 'OutboundPublicNetworkAccessType'
- Added new parameters: 'StorageFileSystem' and 'StorageAccountManagedIdentity' to support ADLSGen2
- Added new parameter 'EnableIDBroker' to Support HDInsight ID Broker
- Added new parameters: 'KafkaClientGroupId', 'KafkaClientGroupName' and 'KafkaManagementNodeSize' to support Kafka Rest Proxy
* For New-AzHDInsightClusterConfig cmdlet:
- Replaced parameter 'DefaultStorageAccountName' with 'StorageAccountResourceId'
- Replaced parameter 'DefaultStorageAccountKey' with 'StorageAccountKey'
- Replaced parameter 'DefaultStorageAccountType' with 'StorageAccountType'
- Removed parameter 'PublicNetworkAccessType'
- Removed parameter 'OutboundPublicNetworkAccessType'
* For Set-AzHDInsightDefaultStorage cmdlet:
- Replaced parameter 'StorageAccountName' with 'StorageAccountResourceId'
* For Add-AzHDInsightSecurityProfile cmdlet:
- Replaced parameter 'Domain' with 'DomainResourceId'
- Removed the mandatory requirement for parameter 'OrganizationalUnitDN'

#### Az.KeyVault
* [Breaking Change] Deprecated parameter DisableSoftDelete in 'New-AzKeyVault' and EnableSoftDelete in 'Update-AzKeyVault'
* [Breaking Change] Removed attribute SecretValueText to avoid displaying SecretValue directly [#12266]
* Supported new resource type: managed HSM
- CRUD of managed HSM and cmdlets to operate keys on managed HSM
- Full HSM backup/restore, AES key creation, security domain backup/restore, RBAC

#### Az.ManagedServices
* [Breaking Change] Updated parameters naming conventions and associated examples

#### Az.Network
* [Breaking Change] Removed parameter 'HostedSubnet' and added 'Subnet' instead
* Added new cmdlets for Virtual Router Peer Routes
- 'Get-AzVirtualRouterPeerLearnedRoute'
- 'Get-AzVirtualRouterPeerAdvertisedRoute'
* Updated New-AzFirewall cmdlet:
- Added parameter '-SkuTier'
- Added parameter '-SkuName' and made Sku as Alias for this
- Removed parameter '-Sku'
* [Breaking Change] Made 'Connectionlink' argument mandatory in 'Start-AzVpnConnectionPacketCapture' and 'Stop-AzVpnConnectionPacketCapture'
* [Breaking Change] Updated 'New-AzNetworkWatcherConnectionMonitorEndPointObject' to remove parameter '-Filter'
* [Breaking Change] Replaced 'New-AzNetworkWatcherConnectionMonitorEndpointFilterItemObject' cmdlet with 'New-AzNetworkWatcherConnectionMonitorEndpointScopeItemObject'
* Updated 'New-AzNetworkWatcherConnectionMonitorEndPointObject' cmdlet:
- Added parameter '-Type'
- Added parameter '-CoverageLevel'
- Added parameter '-Scope'
* Updated 'New-AzNetworkWatcherConnectionMonitorProtocolConfigurationObject' cmdlet with new parameter '-DestinationPortBehavior'

#### Az.RecoveryServices
* Fixing Workload Restore for contributor permissions.
* Added new parameter sets and validations for Restore-AzRecoveryServicesBackupItem cmdlet.

#### Az.Resources
* Fixed parsing bug
* Updated ARM template What-If cmdlets to remove preview message from results
* Fixed an issue where template deployment cmdlets crash if '-WhatIf' is set at a higher scope [#13038]
* Fixed an issue where template deployment cmdlets does not preserve case for template parameters
* Added a default API version to be used in 'Export-AzResourceGroup' cmdlet
* Added cmdlets for Template Specs ('Get-AzTemplateSpec', 'Set-AzTemplateSpec', 'New-AzTemplateSpec', 'Remove-AzTemplateSpec', 'Export-AzTemplateSpec')
* Added support for deploying Template Specs using existing deployment cmdlets (via the new -TemplateSpecId parameter)
* Updated 'Get-AzResourceGroupDeploymentOperation' to use the SDK.
* Removed '-ApiVersion' parameter from '*-AzDeployment' cmdlets.

#### Az.Sql
* Added DiffBackupIntervalInHours to 'Set-AzSqlDatabaseBackupShortTermRetentionPolicy'
* Fixed issue where New-AzSqlDatabaseExport fails if networkIsolation not specified [#13097]
* Fixed issue where New-AzSqlDatabaseExport and New-AzSqlDatabaseImport were not returning OperationStatusLink in the result object [#13097]
* Update Azure Paired Regions URL in Backup Storage Redundancy Warnings

#### Az.Storage
* Removed obsolete property RestorePolicy.LastEnabledTime
- 'Enable-AzStorageBlobRestorePolicy'
- 'Disable-AzStorageBlobRestorePolicy'
- 'Get-AzStorageBlobServiceProperty'
- 'Update-AzStorageBlobServiceProperty'
* Change Type of DaysAfterModificationGreaterThan from int to int?
- 'Set-AzStorageAccountManagementPolicy'
- 'Get-AzStorageAccountManagementPolicy'
- 'Add-AzStorageAccountManagementPolicyAction'
- 'New-AzStorageAccountManagementPolicyRule'
* Supported create/update file share with access tier
- 'New-AzRmStorageShare'
- 'Update-AzRmStorageShare'
* Supported set/update/remove Acl recursively on Datalake Gen2 item
- 'Set-AzDataLakeGen2AclRecursive'
- 'Update-AzDataLakeGen2AclRecursive'
- 'Remove-AzDataLakeGen2AclRecursive'
* Supported Container access policy with new permission x,t
- 'New-AzStorageContainerStoredAccessPolicy'
- 'Set-AzStorageContainerStoredAccessPolicy'
* Changed the output of get/set Container access policy cmdlet, by change the child property Permission type from enum to String
- 'Get-AzStorageContainerStoredAccessPolicy'
- 'Set-AzStorageContainerStoredAccessPolicy'
* Fixed a sample script issue of set management policy with json
- 'Set-AzStorageAccountManagementPolicy'

#### Az.Websites
* Added support for Premium V3 pricing tier
* Updated the WebSites SDK to 3.1.0

### Thanks to our community contributors
* @atul-ram, Update Get-AzDelegation.md (#13176)
* @dineshreddy007, Get the App Roles assigned correctly in case of Stack HCI registration using WAC token. (#13249)
* @kongou-ae, Update New-AzOffice365PolicyProperty.md (#13217)
* Lohith Chowdary Chilukuri (@Lochiluk), Update Set-AzApplicationGateway.md (#13150)
* Matthew Burleigh (@mburleigh)
* Add links to PowerShell cmdlets referenced in the document (#13203)
* Add links to PowerShell cmdlets referenced in the document (#13190)
* Add links to PowerShell cmdlets referenced in the document (#13189)
* add links to referenced cmdlets (#13137)
* Add links to PowerShell cmdlets referenced in the document (#13204)
* Add links to PowerShell cmdlets referenced in the document (#13205)


## 4.8.0 - October 2020
#### Az.Accounts
* Fixed DateTime parse issue in common libraries [#13045]
Expand Down Expand Up @@ -76,6 +252,15 @@
* Fixed help issue for New-AzStorageAccount parameter -Kind default value [#12189]
* Fixed issue by add example to show how to set correct ContentType in blob upload [#12989]

### Thanks to our community contributors
* @felickz, Clarify escaping special characters in Subject (#13028)
* Martin Zurita (@Gorgoras), Corrected some typos in messages. (#12999)
* @kingsleyAzure
* Add managed hsm uri in regex matching (#12912)
* Add Managed HSM support for SQL (#13073)
* @MasterKuat, Fixed complaint on Managed instance's system database for vulnerability assessment (#12971)


## 4.7.0 - September 2020
#### Az.Accounts
* Formatted the upcoming breaking change messages
Expand Down Expand Up @@ -221,6 +406,20 @@
- 'New-AzStorageAccountManagementPolicyRule'
* Upgraded Microsoft.Azure.Cosmos.Table SDK to 1.0.8

### Thanks to our community contributors
* Thomas Van Laere (@ThomVanL), Add Dockerfile-alpine-3.10 (#12911)
* Lohith Chowdary Chilukuri (@Lochiluk), Update Remove-AzNetworkInterfaceIpConfig.md (#12807)
* Roberth Strand (@roberthstrand), Get-AzResourceGroup - New example, and cleanup (#12828)
* Ravi Mishra (@inmishrar), update Azure Web App runtime stack to DOTNETCORE (#12833)
* @jack-education, Updated Set-AzVirtualNetworkSubnetConfig to allow NSG and Route Table to be removed from subnet (#12351)
* @hagop-globanet, Update Add-AzApplicationGatewayCustomError.md (#12784)
* Joshua Van Daalen (@greenSacrifice)
* Update spelling of Property to Property (#12821)
* Update New-AzResourceLock.md examples (#12806)
* Eragon Riddle (@eragonriddle), Corrected parameter field name in the example (#12825)
* @rossifumax, Fix typo in New-AzConfigurationAssignment.md (#12701)


## 4.6.1 - August 2020
#### Az.Compute
* Patched '-EncryptionAtHost' parameter in 'New-AzVm' to remove default value of false [#12776]
Expand Down
14 changes: 14 additions & 0 deletions LICENSE.txt
Original file line number Diff line number Diff line change
Expand Up @@ -223,5 +223,19 @@ Permission is hereby granted, free of charge, to any person obtaining a copy of
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

***************

The software includes Portable.BouncyCastle. The MIT License set out below is provided for informational purposes only. It is not the license that governs any part of the software.

Portable.BouncyCastle

LICENSE
Copyright (c) 2000 - 2017 The Legion of the Bouncy Castle Inc. (http://www.bouncycastle.org)

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-------------END OF THIRD PARTY NOTICE----------------------------------------

Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ The Azure PowerShell Developer Guide was created to help with the development an

The following prerequisites should be completed before contributing to the Azure PowerShell repository:

- Install [Visual Studio 2017](https://www.visualstudio.com/downloads/)
- Install [Visual Studio 2019 or above](https://www.visualstudio.com/downloads/)
- Install the latest version of [Git](https://git-scm.com/downloads)
- Install the [`platyPS` module](help-generation.md#Installing-platyPS)
- Install the latest [**.NET Core SDK** and **.NET Framework Dev Pack 4.7.2**](https://dotnet.microsoft.com/download) or greater
Expand Down
3 changes: 1 addition & 2 deletions src/Accounts/Accounts.Test/AutoSaveSettingOnLoadingTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@

using Microsoft.Azure.Commands.Common.Authentication;
using Microsoft.Azure.Commands.Common.Authentication.Abstractions;
using Microsoft.Azure.Commands.Common.Authentication.Core;
using Microsoft.Azure.Commands.Common.Authentication.Models;
using Microsoft.Azure.Commands.Common.Authentication.Properties;
using Microsoft.Azure.Commands.ResourceManager.Common;
Expand Down Expand Up @@ -111,7 +110,7 @@ public void DisableAutoSaveWhenSettingFileBreaks()
var newSetting = JsonConvert.DeserializeObject<ContextAutosaveSettings>(afterModified) as ContextAutosaveSettings;
Assert.NotNull(newSetting);
Assert.Equal(ContextSaveMode.CurrentUser, newSetting.Mode);
Assert.Equal(typeof(AuthenticationStoreTokenCache), AzureSession.Instance.TokenCache.GetType());
//Assert.Equal(typeof(AzureTokenCache), AzureSession.Instance.TokenCache.GetType());
}
finally
{
Expand Down
Loading

0 comments on commit 5c9f3d5

Please sign in to comment.